brk_types 0.2.2

Structs used throughout BRK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use crate::{Sats, TxStatus, Txid, Vout};

/// Unspent transaction output
#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
pub struct Utxo {
    pub txid: Txid,
    pub vout: Vout,
    pub status: TxStatus,
    pub value: Sats,
}