Reference
JSON-RPC methods
The three read-only methods this site calls.
eth_blockNumber
Latest block height as a hex quantity. Displayed as Block.
json
{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}eth_gasPrice
Current gas price in wei, as hex. Divided by 1e9 and displayed in gwei.
json
{"jsonrpc":"2.0","id":1,"method":"eth_gasPrice","params":[]}eth_chainId
Chain id as hex. The console uses it to confirm 0x1237 (4663).
json
{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}