DeleteKey

promiseDocs


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

Class: DeleteKey

A delete key promise action.

Extends

Constructors

new DeleteKey()

new DeleteKey(publicKey): DeleteKey

Parameters

publicKey: PublicKey

The public key to delete from the account.

Returns

DeleteKey

Overrides

PromiseAction.constructor

Defined in

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

Properties

publicKey

publicKey: PublicKey

The public key to delete from the account.

Defined in

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

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

Last updated