JSON-RPC Endpoint

Available Resources

Mainnet(ChainID 0x38, 56 in decimal)

BSC RPC Endpoints:

Recommend

  • https://bsc-dataseed.binance.org/

Backups

  • https://bsc-dataseed1.defibit.io/
  • https://bsc-dataseed2.defibit.io/
  • https://bsc-dataseed3.defibit.io/
  • https://bsc-dataseed4.defibit.io/
  • https://bsc-dataseed1.ninicoin.io/
  • https://bsc-dataseed2.ninicoin.io/
  • https://bsc-dataseed3.ninicoin.io/
  • https://bsc-dataseed4.ninicoin.io/
  • https://bsc-dataseed1.binance.org/
  • https://bsc-dataseed2.binance.org/
  • https://bsc-dataseed3.binance.org/
  • https://bsc-dataseed4.binance.org/

BSC Websocket Endpoints:

Note: provided by community with no quality promised, building your node should be always the long term goal

  • wss://bsc-ws-node.nariox.org:443

BC RPC Endpoints:

  • https://dataseed1.binance.org/
  • https://dataseed2.binance.org/
  • https://dataseed3.binance.org/
  • https://dataseed4.binance.org/
  • https://dataseed1.defibit.io/
  • https://dataseed2.defibit.io/
  • https://dataseed3.defibit.io/
  • https://dataseed4.defibit.io/
  • https://dataseed1.ninicoin.io/
  • https://dataseed2.ninicoin.io/
  • https://dataseed3.ninicoin.io/
  • https://dataseed4.ninicoin.io/

Testnet(ChainID 0x61, 97 in decimal)

BSC RPC Endpoints:

  • https://data-seed-prebsc-1-s1.binance.org:8545/
  • https://data-seed-prebsc-2-s1.binance.org:8545/
  • http://data-seed-prebsc-1-s2.binance.org:8545/
  • http://data-seed-prebsc-2-s2.binance.org:8545/
  • https://data-seed-prebsc-1-s3.binance.org:8545/
  • https://data-seed-prebsc-2-s3.binance.org:8545/

BC RPC Endpoints:

  • http://data-seed-pre-0-s1.binance.org:80
  • http://data-seed-pre-1-s1.binance.org:80
  • http://data-seed-pre-2-s1.binance.org:80
  • http://data-seed-pre-0-s3.binance.org:80
  • http://data-seed-pre-1-s3.binance.org:80

Start

You can start the HTTP JSON-RPC with the --rpc flag

## mainnet
geth attach https://bsc-dataseed1.binance.org

## testnet
geth attach https://data-seed-prebsc-1-s1.binance.org:8545/

JSON-RPC methods

Please refer to this wiki page or use Postman: https://documenter.getpostman.com/view/4117254/ethereum-json-rpc/RVu7CT5J?version=latest