We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unconfirmed
i64
1 parent 7db9a13 commit 078e513Copy full SHA for 078e513
src/types.rs
@@ -208,7 +208,9 @@ pub struct GetBalanceRes {
208
/// Confirmed balance in Satoshis for the address.
209
pub confirmed: u64,
210
/// Unconfirmed balance in Satoshis for the address.
211
- pub unconfirmed: u64,
+ ///
212
+ /// Some servers (e.g. `electrs`) return this as a negative value.
213
+ pub unconfirmed: i64,
214
}
215
216
/// Response to a [`transaction_get_merkle`](../client/struct.Client.html#method.transaction_get_merkle) request.
0 commit comments