tryAddressAt method

SaplingPaymentAddress? tryAddressAt(
  1. DiversifierIndex index
)

Implementation

SaplingPaymentAddress? tryAddressAt(DiversifierIndex index) {
  try {
    final dJ = dk.diversifier(index);
    return ivk.toPaymentAddress(dJ);
  } on BuError catch (e) {
    if (e.type != DefaultErrorType.invalidKeyData) rethrow;
    return null;
  }
}