Returns the current “latest” block number
Body
Serves as a unique identifier for the request
Indicates the version of JSON-RPC being used
Represents the name of the remote procedure or method to be called
Contains the list of parameters passed to the remote method
Response
Returns unique identifier for the request
Returns the version of JSON-RPC being used
A hex code of an integer representing the current block number
curl 'https://rpc1.aries.axiomesh.io' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}