Skip to main content
Goldsky serves its indexed chain data over gRPC at 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 ChainId on each one to map it to a network (evm:1, evm:8453).
  • Keep appliesTo: get: the connector is read-only.
  • getTimeout: 200ms keeps 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; wide eth_getLogs ranges take longer. Raising it keeps those in the cache, but every cache read may then wait that long.
  • Keep your memory or redis connector beside it for writes and recent blocks.

Methods

Goldsky speaks the open bds.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 the x-goldsky-chain header:

Pricing

$5 per million successful calls, the same as Edge RPC. Errors, misses (OUT_OF_RANGE) and ChainId checks are free.

Supported chains

abstract, arbitrum, arbitrum-sepolia, arc, avalanche, base, base-sepolia, bsc, celo, ethereum, gnosis, hyperevm, ink, monad, optimism, polygon, robinhood, robinhood-testnet, sei, sepolia, tempo, tron. Can’t find what you’re looking for? Reach out to us at support@goldsky.com for help.