📘See the Tron RPC API connection guide.
| Method | Notes | Compute Unit Value |
|---|
eth_blockNumber | Returns the number of the most recent TRON block. | 1 |
eth_call | Executes a message call against the latest state without creating a transaction. | 10 |
eth_chainId | Returns the chain identifier as a hexadecimal quantity. | 1 |
eth_estimateGas | Estimates the Energy required to execute a transaction or call. | 50 |
eth_gasPrice | Returns the current gas price as a hexadecimal quantity. | 5 |
eth_getBalance | Returns the balance of a TRON account in hexadecimal form. | 5 |
eth_getBlockByHash | Returns a block identified by hash. | 5 |
eth_getBlockByNumber | Returns a block identified by number or supported block tag. | 5 |
eth_getBlockTransactionCountByHash | Returns the number of transactions in a block identified by hash. | 5 |
eth_getBlockTransactionCountByNumber | Returns the number of transactions in a block identified by number. | 5 |
eth_getCode | Returns the code stored at an address. | 5 |
eth_getStorageAt | Returns the value at a storage position for an address. | 5 |
eth_getTransactionByBlockHashAndIndex | Returns a transaction by block hash and transaction index. | 5 |
eth_getTransactionByBlockNumberAndIndex | Returns a transaction by block number and transaction index. | 5 |
eth_getTransactionByHash | Returns a transaction identified by hash. | 5 |
eth_getTransactionReceipt | Returns the receipt for a transaction hash. | 5 |
eth_getLogs | Returns logs that match a filter object. | 50 |
eth_protocolVersion | Returns the JSON-RPC protocol version reported by the node. | 1 |
eth_syncing | Returns synchronization status or false when the node is not syncing. | 1 |
| Method | Notes | Compute Unit Value |
|---|
net_peerCount | Returns the number of peers connected to the node. | 1 |
net_version | Returns the current network identifier. | 1 |
| Method | Notes | Compute Unit Value |
|---|
web3_clientVersion | Returns the current client version string. | 1 |
web3_sha3 | Returns the Keccak-256 hash of supplied data. | 1 |