Skip to main content

call

Midnight.js API Reference v2.0.2


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

Function: call()

call<C, ICK>(options): CallResult<C, ICK>

Calls a circuit in the given contract according to the given configuration.

Type Parameters​

C​

C extends Contract<any, Witnesses<any>>

ICK​

ICK extends string

Parameters​

options​

CallOptions<C, ICK>

Configuration.

Returns​

CallResult<C, ICK>