createUnprovenDeployTx
Midnight.js API Reference v2.0.2
Midnight.js API Reference / @midnight-ntwrk/midnight-js-contracts / createUnprovenDeployTx
Function: createUnprovenDeployTx()
Calls a contract constructor and creates an unbalanced, unproven, unsubmitted, deploy transaction from the constructor results.
Paramβ
The providers to use to create the deploy transaction.
Paramβ
Configuration.
Call Signatureβ
createUnprovenDeployTx<
C>(providers,options):Promise<UnsubmittedDeployTxData<C>>
Type Parametersβ
Cβ
C extends Contract<undefined, Witnesses<undefined>>
Parametersβ
providersβ
optionsβ
Returnsβ
Promise<UnsubmittedDeployTxData<C>>
Call Signatureβ
createUnprovenDeployTx<
C>(providers,options):Promise<UnsubmittedDeployTxData<C>>
Type Parametersβ
Cβ
C extends Contract<any, Witnesses<any>>
Parametersβ
providersβ
optionsβ
DeployTxOptionsWithPrivateState<C>
Returnsβ
Promise<UnsubmittedDeployTxData<C>>