Typescript
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" ] }
Get the list of supported chains by the Compass API.
Your Compass API Key. Get your key here.
The protocol to get the supported chains for.
aave
aerodrome
morpho
sky
uniswap
pendle
Successful Response
Response model for a chain.
Was this page helpful?