QualifiedShieldedCoinInfo
@midnight-ntwrk/compact-runtime v0.14.0
@midnight-ntwrk/compact-runtime / QualifiedShieldedCoinInfo
Type Alias: QualifiedShieldedCoinInfo
type QualifiedShieldedCoinInfo = {
mt_index: bigint;
nonce: Nonce;
type: RawTokenType;
value: bigint;
};
Information required to spend an existing coin, alongside authorization of the owner
Properties
mt_index
mt_index: bigint;
The coin's location in the chain's Merkle tree of coin commitments
Bounded to be a non-negative 64-bit integer
nonce
nonce: Nonce;
The coin's randomness, preventing it from colliding with other coins
type
type: RawTokenType;
The coin's type, identifying the currency it represents
value
value: bigint;
The coin's value, in atomic units dependent on the currency
Bounded to be a non-negative 64-bit integer