eth_blockNumber
Returns the current latest block number.
Parameters
None
Returns
A hexadecimal of the current block number.
Example
Request
curl https://rpc.testnet.radiustech.xyz/<YOUR-RPC-ENDPOINT> \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}
'
Response
{
"jsonrpc": "2.0",
"result": "0x194af410bcf",
"id": 1
}
Last updated
Was this helpful?