Split a large order across perp DEXs (Pro, 1 USDC)
execution_planPAID: 1 USDC on Base per plan that saves at least 20 USD (free otherwise), via x402 (no account; an x402-enabled client pays automatically). How to split one side of a large market order across perp DEXs so each live order book only absorbs what it can: the size, fee and slippage of every leg, against doing it all on the single cheapest venue. You only pay when the split saves you at least 20 USD; below that the plan comes back free, and the first call already tells you the saving.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pair": "<pair>",
"size_usd": "<size_usd>",
"side": "<side>"
},
"name": "execution_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Base asset of the perpetual, e.g. BTC | |
| side | Yes | buy (open long / close short) or sell | |
| size_usd | Yes | Order size in USD (notional), one side | |
| max_venues | No | Most venues to split across: each needs an account and margin (default 3) | |
| monthly_volume_usd | No | Your 30-day volume in USD, to pick your fee tier (default 0) |