Insight - Filter NFT Transfers By Type

Toomas Oosalu

Insight adds support for filtering NFT transfers by type.

On the v1/nfts/transfers endpoint you can specify a transfer_type query parameter and choose to filter transfer, sale, mint or burn transfers.

transfer - Any transfer without additional sale data

sale - A transfer that has additional sale data* (Seaport protocol supported)

mint - A transfer from a zero address

burn - A transfer to a zero address

* Example sale data:

"transaction_hash": "0x6bb2c31fd42a504b375c94441693effced0c1ff41b4e8d3d8396eeed9cd55bb8",
"items_sold": [
{
"token_address": "0x413530a7beb9ff6c44e9e6c9001c93b785420c32",
"token_id": "1881",
"amount": "1",
"from_address": "0x055e4e77cbc70c59bef7f42c5603a7d77a82ca0c",
"token_type": "erc721"
}
],
"payment": [
{
"token_address": "0x0000000000000000000000000000000000000000",
"token_id": "0",
"amount": "6965000000000000",
"token_type": "",
"to_address": "0x055e4e77cbc70c59bef7f42c5603a7d77a82ca0c"
},
{
"token_address": "0x0000000000000000000000000000000000000000",
"token_id": "0",
"amount": "35000000000000",
"token_type": "",
"to_address": "0x0000a26b00c1f0df003000390027140000faa719"
}
],
"marketplace_address": "0x0000000000000068f116a894984e2db1123eb395",
"marketplace_name": "opensea"

Try it out on our playground.


📖 Learn more about Insight - it’s open source and ready to power your applications!