Additional comments for TransactionDetails
.
Describe how fields `received` and `sent` are calculated for `TransactionDetails`.
This commit is contained in:
parent
b289c4ec2d
commit
77c7d0aae9
@ -202,8 +202,10 @@ pub struct TransactionDetails {
|
|||||||
pub txid: Txid,
|
pub txid: Txid,
|
||||||
|
|
||||||
/// Received value (sats)
|
/// Received value (sats)
|
||||||
|
/// Sum of owned outputs of this transaction.
|
||||||
pub received: u64,
|
pub received: u64,
|
||||||
/// Sent value (sats)
|
/// Sent value (sats)
|
||||||
|
/// Sum of owned inputs of this transaction.
|
||||||
pub sent: u64,
|
pub sent: u64,
|
||||||
/// Fee value (sats) if available.
|
/// Fee value (sats) if available.
|
||||||
/// The availability of the fee depends on the backend. It's never `None` with an Electrum
|
/// The availability of the fee depends on the backend. It's never `None` with an Electrum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user