Module api

Source
Expand description

Modules§

transaction
Bitcoin transactions.

Structs§

AddressStats
Address statistics, includes the address, and the utxo information for the address.
AddressTxsSummary
Contains a summary of the transactions for an address.
Amount
Amount
BlockHash
A bitcoin block hash.
BlockStatus
BlockSummary
BlockTime
MerkleProof
OutPoint
A reference to a transaction output.
OutputStatus
PrevOut
ScriptBuf
An owned, growable script.
Transaction
Bitcoin transaction.
Tx
TxIn
Bitcoin transaction input.
TxOut
Bitcoin transaction output.
TxStatus
Txid
A bitcoin transaction hash/transaction ID.
Vin
Vout
Witness
The Witness is the data used to unlock bitcoin since the segwit upgrade.

Traits§

FromHex
Trait for objects that can be deserialized from hex strings.

Functions§

deserialize
Deserializes an object from a vector, will error if said deserialization doesn’t consume the entire vector.
serialize
Encodes an object into a vector.