Skip to main content

0.05 credits per call

getBlock on Solana: Returns identity and transaction information for a confirmed block.

Endpoint

Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

Returns

object | null: Block object with blockhash, previousBlockhash, parentSlot, transactions, rewards, blockTime, blockHeight; null if the block is not confirmed.

Examples

Errors

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