GET
/
v1
/
generic
/
supported_chains
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.universal.genericSupportedChains({});

  console.log(result);
}

run();
{
  "chains": [
    "base"
  ]
}

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.