GET /tokenList
Last updated
Last updated
This endpoint retrieves a list of supported tokens, including their categories and metadata.
This API allows developers to programatically check which tokens are supported by the Haiku Intents API suite, including essential metadata like token symbols, addresses, and categories. This data is crucial for:
Verifying token support: Ensuring input and target tokens are supported before constructing an intent.
Preparing for quoting and execution: Validated tokens can be passed into the API to preview expected outcomes, fees, and approvals.
Streamlining intent execution: Verified token data is used to finalise and execute trades via the API.
Full example with Chain ID:
URL Parameter
chainID
number
The chain ID to fetch tokens for (e.g. 80094 for Berachain)
tokenCategories
array
Types of supported tokens (e.g. ["token", "collateral", "varDebt"])
tokens.chainID
number
The chain ID for the token
tokens.address
string
The contract address of the token
tokens.symbol
string
The symbol of the token (e.g. WETH)
tokens.name
string
The full name of the token
tokens.decimals
number
The decimals used by the token
tokens.priceUSD
string
The current price of the token in USD
tokens.coinKey
string
Internal identifier, use iid to uniquely identify tokens
tokens.logoURI
string
The optional logo URL for the token
tokens.primaryColor
string
The optinal primary color for visual displays
tokens.tokenCategory
string
The optional token category
tokens.iid
string
Unique identifier for the token
Base URL: