Moonbeam JSON RPC API
Introduction
Moonbeam is a smart contract platform that makes it easy to build native interoperable applications. It is fully Ethereum-compatible, allowing Ethereum developers to use their existing tools and deploy decentralized applications (dApps) with minimal changes. Moonbeam focuses on providing an Ethereum-like environment on Polkadot, ensuring scalability and low transaction costs while maintaining interoperability with other blockchains.
Supported Networks
The Moonbeam RPC API is available for the following networks:
- Moonbeam Mainnet
- Moonriver Testnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
Moonbeam Mainnet | 0x504 (1284) | EvmChain.MOONBEAM | https://site1.moralis-nodes.com/moonbeam/ |
https://site2.moralis-nodes.com/moonbeam/ | |||
Moonriver | 0x505 (1285) | EvmChain.MOONRIVER | https://site1.moralis-nodes.com/moonriver/ |
https://site2.moralis-nodes.com/moonriver/ |
Supported RPC Methods
- eth_blockNumber
- eth_call
- eth_chainId
- eth_createAccessList
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getBlockReceipts
- eth_getCode
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_maxPriorityFeePerGas
- eth_sendRawTransaction