SushiSwap · Schema

DepositRequest

DeFiDecentralized ExchangeDEXCryptocurrencyWeb3BlockchainMulti-ChainLiquiditySwapToken Pricing

Properties

Name Type Description
sender string The address of the user initiating the deposit transaction.
pool_address string The address of the pool
days_to_lock integer Number of days to lock the deposit in the liquidity pool. Required for all pools except Katana, which uses `lock_time` instead.
lock_time integer Number of minutes to lock the deposit in the liquidity pool. Only supported by the Katana pool. For other pools, use `days_to_lock`.
deposit object An object containing the asset address and the amount to deposit as a string. The amount should be in its machine-readable form. This parameter is required only if `single_asset` is false.
chain_id integer The unique identifier of the blockchain network where the deposit will be made.
output_pool_tokens integer The total number of pool tokens the user wants to receive. It is only valid for single-asset deposits.
single_asset boolean A boolean that indicates whether only one asset is being deposited.
single_token string Required only when `single_asset` is true. This represents the address of the single asset being deposited.
View JSON Schema on GitHub

JSON Schema

depositrequest.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "DepositRequest",
  "type": "object",
  "properties": {
    "sender": {
      "type": "string",
      "description": "The address of the user initiating the deposit transaction.",
      "example": "0x960376b3F62f41E7e66809a05D1C5afdFD60A0E9"
    },
    "pool_address": {
      "type": "string",
      "description": "The address of the pool",
      "example": "0x989E8F547FbCa65f4FB0af41e50e4058e6c68166"
    },
    "days_to_lock": {
      "type": "integer",
      "description": "Number of days to lock the deposit in the liquidity pool. Required for all pools except Katana, which uses `lock_time` instead.",
      "example": 5
    },
    "lock_time": {
      "type": "integer",
      "description": "Number of minutes to lock the deposit in the liquidity pool. Only supported by the Katana pool. For other pools, use `days_to_lock`.",
      "example": 5
    },
    "deposit": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "An object containing the asset address and the amount to deposit as a string. The amount should be in its machine-readable form. This parameter is required only if `single_asset` is false.",
      "example": {
        "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599": "400000000",
        "0x6B175474E89094C44Da98b954EedeAC495271d0F": "2000000000000000000",
        "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": "1000000000000000000",
        "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": "2000000"
      }
    },
    "chain_id": {
      "type": "integer",
      "description": "The unique identifier of the blockchain network where the deposit will be made.",
      "example": 1
    },
    "output_pool_tokens": {
      "type": "integer",
      "description": "The total number of pool tokens the user wants to receive. It is only valid for single-asset deposits.",
      "example": 10000
    },
    "single_asset": {
      "type": "boolean",
      "description": "A boolean that indicates whether only one asset is being deposited.",
      "default": false,
      "example": true
    },
    "single_token": {
      "type": "string",
      "description": "Required only when `single_asset` is true. This represents the address of the single asset being deposited.",
      "example": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
    }
  },
  "required": [
    "sender",
    "pool_address",
    "chain_id"
  ]
}

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