Ethereum RPC
Relay
Validated Ethereum acceleration and failover for latency-sensitive applications.
⚡
4.39ms warm local p95 in our published benchmark
● Checking network status…
How to Use Your Token
Endpoint: https://rpc-cache-worker.rpc-relay-cache.workers.dev/api/v1/rpccURL
curl https://rpc-cache-worker.rpc-relay-cache.workers.dev/api/v1/rpc \
-H "Authorization: Bearer ***" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
JavaScript
fetch('https://rpc-cache-worker.rpc-relay-cache.workers.dev/api/v1/rpc', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
method: 'eth_blockNumber',
params: []
})
})
Python
import requests
response = requests.post(
'https://rpc-cache-worker.rpc-relay-cache.workers.dev/api/v1/rpc',
headers={'Authorization': 'Bearer YOUR_TOKEN'},
json={'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': []}
)
print(response.json())
Authentication
Authorization: Bearer YOUR_TOKEN
Pro low-latency setup
Run the local accelerator beside your bot. Warm reads stay on your machine; misses use one persistent authenticated WebSocket.
curl -fsSL https://rpc-relay.pages.dev/install.sh | sh
rpc-relay-pro setup
# Point your Ethereum client to http://127.0.0.1:8545
Warm serial p95
4.39 ms
Validated responses
100%
Concurrent p95 (16)
14.54 ms
Published measurements are workload-specific, not a guarantee. Cold cache misses include network and upstream latency.