pub type ContractBytecodeQuery = Query<ContractBytecodeQueryData>;
Expand description
Get the runtime bytecode for a smart contract instance.
Aliased Type§
pub struct ContractBytecodeQuery { /* private fields */ }
Implementations§
Source§impl ContractBytecodeQuery
impl ContractBytecodeQuery
Sourcepub fn get_contract_id(&self) -> Option<ContractId>
pub fn get_contract_id(&self) -> Option<ContractId>
Gets 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.