getLatestBlockhash

Returns the latest blockhash.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
ConfigurationobjectOptional
A configuration object with optional fields for specifying commitment and minimum context slot.

Response

RpcResponse object with blockhash information.
blockhashstring or null

Blockhash as a base-58 encoded string.

lastValidBlockHeightinteger or null
Last block height at which the blockhash is valid.