Alchemy Logo

getLatestBlockhash

POST
/{apiKey}

Returns the latest blockhash.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectoptional

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

Responses

200

RpcResponse object with blockhash information.

Was this page helpful?