This endpoint returns the latest block number NFTScan has reached to.
API Endpoint
https://open-platform.nodereal.io/ {apiKey} /nftscan
method_path: /api/v2/blocknumber/ {chain_name}
method_type: GET
Request:
| Parameters | Descriptions | Query Type | Required | Data Type | schema |
|---|---|---|---|---|---|
| chain_name | Name of the chain you’re querying. List of supported values: "eth" for Ethereum; "bnb" for BNB Smart Chain; "polygon" for Polygon; "moonbeam" for Moonbeam; "arbitrum" for Arbitrum One; "optimism" for Optimism; "platon" for PlatON; "avalanche" for Avalanche; "cronos" for Cronos; "fantom" for Fantom; "gnosis" for Gnosis; | path | true | string |
Response:
| Parameters | Descriptions | Data Type | schema |
|---|---|---|---|
| code | Response status code (200 means the request was successful, 4XX or 5XX means the request failed) | integer(int32) | integer(int32) |
| data | Response data | BlockNumberModel | BlockNumberModel |
| block_number | The latest block number NFTScan has reached to | integer(int64) | |
| msg | Error message when request fails | string |
Example:
{
"code": 200,
"data": {
"block_number": 14839274
},
"msg": ""
}