promise • Docs
near-sdk-js v2.0.0 / promise / CreateAccount
A create account promise action.
PromiseAction
new CreateAccount(): CreateAccount
CreateAccount
Returns
Inherited from
PromiseAction.constructor
constructor
add(promiseIndex): void
promiseIndex
void
The method that describes how a promise action adds it's action to the promise batch with the provided index.
Parameters
• promiseIndex: PromiseIndex
PromiseIndex
The index of the promise batch to attach the action to.
Overrides
PromiseAction.add
add
Defined in
packages/near-sdk-js/src/promise.ts:24arrow-up-right
Last updated 1 year ago