typescript-sdk

Home > @3rdweb/sdk > BundleModule > getOwned

BundleModule.getOwned() method

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

Signature:

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

Parameters

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

Returns:

Promise<BundleMetadata[]>

An array of BundleMetadata objects that are owned by the address