getLatestBlockhash

Returns the latest recent blockhash and last valid block height.

Request

This endpoint expects an object.
configobjectOptional
Optional commitment configuration.

Response

Latest blockhash data with response context.
contextobject
Response context for a Solana RPC result.
valueobject
Latest blockhash and validity window.