grpcs://edge.goldsky.com/cache/{chain}. Add it to eRPC as a cache connector: eRPC reads history from Goldsky first, and anything Goldsky can’t answer goes to your own upstreams as before.
Early access: every Edge API key can call it. Ask your Goldsky contact if you plan high volume.
eRPC config
erpc.yaml
- Add one URL per chain. eRPC calls
ChainIdon each one to map it to a network (evm:1,evm:8453). - Keep
appliesTo: get: the connector is read-only. getTimeout: 200mskeeps the cache from slowing you down: a read it can’t answer that fast goes to your upstreams. Block, transaction and receipt reads answer well within it; wideeth_getLogsranges take longer. Raising it keeps those in the cache, but every cache read may then wait that long.- Keep your
memoryorredisconnector beside it for writes and recent blocks.
Methods
Goldsky speaks the openbds.evm.RPCQueryService gRPC API.
Data Goldsky hasn’t indexed yet, such as blocks at the tip, answers
OUT_OF_RANGE. eRPC treats that as a miss and asks your upstreams.
eth_getLogs covers up to 30,000 blocks per call.
Call it directly
Any gRPC client works. grpcurl can’t add a URL path, so it names the chain in thex-goldsky-chain header:
Pricing
$5 per million successful calls, the same as Edge RPC. Errors, misses (OUT_OF_RANGE) and ChainId checks are free.