token_transfer_simulate
Pre-flight ERC-20 transfer simulation (eth_call, no tx sent): will from→to of amount succeed, decoded revert reason (insufficient balance, blacklisted, paused), sender balance, gas estimate. Defaults 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": "token_transfer_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 0x recipient | |
| from | No | 0x sender | |
| chain | No | base|ethereum|... | |
| token | No | 0x or usdc | |
| amount | No | decimal (default 1) |