Skip to main content

0.01 credits per call

getLatestBlockhash on Solana: Returns the latest blockhash and its last valid block height.

Endpoint

Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

Returns

object: {context, value: {blockhash, lastValidBlockHeight}}.

Examples

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.