Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / createUnprovenCallTxFromInitialStates
Function: createUnprovenCallTxFromInitialStates()
Calls a circuit using the provided initial states
and creates an unbalanced,
unproven, unsubmitted, call transaction.
Param
Configuration.
Call Signature
createUnprovenCallTxFromInitialStates<
C
,ICK
>(options
):UnsubmittedCallTxData
<C
,ICK
>
Type Parameters
C
C
extends Contract
<undefined
, Witnesses
<undefined
>>
ICK
ICK
extends string
Parameters
options
CallOptionsWithProviderDataDependencies
<C
, ICK
>
Returns
UnsubmittedCallTxData
<C
, ICK
>
Call Signature
createUnprovenCallTxFromInitialStates<
C
,ICK
>(options
):UnsubmittedCallTxData
<C
,ICK
>
Type Parameters
C
C
extends Contract
<any
, Witnesses
<any
>>
ICK
ICK
extends string
Parameters
options
CallOptionsWithPrivateState
<C
, ICK
>
Returns
UnsubmittedCallTxData
<C
, ICK
>