Documentation
BNB Smart Chain
BNB Smart Chain (BSC, chainId 56) is an EVM-compatible Layer-1 in the BNB Chain ecosystem. It uses Proof-of-Staked-Authority (PoSA) consensus with a set of elected validators, producing blocks roughly every 3 seconds at very low transaction fees. BSC hosts one of the largest DeFi ecosystems outside Ethereum — PancakeSwap, Venus, and hundreds of other protocols rely on it daily. TheRPC gives you low-latency JSON-RPC access to BSC mainnet and testnet, covering standard eth_* methods as well as trace and debug namespaces for deep on-chain analysis.
Getting started
Quick StartGet a TheRPC API key and fire your first BNB Smart Chain JSON-RPC call with curl, JavaScript, and Python against chainId 56 in minutes.
AuthenticationObtain, use, and secure a TheRPC API key for BNB Smart Chain (chainId 56) requests, with Bearer header placement, env-var setup, and auth error handling.
Rate LimitsHow TheRPC enforces rate limits on BNB Smart Chain (chainId 56), what the -32029 error means, and how to handle it with backoff, batching, and caching.
API OverviewTechnical overview of TheRPC's BNB Smart Chain JSON-RPC 2.0 API: HTTP and WebSocket endpoints, request and response formats, auth, and method namespaces.
FAQCommon questions on the BNB Smart Chain (chainId 56) API at TheRPC — authentication, rate limits, error codes, transaction tracking, reorgs, and performance.
Basic OperationsPerform the most common BNB Smart Chain (chainId 56) operations via TheRPC: BNB balances, transactions and receipts, blocks, contract calls, gas, and nonce.
All MethodsReference of all supported BNB Smart Chain (chainId 56) JSON-RPC methods on TheRPC across the eth_, debug_, trace_, net_, txpool_, and web3_ namespaces.