Get Quote Tokens

List supported quote tokens (currencies) for trading.

Usage

response = builder.get_quote_tokens()

tokens = response.result.list
for token in tokens:
    print(f"Address:  {token.quote_token_address}")
    print(f"Exchange: {token.ctf_exchange_address}")
    print(f"Decimals: {token.decimal}")
    print(f"Chain ID: {token.chain_id}")

Parameters

Parameter
Type
Required
Description

use_cache

bool

No

Use cached result (default: True). Pass False to force a fresh fetch.

Response

The response object has response.result.list containing a list of quote token objects, each with:

Property
Type
Description

quote_token_address

str

ERC20 token contract address

ctf_exchange_address

str

CTF Exchange contract address

decimal

str

Token decimal places (e.g., "6" for USDC)

chain_id

str

Chain ID (e.g., "56")

Notes

  • Results are cached for 1 hour by default. Use use_cache=False to bypass the cache.

  • The quote_token_address and decimal are needed when calculating order amounts for build_split_tx() and build_merge_tx().

  • The ctf_exchange_address is used internally by build_order_for_signing() and build_enable_trading_tx().