RPC endpoints
Public endpoints for both Windpay networks. All of them are HTTPS or WSS; there is no plain-HTTP endpoint.
Mainnet — chain ID 5552020
| Protocol | URL |
|---|---|
| HTTP | https://rpc.windpay.org/rpc |
| WebSocket | wss://rpc.windpay.org/rpcws |
Testnet — chain ID 5552040
| Protocol | URL |
|---|---|
| HTTP | https://rpc.windpay.org/trpc |
| WebSocket | wss://rpc.windpay.org/trpcws |
Note the paths: mainnet is /rpc, testnet is /trpc — one letter apart, on the same hostname. Pointing a mainnet deployment at /trpc is an easy mistake to make and a confusing one to debug, because both endpoints answer normally. Check eth_chainId if something behaves unexpectedly.
Checking an endpoint
curl -s -X POST https://rpc.windpay.org/rpc \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'| Response | Meaning |
|---|---|
{"result":"0x54b794"} | mainnet, 5552020 |
{"result":"0x54b7a8"} | testnet, 5552040 |
What the public endpoint serves
These work:
eth_chainId · net_version · eth_blockNumber · eth_getBalance · eth_getBlockByNumber · eth_getTransactionByHash · eth_getTransactionReceipt · eth_call · eth_estimateGas · eth_gasPrice · eth_maxPriorityFeePerGas · eth_feeHistory · eth_getLogs · eth_sendRawTransaction · eth_syncing · txpool_status · web3_clientVersion
These do not:
| Method | Response | What to do instead |
|---|---|---|
debug_* | unsupported operation | Run your own node — see Node types |
trace_* | not served | Same |
eth_subscribe over HTTP | notifications not supported | Use the WebSocket endpoint |
Two limits worth knowing before you hit them
eth_getLogs is capped at 5000 blocks
A log query spanning more than 5000 blocks is refused:
-32602 exceed maximum block range 5000This is a per-request range cap, not a rate limit, and it applies to the public endpoint. At 3-second blocks, 5000 blocks is about 4 hours of chain time — so any scan over a meaningful period has to be split into chunks.
// Page backwards in 5000-block windows.
const STEP = 5000
let to = await provider.getBlockNumber()
const logs = []
while (to > deployBlock) {
const from = Math.max(deployBlock, to - STEP + 1)
logs.push(...await provider.getLogs({ address, topics, fromBlock: from, toBlock: to }))
to = from - 1
}If you are indexing from a contract's deploy block, expect many requests. Running your own archive node removes the limit entirely.
State is not archived on the public endpoint
The public node keeps recent state, not all of it. Historical eth_call or eth_getBalance against a block from weeks ago may fail with a missing-trie-node error. For historical state queries, run an archive node — Node types explains the difference.
Connecting from code
// ethers v6
import { ethers } from 'ethers'
const provider = new ethers.JsonRpcProvider('https://rpc.windpay.org/rpc')
console.log(await provider.getBlockNumber())// viem
import { createPublicClient, http, defineChain } from 'viem'
export const windpay = defineChain({
id: 5552020,
name: 'Windpay',
nativeCurrency: { name: 'WIND', symbol: 'WIND', decimals: 18 },
rpcUrls: { default: { http: ['https://rpc.windpay.org/rpc'] } },
blockExplorers: { default: { name: 'Windpay Explorer', url: 'https://explorer.windpay.org' } },
})
const client = createPublicClient({ chain: windpay, transport: http() })Full copy-paste configurations for Hardhat and Foundry are on Network config.
Fair use
These endpoints are operated for the community and are not rate-limit-free. An application doing sustained heavy querying — an indexer, a block scanner, an analytics backend — should run its own node rather than lean on the public one. Installation covers that.
Next step
Block explorer — reading the chain without writing any code.
Verified 2026-10-22. Every method in the working list was called successfully against https://rpc.windpay.org/rpc; every method in the unavailable list returned the quoted error. The 5000-block cap was measured directly: a 4,999-block eth_getLogs succeeded, 5,001 returned exceed maximum block range 5000. Endpoint paths read from the nginx vhost 2.rpc_windpay.conf. The WebSocket endpoint was confirmed by reading the head block over wss://rpc.windpay.org/rpcws; the testnet WebSocket path is configured symmetrically but was not separately tested.

