add optional fee in get_history result

This commit is contained in:
Riccardo Casatta 2020-03-10 18:48:45 +01:00
parent 79bae1a90d
commit cccb808e6f
No known key found for this signature in database
GPG Key ID: FD986A969E450397

View File

@ -125,6 +125,8 @@ pub struct GetHistoryRes {
pub height: i32,
/// Txid of the transaction.
pub tx_hash: Txid,
/// Fee of the transaction.
pub fee: Option<u64>,
}
/// Response to a [`script_list_unspent`](../client/struct.Client.html#method.script_list_unspent) request.