Skip to main content

ERC721 - View All NFTs

You can utilize these features of the SDK if your contract implements the ERC721Supply standard.

Get All Minted NFTs

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

This function automatically fetches the metadata for each NFT in parallel.

By default, it loads the first 100 NFTs; an optional QueryAllParams object can be provided to specify a count and start value.

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

This snippet is for v3 of the SDK. Learn how to upgrade.

View in React SDK Documentation