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

source

pub fn get_contract_id(&self) -> Option<ContractId>

Returns the ID of the contract that should be deleted.

source

pub fn contract_id(&mut self, id: ContractId) -> &mut Self

Sets ID of the contract which should be deleted.

source

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

Returns the ID of the account which will receive all remaining hbars.

source

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

Sets the ID of the account which will receive all remaining hbars.

source

pub fn get_transfer_contract_id(&self) -> Option<ContractId>

Returns ID of the contract which will receive all rmaining hbars.

source

pub fn transfer_contract_id(&mut self, id: ContractId) -> &mut Self

Sets the the ID of the contract which will receive all remaining hbars.