pub fn code_hash<E>(account: &E::AccountId) -> Result<E::Hash>where
E: Environment,Expand description
Retrieves the code hash of the contract at the specified account id.
ยงErrors
- If no code hash was found for the specified account id.
- If the returned value cannot be properly decoded.