balancer_swap_tx
Build an unsigned Balancer v2 Vault single swap tx (auto-picks the deepest pool holding both tokens or takes pool_id), quoted on-chain with queryBatchSwap, slippage min-out, approval check, gas-estima Paid: $0.02 USDC via x402.
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": "balancer_swap_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | from | |
| chain | No | chain | |
| amount | No | amount | |
| pool_id | No | pool_id | |
| token_in | No | token_in | |
| token_out | No | token_out |