Fetch Prime Cash Market Balances

Get Prime Cash Market Balances

This query can be used to fetch Prime Cash market balances and a Prime Cash markets total debt outstanding:

{
primeCashMarkets{
  snapshots(first: 1, orderBy: timestamp, orderDirection:desc){
    market{
      id
    }
    timestamp
    underlyingScalar
    supplyScalar
    debtScalar
    totalUnderlyingHeld
    totalPrimeCashInUnderlying
    totalPrimeDebtInUnderlying
    totalPrimeCash
    totalPrimeDebt
  }
  }
}

Last updated