Ronin (RON)
GetBlock provides fast and reliable access to Ronin nodes via the JSON-RPC API. Connect to the Ronin network without running your own infrastructure.
Ronin is an EVM-compatible Layer 1 blockchain built by Sky Mavis, purpose-built for Web3 gaming. It is the chain behind Axie Infinity and Pixels, tuned for high-throughput, low-fee onchain gameplay with fast finality. Ronin is EVM-compatible, so Ethereum contracts and tooling — Hardhat, Foundry, ethers.js, viem, and web3.py — run without modification. The native token RON is used for gas, staking, and governance.
Ronin secures the chain with a Delegated Proof of Stake (DPoS) consensus operated by a validator set, targeting roughly 3-second blocks and sub-cent fees. This documentation targets Ronin Mainnet (Chain ID 2020).
Key Features
Gaming-First Layer 1: Purpose-built by Sky Mavis for Web3 games such as Axie Infinity and Pixels
Full EVM Compatibility: Standard Ethereum JSON-RPC method set; deploy Solidity contracts and use Hardhat, Foundry, ethers.js, viem, and web3.py without modification
Delegated Proof of Stake: A validator set secures the chain with fast finality and roughly 3-second blocks
Low Fees, High Throughput: Sub-cent fees and hundreds of transactions per second for microtransactions
RON Native Token: RON pays gas and is used for staking and governance; WRON is the wrapped ERC-20 form
Ronin Bridge: Moves assets between Ronin and Ethereum
Katana DEX and NFT Ecosystem: A native DeFi and NFT ecosystem around the games it hosts
Network Information
Network Name
Ronin Mainnet
Stage
Mainnet (live)
Chain ID
2020 (0x7e4)
Native Currency
RON
Decimals
18
Consensus
Delegated Proof of Stake (DPoS)
Smart Contract VM
EVM (EVM-compatible)
Address Format
Ethereum-style (0x…); often shown with a ronin: prefix
Block Explorer
Testnet
Saigon Testnet (Chain ID 202601)
Base URL
All Ronin JSON-RPC methods are called by sending a POST request to the base URL with a standard JSON-RPC 2.0 body. For a WebSocket connection, use the WebSocket scheme: wss://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/.
Supported Networks
Mainnet
✅
✅
✅
✅
✅
Testnet
✅
✅
✅
✅
✅
Saigon Testnet (Chain ID 202601) is the test environment for staging contracts before mainnet. Confirm testnet endpoint availability from the GetBlock dashboard.
Quickstart
In this section, you will learn how to make your first call with either:
Axios (JavaScript / Node.js)
Python (Requests library)
Before you begin, you must have already installed npm or yarn on your local machine (for the Axios example) or Python and pip (for the Python example).
Available API Methods
Ronin exposes the standard Ethereum JSON-RPC method set. All methods are POST-only and called against the base URL above.
Block & Chain Information
eth_blockNumber
Returns the current latest block number
eth_chainId
Returns the chain ID (0x7e4 = 2020 for Ronin Mainnet)
eth_getBlockByNumber
Returns block information by block number
eth_getBlockByHash
Returns block information by block hash
eth_getBlockTransactionCountByNumber
Returns the number of transactions in a block by block number
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block by block hash
eth_getBlockReceipts
Returns all transaction receipts for a given block
eth_syncing
Returns sync status or false if the node is fully synced
Account & State
eth_getBalance
Returns the native RON balance of an account (in wei)
eth_getCode
Returns the contract bytecode at a given address
eth_getStorageAt
Returns the value at a specific storage slot
eth_getTransactionCount
Returns the transaction count (nonce) for an account
Transactions
eth_sendRawTransaction
Broadcasts a signed transaction
eth_getTransactionByHash
Returns a transaction by its hash
eth_getTransactionByBlockHashAndIndex
Returns a transaction by block hash and index
eth_getTransactionByBlockNumberAndIndex
Returns a transaction by block number and index
eth_getTransactionReceipt
Returns the receipt for a transaction by hash
eth_call
Executes a read-only call against contract state
eth_estimateGas
Estimates gas required for a transaction
Gas & Fee Market
eth_gasPrice
Returns the current gas price in wei
eth_maxPriorityFeePerGas
Returns the suggested max priority fee per gas (EIP-1559)
eth_feeHistory
Returns historical base fees and priority fees
Logs
eth_getLogs
Returns logs matching a given filter
Debug & Trace
debug_traceTransaction
Replays a transaction and returns an execution trace
debug_traceBlockByNumber
Traces every transaction in a block by block number
debug_traceBlockByHash
Traces every transaction in a block by block hash
Network & Client Info
net_version
Returns the network ID (2020 for Ronin Mainnet)
web3_clientVersion
Returns the client software version
Support
For technical support and questions:
Support Email: support@getblock.io
See Also
Last updated
Was this helpful?