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

source

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

Returns the contract for which information is requested.

source

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

Sets the contract for which information is requested.