near-sdk-js
Version:
High Level JavaScript SDK for building smart contracts on NEAR
33 lines (32 loc) • 738 B
TypeScript
/**
* The amount of storage used in yoctoNEAR.
*/
export declare type StorageUsage = bigint;
/**
* A large integer representing the block height.
*/
export declare type BlockHeight = bigint;
/**
* A large integer representing the epoch height.
*/
export declare type EpochHeight = bigint;
/**
* The amount of tokens in yoctoNEAR.
*/
export declare type Balance = bigint;
/**
* A large integer representing the nonce.
*/
export declare type Nonce = bigint;
/**
* The amount of Gas Weight in integers - whole numbers.
*/
export declare type GasWeight = bigint;
/**
* One yoctoNEAR. 10^-24 NEAR.
*/
export declare const ONE_YOCTO: Balance;
/**
* One NEAR. 1 NEAR = 10^24 yoctoNEAR.
*/
export declare const ONE_NEAR: Balance;