fromAccountId method
- 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);
}