Skip to main content

decodeQualifiedCoinInfo

For the complete documentation index, see llms.txt

@midnight-ntwrk/ledger v3.0.2 • Readme | API


@midnight-ntwrk/ledger v3.0.2 / decodeQualifiedCoinInfo

Function: decodeQualifiedCoinInfo()

decodeQualifiedCoinInfo(coin): QualifiedCoinInfo

Decode a QualifiedCoinInfo from Compact's QualifiedCoinInfo TypeScript representation

Parameters​

• coin

• coin.color: Uint8Array

• coin.mt_index: bigint

• coin.nonce: Uint8Array

• coin.value: bigint

Returns​

QualifiedCoinInfo