GetBlockHeightApi

type GetBlockHeightApi = object;

Methods

getBlockHeight()

getBlockHeight(config?): bigint;

Returns the current block height of the node

Parameters

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

Returns

bigint

See

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

On this page