createUnprovenCallTx
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / createUnprovenCallTx
Function: createUnprovenCallTx()
Calls a circuit using states fetched from the public data provider and private state provider, then creates an unbalanced, unproven, unsubmitted, call transaction.
Paramβ
The providers to use to create the call transaction.
Paramβ
Configuration.
Throwsβ
IncompleteCallTxPrivateStateConfig If a privateStateId was given but a privateStateProvider
was not. We assume that when a user gives a privateStateId,
they want to update the private state store.
Call Signatureβ
createUnprovenCallTx<
C,ICK>(providers,options):Promise<UnsubmittedCallTxData<C,ICK>>
Type Parametersβ
Cβ
C extends Contract<undefined, Witnesses<undefined>>
ICKβ
ICK extends string
Parametersβ
providersβ
optionsβ
CallOptionsWithArguments<C, ICK>
Returnsβ
Promise<UnsubmittedCallTxData<C, ICK>>
Call Signatureβ
createUnprovenCallTx<
C,ICK>(providers,options):Promise<UnsubmittedCallTxData<C,ICK>>
Type Parametersβ
Cβ
C extends Contract<any, Witnesses<any>>
ICKβ
ICK extends string
Parametersβ
providersβ
UnprovenCallTxProvidersWithPrivateState<C>
optionsβ
CallTxOptionsWithPrivateStateId<C, ICK>
Returnsβ
Promise<UnsubmittedCallTxData<C, ICK>>