Typescript
import { CompassApiSDK } from "@compass-labs/api-sdk"; const compassApiSDK = new CompassApiSDK({ apiKeyAuth: "<YOUR_API_KEY_HERE>", }); async function run() { const result = await compassApiSDK.sky.skyPosition({}); console.log(result); } run();
{ "usds_value_of_deposits": "<string>", "shares": 123 }
Check the USDS overall position.
Your Compass API Key. Get your key here.
ethereum
The user address of the desired position.
Successful Response
The response is of type object.
object
Was this page helpful?