Binance Smart Chain JSON RPC API
Introduction
Binance Smart Chain (BSC) is a blockchain network built for running smart contract–based applications. BSC is compatible with the Ethereum Virtual Machine (EVM), which allows Ethereum dApps and tools to be easily ported over. The network is known for its fast transactions and low fees, making it ideal for decentralized finance (DeFi), decentralized exchanges (DEXs), and other blockchain applications.
Supported Networks
The Binance Smart Chain RPC API is available for the following networks:
- Binance Smart Chain Mainnet
- Binance Smart Chain Testnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
Binance Smart Chain Mainnet | 0x38 (56) | EvmChain.BSC | https://site1.moralis-nodes.com/bsc/ |
https://site2.moralis-nodes.com/bsc/ | |||
Binance Smart Chain Testnet | 0x61 (97) | EvmChain.BSC_TESTNET | https://site1.moralis-nodes.com/bsc-testnet/ |
https://site2.moralis-nodes.com/bsc-testnet/ |
Supported RPC Methods
- eth_blockNumber
- eth_call
- eth_chainId
- eth_createAccessList
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getBlockReceipts
- eth_getCode
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_maxPriorityFeePerGas
- eth_sendRawTransaction