Skip to main content

NFTCollection.getOwnedTokenIds() method

Get all token ids of NFTs owned by a specific wallet.

Signature:

getOwnedTokenIds(walletAddress?: string): Promise<BigNumber[]>;

Parameters

ParameterTypeDescription
walletAddressstring(Optional) the wallet address to query, defaults to the connected wallet

Returns:

Promise<BigNumber[]>