fromAccountId method

KeyPair fromAccountId (
  1. String accountId
)

Creates a new KeyPair object from a stellar accountId.

Implementation

static KeyPair fromAccountId(String accountId) {
  Uint8List decoded = StrKey.decodeStellarAccountId(accountId);
  return fromPublicKey(decoded);
}