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
searchable pagination options
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
address? | AddressFormat | Wallet address to query (eth|[40-hex-chars] format). If not provided, defaults to the authenticated wallet address. | - |
cursor? | string | Cursor token for fetching the next page (omit for first page) - for cursor-based pagination | SearchablePaginationOptions.cursor |
pageSize? | number | Page size for cursor-based pagination (defaults to 50, max 1000) | SearchablePaginationOptions.pageSize |
search? | string | Fuzzy search filter (case-insensitive, partial matching) | SearchablePaginationOptions.search |
tokenName? | string | Exact match filter (case-sensitive, strict equality) | SearchablePaginationOptions.tokenName |
address format searchable pagination options page size token name