logo
pub fn account_id<E>() -> E::AccountIdwhere
    E: Environment,
Expand description

Returns the account ID of the executed contract.

Note

This method was formerly known as address.

Errors

If the returned value cannot be properly decoded.