BSC Network
BNB Chain is an EVM compatible chain designed to work alongside Binance Chain.
As well as EVM compatibility, BNB Chain adds smart contract functionality to the chain. The dual-chain architecture alongside Binance Chain enables the sending and receiving of BNB and BEP2 tokens cross-chain.
EVM-compatibility permits support for Ethereum tools and DApps.
Quick links
Connect wallet
You can set up your MetaMask wallet to connect to BNB Chain RPC. You can then perform transactions and interact with the network.
Get started
- Open your Metamask Extension and click the 'Network' drop down menu at the top.
- Select 'Custom RPC'.
- Enter the settings for the required project as follows in the table below:
Chain | Custom RPC Category | Details |
---|---|---|
BNB Chain | NETWORK NAME: | BNB Chain RPC |
NEW RPC URL: | https://username.chainprtcl.net/bsc/uid | |
CHAIN ID: | 56 | |
SYMBOL: | BNB | |
BLOCK EXPLORER: | https://bscscan.com |
Integrate code
web3 library
- clientVersion
Returns the current client version.
Example request
curl https://username.chainprtcl.net/bsc/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'
Example response
{"jsonrpc":"2.0","id":1,"result":"Geth/v1.1.7-74f6b613/linux-amd64/go1.16.10"}
net library
- net_version
Returns the current network id.
Example request
curl https://username.chainprtcl.net/bsc/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"net_version","params":[],"id":67}'
Example response
{"jsonrpc":"2.0","result":"100","id":67}
eth library
Example request
eth_estimateGas
Returns the gas price for the transaction in hex.
curl https://username.chainprtcl.net/bsc/uid \
-X POST \
-H "Content-Type: application/json" \
--data '{
"jsonrpc":"2.0",
"method":"eth_estimateGas",
"params":[{
"from": "0x8D97689C9818892B700e27F316cc3E41e17fBeb9",
"to": "0xd3CdA913deB6f67967B99D67aCDFa1712C293601",
"value": "0x186a0"
}],
"id":1
}'
Example response
{"jsonrpc":"2.0","result":"0x5208","id":1}
Pricing
Node Type | Price (USD) |
---|---|
Fullnode | $1482 |