GetBlockHeightApi: {
    getBlockHeight(
        config?: Readonly<{ commitment?: Commitment; minContextSlot?: Slot }>,
    ): bigint;
}

Type declaration

  • getBlockHeight:function
    • Returns the current block height of the node

      Parameters

      Returns bigint