@midnight-ntwrk/midnight-js-contracts v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / createUnprovenCallTxFromInitialStates
Function: createUnprovenCallTxFromInitialStates()
createUnprovenCallTxFromInitialStates<
PS
,C
,ICK
>(initialZswapChainState
,options
):Promise
<UnsubmittedCallTxData
<PS
,C
,ICK
>>
Calls a circuit using the provided initial states
and creates an unbalanced,
unproven, unsubmitted, call transaction.
Type parameters
• PS
• C extends Contract
<PS
, Witnesses
<PS
>>
• ICK extends string
Parameters
• initialZswapChainState: ZswapChainState
The contract's initial Zswap chain state.