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 / CallOptionsBaseWithArguments

Type alias: CallOptionsBaseWithArguments<C, ICK>

CallOptionsBaseWithArguments<C, ICK>: CircuitParameters<C, ICK> extends [] ? CallOptionsBase<C, ICK> : CallOptionsBase<C, ICK> & Object

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

Type parameters

C extends Contract

ICK extends ImpureCircuitId<C>