Skip to main content

ERC721 - View Owned NFTs

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

Get Owned NFTs

Get all of the NFTs owned by a specific wallet address at this current point in time.

Automatically fetches the metadata for each NFT.

const { contract } = useContract(<ContractAddress>);
const { data: ownedNFTs, isLoading, error } = useOwnedNFTs(contract, <OwnerWalletAddress>);

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

View in React SDK Documentation