Skip to main content

Module nft

Module nft 

Source
Expand description

NFT methods, as in Clio 2.8. account_nfts, nft_buy_offers and nft_sell_offers read the ledger state; nft_info, nft_history and nfts_by_issuer read the NFT index (nftindex, kept in the state store), and answer notReady until its backfill is done.

account_nfts walks the account’s NFT pages from the last one down through PreviousPageMin; limit counts pages, and the marker is the key of the next page. The offer methods walk the token’s buy or sell offer directory like the owner directory; their marker is the key of the first offer of the next page, and that offer comes back as the first one of the page.