requestAccounts method

Asks the user to select an account and give your application access to it.

Implementation

Future<List<CredentialsWithKnownAddress>> requestAccounts() {
  return rawRequest('eth_requestAccounts').then((res) {
    final List<CredentialsWithKnownAddress> credentials = [];
    for (final account in res) {
      credentials.add(BinanceWalletCredentials(account as String, this));
    }
    return credentials;
  });
}