Type Alias hedera::ContractDeleteTransaction
source · pub type ContractDeleteTransaction = Transaction<ContractDeleteTransactionData>;
Expand description
Marks a contract as deleted and transfers its remaining hBars, if any, to a designated receiver.
Aliased Type§
struct ContractDeleteTransaction { /* private fields */ }
Implementations§
source§impl ContractDeleteTransaction
impl ContractDeleteTransaction
sourcepub fn get_contract_id(&self) -> Option<ContractId>
pub fn get_contract_id(&self) -> Option<ContractId>
Returns the ID of the contract that should be deleted.
sourcepub fn contract_id(&mut self, id: ContractId) -> &mut Self
pub fn contract_id(&mut self, id: ContractId) -> &mut Self
Sets ID of the contract which should be deleted.
sourcepub fn get_transfer_account_id(&self) -> Option<AccountId>
pub fn get_transfer_account_id(&self) -> Option<AccountId>
Returns the ID of the account 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 ID of the account which will receive all remaining hbars.
sourcepub fn get_transfer_contract_id(&self) -> Option<ContractId>
pub fn get_transfer_contract_id(&self) -> Option<ContractId>
Returns ID of the contract which will receive all rmaining hbars.
sourcepub fn transfer_contract_id(&mut self, id: ContractId) -> &mut Self
pub fn transfer_contract_id(&mut self, id: ContractId) -> &mut Self
Sets the the ID of the contract which will receive all remaining hbars.