GoldRush JSON-RPC authenticates every request by anDocumentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <key> HTTP header. Your API key never appears in the URL, keeping it out of server logs, browser history, screenshots, and error reports. This matches the pattern used across the rest of the GoldRush product family.
The same GoldRush API key works across every GoldRush product: Foundational, Streaming, Pipeline, Hyperliquid, x402, and JSON-RPC. One key, every product.
The header
Content-Type: application/json is required: JSON-RPC payloads are always JSON.
Per-library setup
viem, ethers, web3.js, and web3.py all support custom request headers, but the boilerplate differs slightly between them. Copy whichever one applies.
Error responses
Authentication and credit failures return the standard JSON-RPC error envelope with an HTTP status code matching the failure mode.| HTTP | JSON-RPC code | Meaning | Resolution |
|---|---|---|---|
401 Unauthorized | -32001 | Missing or malformed Authorization header | Add the Authorization: Bearer <key> header |
403 Forbidden | -32002 | Key is valid but lacks JSON-RPC entitlement | Contact support to enable JSON-RPC |
402 Payment Required | -32003 | Insufficient credits | Top up your credit balance |
429 Too Many Requests | -32005 | Rate limit exceeded | Back off and retry after Retry-After |
Rotating keys
Generate a new key in the GoldRush dashboard, update your environment variable, and revoke the old one. There is no per-product key rotation: rotating once cycles the key for every GoldRush product.Related
Quickstart
Make your first call.
Pricing
Per-method credit rates for the Edge tier.