跳到主要内容

Network Endpoints

Public available Conflux network RPC endpoints

1. Confura

Confura是Conflux网络上的一个与以太坊Infura等效的公共JSON-RPC服务,由Conflux基金会开发和维护。

我们的公共RPC服务位于全球不同的地区。 通过利用地理DNS路由,开发者可以请求与他们物理距离最近的区域RPC服务。

公共端点

香港

NetworkChain IDExplorerRPC Endpoint
Mainnet1029https://confluxscan.netHTTP: https://main.confluxrpc.com
Websocket: wss://main.confluxrpc.com/ws
Testnet1https://testnet.confluxscan.netHTTP: https://test.confluxrpc.com
Websocket: wss://test.confluxrpc.com/ws

US East

NetworkChain IDExplorerRPC Endpoint
Mainnet1029https://confluxscan.ioHTTP: https://main.confluxrpc.org
Websocket: wss://main.confluxrpc.org/ws
Testnet1https://testnet.confluxscan.ioHTTP: https://test.confluxrpc.org
Websocket: wss://test.confluxrpc.org/ws

速率限制

Reference for various fee tiers and their rate limits.

Fee TierPrice速率限制Buy Links
Free$050 calls/second, up to 100,000 calls/day-
Standard$150/mo100 calls/second, up to 1,000,000 calls/daymainnet
testnet
Enterpriseplease inquire bd@confluxnetwork.orgcustomize on demand-

Notes

  • Maximum result-set size is 10,000 for getLogs call;
  • Old archived event logs may be inaccessible due to data prune;
  • Append your api key to the endpoint for privileged access (eg., https://main.confluxrpc.com/<api-key>);
  • Rate limits are also imposed per RPC method, please check the following specification for more details.
Rate Limit Specification
RPC MethodFree tierStandard TierComment
allQPS < 50;
daily total < 100k
QPS < 100;
daily total < 1million
overall RPC requests
cfx_getLogsQPS < 5QPS < 20-
cfx_callQPS < 5QPS < 50-
cfx_getBlockBy*QPS < 5QPS < 20includes:
cfx_getBlockByHash,
cfx_getBlockByEpochNumber
cfx_getTransaction*QPS < 5QPS < 20includes:
cfx_getTransactionByHash,
cfx_getTransactionReceipt
debug RPCnot supportedQPS < 20includes:
cfx_getEpochReceipts etc.
trace RPCnot supportedQPS < 20includes:
trace_block, trace_filter, trace_transaction
filter APInot supportedsupportedincludes:
cfx_newFilter, cfx_getFilterChanges etc.

2. Unifra

Unifra是一个专注于简化区块链开发的Web3开发者平台。 它建立了一套开发者工具,增强了API,以及一个卓越的节点基础设施,以无缝构建和运行区块链应用程序。 Unifra 为多个链提供 API 服务,包括 以太坊、BNB 智能链、Polygon 和 Conflux。

Unifra提供:

  • 开放访问免费的公共端点
  • 通过Notify提供实时的webhook提醒
  • 一流的支持和可靠性/稳定性
  • Unifra的NFT API
  • 带有请求浏览器的仪表板

要使用Unifra的服务,开发者需要先注册一个账户,并在Unifra 控制台中找到RPC端点。 详细信息请查看Unifra的文档

公共端点

NetworkChain IDExplorerEndpoint
Mainnet1029https://confluxscan.nethttps://conflux-core-public.unifra.io