Skip to main content

Interface: FetchTokensHeldOptions

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / FetchTokensHeldOptions

Interface: FetchTokensHeldOptions

Defined in: packages/launchpad-sdk/dist/types/options.dto.d.ts:93

Options for fetching tokens held by user with filtering support

Supports exact tokenName matching and fuzzy search on holdings.

Example​

// Exact match (most efficient)
{ tokenName: 'anime', pageSize: 1 }

// Fuzzy search
{ search: 'dragon', pageSize: 10 }

Since​

6.11.0 - Now extends SearchablePaginationOptions for DRY compliance

Extends​

Properties​

address?​

optional address?: AddressFormat

Defined in: packages/launchpad-sdk/dist/types/options.dto.d.ts:98

Wallet address to query (eth|[40-hex-chars] format). If not provided, defaults to the authenticated wallet address.


cursor?​

optional cursor?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:498

Cursor token for fetching the next page (omit for first page) - for cursor-based pagination

Inherited from​

SearchablePaginationOptions.cursor


pageSize?​

optional pageSize?: number

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:500

Page size for cursor-based pagination (defaults to 50, max 1000)

Inherited from​

SearchablePaginationOptions.pageSize


optional search?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:526

Fuzzy search filter (case-insensitive, partial matching)

Inherited from​

SearchablePaginationOptions.search


tokenName?​

optional tokenName?: string

Defined in: packages/launchpad-sdk/dist/types/common.d.ts:524

Exact match filter (case-sensitive, strict equality)

Inherited from​

SearchablePaginationOptions.tokenName