githubEdit

Monad (MON)

GetBlock provides fast and reliable access to Monad nodes via JSON-RPC API. Connect to the Monad network without running your own infrastructure.

Overview

Monad is a high-performance Layer 1 blockchain engineered for speed without sacrificing security or decentralization. It delivers up to 10,000 transactions per second (TPS), sub-second finality, and near-zero gas fees while maintaining full Ethereum Virtual Machine (EVM) compatibility at the bytecode level.

Key Features

  • Parallel Execution: Optimistic parallel transaction processing for maximum throughput

  • Full EVM Compatibility: Deploy Solidity contracts without modification

  • MonadBFT Consensus: Custom Byzantine Fault Tolerant protocol with ~400ms block times

  • Sub-Second Finality: Transaction finality in approximately 800ms

  • MonadDB: Custom database optimized for blockchain state access

  • Asynchronous Execution: Pipelined consensus and execution for higher throughput

  • 10,000 TPS: Industry-leading transaction throughput for EVM chains

  • Low Gas Fees: Near-zero transaction costs

circle-info

TECHNICAL DISCLAIMER: AUTHORITATIVE JSON-RPC API SPECIFICATION.

GetBlock's RPC API reference documentation is provided exclusively for informational purposes and streamlined developer experience optimization. The canonical and normative specification for Ethereum Virtual Machine (EVM) JSON-RPC methods is solely maintained and published through the official Ethereum Foundation documentation portal at ethereum.orgarrow-up-right. This resource constitutes the sole authoritative reference implementation of the JSON-RPC 2.0 protocol interface across EVM-compatible execution clients.

Network Information

Property
Value

Network Name

Monad Mainnet

Chain ID

143

Native Currency

MON

Block Time

~400ms

Finality

~800ms

Max TPS

10,000

EVM Compatibility

Full bytecode compatibility

Consensus

MonadBFT (Proof of Stake)

Base URL

Supported Network

  • Mainnet

  • Testnet

Quickstart

In this section, you will learn how to make your first call with either:

  • Axios

  • Python

Quickstart with Axios

Before you begin, you must have already installed npm or yarn on your local machine. If not, check out npmarrow-up-right or yarnarrow-up-right.

  1. Set up your project using this command:

circle-info

This creates a project directory named monad-api-quickstart and initialises a Node.js project within it.

  1. Install Axios using this command: Using npm:

  1. Create a new file and name it index.js. This is where you will make your first call.

  2. Set the ES module "type": "module" in your package.json.

  3. Add the following code to the file (index.js):

circle-info

Replace <ACCESS_TOKEN> with your actual access token from GetBlock.

  1. Run the script:

    The sequence number and authentication key log in your console like this:

Quickstart with Python and Requests

Before you begin, you must have installed Python and Pip on your local machine.

  1. Set up your project using this command:

  2. Set up a virtual environment to isolate dependencies:

  3. Install the requests library:

  4. Create a new file called main.pyarrow-up-right and insert the following code:

circle-info

Replace <ACCESS_TOKEN> with your actual access token from GetBlock.

  1. Run the script:

Available API Methods

GetBlock provides access to standard Ethereum JSON-RPC methods plus Monad-specific extensions:

Reading Data (State Methods)

Method
Description

eth_blockNumber

Returns the current block number

eth_getBalance

Returns the balance of an address

eth_getStorageAt

Returns the value at a storage position

eth_getTransactionCount

Returns the transaction count (nonce)

eth_getCode

Returns the code at an address

eth_call

Executes a call without creating a transaction

eth_getProof

Returns account and storage proofs

Block Information

Method
Description

eth_getBlockByHash

Returns block information by hash

eth_getBlockByNumber

Returns block information by number

eth_getBlockReceipts

Returns all receipts for a block

eth_getBlockTransactionCountByHash

Returns transaction count by block hash

eth_getBlockTransactionCountByNumber

Returns transaction count by block number

Transaction Methods

Method
Description

eth_getTransactionByHash

Returns transaction by hash

eth_getTransactionByBlockHashAndIndex

Returns transaction by block hash and index

eth_getTransactionByBlockNumberAndIndex

Returns transaction by block number and index

eth_getTransactionReceipt

Returns the receipt of a transaction

eth_sendRawTransaction

Submits a signed transaction

eth_sendRawTransactionSync

Submits transaction and waits for inclusion (Monad-specific)

Gas and Fee Estimation

Method
Description

eth_gasPrice

Returns the current gas price

eth_maxPriorityFeePerGas

Returns suggested priority fee

eth_feeHistory

Returns fee history for blocks

eth_estimateGas

Estimates gas for a transaction

eth_createAccessList

Creates an access list for a transaction

Logs and Events

Method
Description

eth_getLogs

Returns logs matching filter criteria

eth_newFilter

Creates a new filter

eth_newBlockFilter

Creates a new block filter

eth_newPendingTransactionFilter

Creates pending transaction filter

eth_getFilterChanges

Returns filter changes

eth_getFilterLogs

Returns logs for a filter

eth_uninstallFilter

Removes a filter

Chain Information

Method
Description

eth_chainId

Returns the chain ID

eth_syncing

Returns sync status

net_version

Returns the network ID

net_listening

Returns listening status

net_peerCount

Returns number of peers

web3_clientVersion

Returns client version

Debug Methods

Method
Description

debug_traceTransaction

Returns transaction trace

debug_traceCall

Traces a call

debug_traceBlockByHash

Traces all transactions in a block

debug_traceBlockByNumber

Traces block by number

Support

For technical support and questions:

See Also

Last updated

Was this helpful?