Skip to main content

Erc1155Enumerable.owned() method

Get Owned NFTs

Example

// Address of the wallet to get the NFTs of
const address = "{{wallet_address}}";
const nfts = await contract.edition.query.owned(address);

Signature:

owned(walletAddress?: string): Promise<EditionMetadataOwner[]>;

Parameters

ParameterTypeDescription
walletAddressstring(Optional)

Returns:

Promise<EditionMetadataOwner[]>

The NFT metadata for all NFTs in the contract.

Remarks

Get all the data associated with the NFTs owned by a specific wallet.