opBNB JSON RPC API
Introduction
opBNB is a Layer 2 scaling solution built on BNB Chain, offering fast and affordable transactions while maintaining compatibility with the Ethereum Virtual Machine (EVM). This makes opBNB a great choice for decentralized applications (dApps) that prioritize performance, including DeFi and NFT ecosystems.
Supported Networks
The opBNB RPC API is available for the following network:
- opBNB Mainnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
opBNB | 0xcc (204) | EvmChain.opBNB | https://site1.moralis-nodes.com/opbnb/ |
https://site2.moralis-nodes.com/opbnb/ |
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