Skip to main content

Documentation Index

Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

0.01 credits per call

eth_getProof on Tempo: Returns the Merkle proof for an account and storage slots.

Endpoint

https://rpc.goldrushdata.com/v1/tempo-mainnet
Authenticate with Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.

Parameters

NameTypeRequiredDescriptionExample
addressDATA, 20 bytesyesAddress to prove."0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
storageKeysArray<DATA, 32 bytes>yesArray of storage keys to include in the proof.["0x0000000000000000000000000000000000000000000000000000000000000000"]
blockTagQUANTITY | TAGyesBlock number (hex) or block tag."latest"

Returns

Object: {address, accountProof[], balance, codeHash, nonce, storageHash, storageProof[]}
{"address":"0xa0b86991...","balance":"0x0","accountProof":["0xf90211..."]}

Examples

curl https://rpc.goldrushdata.com/v1/tempo-mainnet \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "eth_getProof",
    "params": ["0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", ["0x0000000000000000000000000000000000000000000000000000000000000000"], "latest"]
  }'

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.

Also available on