opBNB Chain API FAQ

Frequently asked questions about the opBNB chain API

What is opBNB?

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).

What is the opBNB API?

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.

Can I use opBNB on free tier?

No, opBNB is only available on paid tiers (growth, scale, 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.

How can I get started using the opBNB API?

Explained in opBNB API Quickstart.

Is opBNB EVM compatible?

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.

What API does opBNB use?

opBNB uses the JSON-RPC API standard for blockchain interactions. This is the same standard used by Ethereum.

What is an opBNB API key?

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!

Which libraries support opBNB?

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.

What programming languages work with opBNB?

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.

What does opBNB use for gas?

opBNB uses BNB, Binance Smart Chain's native cryptocurrency, for transaction fees, gas, and other network activities.

What methods does Alchemy support for the opBNB API?

You can find the list of all the methods Alchemy supports for the opBNB API on opBNB API Endpoints page.

My question isn't here, where can I get help?

Don't worry, we got you. Check out our discord and feel free to post any questions you have!

ReadMe