privateSpendKey property

MoneroPrivateKey get privateSpendKey

Get the private spend key of the Monero instance.

Implementation

MoneroPrivateKey get privateSpendKey {
  if (isWatchOnly) {
    throw const MoneroKeyError(
      'Watch-only class does not have a private spend key',
    );
  }
  return privSkey!;
}