Skip to main content

Midnight.js API Reference v1.0.0


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>