[][src]Function ink_env::account_id

pub fn account_id<T>() -> Result<T::AccountId> where
    T: Environment

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.