Skip to main content

0.015 credits per call

debug_traceBlockByNumber on Ethereum: Traces every transaction in a block, identified by number.
debug_traceBlockByNumber requires archive depth. See the debug & trace matrix for Ethereum archive coverage.

Endpoint

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

Parameters

NameTypeRequiredDescriptionExample
blockTagQUANTITY | TAGyesBlock number (hex) or block tag."latest"
optionsObjectnoTracer config.{"tracer":"callTracer"}

Returns

Array<Object>: Array of per-transaction tracer outputs.
[{"result":{"type":"CALL","from":"0x..."}}]

Examples

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

Errors

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

Also available on