promise • Docs
near-sdk-js v2.0.0 / promise / DeleteAccount
A delete account promise action.
PromiseAction
new DeleteAccount(beneficiaryId): DeleteAccount
beneficiaryId
DeleteAccount
Parameters
• beneficiaryId: string
string
The beneficiary of the account deletion - the account to receive all of the remaining funds of the deleted account.
Returns
Overrides
PromiseAction.constructor
constructor
Defined in
packages/near-sdk-js/src/promise.ts:306arrow-up-right
beneficiaryId: string
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:310arrow-up-right
Last updated 1 year ago