JSON-RPC 端点
可用资源
主网(ChainID 0x38,十进制56)
BSC RPC 端点:
笔记
您可以发出eth_getLogs
最多 5K 块范围的请求。如果您需要频繁拉取日志,我们建议您使用 WebSockets 在新日志可用时将其推送给您。
推荐
- https://bsc-dataseed.binance.org/
- https://bsc-dataseed1.defibit.io/
- https://bsc-dataseed1.ninicoin.io/
备份
- https://bsc-dataseed2.defibit.io/
- https://bsc-dataseed3.defibit.io/
- https://bsc-dataseed4.defibit.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 端点:
注意:由社区提供,没有质量承诺,建立您的节点应该始终是长期目标
- wss://bsc-ws-node.nariox.org:443
BC RPC 端点:
- 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/
测试网(ChainID 0x61, 97 十进制)
BSC RPC 端点:
- https://data-seed-prebsc-1-s1.binance.org:8545/
- https://data-seed-prebsc-2-s1.binance.org:8545/
- https://data-seed-prebsc-1-s2.binance.org:8545/
- https://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 端点:
- 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
速率限制
BSC 端点在测试网和主网上的速率限制为 10K/5 分钟。
RPC 聚合器
BSCrpc.com - 无速率限制,每个项目每天 100 万/请求
第三方提供商
开始
您可以使用 --rpc 标志启动 HTTP JSON-RPC
## mainnet
geth attach https://bsc-dataseed1.binance.org
## testnet
geth attach https://data-seed-prebsc-1-s1.binance.org:8545/
JSON-RPC 方法
请参考此wiki 页面或使用 Postman:https ://documenter.getpostman.com/view/4117254/ethereum-json-rpc/RVu7CT5J?version=latest
链接:https://docs.binance.org/smart-chain/developer/rpc.html