Pendle · Schema

GenerateLimitOrderDataResponse

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
chainId number Chain id
YT string YT address
salt string BigInt string of salt. Salt is a random generated number to distinguish between orders.Because of some technical reason, this number must be dividable by 12421
expiry string Limit order expiry, in string
nonce string Nonce of the limit order, this will help the maker to cancel all the limit order they created
token string Input token if type is TOKEN_FOR_PT or TOKEN_FOR_YT, output token otherwise
orderType number LimitOrderType { 0 : TOKEN_FOR_PT, 1 : PT_FOR_TOKEN, 2 : TOKEN_FOR_YT, 3 : YT_FOR_TOKEN }
failSafeRate string BigInt string of failSafeRate
maker string Maker's address
receiver string Maker's 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
permit string
lnImpliedRate integer ln(impliedRate) * 10**18, returned as bigint string
View JSON Schema on GitHub

JSON Schema

GenerateLimitOrderDataResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GenerateLimitOrderDataResponse",
  "type": "object",
  "properties": {
    "chainId": {
      "type": "number",
      "description": "Chain id"
    },
    "YT": {
      "type": "string",
      "description": "YT address"
    },
    "salt": {
      "type": "string",
      "description": "BigInt string of salt. Salt is a random generated number to distinguish between orders.Because of some technical reason, this number must be dividable by 12421"
    },
    "expiry": {
      "type": "string",
      "description": "Limit order expiry, in string"
    },
    "nonce": {
      "type": "string",
      "description": "Nonce of the limit order, this will help the maker to cancel all the limit order they created"
    },
    "token": {
      "type": "string",
      "description": "Input token if type is TOKEN_FOR_PT or TOKEN_FOR_YT, output token otherwise"
    },
    "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 }"
    },
    "failSafeRate": {
      "type": "string",
      "description": "BigInt string of failSafeRate"
    },
    "maker": {
      "type": "string",
      "description": "Maker's address"
    },
    "receiver": {
      "type": "string",
      "description": "Maker's 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"
    },
    "permit": {
      "type": "string",
      "description": ""
    },
    "lnImpliedRate": {
      "format": "int64",
      "type": "integer",
      "description": "ln(impliedRate) * 10**18, returned as bigint string"
    }
  },
  "required": [
    "chainId",
    "YT",
    "salt",
    "expiry",
    "nonce",
    "token",
    "orderType",
    "failSafeRate",
    "maker",
    "receiver",
    "makingAmount",
    "permit",
    "lnImpliedRate"
  ]
}

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/GenerateLimitOrderDataResponse"
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.