GET
/
v0
/
generic
/
supported_chains
/
get
Python (SDK)
from compass_api_sdk import CompassAPI


with CompassAPI(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api:

    res = compass_api.universal.supported_chains()

    # Handle response
    print(res)
{
  "chains": [
    "base:mainnet"
  ]
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

protocol
enum<string> | null
default:aave

The protocol to get the supported chains for.

Available options:
aave,
aerodrome,
morpho,
sky,
uniswap,
pendle

Response

200
application/json

Successful Response

Response model for a chain.