Get NFT transfers of collection from block to block
Get NFT transfers of collection from block to block
Path Parameters
address string required
The address of NFT contract
Query Parameters
from_block number required
The minimum block number from which to get the transfers
Example: 999
to_block number required
The maximum block number from which to get the transfers
Example: 1000
cursor string
The cursor returned in the previous response (used for getting the next page).
limit number
Number of items returned, default: 20
Responses
- 200
Successful
application/json
Schema
Example (from schema)
Schema
cursor string
The cursor returned in the previous response (used for getting the next page)
page number required
Page of results
limit number required
Limit of results
total_items number required
Total returned result items
data object[] required
{
"cursor": "string",
"page": 0,
"limit": 0,
"total_items": 0,
"data": [
{
"token_address": "string",
"contract_type": "string",
"token_id": "string",
"block_hash": "string",
"block_number": 0,
"transaction_hash": "string",
"log_index": 0,
"from": "string",
"to": "string",
"amount": "string",
"operator": "string",
"timestamp": 1661314004,
"block_time": "2020-05-06 09:06:26.0"
}
]
}
GET /v1/nft-transfers/:address/block-to-block
Authorization
name: x-api-keytype: apiKeyin: header
Request
Request
curl / cURL
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
csharp / httpclient
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
java / unirest
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://dev-eth-mainnet-api.blocklens.io/v1/nft-transfers/:address/block-to-block' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'