Pendle · Schema

LimitOrderTakerResponse

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
order object
makingAmount string Amount to be used to fill the order, the unit is the same as the unit of limit order' making amount
netFromTaker string Amount from taker need to fully fill this order, the unit is SY if the market order is TOKEN_FOR_PT or TOKEN_FOR_YT, otherwise, the unit it PT or YT depends on type of order
netToTaker string Actual making amount to taker, the unit is SY if the market order is PT_FOR_TOKEN or YT_FOR_TOKEN, otherwise, the unit it PT or YT depends on type of order
View JSON Schema on GitHub

JSON Schema

LimitOrderTakerResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "LimitOrderTakerResponse",
  "type": "object",
  "properties": {
    "order": {
      "$ref": "#/components/schemas/LimitOrderResponse"
    },
    "makingAmount": {
      "type": "string",
      "description": "Amount to be used to fill the order, the unit is the same as the unit of limit order' making amount"
    },
    "netFromTaker": {
      "type": "string",
      "description": "Amount from taker need to fully fill this order, the unit is SY if the market order is TOKEN_FOR_PT or TOKEN_FOR_YT, otherwise, the unit it PT or YT depends on type of order"
    },
    "netToTaker": {
      "type": "string",
      "description": "Actual making amount to taker, the unit is SY if the market order is PT_FOR_TOKEN or YT_FOR_TOKEN, otherwise, the unit it PT or YT depends on type of order"
    }
  },
  "required": [
    "order",
    "makingAmount",
    "netFromTaker",
    "netToTaker"
  ]
}