Build MEV-Protected & Sandwich-Shielded Swap Calldata (Flashbots / Private Sequencer)
build_mev_protected_flashbots_swapPairs non-custodial 0.25% swap calldata with private Flashbots Protect / MEV-Blocker / L2 Sequencer RPC routing so trading agents avoid 1%-3% public mempool sandwich attacks.
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": "build_mev_protected_flashbots_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Human-readable input amount (default 250) | |
| sender | No | Optional 0x wallet address | |
| chainId | No | EVM chain ID ('1' Ethereum Flashbots/MEV-Blocker, '8453' Base, '42161' Arbitrum, '137' Polygon) | |
| srcSymbol | No | Sell token symbol ('USDC' or 'ETH') | |
| destTarget | No | Buy token symbol ('WETH', 'SUSDS', 'USDC') or 0x contract |