Pendle · Schema

SpendUnitData

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
unit number Balance of user in wei
spent_v2 object Total spent to purchase this asset
View JSON Schema on GitHub

JSON Schema

SpendUnitData.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "SpendUnitData",
  "type": "object",
  "properties": {
    "unit": {
      "type": "number",
      "description": "Balance of user in wei"
    },
    "spent_v2": {
      "description": "Total spent to purchase this asset",
      "allOf": [
        {
          "$ref": "#/components/schemas/ValuationEntity"
        }
      ]
    }
  },
  "required": [
    "unit",
    "spent_v2"
  ]
}