0.05 credits per call
getConfirmedBlock on Solana: Returns the contents of a confirmed block (deprecated).
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
slot | u64 | yes | Slot number to fetch. | 372877175 |
config | object | no | {encoding?, transactionDetails?, rewards?, commitment?}. | {"encoding":"json","transactionDetails":"full","rewards":true} |
Returns
object | null: Block object, or null if not confirmed.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.