Tokens API
Get available tokens and token information
Tokens API
The Tokens API provides information about tradeable tokens on DFlow.
Access
Methods
getTokens
Get a list of available tokens.
Returns: Token[]
getTokensWithDecimals
Get tokens with decimal precision information.
Returns: TokenWithDecimals[]
Token Object
Examples
List All Tokens
Find Token by Symbol
Calculate Amounts with Decimals
Common Token Constants
The SDK exports common token mint addresses: