Module api

Module api 

Source
Expand description

Modules§

absolute
Provides type LockTime that implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY.
block
Bitcoin blocks.
transaction
Bitcoin transactions.

Structs§

Address
A Bitcoin address.
AddressStats
Statistics about an Address.
AddressTxsSummary
A summary of Transactions in which an Address was involved.
Amount
Amount
Block
Bitcoin block.
BlockHash
A bitcoin block hash.
BlockInfo
Information about a bitcoin Block.
BlockStatus
Information about a Blocks status.
BlockSummary
Summary about a Block.
BlockTime
Time-related information about a Block.
CompactTarget
Encoding of 256-bit target as 32-bit float.
FeeRate
Represents fee rate.
MempoolFeesSubmitPackage
The mempool fees for a resulting Transaction broadcasted by a package of Transactions.
MempoolRecentTx
A Transaction that recently entered the mempool.
MempoolStats
Statistics about the mempool.
MerkleProof
A Merkle inclusion proof for a transaction, given it’s Txid.
OutPoint
A reference to a transaction output.
OutputStatus
The spend status of a TxOut.
PrevOut
Information about a previous output.
Script
Bitcoin script slice.
ScriptBuf
An owned, growable script.
ScriptHash
A hash of Bitcoin Script bytecode.
ScriptHashStats
Statistics about a particular Script hash’s confirmed and mempool transactions.
SubmitPackageResult
The result for a broadcasted package of Transactions.
Transaction
Bitcoin transaction.
Tx
A Transaction in the format returned by Esplora.
TxIn
Bitcoin transaction input.
TxOut
Bitcoin transaction output.
TxResult
The result Transaction for a broadcasted package of Transactions.
TxStatus
The confirmation status of a Transaction.
Txid
A bitcoin transaction hash/transaction ID.
Utxo
Information about an TxOut’s outpoint, confirmation status and value.
UtxoStatus
Information about a TxOut’s status: confirmation status, confirmation height, confirmation block hash and confirmation block time.
Vin
Information about an input from a Transaction.
Vout
Information about a Transactions output.
Weight
Represents block weight - the weight of a transaction or block.
Witness
The Witness is the data used to unlock bitcoin since the segwit upgrade.
Wtxid
A bitcoin witness transaction ID.

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.

Type Aliases§

ScriptHashTxsSummary
Contains a summary of the Transactions for a particular Script hash.