Function address_from_account_id

Source
pub fn address_from_account_id<AccountId: AsRef<[u8]>>(
    account_id: AccountId,
) -> Address
Expand description

Returns the [ink::Address] for a given account id.

ยงDeveloper Note

We take the AccountId and return only the first twenty bytes, this is what pallet-revive does as well.