DeleteAccount
promise • Docs
near-sdk-js v2.0.0 / promise / DeleteAccount
Class: DeleteAccount
A delete account promise action.
Extends
Constructors
new DeleteAccount()
new DeleteAccount(
beneficiaryId
):DeleteAccount
Parameters
• beneficiaryId: string
The beneficiary of the account deletion - the account to receive all of the remaining funds of the deleted account.
Returns
Overrides
Defined in
packages/near-sdk-js/src/promise.ts:306
Properties
beneficiaryId
beneficiaryId:
string
The beneficiary of the account deletion - the account to receive all of the remaining funds of the deleted account.
Defined in
packages/near-sdk-js/src/promise.ts:306
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
Defined in
Last updated