Home > @3rdweb/sdk > PackModule > getOwned
getOwned
is a convenience method for getting all owned tokens for a particular wallet.
Signature:
getOwned(_address?: string): Promise<PackMetadataWithBalance[]>;
Parameter | Type | Description |
---|---|---|
_address | string | The address to check for token ownership |
Returns:
Promise<PackMetadataWithBalance[]>
An array of PackMetadataWithBalance objects that are owned by the address