Returns a list of NFT collections on an AMM NFT marketplace.
Endpoint: getNftPoolCollectionsByExchange
Method: POST
Arguments
Response
Name | Type | Description |
---|---|---|
cursor | String | A cursor for use in pagination. |
items | [NftPoolCollectionResponse] | A list of NFT collections. |
Name | Type | Description |
---|---|---|
balanceNBT | String! | The total liquidity of the collection in the network's base token. |
collectionAddress | String! | The contract address of the NFT collection. |
collectionId | String! | The ID of the NFT collection (collectionAddress :networkId ). |
collectionSymbol | String! | The symbol of the NFT collection. |
exchangeAddress | String! | The contract address of the NFT AMM marketplace. |
exchangeId | String! | The ID of the exchange (exchangeAddress :networkId ). |
floorNBT | String | The lowest price at which any of the NFT collection's pools are willing to sell an NFT in the network's base token. |
image | String | An image associated with the NFT collection. |
name | String | The name of the NFT collection. |
networkId | Int! | The network ID the NFT collection is deployed on. |
nftBalanceV2 | String! | The current number of NFTs in all the NFT collection's pools. |
nftVolumeAllTimeV2 | String | The total number of NFTs bought and sold over the collection's lifetime. |
offerNBT | String | The highest price at which any of the NFT collection's pools are willing to buy an NFT in the network's base token. |
poolFeesNBTAll | String | The sum of pool fees generated by the collection in the network's base token over the collection's lifetime. |
poolFeesUSDAll | String | The sum of pool fees generated by the collection in USD over the collection's lifetime. |
protocolFeesNBTAll | String | The sum of protocol fees generated by the collection in the network's base token over the collection's lifetime. |
protocolFeesUSDAll | String | The sum of protocol fees generated by the collection in USD over the collection's lifetime. |
royaltiesNBTAllEstimate | String | As estimated sum in the network's base token of the collection's royalties paid to creators by pool swaps over the collection's lifetime. |
royaltiesUSDAllEstimate | String | An estimated sum in USD of the collection's royalties paid to creators by pool swaps over the collection's lifetime. |
volumeAllTimeNBT | String | The total volume of the collection in the network's base token over the collection's lifetime. |
volumeAllTimeUSD | String | The total volume of the collection in USD over the collection's lifetime. |
Example
Collections on SudoSwap
Use this query to lookup all NFT collections on SudoSwap (2 results per page)
{
getNftPoolCollectionsByExchange(
exchangeAddress: "0xb16c1342E617A5B6E4b631EB114483FDB289c0A4"
networkId: 1
limit: 2
) {
items {
balanceNBT
collectionAddress
collectionId
exchangeAddress
exchangeId
floorNBT
media {
image
thumbLg
thumbSm
}
name
networkId
nftBalance
nftVolumeAllTime
offerNBT
volumeAllTimeNBT
}
}
}
{
"data": {
"getNftPoolCollectionsByExchange": {
"items": [
{
"balanceNBT": "17861140629021106801",
"collectionAddress": "0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258",
"collectionId": "0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258:1",
"exchangeAddress": "0xb16c1342e617a5b6e4b631eb114483fdb289c0a4",
"exchangeId": "0xb16c1342e617a5b6e4b631eb114483fdb289c0a4:1",
"floorNBT": "1764312500000000340",
"media": {
"image": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/image/0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258:10:1.webp",
"thumbLg": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/thumbLg/0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258:10:1.webp",
"thumbSm": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/thumbSm/0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258:10:1.webp"
},
"name": "Otherdeed",
"networkId": 1,
"nftBalance": 15,
"nftVolumeAllTime": 183,
"offerNBT": "1710935643564356220",
"volumeAllTimeNBT": "313747741627213380174"
},
{
"balanceNBT": "86816868487555076542",
"collectionAddress": "0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b",
"collectionId": "0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b:1",
"exchangeAddress": "0xb16c1342e617a5b6e4b631eb114483fdb289c0a4",
"exchangeId": "0xb16c1342e617a5b6e4b631eb114483fdb289c0a4:1",
"floorNBT": "321313432835820933",
"media": {
"image": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/image/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b:10:1.webp",
"thumbLg": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/thumbLg/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b:10:1.webp",
"thumbSm": "https://crypto-nft-data-staging.s3.us-west-2.amazonaws.com/thumbSm/0x49cf6f5d44e70224e2e23fdcdd2c053f30ada28b:10:1.webp"
},
"name": "CloneX",
"networkId": 1,
"nftBalance": 5,
"nftVolumeAllTime": 67,
"offerNBT": "7761000000000000000",
"volumeAllTimeNBT": "510723822384770079609"
}
]
}
}
}
Explore
Ask questions, share what you're working on and request new features 👬👭