Package 

Object UnifiedSpendingKey.Companion

    • Method Summary

      Modifier and Type Method Description
      final Result<UnifiedSpendingKey> new(Account account, ByteArray bytes) This method may fail if the bytes no longer represent a valid key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • new

         final Result<UnifiedSpendingKey> new(Account account, ByteArray bytes)

        This method may fail if the bytes no longer represent a valid key. A key could become invalid due to network upgrades or other internal changes. If a non-successful result is returned, clients are expected to use DerivationTool.deriveUnifiedSpendingKey to regenerate the key from the seed.