Blockdaemon · Schema

_bridge_swap_Request

The request body for a /defi/v1/bridge/swap

BlockchainWeb3StakingValidatorCustodyMPCWalletsNodeRPCDeFiIndexerTokenizationInstitutionalCryptocurrencyEthereum

Properties

Name Type Description
bridgeId string The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-bridges-protocol
srcTokenSymbol string Symbol of the token to swap.
dstChainId string The unique chain ID to specify the destination chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
amountIn string Amount of the input token to provide, specified in the token's smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use "1000000000000
from string Blockchain address of the token sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance of the input token and will sign the transaction.
amountOutMin string Minimum acceptable output amount in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to "0" to disable s
gas string Maximum number of gas units to allocate for the transaction, as an integer string (e.g., '200000'). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei.
to string Blockchain address of the token recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). Output tokens are delivered to this address after the swap.
dstTokenSymbol string Symbol of the token to be received after the swap.
srcChainId string The unique chain ID to specify the source chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
srcChainSymbol string Symbol of the source chain.
srcTokenAddress string Contract address of the source (input) token on the source chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either srcTokenAddress or srcTokenSymbol must be provided.
dstTokenAddress string Contract address of the destination (output) token on the destination chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either dstTokenAddress or dstTokenSymbol must be provided.
slippage string Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percent
gasPriority string Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost.
enableFee boolean Flag to include a basis points fee transaction alongside the main transaction when set to true.
batchOption string Transaction batching standard to use. Supported values: 'EIP-5792' (wallet-level batching via wallet_sendCalls) or 'EIP-7702' (EOA code delegation via batcherContract). Requires batcherContract when u
batcherContract string The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used.
simulate boolean When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction.
transferMode string Specifies the mode of token transfer. The first is taxi, where tokens are sent to the destination chain at the moment of swap. The second is bus ride. Bus ride means that multiple user swaps are batch
View JSON Schema on GitHub

JSON Schema

blockdaemon-bridge-swap-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockdaemon/main/json-schema/blockdaemon-bridge-swap-request-schema.json",
  "title": "_bridge_swap_Request",
  "description": "The request body for a /defi/v1/bridge/swap",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blockdaemon-defi-api-openapi.yml#/components/schemas/_bridge_swap_Request",
  "type": "object",
  "properties": {
    "bridgeId": {
      "type": "string",
      "description": "The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-bridges-protocols).",
      "enum": [
        "100",
        "600",
        "300",
        "400",
        "500"
      ]
    },
    "srcTokenSymbol": {
      "type": "string",
      "description": "Symbol of the token to swap."
    },
    "dstChainId": {
      "type": "string",
      "description": "The unique chain ID to specify the destination chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains)."
    },
    "amountIn": {
      "type": "string",
      "description": "Amount of the input token to provide, specified in the token's smallest denomination (base units). Do not send human-readable decimal values. Examples: to swap 1 WETH (18 decimals), use \"1000000000000000000\"; to swap 1 USDC (6 decimals), use \"1000000\"."
    },
    "from": {
      "type": "string",
      "description": "Blockchain address of the token sender. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). This address must hold sufficient balance of the input token and will sign the transaction."
    },
    "amountOutMin": {
      "type": "string",
      "description": "Minimum acceptable output amount in the token's smallest denomination (base units). Provides slippage protection — the transaction reverts if the output falls below this value. Set to \"0\" to disable slippage protection. Examples: to require at least 0.99 USDC (6 decimals), use \"990000\"; to require at least 0.99 WETH (18 decimals), use \"990000000000000000\"."
    },
    "gas": {
      "type": "string",
      "description": "Maximum number of gas units to allocate for the transaction, as an integer string (e.g., '200000'). If omitted, gas is estimated automatically. Note: this is gas units, not wei or gwei."
    },
    "to": {
      "type": "string",
      "description": "Blockchain address of the token recipient. For EVM chains, use a checksummed hex address (e.g., 0xABCDEF...). Output tokens are delivered to this address after the swap."
    },
    "dstTokenSymbol": {
      "type": "string",
      "description": "Symbol of the token to be received after the swap."
    },
    "srcChainId": {
      "type": "string",
      "description": "The unique chain ID to specify the source chain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains)."
    },
    "srcChainSymbol": {
      "type": "string",
      "description": "Symbol of the source chain."
    },
    "srcTokenAddress": {
      "type": "string",
      "description": "Contract address of the source (input) token on the source chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either srcTokenAddress or srcTokenSymbol must be provided."
    },
    "dstTokenAddress": {
      "type": "string",
      "description": "Contract address of the destination (output) token on the destination chain. For EVM chains, use a checksummed hex address (e.g., 0x...). Either dstTokenAddress or dstTokenSymbol must be provided."
    },
    "slippage": {
      "type": "string",
      "description": "Maximum acceptable slippage as a percentage of the swap value. Valid range: 0 to 100 (e.g., 1 = up to 1% slippage). Defaults to 1. The transaction reverts if the output deviates more than this percentage from the quoted price."
    },
    "gasPriority": {
      "type": "string",
      "description": "Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost."
    },
    "enableFee": {
      "type": "boolean",
      "description": "Flag to include a basis points fee transaction alongside the main transaction when set to true."
    },
    "batchOption": {
      "type": "string",
      "description": "Transaction batching standard to use. Supported values: 'EIP-5792' (wallet-level batching via wallet_sendCalls) or 'EIP-7702' (EOA code delegation via batcherContract). Requires batcherContract when using EIP-7702.",
      "enum": [
        "EIP-5792",
        "EIP-7702"
      ]
    },
    "batcherContract": {
      "type": "string",
      "description": "The EOA address of the batcher that will be used to execute the transaction when using EIP-7702 batching. If not provided, the default batcher contract for the chain will be used."
    },
    "simulate": {
      "type": "boolean",
      "description": "When true, dry-runs the transaction batch via eth_simulateV1 and returns a simulate field with status and error on each transaction."
    },
    "transferMode": {
      "type": "string",
      "description": "Specifies the mode of token transfer. The first is taxi, where tokens are sent to the destination chain at the moment of swap. The second is bus ride. Bus ride means that multiple user swaps are batched together. "
    }
  },
  "required": [
    "dstChainId",
    "amountIn",
    "from",
    "to",
    "srcChainId"
  ]
}

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/blockdaemon-bridge-swap-request"
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.