Euler Finance · Schema

AccountPositionLiquidity

DeFiLendingBorrowingFinanceEthereumBlockchainVaultsLiquidationInterest RatesPermissionless

Properties

Name Type Description
vaultAddress string
unitOfAccount string
daysToLiquidation object
liabilityValue object
totalCollateralValue object
collaterals array
liabilityValueUsd number Market USD liability value number.
totalCollateralValueUsd number Market USD collateral value number.
View JSON Schema on GitHub

JSON Schema

account-position-liquidity.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AccountPositionLiquidity",
  "type": "object",
  "nullable": true,
  "properties": {
    "vaultAddress": {
      "type": "string"
    },
    "unitOfAccount": {
      "type": "string"
    },
    "daysToLiquidation": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string",
          "enum": [
            "Infinity",
            "MoreThanAYear"
          ]
        }
      ]
    },
    "liabilityValue": {
      "$ref": "#/components/schemas/AccountLiquidityValue"
    },
    "totalCollateralValue": {
      "$ref": "#/components/schemas/AccountLiquidityValue"
    },
    "collaterals": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "address": {
            "type": "string"
          },
          "value": {
            "$ref": "#/components/schemas/AccountLiquidityValue"
          },
          "marketPriceUsd": {
            "type": "number",
            "description": "Market USD price number for the collateral asset."
          },
          "valueUsd": {
            "type": "number",
            "description": "Market USD value number for this collateral."
          }
        }
      }
    },
    "liabilityValueUsd": {
      "type": "number",
      "description": "Market USD liability value number."
    },
    "totalCollateralValueUsd": {
      "type": "number",
      "description": "Market USD collateral value number."
    }
  }
}