Pendle · Schema

OrderStateResponse

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
orderType string
exchangeRate string
psAmountToTaker string
psAmountFromTaker string
ysAmountToTaker string
ysAmountFromTaker string
fee string
psRate number
ysRate number
netToMakerIfFullyFilled string In SY if the order is PY for token
netFromMakerIfFullyFilled string The difference with currentMakingAmount is that this is in SY if currentMakingAmount in tokenIn
notionalVolume string
matchableAmount string
notionalVolumeUSD number
View JSON Schema on GitHub

JSON Schema

OrderStateResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OrderStateResponse",
  "type": "object",
  "properties": {
    "orderType": {
      "type": "string"
    },
    "exchangeRate": {
      "type": "string"
    },
    "psAmountToTaker": {
      "type": "string"
    },
    "psAmountFromTaker": {
      "type": "string"
    },
    "ysAmountToTaker": {
      "type": "string"
    },
    "ysAmountFromTaker": {
      "type": "string"
    },
    "fee": {
      "type": "string"
    },
    "psRate": {
      "type": "number"
    },
    "ysRate": {
      "type": "number"
    },
    "netToMakerIfFullyFilled": {
      "type": "string",
      "description": "In SY if the order is PY for token"
    },
    "netFromMakerIfFullyFilled": {
      "type": "string",
      "description": "The difference with currentMakingAmount is that this is in SY if currentMakingAmount in tokenIn"
    },
    "notionalVolume": {
      "type": "string"
    },
    "matchableAmount": {
      "type": "string"
    },
    "notionalVolumeUSD": {
      "type": "number"
    }
  },
  "required": [
    "orderType",
    "exchangeRate",
    "psAmountToTaker",
    "psAmountFromTaker",
    "ysAmountToTaker",
    "ysAmountFromTaker",
    "fee",
    "psRate",
    "ysRate",
    "netToMakerIfFullyFilled",
    "netFromMakerIfFullyFilled",
    "notionalVolume",
    "matchableAmount",
    "notionalVolumeUSD"
  ]
}