blockHeight

apiDocs


near-sdk-js v2.0.0 / api / blockHeight

Function: blockHeight()

blockHeight(): bigint

Returns the current block height.

Returns

bigint

Defined in

packages/near-sdk-js/src/api.ts:223

Last updated