typescript-sdk

Home > @3rdweb/sdk > BundleDropModule > getOwned

BundleDropModule.getOwned() method

getOwned is a convenience method for getting all owned tokens for a particular wallet.

Signature:

getOwned(_address?: string): Promise<BundleDropMetadata[]>;

Parameters

Parameter Type Description
_address string The address to check for token ownership

Returns:

Promise<BundleDropMetadata[]>

An array of BundleMetadata objects that are owned by the address