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://docs.blockscout.com/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
Get block number by time stamp
Previous
List token transfers across all token types (ERC-20, ERC-721, ERC-1155)
Next