ink_env

Function own_code_hash

source
pub fn own_code_hash() -> Result<H256>
Expand description

Retrieves the code hash of the currently executing contract.

ยงErrors

If the returned value cannot be properly decoded.