Type Alias hedera::AccountDeleteTransaction
source · 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
impl AccountDeleteTransaction
sourcepub fn get_account_id(&self) -> Option<AccountId>
pub fn get_account_id(&self) -> Option<AccountId>
Get the account ID which should be deleted.
sourcepub fn account_id(&mut self, id: AccountId) -> &mut Self
pub fn account_id(&mut self, id: AccountId) -> &mut Self
Sets the account ID which should be deleted.
sourcepub fn get_transfer_account_id(&self) -> Option<AccountId>
pub fn get_transfer_account_id(&self) -> Option<AccountId>
Get the account ID which will receive all remaining hbars.
sourcepub fn transfer_account_id(&mut self, id: AccountId) -> &mut Self
pub fn transfer_account_id(&mut self, id: AccountId) -> &mut Self
Sets the account ID which will receive all remaining hbars.