Type Alias hedera::ContractBytecodeQuery

source ·
pub type ContractBytecodeQuery = Query<ContractBytecodeQueryData>;
Expand description

Get the runtime bytecode for a smart contract instance.

Aliased Type§

struct ContractBytecodeQuery { /* private fields */ }

Implementations§

source§

impl ContractBytecodeQuery

source

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

Gets 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.