Queries

Below are some sample queries you can use to gather information from UMA contracts.

You can build your own queries using a GraphQL Explorer and enter your endpoint to limit the data to exactly what you need.

Financial Contracts

{
  financialContracts {
    id
    creator {
      id
      isRemoved
      manager
    }
    deployer {
      id
    }
    address
    collateralToken {
      id
      name
    }
    collateralRequirement
    expirationTimestamp
    totalSyntheticTokensBurned
    totalSyntheticTokensCreated
    totalTokensOutstanding
    cumulativeFeeMultiplier
    globalCollateralizationRatio
    rawTotalPositionCollateral
    totalCollateralDeposited
    totalCollateralWithdrawn
    totalPositionCollateral
    rawLiquidationCollateral
    positions {
      id
      rawCollateral
      collateral
      tokensOutstanding
      isEnded
    }
    liquidations {
      id
      status
      amountWithdrawn
    }
  }
}

Liquidations

Price Requests

Last updated

Was this helpful?