Python
from compass_api_sdk import CompassAPI, models with CompassAPI( api_key_auth="<YOUR_API_KEY_HERE>", ) as compass_api: res = compass_api.pendle.pendle_markets(chain=models.V1PendleMarketsChain.ARBITRUM) # Handle response print(res)
{ "markets": [ { "name": "<string>", "address": "<string>", "expiry": "2023-11-07T05:31:56Z", "pt": "<string>", "yt": "<string>", "sy": "<string>", "underlyingAsset": "<string>", "details": { "liquidity": 123, "pendleApy": 123, "impliedApy": 123, "feeRate": 123, "yieldRange": { "min": 123, "max": 123 }, "aggregatedApy": 123, "maxBoostedApy": 123, "movement10Percent": { "ptMovementUpUsd": 123, "ptMovementDownUsd": 123, "ytMovementUpUsd": 123, "ytMovementDownUsd": 123 } }, "isNew": true, "isPrime": true, "timestamp": "2023-11-07T05:31:56Z" } ] }
Get a list of active markets.
Your Compass API Key. Get your key here.
arbitrum
base
ethereum
Successful Response
A list of active markets on the inputted chain.
Show child attributes
Was this page helpful?