Skip to main content

communicationCommitment

@midnight-ntwrk/onchain-runtime v2.0.1


@midnight-ntwrk/onchain-runtime / communicationCommitment

Function: communicationCommitment()

function communicationCommitment(
input,
output,
rand): string

Computes the communication commitment corresponding to an input/output pair and randomness.

Parameters

input

AlignedValue

output

AlignedValue

rand

string

Returns

string