Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_accounts.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";

export function TronMethod_accounts() {
return (
<EthereumMethod_accounts
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_blockNumber.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_blockNumber} from "../ethereum/EthereumMethod_blockNumber";

export function TronMethod_blockNumber() {
return (
<EthereumMethod_blockNumber
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
13 changes: 13 additions & 0 deletions components/method-docs/tron/TronMethod_call.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";

export function TronMethod_call() {
return (
<EthereumMethod_call
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_chainId.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_chainId} from "../ethereum/EthereumMethod_chainId";

export function TronMethod_chainId() {
return (
<EthereumMethod_chainId
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_coinbase.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_coinbase} from "../ethereum/EthereumMethod_coinbase";

export function TronMethod_coinbase() {
return (
<EthereumMethod_coinbase
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_createAccessList.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import React from "react";
import {EthereumMethod_createAccessList} from "../ethereum/EthereumMethod_createAccessList";

export function TronMethod_createAccessList() {
return (
<EthereumMethod_createAccessList
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_debug_traceBlockByHash.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_net_version} from "../ethereum/EthereumMethod_net_version";
import {EthereumMethod_debug_traceBlockByHash} from "../ethereum/EthereumMethod_debug_traceBlockByHash";

export function TronMethod_debug_traceBlockByHash() {
return (
<EthereumMethod_debug_traceBlockByHash
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_net_listening} from "../ethereum/EthereumMethod_net_listening";
import {EthereumMethod_subscribe} from "../ethereum/EthereumMethod_subscribe";
import {EthereumMethod_debug_traceBlockByNumber} from "../ethereum/EthereumMethod_debug_traceBlockByNumber";

export function TronMethod_debug_traceBlockByNumber() {
return (
<EthereumMethod_debug_traceBlockByNumber
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_debug_traceTransaction.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_chainId} from "../ethereum/EthereumMethod_chainId";
import {EthereumMethod_newFilter} from "../ethereum/EthereumMethod_newFilter";
import {EthereumMethod_debug_traceTransaction} from "../ethereum/EthereumMethod_debug_traceTransaction";

export function TronMethod_debug_traceTransaction() {
return (
<EthereumMethod_debug_traceTransaction
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_estimateGas.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_estimateGas} from "../ethereum/EthereumMethod_estimateGas";

export function TronMethod_estimateGas() {
return (
<EthereumMethod_estimateGas
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_feeHistory.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_feeHistory} from "../ethereum/EthereumMethod_feeHistory";

export function TronMethod_feeHistory() {
return (
<EthereumMethod_feeHistory
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_gasPrice.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import React from "react";
import {EthereumMethod_gasPrice} from "../ethereum/EthereumMethod_gasPrice";

export function TronMethod_gasPrice() {
return (
<EthereumMethod_gasPrice
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_getBalance.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_getBalance} from "../ethereum/EthereumMethod_getBalance";

export function TronMethod_getBalance() {
return (
<EthereumMethod_getBalance
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_getBlockByHash.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_blockNumber} from "../ethereum/EthereumMethod_blockNumber";
import {EthereumMethod_getBlockByHash} from "../ethereum/EthereumMethod_getBlockByHash";

export function TronMethod_getBlockByHash() {
return (
<EthereumMethod_getBlockByHash
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_getBlockByHashfull.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_getBlockByHashfull} from "../ethereum/EthereumMethod_getBlockByHashfull";

export function TronMethod_getBlockByHashfull() {
return (
<EthereumMethod_getBlockByHashfull
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_getBlockByNumber.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_chainId} from "../ethereum/EthereumMethod_chainId";
import {EthereumMethod_getBlockByNumber} from "../ethereum/EthereumMethod_getBlockByNumber";

export function TronMethod_getBlockByNumber() {
return (
<EthereumMethod_getBlockByNumber
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_getBlockByNumberfull.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_getBlockByNumberfull} from "../ethereum/EthereumMethod_getBlockByNumberfull";

export function TronMethod_getBlockByNumberfull() {
return (
<EthereumMethod_getBlockByNumberfull
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
18 changes: 18 additions & 0 deletions components/method-docs/tron/TronMethod_getBlockReceipts.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_net_listening} from "../ethereum/EthereumMethod_net_listening";
import {EthereumMethod_subscribe} from "../ethereum/EthereumMethod_subscribe";
import React from "react";
import {EthereumMethod_getBlockReceipts} from "../ethereum/EthereumMethod_getBlockReceipts";

export function TronMethod_getBlockReceipts() {
return (
<EthereumMethod_getBlockReceipts
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import React from "react";
import {EthereumMethod_getBlockTransactionCountByHash} from "../ethereum/EthereumMethod_getBlockTransactionCountByHash";

export function TronMethod_getBlockTransactionCountByHash() {
return (
<EthereumMethod_getBlockTransactionCountByHash
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import React from "react";
import {
EthereumMethod_getBlockTransactionCountByNumber
} from "../ethereum/EthereumMethod_getBlockTransactionCountByNumber";

export function TronMethod_getBlockTransactionCountByNumber() {
return (
<EthereumMethod_getBlockTransactionCountByNumber
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_getCode.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import React from "react";
import {EthereumMethod_getCode} from "../ethereum/EthereumMethod_getCode";

export function TronMethod_getCode() {
return (
<EthereumMethod_getCode
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
15 changes: 15 additions & 0 deletions components/method-docs/tron/TronMethod_getFilterChanges.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_coinbase} from "../ethereum/EthereumMethod_coinbase";
import {EthereumMethod_getFilterChanges} from "../ethereum/EthereumMethod_getFilterChanges";

export function TronMethod_getFilterChanges() {
return (
<EthereumMethod_getFilterChanges
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
16 changes: 16 additions & 0 deletions components/method-docs/tron/TronMethod_getFilterLogs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_accounts} from "../ethereum/EthereumMethod_accounts";
import {EthereumMethod_net_listening} from "../ethereum/EthereumMethod_net_listening";
import {EthereumMethod_getFilterLogs} from "../ethereum/EthereumMethod_getFilterLogs";

export function TronMethod_getFilterLogs() {
return (
<EthereumMethod_getFilterLogs
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
14 changes: 14 additions & 0 deletions components/method-docs/tron/TronMethod_getLogs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { DRPC_ENDPOINT_URL } from "../ethereum/constants";
import { EthereumMethod_call } from "../ethereum/EthereumMethod_call";
import { DRPC_ENDPOINT_URL_TRON } from "./constants";
import {EthereumMethod_getLogs} from "../ethereum/EthereumMethod_getLogs";

export function TronMethod_getLogs() {
return (
<EthereumMethod_getLogs
replaceCodeSnippetsURLFrom={DRPC_ENDPOINT_URL}
replaceCodeSnippetsURLTo={DRPC_ENDPOINT_URL_TRON}
network="tron"
/>
);
}
Loading
Loading