Euler Finance · Schema

OraclePriceRaw

Exact oracle quote values returned by contracts, represented as raw integer strings in the oracle unit-of-account scale.

DeFiLendingBorrowingFinanceEthereumBlockchainVaultsLiquidationInterest RatesPermissionless

Properties

Name Type Description
queryFailure boolean
queryFailureReason string
amountIn string Raw input amount passed to the oracle.
amountOutMid string Raw midpoint oracle output amount.
amountOutBid string Raw bid-side oracle output amount.
amountOutAsk string Raw ask-side oracle output amount.
timestamp string
View JSON Schema on GitHub

JSON Schema

oracle-price-raw.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OraclePriceRaw",
  "type": "object",
  "description": "Exact oracle quote values returned by contracts, represented as raw integer strings in the oracle unit-of-account scale.",
  "properties": {
    "queryFailure": {
      "type": "boolean"
    },
    "queryFailureReason": {
      "type": "string"
    },
    "amountIn": {
      "type": "string",
      "description": "Raw input amount passed to the oracle."
    },
    "amountOutMid": {
      "type": "string",
      "description": "Raw midpoint oracle output amount."
    },
    "amountOutBid": {
      "type": "string",
      "description": "Raw bid-side oracle output amount."
    },
    "amountOutAsk": {
      "type": "string",
      "description": "Raw ask-side oracle output amount."
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}