GET
/
v0
/
generic
/
supported_tokens
/
get
from compassapisdk import CompassAPISDK, models


with CompassAPISDK(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api_sdk:

    res = compass_api_sdk.universal.supported_tokens(chain=models.GenericSupportedTokensChain.ARBITRUM_MAINNET)

    # Handle response
    print(res)
{
  "tokens": [
    "1INCH"
  ]
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

chain
enum<string>
default:arbitrum:mainnet
required

The chain to use.

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

Response

200
application/json

Successful Response

The response is of type object.