Expand description
Structs from the Esplora API
See: https://github.com/Blockstream/esplora/blob/master/API.md
Modules§
- absolute
- Provides type
LockTimethat implements the logic around nLockTime/OP_CHECKLOCKTIMEVERIFY. - block
- Bitcoin blocks.
- transaction
- Bitcoin transactions.
Structs§
- Address
- A Bitcoin address.
- Address
Stats - Statistics about an
Address. - Address
TxsSummary - A summary of
Transactions in which anAddresswas involved. - Amount
- Amount
- Block
- Bitcoin block.
- Block
Hash - A bitcoin block hash.
- Block
Info - Information about a bitcoin
Block. - Block
Status - Information about a
Blocks status. - Block
Summary - Summary about a
Block. - Block
Time - Time-related information about a
Block. - Compact
Target - Encoding of 256-bit target as 32-bit float.
- FeeRate
- Represents fee rate.
- Mempool
Fees Submit Package - The mempool fees for a resulting
Transactionbroadcasted by a package ofTransactions. - Mempool
Recent Tx - A
Transactionthat recently entered the mempool. - Mempool
Stats - Statistics about the mempool.
- Merkle
Proof - A Merkle inclusion proof for a transaction, given it’s
Txid. - OutPoint
- A reference to a transaction output.
- Output
Status - The spend status of a
TxOut. - PrevOut
- Information about a previous output.
- Script
- Bitcoin script slice.
- Script
Buf - An owned, growable script.
- Script
Hash - A hash of Bitcoin Script bytecode.
- Script
Hash Stats - Statistics about a particular
Scripthash’s confirmed and mempool transactions. - Submit
Package Result - The result for a broadcasted package of
Transactions. - Transaction
- Bitcoin transaction.
- Tx
- A
Transactionin the format returned by Esplora. - TxIn
- Bitcoin transaction input.
- TxOut
- Bitcoin transaction output.
- TxResult
- The result
Transactionfor a broadcasted package ofTransactions. - 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. - Utxo
Status - 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§
- Script
Hash TxsSummary - Contains a summary of the
Transactions for a particularScripthash.