Monad

Monad is a Layer-1 blockchain delivering high performance, decentralization, and EVM compatibility with 10.000 TPS, 0.8s finality, and 0.4s block times

Overview

Block explorers

Developer docs

APIs

JSON-RPC

Monad supports most of the JSON-RPC methods available in Geth. You can find the official documentation here

The linked documentation also includes cURL examples where you just need to replace the RPC URL, e.g:

curl --request POST \
     --url <TRITON_URL> \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_blockNumber",
  "params": []
}
'

Expected result:

Websocket

The websocket API is also available in Monad. You can find the official documentation here

See an example below how to test websocket using the wscat utility:

Install node-ws in Linux:

Subscribe to websockets:

Expected result:

Note: JS examples are also available in the official documentation.

Last updated

Was this helpful?