Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

BitcoinAddress

Bitcoin address structure

Fully qualified path: alexandria_btc::types::BitcoinAddress

#[derive(Drop, Serde)]
pub struct BitcoinAddress {
    pub address: ByteArray,
    pub address_type: BitcoinAddressType,
    pub network: BitcoinNetwork,
    pub script_pubkey: ByteArray,
}

Members

address

Fully qualified path: alexandria_btc::types::BitcoinAddress::address

pub address: ByteArray

address_type

Fully qualified path: alexandria_btc::types::BitcoinAddress::address_type

pub address_type: BitcoinAddressType

network

Fully qualified path: alexandria_btc::types::BitcoinAddress::network

pub network: BitcoinNetwork

script_pubkey

Fully qualified path: alexandria_btc::types::BitcoinAddress::script_pubkey

pub script_pubkey: ByteArray