Skip to main content

CallOptionsWithArguments

Midnight.js API Reference v4.0.2


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

Type Alias: CallOptionsWithArguments<C, PCK>

CallOptionsWithArguments<C, PCK> = Contract.CircuitParameters<C, PCK> extends [] ? CallOptionsBase<C, PCK> : CallOptionsBase<C, PCK> & object

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

Type Parameters

C

C extends Contract.Any

PCK

PCK extends Contract.ProvableCircuitId<C>