0.01 credits per call
getBlockCommitment on Solana: Returns the commitment (stake-weighted votes) for a block.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
slot | u64 | yes | Slot to query. | 372877175 |
Returns
object: {commitment: array<u64> | null, totalStake: u64}.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.