blockTimestamp

apiDocs


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

Function: blockTimestamp()

blockTimestamp(): bigint

Returns the current block timestamp.

Returns

bigint

Defined in

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

Last updated