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>>