Account & Blockchain Types
AccountId
NEAR account identifier."alice.near""bob.testnet""app.alice.near"(subaccount)"0x1234567890123456789012345678901234567890"(implicit account)
- Minimum length: 2 characters
- Maximum length: 64 characters
- Valid characters:
a-z,0-9,-,_,. - Cannot start or end with separator (
.,-,_) - Cannot have consecutive separators
CryptoHash
A 32-byte cryptographic hash represented as a base58 string.BlockHash
Identifier for a specific block.BlockHeight
Block number in the blockchain.Nonce
Transaction nonce for replay protection.Block Reference Types
BlockReference
Specifies which block to query.NativeBlockReference
Internal representation for RPC calls.Data Encoding Types
Hex
Data represented as hexadecimal string or raw bytes.Base58String
Base58-encoded string.Base64String
Base64-encoded string.BorshBytes
Borsh-serialized binary data.Token & Gas Types
Units
Smallest unit of a token (e.g., yoctoNEAR).Tokens
Human-readable token amount.Contract Types
ContractFunctionName
Name of a contract function (max 256 characters).JsonLikeValue
JSON-serializable values for contract arguments.Time Types
Milliseconds
Time duration in milliseconds.TimeoutId
Identifier returned bysetTimeout.