# Get Available Tokens

> Fetch all available tokens from Zert's backend across supported chains.

### `get`

Retrieves a list of all available tokens.

**Parameters**

* `params` (TokensQueryParams, optional)
  * `chainRef` (string)
  * `q` (string)
  * `limit` (number)
  * `cursor` (string)
  * `supportedOnly` (string | boolean)
  * `requireLogo` (string | boolean)
  * `sort` (string)
  * `debug` (string | boolean)

**Returns**

A Promise that resolves to `TokensResponse`.

* `data.tokens` (Token\[]): List of tokens.
* `data.nextCursor` (string, optional): Cursor for next page.
* `meta.requestId` (string): Request identifier.
* `meta.timestamp` (string): Response timestamp.

**Token** fields include: `chain`, `symbol`, `name`, `address` (optional), `decimals`, `mint` (optional), and `logoUrl` (optional).

```typescript
import { RoutingEngineSDK } from 'routing-engine-sdk';

const sdk = new RoutingEngineSDK({
  api: { apiKey: 'your-api-key' },
});

try {
  const response = await sdk.tokens.get({
    chainRef: 'eth-mainnet',
    supportedOnly: true,
    limit: 100,
  });
  console.log(response.data.tokens);
  console.log('Next cursor:', response.data.nextCursor);
} catch (error) {
  console.error(error);
}
```


---

# Agent Instructions: 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.zert.com/routing-engine-sdk/get-available-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.
