> 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).
