Skip to main content

EncodedQualifiedShieldedCoinInfo

@midnight-ntwrk/compact-runtime v0.14.0


@midnight-ntwrk/compact-runtime / EncodedQualifiedShieldedCoinInfo

Interface: EncodedQualifiedShieldedCoinInfo

A QualifiedCoinInfo with its fields encoded as byte strings. This representation is used internally by the contract executable.

Extends

Properties

color

readonly color: Uint8Array;

The coin's type, identifying the currency it represents.

Inherited from

EncodedShieldedCoinInfo.color


mt_index

readonly 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

readonly nonce: Uint8Array;

The coin's randomness, preventing it from colliding with other coins.

Inherited from

EncodedShieldedCoinInfo.nonce


value

readonly value: bigint;

The coin's value, in atomic units dependent on the currency. Bounded to be a non-negative 64-bit integer.

Inherited from

EncodedShieldedCoinInfo.value