Skip to main content

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.

Install the x402 client

npm

How x402 Works

The x402 client libraries handle steps 2-3 automatically. From your code, it’s just a GET request. Key safety feature: The proxy validates your request before charging. Malformed addresses, unsupported chains, or bad parameters get a clear error - you pay nothing. Payment: USDC on Base Sepolia (testnet). Base mainnet support coming soon.

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

Tiers (for variable-length data)

Select tier via query parameter: ?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

Returns credit rate, pricing model, supported chains - everything to decide what to call.

3. Pay & consume

Reference Files

Read the relevant reference file when you need details beyond what this index provides.