Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / CircuitParameters

Type alias: CircuitParameters<C, K>

CircuitParameters<C, K>: Parameters<C["impureCircuits"][K]> extends [CircuitContext<any>, ...(infer A)] ? A : never

The parameter types of the circuits in a contract.

Type parameters

C extends Contract

K extends ImpureCircuitId<C>