pub type AccountDeleteTransaction = Transaction<AccountDeleteTransactionData>;
Expand description

Mark an account as deleted, moving all its current hbars to another account.

It will remain in the ledger, marked as deleted, until it expires. Transfers into it a deleted account will fail.

Aliased Type§

struct AccountDeleteTransaction { /* private fields */ }

Implementations§

source§

impl AccountDeleteTransaction

source

pub fn get_account_id(&self) -> Option<AccountId>

Get the account ID which should be deleted.

source

pub fn account_id(&mut self, id: AccountId) -> &mut Self

Sets the account ID which should be deleted.

source

pub fn get_transfer_account_id(&self) -> Option<AccountId>

Get the account ID which will receive all remaining hbars.

source

pub fn transfer_account_id(&mut self, id: AccountId) -> &mut Self

Sets the account ID which will receive all remaining hbars.