Skip to main content

ERC721 - View All NFTs

You can utilise these features of the SDK on your contract if it implements ERC721Supply.

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 { contract } = useContract(<ContractAddress>);
const { data: nfts, isLoading, error } = useNFTs(contract, { start: 0, count: 100 });
View in React SDK Documentation