SushiSwap · Schema

OffChainPool

DeFiDecentralized ExchangeDEXCryptocurrencyWeb3BlockchainMulti-ChainLiquiditySwapToken Pricing

Properties

Name Type Description
chain_id integer ID of the chain
address string Blade contract address of the pool, is the address used when executing a transaction
num_assets integer The total of assets available in the chain
k number K factor
time_in_seconds integer Number of seconds were used to calculate the fees of a swap, this number indicates the number of seconds that quotes are live
default_time_in_seconds integer Default number of seconds that quotes are live, is value used to calculate fees when don't send the query param time_in_seconds
swaps_enabled boolean Represents if the swaps are available for the chain
View JSON Schema on GitHub

JSON Schema

offchainpool.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OffChainPool",
  "type": "object",
  "properties": {
    "chain_id": {
      "type": "integer",
      "description": "ID of the chain"
    },
    "address": {
      "type": "string",
      "description": "Blade contract address of the pool, is the address used when executing a transaction"
    },
    "num_assets": {
      "type": "integer",
      "description": "The total of assets available in the chain"
    },
    "k": {
      "type": "number",
      "format": "float",
      "description": "K factor"
    },
    "time_in_seconds": {
      "type": "integer",
      "description": "Number of seconds were used to calculate the fees of a swap, this number indicates the number of seconds that quotes are live"
    },
    "default_time_in_seconds": {
      "type": "integer",
      "description": "Default number of seconds that quotes are live, is value used to calculate fees when don't send the query param time_in_seconds"
    },
    "swaps_enabled": {
      "type": "boolean",
      "description": "Represents if the swaps are available for the chain"
    }
  },
  "required": [
    "chain_id",
    "address",
    "num_assets",
    "k",
    "time_in_seconds",
    "default_time_in_seconds",
    "swaps_enabled"
  ]
}

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/offchainpool"
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 email required.

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