Revert Reason Decoder
Decode Ethereum transaction revert reasons and error messages
Input Method
Common Error Selectors
0x08c379a0Error
Error(string)
0x4e487b71Panic
Panic(uint256)
Panic Codes Reference
0x00Generic panic
0x01Assert failed
0x11Arithmetic overflow/underflow
0x12Division or modulo by zero
0x21Invalid enum value
0x22Invalid storage byte array access
0x31Pop on empty array
0x32Array index out of bounds
0x41Out of memory
0x51Invalid internal function call
Error Types: Solidity has three main error types:
- require(): Returns Error(string) with custom message
- revert CustomError(): Custom errors with parameters (more gas efficient)
- Panic: System errors like overflow, divide by zero, array bounds