Skip to main content

coinCommitment

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / coinCommitment

Function: coinCommitment()

function coinCommitment(coin, coinPublicKey): string;

Calculate commitment of a coin owned by a user

Parameters​

coin​

ShieldedCoinInfo

coinPublicKey​

string

Returns​

string