Private
contractPrivate
erc721Get all NFTs owned by a specific wallet
Optional
walletAddress: stringthe wallet address to query, defaults to the connected wallet
Optional
queryParams: { optional filtering to only fetch a subset of results.
Optional
count?: numberOptional
start?: numberThe NFT metadata for all NFTs in the contract.
Get all the data associated with the NFTs owned by a specific wallet.
// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}";
const nfts = await contract.nft.query.owned.all(address);
Generated using TypeDoc
List owned ERC721 NFTs
Remarks
Easily list all the NFTs from a ERC721 contract, owned by a certain wallet.
Example