Idle Finance · Schema

Pool

Represents a single Best Yield or Yield Tranches vault pool on the Idle Finance network.

DeFiYield OptimizationFinanceCryptoStakingGovernanceTVLAPY

Properties

Name Type Description
address string Smart contract address of the pool/vault.
name string Human-readable pool name.
token string Underlying token symbol.
tokenAddress string Contract address of the underlying token.
type string Pool/vault type.
apy string Current annualised percentage yield as a decimal string.
tvl string Total value locked in the pool as a decimal string (USD).
underlying array List of underlying protocol allocations.
View JSON Schema on GitHub

JSON Schema

pool.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/idle/main/json-schema/pool.json",
  "title": "Pool",
  "description": "Represents a single Best Yield or Yield Tranches vault pool on the Idle Finance network.",
  "type": "object",
  "properties": {
    "address": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Smart contract address of the pool/vault.",
      "example": "0xc8c64CC8c15D9aa1F4dD40933f3eF742A7c62478"
    },
    "name": {
      "type": "string",
      "description": "Human-readable pool name.",
      "example": "idleDAIYield"
    },
    "token": {
      "type": "string",
      "description": "Underlying token symbol.",
      "example": "DAI"
    },
    "tokenAddress": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Contract address of the underlying token.",
      "example": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
    },
    "type": {
      "type": "string",
      "description": "Pool/vault type.",
      "enum": ["best-yield", "yield-tranches-senior", "yield-tranches-junior"],
      "example": "best-yield"
    },
    "apy": {
      "type": "string",
      "description": "Current annualised percentage yield as a decimal string.",
      "example": "4.52"
    },
    "tvl": {
      "type": "string",
      "description": "Total value locked in the pool as a decimal string (USD).",
      "example": "5234567.89"
    },
    "underlying": {
      "type": "array",
      "description": "List of underlying protocol allocations.",
      "items": {
        "$ref": "./underlying-allocation.json"
      }
    }
  },
  "required": ["address", "name", "token", "tokenAddress", "type"]
}