chain_decode_revert
Revert reason decoder — Decode EVM revert data offline: Error(string) reasons, Panic(uint256) codes with meaning, and ~100 common custom errors (OpenZeppelin v5 ERC20/721/1155/Ownable/AccessControl, Uniswap Universal Router and v4, Permit2, ERC-4337 EntryPoint, Safe), including nested ExecutionFailed/WrappedError data, plus a category (INSUFFICIENT_BALANCE, MISSING_APPROVAL, SLIPPAGE, DEADLINE, NOT_AUTHORIZED...) and a fix. Param: data (0x revert hex); optional errors=Name(type,type);Other(type) to add the contract's own error signatures. Price: $0.002 USDC (Base, via x402).
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": {
"data": "<data>"
},
"name": "chain_decode_revert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002645524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63650000000000000000000000000000000000000000000000000000 |