-
- All Implemented Interfaces:
public final class TransactionDetails
A wallet transaction.
-
-
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. -
-
Method Detail
-
getTransaction
final <Error class: unknown class> getTransaction()
-
setTransaction
final Unit )>setTransaction(<Error class: unknown class> transaction)
-
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.
-
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.
-
-
-
-