pub struct LocalUtxo {
pub outpoint: OutPoint,
pub txout: TxOut,
pub keychain: KeychainKind,
pub is_spent: bool,
pub derivation_index: u32,
pub confirmation_time: ConfirmationTime,
}
Expand description
An unspent output owned by a Wallet
.
Fields§
§outpoint: OutPoint
Reference to a transaction output
txout: TxOut
Transaction output
keychain: KeychainKind
Type of keychain
is_spent: bool
Whether this UTXO is spent or not
derivation_index: u32
The derivation index for the script pubkey in the wallet
confirmation_time: ConfirmationTime
The confirmation time for transaction containing this utxo
Trait Implementations§
source§impl<'de> Deserialize<'de> for LocalUtxo
impl<'de> Deserialize<'de> for LocalUtxo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more