GetLatestBlockhashApi

type GetLatestBlockhashApi = object;

Methods

getLatestBlockhash()

getLatestBlockhash(config?): SolanaRpcResponse<GetLatestBlockhashApiResponse>;

Returns the blockhash of the latest block.

Parameters

ParameterType
config?Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }>

Returns

SolanaRpcResponse<GetLatestBlockhashApiResponse>

See

https://solana.com/docs/rpc/http/getlatestblockhash

On this page