- eth_blockNumber
- eth_getBalance
- eth_getLogs
- eth_gasPrice
- eth_getTransactionByHash
- eth_getTransactionReceipt
- eth_chainId
- eth_maxPriorityFeePerGas
- eth_getTransactionCount
- eth_getCode
- eth_getStorageAt
- eth_estimateGas
- eth_getBlockByNumber
- eth_getBlockByHash
- eth_sendRawTransaction
- eth_call
https://eth.blockscout.com. When sending a request add /api/eth-rpc to the end of the base url.
eth_blockNumber
Returns the latest block number in the chain in hexadecimal format. No params are needed. Type: POST Exampleeth_getBalance
Returns the balance of a given address in wei. Note theearliest parameter does not work as expected because genesis block balances are not currently imported. Parameters are required.
Required Parameters
| Type | POST |
| Data (string) | 20 Byte address to check balance |
| Quantity or Tag (string) | Integer value of a block number, or a tag “latest” for the most recent block. |
eth_getLogs
Returns an array of logs matching a specified filter object. Params are optional based on data you want to receive. From more information, see this post on eth_getLogs. Note: Never returns more than 1000 log entries. You can use pagination options to request the next page. Pagination options params: {“logIndex”: “3D”, “blockNumber”: “6423AC”} which include parameters from the last log received from the previous request. These three parameters are required for pagination. Parameters| Type | POST |
address (string, array) | 20Byte contract address or list of addresses to collect logs from. |
fromBlock (Quantity/Tag) | Integer block number, "latest" (default) for the last mined block or "pending", "earliest" for not yet mined transactions. |
toBlock (Quantity/Tag) | Integer block number, "latest" |