Query Functions
Functions that return information about a trading pool's state.
getPool
Returns the trading pool associated with a certain nft
and token
.
Most of the time you will want to use the WETH address for the token parameter.
getPoolNFTs
Returns the NFTs deposited in certain pool
.
getNFTLP
Returns the LP ID associated with a certain nftId
in the pool
.
getPrice
Returns the lowest buy and highest sell price for a certain pool.
getBuyQuote
Returns a pool
's buy quote for an amount
of NFTs, the cheapest combination of NFTs will be returned.
getBuyExactQuote
Returns a pool
's buy quote for an array of nfts
.
getSellQuote
Returns a pool
's sell quote for an amount
of NFTs.
Last updated