HyperRPC
Drop‑in JSON‑RPC for data‑heavy reads. Cryptographically verified data, no block‑range cap, and MIP‑16 query methods on 81+ chains.
import { createPublicClient, http, parseAbiItem } from "viem";
import { base } from "viem/chains";
const client = createPublicClient({
chain: base,
- transport: http("https://mainnet.base.org"),
+ transport: http("https://8453.rpc.hypersync.xyz/<api-token>"),
});
// Every address USDC has blacklisted on Base, since block 0.
// Range-capped RPCs need thousands of calls for this;
// HyperRPC scans the whole chain in one.
const logs = await client.getLogs({
address: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
event: parseAbiItem("event Blacklisted(address indexed _account)"),
fromBlock: 0n,
toBlock: "latest",
});MIP-16 query methods
One JSON‑RPC request filters a whole block range and returns only the fields you select.
Every transaction to an address, from the first
There's no standard method for an address's history. Filter transactions by sender or recipient across the whole chain: here, every transaction sent to WMON.
One eth_queryTransactions request, a page of results with a cursor for the next.
curl https://monad.rpc.hypersync.xyz/$ENVIO_API_TOKEN \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1,
"method": "eth_queryTransactions",
"params": [{
"filter": {
"to": ["0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A"]
},
"fromBlock": "earliest",
"fields": {
"transactions": ["hash", "to", "value", "status", "blockTimestamp"]
}
}]
}'Every call to a function, newest first
Standard RPC can't filter transactions by the function they call. eth_queryTransactions filters by function selector: here, every WMON deposit() on Monad.
One eth_queryTransactions request, a page of results with a cursor for the next.
curl https://monad.rpc.hypersync.xyz/$ENVIO_API_TOKEN \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1,
"method": "eth_queryTransactions",
"params": [{
"filter": {
"to": ["0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A"],
"selector": ["0xd0e30db0"]
},
"order": "desc",
"fields": {
"transactions": ["hash", "from", "value", "blockTimestamp"]
}
}]
}'Events with their transactions and blocks
Standard RPC returns each event on its own, so its transaction and block take two more calls. One eth_queryLogs request returns all three, with only the fields you ask for: here, every validator reward from Monad's staking precompile.
Measured on 1,000 validator rewards, each in its own transaction and block: 2,001 standard calls (4.53 MB) against one eth_queryLogs response (0.67 MB).
curl https://monad.rpc.hypersync.xyz/$ENVIO_API_TOKEN \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1,
"method": "eth_queryLogs",
"params": [{
"filter": {
"address": ["0x0000000000000000000000000000000000001000"],
"topics": [["0x3a420a01486b6b28d6ae89c51f5c3bde3e0e74eecbb646a0c481ccba3aae3754"]]
},
"fields": {
"logs": ["blockNumber", "transactionHash", "topics", "data"],
"transactions": ["hash", "from", "gasPrice"],
"blocks": ["number", "timestamp"]
}
}]
}'Timestamps for 1,000 blocks in one request
An indexer needs the time of every block it touches. Standard RPC returns the whole block, one call each. eth_queryBlocks returns only the number and timestamp, 1,000 blocks at a time.
Measured on 1,000 consecutive blocks: 1,000 eth_getBlockByNumber calls (3.68 MB) against one eth_queryBlocks response (0.05 MB).
curl https://monad.rpc.hypersync.xyz/$ENVIO_API_TOKEN \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1,
"method": "eth_queryBlocks",
"params": [{
"order": "desc",
"fields": {
"blocks": ["number", "timestamp"]
}
}]
}'The latest events, without guessing a block range
Standard RPC has no latest-first: you guess a block range, check it, and widen it until enough events turn up. With order set to desc, a MIP-16 query starts at the head and pages backwards.
One eth_queryLogs request, a page of results with a cursor for the next.
curl https://monad.rpc.hypersync.xyz/$ENVIO_API_TOKEN \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1,
"method": "eth_queryLogs",
"params": [{
"filter": {
"address": ["0x3bd359C1119dA7Da1D913D1C4D2B7c461115433A"]
},
"order": "desc",
"fields": {
"logs": ["blockNumber", "transactionHash", "topics", "data"]
}
}]
}'Same JSON‑RPC interface, faster reads
Your RPC code stays the same; the infrastructure behind the endpoint changes.
| Other RPC providers | HyperRPC |
|---|---|
| Node data that can silently miss logs | Cryptographically verified data |
| Block-range caps on eth_getLogs | No block-range cap on eth_getLogs |
| Pricing that varies by method | One rate per call, and one fixed price per MIP-16 query |
| Rate limits on heavy workloads | Virtually no rate limit on paid usage |
Built for read‑heavy workloads
The standard read methods on every supported chain, the client code you already have, and billing per request.
Same code
ethers, viem and web3 keep working for the read methods HyperRPC supports. Only the URL changes.
Standard read methods
eth_getLogs, blocks, transactions and receipts, plus trace_block on selected chains.
Metered per call
Free endpoints for development, then metered per call, with each method in a batch counted once.
Every chain by name or id
base.rpc.hypersync.xyz or 8453.rpc.hypersync.xyz: the same endpoint, either way.
Where HyperRPC fits
Wherever your code already reads chains over JSON-RPC.
Read-heavy workloads on HyperRPC
What teams say after moving their JSON-RPC reads to HyperRPC.
“I spent a few months testing different EVM indexers and now recommend everyone to use @envio… HyperRPC is also awesome, can easily sync a million events in less than an hour.”
fastfourier.ethPimlico
Pay per request
Start on the free tier, then pay $4 per million requests, billed monthly in arrears, with each MIP-16 query at $0.01. Custom bundles are available for large volumes.
- DevelopmentFreeFor building and testing
- Metered$4/MPer million requests, $1 monthly minimum
- EnterpriseCustomCustom request bundles
HyperRPC FAQ
Supported methods and chains, how data is verified, MIP-16, tokens, traces and billing.
What is HyperRPC?
HyperRPC is a read-only JSON-RPC endpoint built for data-intensive reads, serving cryptographically verified data. It's a drop-in replacement for the read methods it supports.
HyperRPC overview →How is the data verified?
As each block is ingested, its transactions and receipts are used to recompute the roots in the block header, and data that doesn't match is refetched from another source. On chains where a transaction type can't be reconstructed yet, those checks are held back.
Nodes silently miss events →Should I use HyperRPC or HyperSync?
For new code, use HyperSync. It's faster and returns more in one query. HyperRPC is the quick win when existing code already speaks JSON-RPC.
HyperSync →