Available Methods

Method Availability Additional Restrictions
debug_getRawBlock Unavailable
debug_getRawHeader Unavailable
debug_getRawReceipts Unavailable
debug_getRawTransaction Unavailable
debug_replyBlock Unavailable
debug_traceBlock Unavailable
debug_traceBlockByHash Unavailable
debug_traceBlockByNumber Unavailable
debug_traceCall Unavailable
debug_traceCallMany Unavailable
debug_traceTransaction Unavailable
eth_accounts Available
eth_blockNumber Available
eth_call Available Gas is limited to 10,000,000.
eth_chainId Available
eth_createAccessList Available Gas is limited to 10,000,000.
eth_estimateGas Available Gas is limited to 10,000,000.
eth_feeHistory Available Block range is limited to 10,000.
eth_gasPrice Available
eth_getBalance Available
eth_getBlockByHash Available Full block is disabled.
eth_getBlockByNumber Available Full block is disabled.
eth_getBlockReceipts Unavailable
eth_getBlockTransactionCountByHash Available
eth_getBlockTransactionCountByNumber Available
eth_getCode Available
eth_getFilterChanges Available
eth_getFilterLogs Available
eth_getLogs Available
eth_getLogsWithCursor Available
eth_getStorageAt Available
eth_getTransactionByBlockHashAndIndex Available
eth_getTransactionByBlockNumberAndIndex Available
eth_getTransactionByHash Available
eth_getTransactionCount Available
eth_getTransactionReceipt Available
eth_getUncleByBlockHashAndIndex Available
eth_getUncleByBlockNumberAndIndex Available
eth_getUncleCountByBlockHash Available
eth_getUncleCountByBlockNumber Available
eth_maxPriorityFeePerGas Available
eth_mining Available
eth_newBlockFilter Available
eth_newFilter Available
eth_newPendingTransactionFilter Available
eth_protocolVersion Available
eth_sendRawTransaction Available
eth_sendTransaction Unavailable
eth_sign Unavailable
eth_signTransaction Unavailable
eth_signTypedData Unavailable
eth_subscribe Unavailable
eth_syncing Available
eth_uninstallFilter Available
eth_unsubscribe Available
net_listening Available
net_peerCount Available
net_version Available
realtime_sendRawTransaction Available
trace_block Unavailable
trace_call Unavailable
trace_callMany Unavailable
trace_get Unavailable
trace_rawTransaction Unavailable
trace_replayBlockTransactions Unavailable
trace_replayTransaction Unavailable
trace_transaction Unavailable
txpool_content Unavailable
txpool_contentFrom Unavailable
txpool_inspect Unavailable
txpool_status Unavailable
web3_clientVersion Available

Rate Limiting

All available methods are subject to rate limiting based on two criteria:

User limits are dynamically updated in response to individual behavior.

Error Codes

HTTP Error Code RPC Error Code Error Message Explanation Mitigation
400 -32700 parse error The request body contains invalid JSON. Check the request format and ensure valid JSON syntax.
403 -32601 rpc method is not whitelisted The requested RPC method is not allowed by the proxy configuration. Use only whitelisted RPC methods. Contact MegaETH if you need access to additional methods.
400 -32019 block is out of range The requested block number is out of range. Check the block number and ensure it’s within the valid range.
500 -32020 backend response too large The backend response is too large. Reduce the scope of the request or contact MegaETH for assistance.
429 -32021 over network traffic limit, retry in X seconds The user is incurring too much network traffic. Wait for the specified number of seconds before retrying. Reduce the number of requests sent per second.
429 -32022 over compute unit limit, retry in X seconds The user is incurring too much computation on the backend RPC server. Wait for the specified number of seconds before retrying. Reduce the number of requests sent per second.
200 -32000 permanent error forwarding request context deadline exceeded The API proxy cannot connect to the backend RPC server. Pause for a while and retry. Notify MegaETH if the error persists.