decode_revert_reason_hex
Decode EVM transaction revert data into readable error messages, translating standard Error(string) and Panic(uint256) selectors to reveal the exact failure reason.
Instructions
Decodes EVM transaction revert reason strings from standard Error(string) and Panic(uint256) error selectors. (0.01 USDC on Base L2)
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": {
"payload": "<payload>"
},
"name": "decode_revert_reason_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Input parameters or JSON string payload for the tool execution | |
| paymentSignature | No | Base L2 USDC micropayment signature or transaction hash for x402 settlement |