api • Docs
near-sdk-js v2.0.0 / api / promiseBatchActionDeleteAccount
promiseBatchActionDeleteAccount(promiseIndex, beneficiaryId): void
promiseIndex
beneficiaryId
void
Attach a delete account promise action to the NEAR promise index with the provided promise index.
• promiseIndex: PromiseIndex
PromiseIndex
The index of the promise to attach a delete account action to.
• beneficiaryId: string
string
The account ID of the beneficiary - the account that receives the remaining amount of NEAR.
packages/near-sdk-js/src/api.ts:744arrow-up-right
Last updated 1 year ago