Buy
Function to buy NFTs from a pool
Buy nftIds
, from a certain pool
, limiting the price at maximumPrice
.
This function is usually combined with some of following query functions:
getPool
- In order to get thepool
from the collection's address and pool token.getPoolNFTs
- In order to get the ALL the availablenftIds
to buy.getBuyExactQuote
- In order to get themaximumPrice
for a certain set of NFTs.getBuyQuote
- In order to get themaximumPrice
and a list of cheapestnftIds
.
Returns the finalPrice
for the buy operation.
Last updated