Asset types
NaiAsset
Represents a Hive asset in NAI (Named Asset Identifier) format.Examples
IHiveAssetData
Represents a Hive asset in human-readable format.TNaiAssetConvertible
Accepted types for asset amount conversion.TNaiAssetSource
Accepted types for asset operations.Time types
TTimestamp
Represents a timestamp in various formats.Accepted formats
Dateobject- Unix timestamp in milliseconds (number)
- ISO 8601 date string
- Relative time:
"+10s","+30m","+1h"
Examples
Cryptographic types
THexString
Represents a hexadecimal string.TPublicKey
Represents a public key in WIF format.Example
TSignature
Represents a transaction signature.IPrivateKeyData
Contains private key and associated public key.IBrainKeyData
Contains brain key and derived keys.Blockchain types
TBlockHash
Represents a block ID.Example
TTransactionId
Represents a transaction ID.TAccountName
Represents a Hive account name.Validation rules
- Must comply with RFC 1035 grammar
- All lowercase letters
- Length: 3-16 characters (inclusive)
- Can contain: a-z, 0-9, hyphens (-), dots (.)
Authority types
authority
Defines account authority structure.Example
TTransactionRequiredAuthorities
Required authorities for a transaction.Configuration types
IWaxOptions
Configuration for WAX foundation instance.IWaxOptionsChain
Configuration for Hive chain instance.IChainConfig
Protocol configuration for the chain.Transaction types
transaction
Protobuf transaction structure.ApiTransaction
API-form transaction structure.LegacyApiTransaction
Legacy API-form transaction structure.Manabar types
IManabarData
Represents manabar state.Example
EManabarType
Manabar type enumeration.Binary view types
IBinaryViewOutputData
Binary view metadata structure.IBinaryViewNode
Binary view AST node.Signature provider types
ISignatureProvider
Interface for signature providers.IOnlineEncryptionProvider
Interface for encryption providers.Enum types
EAssetName
Asset name enumeration.ECommentFormat
Comment format enumeration.EChainApiType
Chain API type enumeration.Error types
WaxError
Base error class for WAX SDK errors.Usage
Operation base types
IOperationSink
Context provided to complex operations during finalization.OperationBase
Base class for complex operations.Type guards
isPublicKey
Checks if a string is a valid public key.Example
Utility types
TDeepWaxApiRequestPartial
Deep partial type for API requests.TWaxApiRequest
API request structure.See also
- IWaxBaseInterface - Base interface methods
- IHiveChainInterface - Chain interface
- ITransaction - Transaction interface
- Operations - Operation types