Binance Smart Chain API Methods
Supported Networks:
- Binance Smart Chain Mainnet (
BSC) - Binance Smart Chain Testnet (
BSCT)
Supported Interfaces:
- JSON-RPC/HTTP
- JSON-RPC/WEBSOCKET
JSON-RPC
Chain and network info
eth_chainIdeth_protocolVersionnet_versionnet_listeningnet_peerCountweb3_clientVersionrpc_modules
Blocks and headers
eth_blockNumbereth_getBlockByHasheth_getBlockByNumbereth_getBlockReceiptseth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getUncleByBlockHashAndIndexeth_getUncleByBlockNumberAndIndexeth_getUncleCountByBlockHasheth_getUncleCountByBlockNumber
Logs and filters
eth_newFiltereth_newBlockFiltereth_newPendingTransactionFiltereth_getFilterChangeseth_getFilterLogseth_getLogseth_uninstallFilter
Accounts, balances, nonces, signing
eth_accountseth_getBalanceeth_getTransactionCounteth_signeth_signTransactioneth_coinbase
State, code, and contract calls
eth_calleth_getCodeeth_getStorageAteth_getProof
Transactions - read
eth_getTransactionByHasheth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionReceipt
Transactions - send and preparation
eth_sendRawTransactioneth_sendTransactioneth_estimateGaseth_createAccessListeth_maxPriorityFeePerGaseth_gasPriceeth_feeHistory
Mining and PoW utilities
eth_miningeth_hashrateeth_getWork
Sync and subscriptions
eth_syncingeth_subscribeeth_unsubscribe
Utilities and compilers
web3_sha3eth_getCompilerseth_compileLLL
Add-on: bundler
eth_sendUserOperationeth_estimateUserOperationGaseth_getUserOperationByHasheth_getUserOperationReceipteth_supportedEntryPoints
Add-on: debug
debug_getBadBlocksdebug_getRawBlockdebug_getRawHeaderdebug_getRawReceiptsdebug_getRawTransactiondebug_storageRangeAtdebug_traceBlockdebug_traceBlockByHashdebug_traceBlockByNumberdebug_traceCalldebug_traceTransaction
Add-on: trace
trace_calltrace_blocktrace_gettrace_filtertrace_transactiontrace_rawTransactiontrace_replayBlockTransactionstrace_replayTransaction