api • Docs
near-sdk-js v2.0.0 / api / promiseBatchActionDeployContract
promiseBatchActionDeployContract(promiseIndex, code): void
promiseIndex
code
void
Attach a deploy contract promise action to the NEAR promise index with the provided promise index.
• promiseIndex: PromiseIndex
PromiseIndex
The index of the promise to attach a deploy contract action to.
• code: Uint8Array
Uint8Array
The WASM byte code of the contract to be deployed.
packages/near-sdk-js/src/api.ts:583arrow-up-right
Last updated 1 year ago