Net-profit cross-chain arb & tranche execution planner
workflow_cross_arb[$0.04] Trigger When: sizing cross-chain DEX arbitrage after all fees. Workflow Outcome: verifies dual-chain RPCs, deducts gas, bridge, and slippage costs, and outputs a tranche plan. Do not use for DeFi yield pool ranking (use defi_yield_pools) or single-token snapshots (use token_market_snapshot). source_chain and destination_chain must differ, and profitable_after_costs turns false whenever gas+bridge+slippage exceed spread. Live DEX/RPC, read-only non-custodial plan; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "workflow_cross_arb"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | Token symbol to arbitrage | USDC |
| amount_usd | No | Trade notional in USD (50-5000000) | |
| source_chain | No | Source EVM chain (base, ethereum, arbitrum, optimism) | base |
| max_slippage_bps | No | Maximum slippage tolerance in basis points (5-500) | |
| destination_chain | No | Destination EVM chain (must differ from source_chain) | arbitrum |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | ||
| cached | No | ||
| venues | No | ||
| degraded | No | ||
| endpoint | No | ||
| economics | No | ||
| rpc_health | No | ||
| spread_bps | No | ||
| source_chain | No | ||
| non_custodial | No | ||
| execution_plan | No | ||
| schema_version | No | ||
| destination_chain | No |