v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Ethereum Blockchain Queries

Get latest block number

This Method returns the latest block number

get/api/v2/ethereum/blocks/number

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data'

The MIME type of the request body.

Response

OR

Example response

{
  "status": 200,
  "ok": true,
  "message": "Latest block number fetched",
  "data": {
    "blocknumber": 123456
  }
}