Quickstart
Make your first read-only MegaETH JSON-RPC requests and verify the connected network.
Last updated
curl -sS https://mainnet.megaeth.com/rpc \
-H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":2,"method":"eth_chainId","params":[]}'curl -sS https://mainnet.megaeth.com/rpc \
-H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":3,"method":"eth_getBalance","params":["0x0000000000000000000000000000000000000000","latest"]}'