POSTgetLatestBlockhash
Returns the latest blockhash
Request Body
The commitment describes how finalized a block is at that point in time.
- finalized - the node will query the most recent block confirmed by supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized
- confirmed - the node will query the most recent block that has been voted on by supermajority of the cluster.
- processed - the node will query its most recent block. Note that the block may still be skipped by the cluster.
The minimum slot that the request can be evaluated at.
Responses
The request ID
The JSON-RPC version
An object containing metadata about the current state of the Solana network at the time of the request.
The API version used for the request
The slot number at which the request was evaluated
The blockhash of the block, as base-58 encoded string
Last block height at which the blockhash will be valid