For the complete documentation index, see llms.txt. This page is also available as Markdown.

JSON-RPC

MegaETH JSON-RPC endpoints, shared protocol conventions, operational limits, and method reference.

MegaETH exposes Ethereum-compatible JSON-RPC over HTTP and WebSocket, with additional methods and real-time behavior. Start with the shared guides below, then use the RPC Reference for individual method contracts.

Get started

  • Quickstart — make a read-only request and verify the connected network.

  • JSON-RPC basics — request envelopes, notifications, batches, and response handling.

  • Type reference — hexadecimal quantities, byte strings, addresses, hashes, and selectors.

  • Error reference — standard, Ethereum, MegaETH, and public-gateway errors.

  • Operations and limits — rate limits, payload caps, caching, and WebSocket limits.

RPC Reference

Use the RPC Reference for method availability and individual request, response, error, and example documentation.

Last updated