RPC Error Codes
Monad supports a JSON-RPC interface for interacting with the blockchain. Monad JSON-RPC aims to be equivalent to Ethereum JSON-RPC, however some error codes slightly deviate due to lack of standardization across Ethereum clients.
Monad Error Codes Reference
| Error Code | Message | Explanation | 
|---|---|---|
| -32601 | Parse error | Unable to parse JSON-RPC request | 
| -32601 | Invalid request | Invalid request such as request that exceeds size limit | 
| -32601 | Method not found | Method that is not part of the JSON-RPC spec | 
| -32601 | Method not supported | Method that is part of the JSON-RPC spec but not yet supported by Monad | 
| -32602 | Invalid block range | Maximum eth_getLogs block range is configured per RPC provider, but is typically limited to 1000 blocks | 
| -32602 | Invalid params | Request contains incorrect parameters associated to the particular method | 
| -32603 | Internal error | Request that cannot be fulfilled due to internal error | 
| -32603 | Execution reverted | eth_call and eth_estimateGas simulates transaction to revert | 
| -32603 | Transaction decoding error | Request contains raw transaction that cannot be decoded |