Skip to main content

transientCommit

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / transientCommit

Function: transientCommit()

function transientCommit(
align,
val,
opening): Value

Internal

Internal implementation of the transient commitment primitive

Parameters​

align​

Alignment

val​

Value

opening​

Value

Returns​

Value

Throws​

If val does not have alignment align, or opening does not encode a field element