How this calculator works
Paste revert hex and optionally add a trusted JSON or human-readable ABI for custom errors.
CoinCalcs validates the manual inputs and applies this published model: error selector = first 4 bytes; arguments = ABI-decoded remaining bytes
The result is calculated locally in the browser and is not sent to CoinCalcs or a market-data provider.
The calculation
error selector = first 4 bytes; arguments = ABI-decoded remaining bytesA concrete scenario
Revert data beginning with 0x08c379a0 can decode to Error(string) and expose the supplied reason text.
Sources used
Privacy: Calculator inputs are processed locally in your browser. CoinCalcs does not receive or store these inputs. Theme and cookie preferences may be stored on this device.
What this estimate cannot guarantee
- Decoded text does not prove contract safety, execution context, or the source of nested revert data.
- The result is only as current and accurate as the assumptions entered in the form.
- The output is educational scenario arithmetic, not financial, investment, tax, legal, or security advice.