Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

TransactionOutput

Bitcoin transaction output structure

Fully qualified path: alexandria_btc::types::TransactionOutput

[derive(Clone, Drop, Serde)]
pub struct TransactionOutput {
    pub value: u64,
    pub script_pubkey: ByteArray,
}

Members

value

Value in satoshis

Fully qualified path: alexandria_btc::types::TransactionOutput::value

pub value: u64

script_pubkey

Script public key

Fully qualified path: alexandria_btc::types::TransactionOutput::script_pubkey

pub script_pubkey: ByteArray