Source
get_latest_blockhashParameters
Configuration object containing the following fields:
Show propertiesHide properties
Show propertiesHide properties
Values:
processed, confirmed, finalizedSolana RPC uses the following commitment levels:| Value | Description |
|---|---|
processed | Return data from the highest slot this node has processed. This is the newest view, but the block can still be skipped. |
confirmed | Return data from the same slot as finalized. Kept for compatibility and planned for removal in a later release. |
finalized | Return data from the highest slot with a finalization certificate, from votes by 80% of stake in one round or 60% of stake in each of two rounds. This is the strongest commitment level. |
The minimum slot that the request can be evaluated at
Example
{ "minContextSlot": 341197000 }
Result
RpcResponse object containing:
Show propertiesHide properties
Show propertiesHide properties
Slot and API version the node used to answer this request.
| Field | Type | Description |
|---|---|---|
slot | u64 | Slot at which the node evaluated this request. |
apiVersion | string | RPC API version reported by the node. This field may be omitted by older nodes. |
Latest blockhash response object with the following fields:
| Field | Type | Description |
|---|---|---|
blockhash | string | Latest blockhash, as a base-58 encoded string. |
lastValidBlockHeight | u64 | Last block height at which this blockhash remains valid. |