incomingViewingKey method

  1. @override
SaplingIncomingViewingKey incomingViewingKey(
  1. ZCryptoContext context, {
  2. Bip44Changes scope = Bip44Changes.chainInt,
})
override

Returns the incoming viewing key (IVK) for this extended full-view key.

context is required for cryptographic operations. scope allows selecting between internal/external derivation chains.

Implementation

@override
SaplingIncomingViewingKey incomingViewingKey(
  ZCryptoContext context, {
  Bip44Changes scope = Bip44Changes.chainInt,
}) {
  final d = toDiversifiableFullViewingKey();
  return d.toIvk(scope);
}