> For the complete documentation index, see [llms.txt](https://docs.opinion.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opinion.trade/developer-guide/opinion-clob-typescript-sdk/builder-mode/get-quote-tokens.md).

# Get Quote Tokens

> List supported quote tokens (currencies) for trading.

## Usage

```typescript
import { BuilderClient } from '@opinion-labs/opinion-clob-sdk';

const builder = new BuilderClient({
  host: 'https://openapi.opinion.trade/openapi',
  builderApiKey: 'YOUR_BUILDER_KEY',
  chainId: 56,
});

const tokens = await builder.getQuoteTokens();

for (const token of tokens) {
  console.log(token.quoteTokenAddress);    // ERC20 token contract address
  console.log(token.ctfExchangeAddress);   // CTF Exchange contract address
  console.log(token.decimal);              // Token decimal precision
  console.log(token.chainId);             // Chain ID
}
```

## Parameters

| Parameter  | Type    | Required | Description                                  |
| ---------- | ------- | -------- | -------------------------------------------- |
| `useCache` | boolean | No       | Use cached data if available (default: true) |

## Response

Returns an array of `QuoteTokenData`:

```typescript
interface QuoteTokenData {
  quoteTokenAddress: string;   // ERC20 token contract address (e.g., USDC)
  ctfExchangeAddress: string;  // CTF Exchange contract for this token
  chainId: string;             // Blockchain chain ID
  decimal: number;             // Token decimal precision (e.g., 6 for USDC, 18 for mUSDT)
}
```

## Notes

* Results are cached for 1 hour by default (configurable via `quoteTokensCacheTtl`).
* Pass `false` to bypass the cache: `await builder.getQuoteTokens(false)`.
* The `decimal` value is important for amount conversions (e.g., 1 USDC = `1000000` in wei with 6 decimals).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opinion.trade/developer-guide/opinion-clob-typescript-sdk/builder-mode/get-quote-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
