Skip to main content

@midnight-ntwrk/compact-runtime v0.6.13Readme | API


@midnight-ntwrk/compact-runtime v0.6.13 / witnessContext

Function: witnessContext()

Internal

witnessContext<L, T>(
ledger,
privateState,
contextRef): WitnessContext<L, T>

Internal constructor for WitnessContext.

Type parameters

L

T

Parameters

ledger

privateState: T

contextRef

contextRef.context: QueryContext

Returns

WitnessContext<L, T>