GET /api/explorer/v2/{chain}/block/{height}/transfers/condition/nft
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/oklink/api/explorer/v2/{chain}/block/{height}/transfers/condition/nftCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeNFT transfers in a block
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain | path | strbtc | eth | x1 | xlayer | sol | solana | tron | bsc | base | sui | apt | aptos | arbitrum | optimism | polygon | avax | avalanche | zksync | ton | gravity | required | Web chain slug (eth, bsc, sol, …) example: eth |
height | path | int | required | Block height example: 21000000 |
limit | query | int | optional | Page size default: 20example: 5 |
offset | query | int | optional | Page offset default: 0example: 0 |
Response
type: object
pagination: none
sample: {
"code": "int",
"data": "object",
"detailMsg": "str",
"msg": "str"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/oklink/api/explorer/v2/eth/block/21000000/transfers/condition/nft?limit=5&offset=0"