BNB Smart Chain RPC
What is BNB Smart Chain?
BNB Smart Chain (BSC) is an EVM-compatible blockchain developed by Binance. BSC provides smart contract functionality through the Ethereum Virtual Machine. BSC uses a Proof of Staked Authority (PoSA) consensus mechanism that combines elements of Proof of Authority and Delegated Proof of Stake. The network implements BEP-20 as its token standard (equivalent to ERC-20) and supports additional standards like BEP-721 for NFTs.
Interacting with BNB Smart Chain
The BNB Smart Chain provides full compatibility with Ethereum's JSON-RPC interface, allowing developers to interact with BSC using standard Ethereum tooling. Since BSC maintains EVM equivalence, existing Solidity contracts can deploy directly without code changes.
透過此 API,您可以:
- 執行所有標準的以太坊 JSON-RPC 方法(eth_call、eth_sendTransaction、eth_getBalance)
- Deploy and interact with BEP-20 tokens and smart contracts
- Query blockchain state including blocks, transactions, receipts, and event logs
- 透過 WebSocket 連線訂閱即時事件
您可以透過以下方式存取 API:
- Running a local BSC node (Geth-based BSC client)
- Using a hosted provider such as a Quicknode BNB Smart Chain endpoint, which provides low-latency access to both mainnet and testnet with archive data support
支援的網路
Quicknode provides access to the following BNB Smart Chain networks:
Complete reference for developers building on BNB Smart Chain with Quicknode:
快速入門
Get started with BNB Smart Chain quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
供應商端點
Learn how to configure and manage your BNB Smart Chain endpoints for optimal performance and reliability.
API 概覽
探索受支援的 API、網路、Quicknode 產品以及增強的 API 功能,以建置功能強大的應用程式。
市集
探索並整合來自 Quicknode 市集的強大外掛程式與工具,以強化您的 Web3 應用程式。
端點安全
透過身分驗證、白名單機制及最佳安全實務,確保您的端點安全。
錯誤代碼
Understand common error codes and troubleshooting steps for BNB Smart Chain API requests.