ERC721Enumerable
Functionality available for contracts that implement the
IERC721
and
IERC721Enumerable
interfaces.
getOwned
Get the metadata of all NFTs a wallet owns from this contract.
// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}"; // Optional - Defaults to the connected wallet
const nfts = await contract.erc721.getOwned(address);
Configuration
getOwnedTokenIds
Get the token IDs of all NFTs a wallet owns from this contract.
const ownedTokenIds = await contract.erc721.getOwnedTokenIds(
"{{wallet_address}}",
);