opBNB is a layer 2 scaling solution for the Binance Smart Chain (BSC) designed to provide faster transaction speeds and lower costs. By leveraging optimistic rollups, opBNB aims to enhance the performance and scalability of BSC, making it an attractive platform for developers building decentralized applications (dApps).
The opBNB API facilitates interaction with the opBNB network through a collection of JSON-RPC methods. It provides developers with tools to interact with the blockchain, enabling functionalities such as transactions, smart contract deployment, and data retrieval.
No, opBNB is only available on paid tiers (pay as you go, enterprise). If you're on free tier upgrade your account to use opBNB. If you want Alchemy to support opBNB on free tier, please request here.
Explained in opBNB API Quickstart.
Yes, opBNB is fully compatible with the Ethereum Virtual Machine (EVM). This compatibility allows Ethereum developers to port their projects to opBNB with minimal changes, benefiting from the network's scalability and low transaction fees.
opBNB uses the JSON-RPC API standard for blockchain interactions. This is the same standard used by Ethereum.
When accessing the opBNB network via a node provider like Alchemy, developers use an API key to send transactions and retrieve data from the network.
For the best development experience, we recommend that you sign up for a free API key!
Given opBNB's EVM compatibility, popular Ethereum libraries like ethers.js and web3.js are fully compatible with opBNB. This allows for seamless development and integration for those familiar with Ethereum's development ecosystem.
Similar to Ethereum, opBNB supports a range of programming languages for blockchain interaction and smart contract development, including Solidity for smart contracts, as well as JavaScript and TypeScript for dApp development and off-chain interactions.
opBNB uses BNB, Binance Smart Chain's native cryptocurrency, for transaction fees, gas, and other network activities.
You can find the list of all the methods Alchemy supports for the opBNB API on the opBNB API Endpoints page.
If you have any questions or feedback, please contact us at [email protected] or open a ticket in the dashboard.