Returns the number of the most recent block
none
QUANTITY - integer of the current block number the client is on.
QUANTITY
// Request curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "eth_blockNumber","params": []}' https://eth-api.bwarelabs.com/<your-endpoint-id> // Response { "jsonrpc":"2.0", "id":83, "jsonrpc": "2.0", "result": "0x4b7" // 1207 }
Last updated 3 years ago