Skip to main content

Midnight.js API Reference v1.0.0


Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / CallOptionsWithArguments

Type Alias: CallOptionsWithArguments<C, ICK>

CallOptionsWithArguments<C, ICK> = CircuitParameters<C, ICK> extends [] ? CallOptionsBase<C, ICK> : CallOptionsBase<C, ICK> & object

Conditional type that optionally adds the inferred circuit argument types to the options for a circuit call.

Type Parameters

C

C extends Contract

ICK

ICK extends ImpureCircuitId<C>