Public RPCs endpoints
Public available Conflux network RPC endpoints
#
ConfuraConfura is an Ethereum Infura equivalent public JSON-RPC service on Conflux network, which is developed and maintained by Conflux foundation.
Our public RPC services are located in different regions globally. By utilizing geographic DNS routing, developers can request the regional RPC services which are physically closest to them.
#
Public Endpoint#
Hong KongNetwork | Chain ID | Explorer | Endpoint |
---|---|---|---|
Mainnet | 1029 | https://confluxscan.net | https://main.confluxrpc.com wss://main.confluxrpc.com/ws |
Testnet | 1 | https://testnet.confluxscan.net | https://test.confluxrpc.com wss://test.confluxrpc.com/ws |
#
US EastNetwork | Chain ID | Explorer | Endpoint |
---|---|---|---|
Mainnet | 1029 | https://confluxscan.io | https://main.confluxrpc.org wss://main.confluxrpc.org/ws |
Testnet | 1 | https://testnet.confluxscan.io | https://test.confluxrpc.org wss://test.confluxrpc.org/ws |
#
Rate LimitsTo ensure the service availability, we've added several rate limiters (implemented with token bucket algorithm) to mitigrate against bursts of incoming traffic. Users who send many requests in quick succession may see error responses that show up as status code 429
.
Method | QPS | Burst | Comment |
---|---|---|---|
all | 100 | 1000 | limits the number of all requests per second |
cfx_getLogs | 20 | 20 | limits the number of cfx_getLogs requests per second |
cfx_call | 10 | 200 | limits the number of cfx_call requests per second |
cfx_sendRawTransaction | 50 | 500 | limits the number of cfx_sendRawTransaction requests per second |
cfx_getNextNonce | 50 | 500 | limits the number of cfx_getNextNonce requests per second |
If you are in the demand for higher QPS need, please visit Conflux Hub to purchase our VIP subscription plan (testnet supported only for the moment) with the following new QPS standards.
Method | QPS | Burst | Comment |
---|---|---|---|
all | 200 | 1000 | limits the number of all requests per second |
cfx_getLogs | 40 | 40 | limits the number of cfx_getLogs requests per second |
cfx_call | 20 | 200 | limits the number of cfx_call requests per second |
cfx_sendRawTransaction | 50 | 500 | limits the number of cfx_sendRawTransaction requests per second |
cfx_getNextNonce | 100 | 500 | limits the number of cfx_getNextNonce requests per second |
#
Common causes and mitigationsRate limiting can occur under a variety of conditions, but it’s most common in these scenarios:
- Issuing multiple state call requests all at once can lead to rate limitting. We recommend using
Multicall
, which aggregates results from multiple contract constant function calls, and reduces the number of separate JSON RPC requests that need to be sent. - Running high frequency
cfx_getLogs
requests to catch up latest epoch can trigger rate limitting. Ascfx_getLogs
request calls are expensive, we recommend adapting the epoch range or block range within your log query filter to reduces request calls.
#
Other Notes- The
cfx_getLogs
method no longer restrict the maximum gap betweenfrom_epoch
andto_epoch
for log query filter. Instead the query is now bounded with reasonable queryset size, 3s maximum running time and no more than 10,000 resultset size, under other circumstance you may need to narrow down your search condition.
#
UnifraUnifra is a Web3 developer platform focused on simplifying blockchain development. It has built a suite of developer tools, enhanced APIs, and a superior node infrastructure to seamlessly build and run blockchain applications. Unifra provide API services for multiple chains including Ethereum, BNS Smart Chain, Polygon and Conflux.
Unifra provides:
- Open access to free public end-points
- Real-time webhook alerts via Notify
- Best-in-class support and reliability / stability
- Unifra's NFT API
- Dashboard with Request Explorer
To use Unifra's service, developer need to register an account first and find the RPC endpoint in Unifra console. For detail infomation check Unifra's documentation
#
Public EndpointNetwork | Chain ID | Explorer | Endpoint |
---|---|---|---|
Mainnet | 1029 | https://confluxscan.net | https://conflux-core-public.unifra.io |