GetBlockHeightApi
Methods
getBlockHeight()
Returns the current block height of the node
Parameters
Parameter | Type |
---|---|
config? | Readonly <{ commitment? : Commitment ; minContextSlot? : Slot ; }> |
Returns
bigint
Returns the current block height of the node
Parameter | Type |
---|---|
config? | Readonly <{ commitment? : Commitment ; minContextSlot? : Slot ; }> |
bigint