Package 

Class TransactionDetails

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <Error class: unknown class> getTransaction()
      final Unit )>setTransaction(<Error class: unknown class> transaction)
      final ULong getFee() Fee value (sats) if available.
      final Unit setFee(ULong fee) Fee value (sats) if available.
      final ULong getReceived() Received value (sats) Sum of owned outputs of this transaction.
      final Unit setReceived(ULong received) Received value (sats) Sum of owned outputs of this transaction.
      final ULong getSent() Sent value (sats) Sum of owned inputs of this transaction.
      final Unit setSent(ULong sent) Sent value (sats) Sum of owned inputs of this transaction.
      final String getTxid() Transaction id.
      final Unit setTxid(String txid) Transaction id.
      final BlockTime getConfirmationTime() If the transaction is confirmed, BlockTime contains height and timestamp of the block containing the transaction.
      final Unit setConfirmationTime(BlockTime confirmationTime) If the transaction is confirmed, BlockTime contains height and timestamp of the block containing the transaction.
      • Methods inherited from class java.lang.Object

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

      • TransactionDetails

        TransactionDetails(<Error class: unknown class> transaction, <Error class: unknown class> Transaction, ULong fee, ULong received, ULong sent, String txid, BlockTime confirmationTime)
    • Method Detail

      • getFee

         final ULong getFee()

        Fee value (sats) if available. The availability of the fee depends on the backend. It’s never None with an Electrum server backend, but it could be None with a Bitcoin RPC node without txindex that receive funds while offline.

      • setFee

         final Unit setFee(ULong fee)

        Fee value (sats) if available. The availability of the fee depends on the backend. It’s never None with an Electrum server backend, but it could be None with a Bitcoin RPC node without txindex that receive funds while offline.

      • getReceived

         final ULong getReceived()

        Received value (sats) Sum of owned outputs of this transaction.

      • setReceived

         final Unit setReceived(ULong received)

        Received value (sats) Sum of owned outputs of this transaction.

      • getSent

         final ULong getSent()

        Sent value (sats) Sum of owned inputs of this transaction.

      • setSent

         final Unit setSent(ULong sent)

        Sent value (sats) Sum of owned inputs of this transaction.

      • getConfirmationTime

         final BlockTime getConfirmationTime()

        If the transaction is confirmed, BlockTime contains height and timestamp of the block containing the transaction. This property is null for unconfirmed transactions.

      • setConfirmationTime

         final Unit setConfirmationTime(BlockTime confirmationTime)

        If the transaction is confirmed, BlockTime contains height and timestamp of the block containing the transaction. This property is null for unconfirmed transactions.