Balance is a type for storing amounts of tokens, specified in yoctoNEAR.
Raw type for duration in nanoseconds
Represents the amount of NEAR tokens in "gas units" which are used to fund transactions.
Public key in a binary format with base58 string serialization with human-readable curve.
The key types currently supported are
Ed25519 public keys accepted are 32 bytes and secp256k1 keys are the uncompressed 64 format.
StorageUsage is used to count the amount of storage used by a contract.
Raw type for timestamp in nanoseconds
milliseconds elapsed since the UNIX epoch
Note that token IDs for NFTs are strings on NEAR. It's still fine to use autoincrementing numbers as unique IDs if desired, but they should be stringified. This is to make IDs more future-proof as chain-agnostic conventions and standards arise, and allows for more flexibility with considerations like bridging NFTs across chains, etc.
String representation of a u128-bit integer
String of yocto NEAR; 1N = 1000000000000000000000000 yN
Generated using TypeDoc