Skip to main content

decodeShieldedCoinInfo

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / 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