Skip to main content

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


@midnight-ntwrk/compact-runtime v0.7.0 / createZswapInput

Function: createZswapInput()

createZswapInput(circuitContext, qualifiedCoinInfo): void

Adds a coin to the list of inputs consumed by the circuit.

Parameters

circuitContext: CircuitContext<unknown>

The current circuit context.

qualifiedCoinInfo: EncodedQualifiedCoinInfo

The input to consume.

Returns

void