Skip to main content

decodeShieldedCoinInfo

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / decodeShieldedCoinInfo

Function: decodeShieldedCoinInfo()

function decodeShieldedCoinInfo(coin): ShieldedCoinInfo;

Decode a ShieldedCoinInfo from Compact's ShieldedCoinInfo TypeScript representation

Parameters

coin

color

Uint8Array

nonce

Uint8Array

value

bigint

Returns

ShieldedCoinInfo