-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from MoralisWeb3/add-opbnb-rpc-docs
added opbnb
- Loading branch information
Showing
3 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
title: "opBNB JSON RPC API" | ||
slug: "/rpc-nodes/opbnb-json-rpc-api" | ||
sidebar_position: 12 | ||
--- | ||
|
||
# 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: | ||
|
||
1. **opBNB Mainnet** | ||
|
||
## Network Details | ||
|
||
| Network | Chain ID | EVM Chain | RPC URLs | | ||
| --------- | ---------- | -------------- | -------------------------------------------------------------------------------- | | ||
| **opBNB** | 0xcc (204) | EvmChain.opBNB | [https://site1.moralis-nodes.com/opbnb/](https://site1.moralis-nodes.com/opbnb/) | | ||
| | | | [https://site2.moralis-nodes.com/opbnb/](https://site2.moralis-nodes.com/opbnb/) | | ||
|
||
## Supported RPC Methods | ||
|
||
- [eth_blockNumber](/rpc-nodes/reference/eth_blockNumber) | ||
- [eth_call](/rpc-nodes/reference/eth_call) | ||
- [eth_chainId](/rpc-nodes/reference/eth_chainId) | ||
- [eth_createAccessList](/rpc-nodes/reference/eth_createAccessList) | ||
- [eth_estimateGas](/rpc-nodes/reference/eth_estimateGas) | ||
- [eth_feeHistory](/rpc-nodes/reference/eth_feeHistory) | ||
- [eth_gasPrice](/rpc-nodes/reference/eth_gasPrice) | ||
- [eth_getBalance](/rpc-nodes/reference/eth_getBalance) | ||
- [eth_getBlockByHash](/rpc-nodes/reference/eth_getBlockByHash) | ||
- [eth_getBlockByNumber](/rpc-nodes/reference/eth_getBlockByNumber) | ||
- [eth_getBlockTransactionCountByHash](/rpc-nodes/reference/eth_getBlockTransactionCountByHash) | ||
- [eth_getBlockTransactionCountByNumber](/rpc-nodes/reference/eth_getBlockTransactionCountByNumber) | ||
- [eth_getBlockReceipts](/rpc-nodes/reference/eth_getBlockReceipts) | ||
- [eth_getCode](/rpc-nodes/reference/eth_getCode) | ||
- [eth_getLogs](/rpc-nodes/reference/eth_getLogs) | ||
- [eth_getProof](/rpc-nodes/reference/eth_getProof) | ||
- [eth_getStorageAt](/rpc-nodes/reference/eth_getStorageAt) | ||
- [eth_getTransactionByHash](/rpc-nodes/reference/eth_getTransactionByHash) | ||
- [eth_getTransactionByBlockHashAndIndex](/rpc-nodes/reference/eth_getTransactionByBlockHashAndIndex) | ||
- [eth_getTransactionByBlockNumberAndIndex](/rpc-nodes/reference/eth_getTransactionByBlockNumberAndIndex) | ||
- [eth_getTransactionCount](/rpc-nodes/reference/eth_getTransactionCount) | ||
- [eth_getTransactionReceipt](/rpc-nodes/reference/eth_getTransactionReceipt) | ||
- [eth_getUncleByBlockHashAndIndex](/rpc-nodes/reference/eth_getUncleByBlockHashAndIndex) | ||
- [eth_getUncleByBlockNumberAndIndex](/rpc-nodes/reference/eth_getUncleByBlockNumberAndIndex) | ||
- [eth_getUncleCountByBlockHash](/rpc-nodes/reference/eth_getUncleCountByBlockHash) | ||
- [eth_getUncleCountByBlockNumber](/rpc-nodes/reference/eth_getUncleCountByBlockNumber) | ||
- [eth_maxPriorityFeePerGas](/rpc-nodes/reference/eth_maxPriorityFeePerGas) | ||
- [eth_sendRawTransaction](/rpc-nodes/reference/eth_sendRawTransaction) | ||
|
||
## Supported Extended RPC Methods | ||
|
||
- [eth_getTransactions](/rpc-nodes/reference/extended-rpc/eth_getTransactions) | ||
- [eth_getDecodedTransactions](/rpc-nodes/reference/extended-rpc/eth_getDecodedTransactions) | ||
- [eth_getTokenBalances](/rpc-nodes/reference/extended-rpc/eth_getTokenBalances) | ||
- [eth_getTokenPrice](/rpc-nodes/reference/extended-rpc/eth_getTokenPrice) | ||
- [eth_getTokenMetadata](/rpc-nodes/reference/extended-rpc/eth_getTokenMetadata) | ||
- [eth_getNFTBalances](/rpc-nodes/reference/extended-rpc/eth_getNFTBalances) | ||
- [eth_getNFTCollections](/rpc-nodes/reference/extended-rpc/eth_getNFTCollections) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters