x402_safe_tx
Simulate and execute allowlisted EVM transactions on Base L2 by verifying spending caps, blocking dangerous selectors, and checking contract allowlists before signing.
Instructions
Simulate and execute an allowlisted EVM transaction on Base L2. Verifies against spending caps, blocks dangerous selectors (unlimited approvals, drainers), and checks contract allowlists before signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination contract or recipient address (e.g., 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) | |
| data | No | Raw EVM bytecode calldata (optional, default: 0x) | |
| value | No | Native ETH value in Wei to send (optional, default: 0) | |
| amountUsdc | No | USDC token amount involved in transaction (for spending cap evaluation, e.g., 0.05) |