Pendle · Schema

GenerateScaledOrderDataDto

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
chainId number Chain Id
YT string YT address
orderType number LimitOrderType { 0 : TOKEN_FOR_PT, 1 : PT_FOR_TOKEN, 2 : TOKEN_FOR_YT, 3 : YT_FOR_TOKEN }
token string Input token if type is TOKEN_FOR_PT or TOKEN_FOR_YT, output token otherwise
maker string Maker address
makingAmount string BigInt string of making amount, the amount of token if the order is TOKEN_FOR_PT or TOKEN_FOR_YT, otherwise the amount of PT or YT
lowerImpliedApy number Lower implied APY of this scaled order
upperImpliedApy number Upper implied APY of this scaled order
orderCount number Upper implied APY of this scaled order
sizeDistribution string Scaled Order Distribution Type { }
expiry string Timestamp of order's expiry, in seconds
View JSON Schema on GitHub

JSON Schema

GenerateScaledOrderDataDto.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GenerateScaledOrderDataDto",
  "type": "object",
  "properties": {
    "chainId": {
      "type": "number",
      "description": "Chain Id"
    },
    "YT": {
      "type": "string",
      "description": "YT address"
    },
    "orderType": {
      "type": "number",
      "enum": [
        0,
        1,
        2,
        3
      ],
      "description": "LimitOrderType { 0 : TOKEN_FOR_PT, 1 : PT_FOR_TOKEN, 2 : TOKEN_FOR_YT, 3 : YT_FOR_TOKEN }"
    },
    "token": {
      "type": "string",
      "description": "Input token if type is TOKEN_FOR_PT or TOKEN_FOR_YT, output token otherwise"
    },
    "maker": {
      "type": "string",
      "description": "Maker address"
    },
    "makingAmount": {
      "type": "string",
      "description": "BigInt string of making amount, the amount of token if the order is TOKEN_FOR_PT or TOKEN_FOR_YT, otherwise the amount of PT or YT"
    },
    "lowerImpliedApy": {
      "type": "number",
      "description": "Lower implied APY of this scaled order"
    },
    "upperImpliedApy": {
      "type": "number",
      "description": "Upper implied APY of this scaled order"
    },
    "orderCount": {
      "type": "number",
      "description": "Upper implied APY of this scaled order"
    },
    "sizeDistribution": {
      "type": "string",
      "enum": [
        "flat",
        "ascending",
        "descending"
      ],
      "description": "Scaled Order Distribution Type {  }"
    },
    "expiry": {
      "type": "string",
      "description": "Timestamp of order's expiry, in seconds"
    }
  },
  "required": [
    "chainId",
    "YT",
    "orderType",
    "token",
    "maker",
    "makingAmount",
    "lowerImpliedApy",
    "upperImpliedApy",
    "orderCount",
    "sizeDistribution",
    "expiry"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/GenerateScaledOrderDataDto"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.