AddFullAccessKey

promiseDocs


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

Class: AddFullAccessKey

A add full access key promise action.

Extends

Constructors

new AddFullAccessKey()

new AddFullAccessKey(publicKey, nonce): AddFullAccessKey

Parameters

publicKey: PublicKey

The public key to add as a full access key.

nonce: bigint

The nonce to use.

Returns

AddFullAccessKey

Overrides

PromiseAction.constructor

Defined in

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

Properties

nonce

nonce: bigint

The nonce to use.

Defined in

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


publicKey

publicKey: PublicKey

The public key to add as a full access key.

Defined in

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

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

Last updated