Pendle · Schema

SwapData

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
amountOut string
priceImpact number
priceImpactBreakDown object
impliedApy object
effectiveApy number
fee object Fee in USD
View JSON Schema on GitHub

JSON Schema

SwapData.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SwapData",
  "type": "object",
  "properties": {
    "amountOut": {
      "type": "string"
    },
    "priceImpact": {
      "type": "number"
    },
    "priceImpactBreakDown": {
      "$ref": "#/components/schemas/PriceImpactBreakDownData"
    },
    "impliedApy": {
      "$ref": "#/components/schemas/ImpliedApy"
    },
    "effectiveApy": {
      "type": "number"
    },
    "fee": {
      "description": "Fee in USD",
      "allOf": [
        {
          "$ref": "#/components/schemas/FeeUsd"
        }
      ]
    }
  },
  "required": [
    "amountOut",
    "priceImpact",
    "priceImpactBreakDown",
    "fee"
  ]
}