Get the latest block number
legacy
Get the latest block number
Returns the latest block number as a hex-encoded string in a JSON-RPC 2.0 response.
GET
Get the latest block number
Documentation Index
Fetch the complete documentation index at: https://blockscout-main.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
JSON-RPC request id echoed back in the response. Defaults to 1 when omitted.
API key for rate limiting or for sensitive endpoints
Secret key for getting access to restricted resources
Response
200 - application/json
Latest block number