getAccount method

Future<EthereumAddress> getAccount()

Get account needs to be called to initiate account field.

Implementation

Future<EthereumAddress> getAccount() {
  return _makeRPCCall<List<dynamic>>('eth_accounts', []).then((list) {
    address = EthereumAddress.fromHex(list.first);
    return address;
  });
}