GetNFTsParams
Parameters for retrieving NFTs.
type GetNFTsParams = { count?: number; includeOwners?: boolean; start?: number; tokenByIndex?: boolean; useIndexer?: boolean;};
The number of NFTs to retrieve.
type count = number;
Whether to include the owner of each NFT.
type includeOwners = boolean;
Which tokenId to start at.
type start = number;
Whether to check and fetch tokenID by index, in case of non-sequential IDs.
It should be set to true if it's an ERC721Enumerable contract, and has tokenByIndex
function.
In this case, the provided tokenId will be considered as token-index and actual tokenId will be fetched from the contract.
type tokenByIndex = boolean;
Whether to use the insight API to fetch the NFTs.
type useIndexer = boolean;