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

Function: call()

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

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

Type parameters

PS

C extends Contract<PS, Witnesses<PS>>

ICK extends string

Parameters

options: CallOptions<PS, C, ICK>

Configuration.

Returns

CallResult<PS, C, ICK>