CreateAccount

promiseDocs


near-sdk-js v2.0.0 / promise / CreateAccount

Class: CreateAccount

A create account promise action.

Extends

Constructors

new CreateAccount()

new CreateAccount(): CreateAccount

Returns

CreateAccount

Inherited from

PromiseAction.constructor

Methods

add()

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

The index of the promise batch to attach the action to.

Returns

void

Overrides

PromiseAction.add

Defined in

packages/near-sdk-js/src/promise.ts:24

Last updated