GoldRush x402
Pay-per-request access to GoldRush blockchain data using the x402 protocol. No API key, no signup, no billing — just a funded wallet. Provides access to Foundational API endpoints through a transparent reverse proxy.Quick Start
npm install @x402/core @x402/evm
How x402 Works
Cross-Reference
x402 serves the same endpoints as the Foundational API with the same parameters and response format. For detailed endpoint documentation (parameters, response schemas, use cases), see the goldrush-foundational-api skill. Base URL mapping:- Foundational API:
https://api.covalenthq.com/v1/... - x402 proxy:
https://x402.goldrush.dev/v1/...
Pricing Summary
| Model | Description | Example |
|---|---|---|
| Fixed | One price per call | Token balances, NFT holdings, block details |
| Tiered | Price by data volume | Transactions, event logs |
Tiers (for variable-length data)
| Tier | Items | Use Case |
|---|---|---|
| Small | 1-50 | Quick lookups, recent activity |
| Medium | 51-200 | Standard queries |
| Large | 201-500 | Detailed analysis |
| XL | 501+ | Full history |
?tier=small
Response Caching
Cached responses cost less. Cache TTLs:- Balances: 30 seconds
- Pricing data: 5 minutes
AI Agent Workflow
1. Discover (free)
2. Evaluate
3. Pay & consume
Reference Files
Read the relevant reference file when you need details beyond what this index provides.| File | When to read |
|---|---|
| overview.md | Need x402 protocol details, pricing model breakdown, or quickstart code |
| ai-agents.md | Building an autonomous agent — four-step workflow, x402 vs API key comparison, rate limits |
| endpoints.md | Need the discovery API details (free), or the catalog of available data endpoints |