pub fn get_account_balance<T>(account_id: T::AccountId) -> Result<T::Balance>where T: Environment<Balance = u128>,
Returns the balance of the account.
Note that account could refer to either a user account or
a smart contract account. This returns the same as
if given the account id of the currently executed smart contract.
accountdoes not exist.
- If the underlying
accounttype does not match.