0.05 credits per call
getBlockProduction on Solana: Returns recent block production information for the current or a previous epoch.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
config | object | no | {commitment?, identity?, range?: {firstSlot, lastSlot?}}. identity filters to a single validator (base-58 pubkey). | {"commitment":"finalized"} |
Returns
object: {context, value: {byIdentity, range}} where byIdentity maps validator pubkey to [leaderSlots, blocksProduced].
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.