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.
- React
- Javascript
- Python
- Go
- Unity
// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}";
const nfts = await contract.erc721.getOwned(address);
console.log(nfts);
This snippet is for v3 of the SDK. Learn how to upgrade.
View in React SDK Documentation// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}";
const nfts = await contract.erc721.getOwned(address);
console.log(nfts);
This snippet is for v3 of the SDK. Learn how to upgrade.
View in Javascript SDK DocumentationThis feature is missing a code snippet or might not be supported yet.
Check the Python SDK documentation for more information.
Reach out on Discord for further assistance!
View Python SDK DocumentationThis feature is missing a code snippet or might not be supported yet.
Check the Go SDK documentation for more information.
Reach out on Discord for further assistance!
View Go SDK Documentation// Address of the wallet to get the NFTs of
var address = "{{wallet_address}}";
var nfts = await contract.ERC721.GetOwned(address);
Debug.Log(nfts);