Tx bundle plan
tx_bundle_planExact-amount EVM approve + action (+ optional revoke) unsigned transaction bundle planner across 8 EVM chains: checks current allowance, balance, gas price, and sequential nonces; never requests unlimited approval and never touches private keys. $0.004 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.
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": {
"token": "<token>",
"owner": "<owner>",
"spender": "<spender>",
"amount": "<amount>"
},
"name": "tx_bundle_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ethereum, base (default), arbitrum, optimism, polygon, bnb, arc or robinhood | |
| owner | Yes | signing wallet address (0x + 40 hex) | |
| token | Yes | ERC-20 token contract address (0x + 40 hex) | |
| amount | Yes | token spend amount in human decimal units (or integer atomic base units with atomic=1) | |
| atomic | No | set "1" when amount is already in integer atomic base units | |
| payment | No | a signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call. | |
| spender | Yes | contract address to approve and call (0x + 40 hex) | |
| actionData | No | optional 0x hex calldata for the spender action transaction | |
| revokeAfter | No | set "1" to append a post-action approve(spender, 0) revocation tx | |
| actionValueWei | No | optional non-negative integer wei value for the spender action transaction |