Skip to main content

index/interfaces/FetchTokensHeldOptions.md

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​

PropertyTypeDescriptionInherited from
address?AddressFormatWallet address to query (eth|[40-hex-chars] format). If not provided, defaults to the authenticated wallet address.-
cursor?stringCursor token for fetching the next page (omit for first page) - for cursor-based paginationSearchablePaginationOptions.cursor
pageSize?numberPage size for cursor-based pagination (defaults to 50, max 1000)SearchablePaginationOptions.pageSize
search?stringFuzzy search filter (case-insensitive, partial matching)SearchablePaginationOptions.search
tokenName?stringExact match filter (case-sensitive, strict equality)SearchablePaginationOptions.tokenName