TransactionDetails

data class TransactionDetails(    var transaction: <Error class: unknown class>,     Transaction: <Error class: unknown class>,     var fee: ULong?,     var received: ULong,     var sent: ULong,     var txid: String,     var confirmationTime: BlockTime?)

A wallet transaction.

Constructors

Link copied to clipboard
fun TransactionDetails(    transaction: <Error class: unknown class>,     Transaction: <Error class: unknown class>,     fee: ULong?,     received: ULong,     sent: ULong,     txid: String,     confirmationTime: BlockTime?)

Properties

Link copied to clipboard
var confirmationTime: BlockTime?

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

Link copied to clipboard
var fee: ULong?

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.

Link copied to clipboard
var received: ULong

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

Link copied to clipboard
var sent: ULong

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

Link copied to clipboard
var transaction: <Error class: unknown class>
Link copied to clipboard
var txid: String

Transaction id.