API Kit Reference
getTokenList

getTokenList

Returns the list of all the ERC-20 tokens handled by the Safe.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const tokens = await apiKit.getTokenList()

Returns

Promise<TokenInfoListResponse>

The list of ERC-20 tokens.

Parameters

options.search (Optional)

  • Type: string

Filters the results by the token name or symbol.

options.address (Optional)

  • Type: string

Filters the results by the token address.

options.ordering (Optional)

  • Type: string

The field used to sort the results.

options.limit (Optional)

  • Type: number

The number of results to return per page.

options.offset (Optional)

  • Type: number

The initial index from which to return the results.

Was this page helpful?