getOriginAsAddressString method

String? getOriginAsAddressString()

Get "origin" of the tx by string Address style. Notice: Address != public key.

Implementation

String? getOriginAsAddressString() {
  Uint8List? pubKey = getOriginAsPublicKey();

  if (pubKey != null) {
    return Address.publicKeyToAddressString(pubKey);
  }

  return null;
}