Skip to main content

StandardErc721.getAll() method

Get All Minted NFTs

Example

const nfts = await contract.getAll();
console.log(nfts);

Signature:

getAll(queryParams?: QueryAllParams): Promise<NFTMetadataOwner[]>;

Parameters

ParameterTypeDescription
queryParamsQueryAllParams(Optional) optional filtering to only fetch a subset of results.

Returns:

Promise<NFTMetadataOwner[]>

The NFT metadata for all NFTs queried.

Remarks

Get all the data associated with every NFT in this contract.

By default, returns the first 100 NFTs, use queryParams to fetch more.