logo
pub fn own_code_hash<E>() -> Result<E::Hash>where
    E: Environment,
Expand description

Retrieves the code hash of the currently executing contract.

Errors

If the returned value cannot be properly decoded.