BNB Smart Chain is an EVM-compatible Layer 1 blockchain secured by Parlia, a Proof of Staked Authority consensus with vote-based fast finality.
BNB Smart Chain runs a client forked from go-ethereum, so Solidity contracts, 0x addresses, and Ethereum tooling work unchanged. Validators elected through BNB staking take turns producing blocks under Parlia, a Proof of Staked Authority consensus, and a fast finality mechanism based on aggregated BLS validator votes finalizes blocks. BNB pays gas. Nodes serve the standard Ethereum JSON-RPC API, and the finalized block tag returns the latest finalized block.
Binance Smart Chain RPC endpoints
HTTP requests take your API key in the x-api-key header. See Authentication.
For example, this request sends eth_blockNumber to Binance Smart Chain Mainnet through the JSON-RPC interface:
curl 'https://bsc-mainnet.gateway.tatum.io' \
--header 'content-type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'Don't have an API key?
Sign up to Dashboard and create your API keys today. Get higher limits and use debugging tools.
Binance Smart Chain RPC at a glance
- Networks: Mainnet (Tier 1) and Testnet (Tier 2)
- Chain ID: Mainnet
56(0x38) · Testnet97(0x61) - Interfaces: JSON-RPC and WebSocket
- Supported methods: 55 · JSON-RPC methods
- Debug and trace methods: Available on Mainnet and Testnet
- Native token:
BNB - Block explorers: Mainnet · Testnet
- Network status: Mainnet · Testnet
- Authentication: API key in the
x-api-keyheader, see Authentication
Try Binance Smart Chain RPC
Get the latest Binance Smart Chain block
Sends eth_blockNumber to Binance Smart Chain Mainnet through Tatum RPC Gateway and shows the latest block number.
Get the Binance Smart Chain node version
Sends web3_clientVersion to Binance Smart Chain Mainnet through Tatum RPC Gateway and shows the node version and status.
To try more Binance Smart Chain methods, open the Binance Smart Chain Postman collection, set the gateway-api-key variable of the Tatum Gateway environment to your API key, and send any request.
Binance Smart Chain RPC methods
Methods each Binance Smart Chain interface supports, listed live from Tatum RPC Gateway.
JSON-RPC
53 methods on Mainnet and Testnet. What each one does: Binance Smart Chain JSON-RPC methods.
debug_*(7):debug_getBadBlocks,debug_storageRangeAt,debug_traceBlock,debug_traceBlockByHash,debug_traceBlockByNumber,debug_traceCall,debug_traceTransactioneth_*(32):eth_blockNumber,eth_call,eth_callMany,eth_chainId,eth_estimateGas,eth_feeHistory,eth_gasPrice,eth_getBalance,eth_getBlockByHash,eth_getBlockByNumber,eth_getBlockReceipts,eth_getBlockTransactionCountByHash,eth_getBlockTransactionCountByNumber,eth_getCode,eth_getLogs,eth_getProof,eth_getStorageAt,eth_getTransactionByBlockHashAndIndex,eth_getTransactionByBlockNumberAndIndex,eth_getTransactionByHash,eth_getTransactionCount,eth_getTransactionReceipt,eth_getUncleByBlockHashAndIndex,eth_getUncleByBlockNumberAndIndex,eth_getUncleCountByBlockHash,eth_getUncleCountByBlockNumber,eth_maxPriorityFeePerGas,eth_sendRawTransaction,eth_signTypedData,eth_signTypedData_v3,eth_simulateV1,eth_syncingnet_*(3):net_listening,net_peerCount,net_versiontrace_*(7):trace_block,trace_call,trace_callMany,trace_rawTransaction,trace_replayBlockTransactions,trace_replayTransaction,trace_transactiontxpool_*(3):txpool_content,txpool_inspect,txpool_statusweb3_*(1):web3_clientVersion
WebSocket
22 methods on Mainnet and Testnet. Guide with examples: Binance Smart Chain WebSocket.
eth_*(20):eth_blockNumber,eth_call,eth_chainId,eth_estimateGas,eth_feeHistory,eth_gasPrice,eth_getBalance,eth_getBlockByHash,eth_getBlockByNumber,eth_getBlockReceipts,eth_getCode,eth_getLogs,eth_getStorageAt,eth_getTransactionByHash,eth_getTransactionCount,eth_getTransactionReceipt,eth_maxPriorityFeePerGas,eth_sendRawTransaction,eth_subscribe,eth_unsubscribenet_*(1):net_versionweb3_*(1):web3_clientVersion
Every endpoint also lists its methods at runtime: /_methods (JSON) and /llms.txt (text), for example Binance Smart Chain Mainnet /_methods.
Method unavailable?If you need a method we don't support yet, contact support.
Related
- Binance Smart Chain RPC nodes on tatum.io: plans, pricing and dedicated nodes
- Supported Blockchains: every chain on Tatum RPC Gateway and its network tiers
- Binance Smart Chain official website: chain documentation
Testing without an API key? Free public endpoints are listed on Binance Smart Chain RPC at FREERPC.com.