SushiSwap · Schema

OnChainPool

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
pool_tokens number The total number of pool tokens
value_in_usd number Value of the pool in USD
swaps_enabled boolean Represents if the swaps are available for the chain
View JSON Schema on GitHub

JSON Schema

onchainpool.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "OnChainPool",
  "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"
    },
    "pool_tokens": {
      "type": "number",
      "description": "The total number of pool tokens"
    },
    "value_in_usd": {
      "type": "number",
      "format": "float",
      "description": "Value of the pool in USD"
    },
    "swaps_enabled": {
      "type": "boolean",
      "description": "Represents if the swaps are available for the chain"
    }
  },
  "required": [
    "chain_id",
    "address",
    "num_assets",
    "pool_tokens",
    "value_in_usd",
    "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/onchainpool"
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.