getLatestBlockhash

Returns the latest blockhash.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
ConfigurationobjectRequired

A configuration object with optional fields for specifying commitment and minimum context slot.

Response

RpcResponse object with blockhash information.

blockhashstringOptional

Blockhash as a base-58 encoded string.

lastValidBlockHeightintegerOptional

Last block height at which the blockhash is valid.