POST
/
v0
/
generic
/
supported_tokens
/
get
curl --request POST \
  --url https://api.compasslabs.ai/v0/generic/supported_tokens/get \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "chain": "arbitrum:mainnet"
}'
{
  "tokens": [
    "1INCH"
  ]
}

Authorizations

x-api-key
string
header
required

Your Compass API key. Get your key here.

Body

application/json
chain
enum<string>
required

The chain to use.

Available options:
base:mainnet,
ethereum:mainnet,
arbitrum:mainnet

Response

200
application/json
Successful Response
tokens
enum<string>[]
required

List of supported tokens for a given chain

A class representing the token.

This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.

Available options:
1INCH,
AAVE,
BAL,
cbBTC,
cbETH,
CRV,
crvUSD,
DAI,
ENS,
ETHx,
FRAX,
FXS,
GHO,
KNC,
LDO,
LINK,
LUSD,
MKR,
osETH,
PYUSD,
rETH,
RPL,
rsETH,
sDAI,
SNX,
STG,
sUSDe,
tBTC,
UNI,
USDC,
USDe,
USDS,
USDT,
WBTC,
weETH,
WETH,
wstETH,
ARB,
EURS,
MAI,
USDCe,
AERO,
EUR,
VIRTUAL

Was this page helpful?