promise • Docs
near-sdk-js v2.0.0 / promise / DeleteKey
A delete key promise action.
PromiseAction
new DeleteKey(publicKey): DeleteKey
publicKey
DeleteKey
Parameters
• publicKey: PublicKey
PublicKey
The public key to delete from the account.
Returns
Overrides
PromiseAction.constructor
constructor
Defined in
packages/near-sdk-js/src/promise.ts:289arrow-up-right
publicKey: PublicKey
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.
• promiseIndex: PromiseIndex
PromiseIndex
The index of the promise batch to attach the action to.
PromiseAction.add
add
packages/near-sdk-js/src/promise.ts:293arrow-up-right
Last updated 1 year ago