promiseBatchActionDeployContract
api • Docs
near-sdk-js v2.0.0 / api / promiseBatchActionDeployContract
Function: promiseBatchActionDeployContract()
promiseBatchActionDeployContract(
promiseIndex
,code
):void
Attach a deploy contract promise action to the NEAR promise index with the provided promise index.
Parameters
• promiseIndex: PromiseIndex
The index of the promise to attach a deploy contract action to.
• code: Uint8Array
The WASM byte code of the contract to be deployed.
Returns
void
Defined in
Last updated