base_simulate_transfer
Will this token payment actually go through, and if not exactly why. Simulates the transfer without spending gas, decodes the real revert reason (Error(string), Panic codes translated to English, or a custom error selector), and separately reports balance and allowance blockers. Understands that a caller with no ETH is fine for gasless EIP-3009 or a sponsored relayer. Costs $0.008 per call, paid in USDC over x402 on Base. Calling this tool returns the payment requirements; failed calls are never billed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address | |
| from | Yes | Address the tokens leave | |
| token | No | Optional ERC-20 contract, defaults to USDC on Base | |
| amount | Yes | Amount in atomic units (for USDC, 1000000 = $1) | |
| spender | No | Optional: simulate transferFrom pulled by this spender instead of a direct transfer |