getAccountIdFromRawPublicKey function

Uint8List getAccountIdFromRawPublicKey(
  1. Uint8List publicKey
)

Implementation

Uint8List getAccountIdFromRawPublicKey(Uint8List publicKey) {
  final der = Secp256k1PublicKey.fromRaw(publicKey).toDer();
  return getAccountIdFromDerKey(der);
}