cURL
curl --request GET \ --url 'https://eth.blockscout.com/api/?module=block&action=eth_block_number'
{ "jsonrpc": "2.0", "result": "0x103538a", "id": 1 }
Mimics Ethereum JSON RPC’s eth_blockNumber
Module name (must be 'block')
block
eth_block_number
Latest block number retrieved successfully
"2.0"
Block number in hex format
"0x103538a"
1
Was this page helpful?