Type Alias hedera::ContractInfoQuery
source · pub type ContractInfoQuery = Query<ContractInfoQueryData>;
Expand description
Get information about a smart contract instance.
Aliased Type§
struct ContractInfoQuery { /* private fields */ }
Implementations§
source§impl ContractInfoQuery
impl ContractInfoQuery
sourcepub fn get_contract_id(&self) -> Option<ContractId>
pub fn get_contract_id(&self) -> Option<ContractId>
Returns the contract for which information is requested.
sourcepub fn contract_id(&mut self, contract_id: ContractId) -> &mut Self
pub fn contract_id(&mut self, contract_id: ContractId) -> &mut Self
Sets the contract for which information is requested.