API Reference

eth_blockNumber

Returns the number of the most recent block.

Request Parameters

None.

Response

Returns the number of the “latest” block.

Result Fields

  • BLOCK NUMBER - a hex code of an integer representing the current block number the client is on.

Examples

Example Responses
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x89f7be"
}
Language
Click Try It! to start a request and see the response here!