BNB Smart Chain API

BNB Smart Chain 端点使用 EVM JSON-RPC。

Endpoint

ItemValue
NetworkBNB Smart Chain Mainnet
ProtocolEVM JSON-RPC 2.0
Chain ID56 (0x38)
Public HTTPShttps://bsc-rpc.blockreq.com/v1/rpc/public
Private HTTPShttps://bsc-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000
WSSwss://bsc-rpc.blockreq.com/v1/rpc/BRQ1P0000000000000000000000000000000000000000000000000000000,启用时可用

Core Methods

共享方法目录见 EVM JSON-RPC 方法表。

CapabilityMethods
Latest stateeth_chainId, eth_blockNumber, eth_call, eth_getBalance
Archive/proofeth_getProof, 旧区块 eth_getCode, 旧区块 eth_getStorageAt
Logs 和 receiptseth_getLogs, eth_getBlockReceipts, eth_getTransactionReceipt
Trace/debugtrace_block, trace_filter, trace_transaction, debug_traceCall, debug_traceTransaction

Free 不包含 debug_*、trace_* 或 txpool_*。付费套餐之间不区分这些方法族。