Get DEX Tokens API

Fetches a paginated list of tokens available for DEX trading, with details such as address, chain, decimals, and DEX availability.

Endpoint: GET /dexTokens

Response: A JSON object containing Token details.

Parameters:

Name
Type
Location
Description
Default
Example

page

number

query

Page number

1

1

pageSize

number

query

Number of tokens per page

100

100

chain

string

query

Chain short name (e.g., base)

(none)

base

Example Request:

GET /dexTokens?page=1&pageSize=100&chain=base

Example Response:

{
  "count": 1,
  "tokens": [
    {
      "id": "66cf5512ba629b6c861a7f45",
      "address": "0xE3086852A4B125803C815a158249ae468A3254Ca",
      "chain": "base",
      "decimals": 18,
      "symbol": "mfer",
      "name": "mfer",
      "created": "2024-08-28T16:49:22.854Z",
      "modified": "2024-09-04T13:42:03.030Z",
      "enabled": true,
      "hasDex": true
    }
  ]
}

Response Fields:

Field
Type
Description

id

string

Unique identifier for the token.

address

string

Blockchain address of the token.

chain

string

The chain on which the token exists (e.g., base).

decimals

number

Number of decimal places the token uses.

symbol

string

Token symbol (e.g., mfer).

name

string

Full name of the token.

created

string

Timestamp of when the token was added (ISO 8601 format).

modified

string

Timestamp of the last modification (ISO 8601 format).

enabled

boolean

Whether the token is enabled for use.

hasDex

boolean

Indicates if the token supports DEX trading.

Last updated