Function ink_env::account_id[][src]

pub fn account_id<T>() -> Result<T::AccountId> where
    T: 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.