submitCallTx
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / submitCallTx
Function: submitCallTx()
Creates and submits a transaction for the invocation of a circuit on a given contract.
Paramβ
The providers used to manage the invocation lifecycle.
Paramβ
Configuration.
Call Signatureβ
submitCallTx<
C,ICK>(providers,options):Promise<FinalizedCallTxData<C,ICK>>
Type Parametersβ
Cβ
C extends Contract<undefined, Witnesses<undefined>>
ICKβ
ICK extends string
Parametersβ
providersβ
SubmitTxProviders<C, ICK>
optionsβ
CallTxOptionsBase<C, ICK>
Returnsβ
Promise<FinalizedCallTxData<C, ICK>>
Call Signatureβ
submitCallTx<
C,ICK>(providers,options):Promise<FinalizedCallTxData<C,ICK>>
Type Parametersβ
Cβ
C extends Contract<any, Witnesses<any>>
ICKβ
ICK extends string
Parametersβ
providersβ
optionsβ
CallTxOptionsWithPrivateStateId<C, ICK>
Returnsβ
Promise<FinalizedCallTxData<C, ICK>>