Endpoint: getNftPoolsByCollectionAndExchange
Method: POST
Arguments
Name | Type | Description |
---|---|---|
collectionAddress | String! | The contract address of the NFT collection. Required |
cursor | String | The cursor to use for pagination. |
exchangeAddress | String! | The NFT AMM marketplace address to filter by. Required |
limit | Int | The maximum number of NFT pools to return. |
networkId | Int! | The network ID the NFT collection is deployed on. Required |
Response
Name | Type | Description |
---|---|---|
cursor | String | A cursor for use in pagination. |
items | [NftPoolResponse]! | A list of NFT pools. |
Name | Type | Description |
---|---|---|
acceptedNftTokenIds | [String] | For ERC1155 pools, the list of NFT token IDs that are accepted by the pool. |
assetRecipientAddress | String! | The wallet address that will receive the tokens or NFT sent to the pair during swaps. |
balanceNBT | String! | The current pool liquidity in the network's base token. |
balanceT | String! | The current pool liquidity in the pool's liquidity token. |
bondingCurveAddress | String! | The contract address of the bonding curve. |
bondingCurveType | BondingCurveType! | The bonding curve type that defines how the prices of NFTs change after each buy or sell within a pool. |
collectionAddress | String! | The contract address of the NFT collection. |
collectionName | String! | The contract name of the NFT collection. |
collectionSymbol | String | The symbol of the NFT collection. |
delta | String! | The current delta used in the bonding curve. |
exchangeAddress | String! | The contract address of the NFT AMM marketplace. |
fee | String! | The current fee for pool. |
floorNBT | String | The current price at which the pool is willing to sell an NFT in the network's base token. Only applicable for SELL and BUY_AND_SELL pool types. |
floorT | String | The current price at which the pool is willing to sell an NFT in the pool's liquidity token. Only applicable for SELL and BUY_AND_SELL pool types. |
networkId | Int! | The network ID the NFT collection is deployed on. |
nftAssets | [NftAsset] | The list of NFT assets in the pool. |
nftBalanceV2 | String! | The current number of NFTs in the pool. |
nftVolumeAllTimeV2 | String! | The total number of NFTs bought and sold over the pool's lifetime. |
offerNBT | String | The current price at which the pool is willing to buy an NFT in the network's base token. Only applicable for BUY and BUY_AND_SELL pool types. |
offerT | String | The current price at which the pool is willing to buy an NFT in the pool's liquidity token. Only applicable for BUY and BUY_AND_SELL pool types. |
owner | String! | The wallet address of the pool owner. |
poolAddress | String! | The contract address of the NFT pool. |
poolFeesAllTimeNBT | String | |
poolFeesAllTimeT | String | |
poolId | String! | The ID of the NFT pool (poolAddress :networkId ). For example, 0xdbea289dcc10eed8431e78753414a3d81b8e7201:1 . |
poolNftType | PoolNftType | The type of NFT in the pool. |
poolType | NftPoolType! | The type of liquidity pool. |
poolVariant | GraphQlNftPoolVariant! | The pool variant. Can be ERC20 or NATIVE . |
propertyChecker | String | The property checker contract address for the pool. |
royalties | [NftPoolRoyalty] | The list of royalties for the pool. Only applicable for SUDOSWAP_V2 pools. |
spotPriceNBT | String! | The spot price in the network's base token. |
spotPriceT | String! | The instantaneous price for selling 1 NFT to the pool in the pool's liquidity token. |
tokenAddress | String! | The contract address of the liquidity token of the pool (usually WETH). |
version | NftPoolContractVersion | The NFT pool contract version. Can be SUDOSWAP_V1 or SUDOSWAP_V2 . |
volumeAllTimeNBT | String! | The total volume of the pool in the network's base token over the pool's lifetime. |
volumeAllTimeT | String! | The total volume of the pool in the pool's liquidity token over the pool's lifetime. |
Explore
Ask questions, share what you're working on and request new features 👬👭