For the complete documentation index, see llms.txt. This page is also available as Markdown.

blockHeight

api • Docs


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