Expand description
§Esplora API
This module implements the types and deserializers needed to interact with an Esplora-compliant server.
Refer to the Esplora API specification for the complete API reference.
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 anAddressis involved. - Amount
- Amount
- Block
- Bitcoin block.
- Block
Hash - A bitcoin block hash.
- Block
Info - A summary of a
Block. - Block
Status - The status of a
Block. - Block
Summary Deprecated - Summary about a
Block. - Block
Time - The UNIX timestamp and height of a
Block. - Compact
Target - Encoding of 256-bit target as 32-bit float.
- Esplora
Tx - A transaction in the format returned by Esplora.
- FeeRate
- Represents fee rate.
- Mempool
Fees Submit Package - The fees for a
Transactionsubmitted as part of a package. - Mempool
Recent Tx - A
Transactionthat recently entered the mempool. - Mempool
Stats - Statistics about the mempool.
- Merkle
Proof - A Merkle inclusion proof for a
Transaction. - OutPoint
- A reference to a transaction output.
- Output
Status - The status of a
TxOut. - Script
- Bitcoin script slice.
- Script
Buf - An owned, growable script.
- Script
Hash - A hash of Bitcoin Script bytecode.
- Script
Hash Stats - Statistics about a scripthash’s confirmed and mempool
Transactions. - Sequence
- Bitcoin transaction input sequence number.
- Submit
Package Result - The global result of a
Transactionpackage submission. - Transaction
- Bitcoin transaction.
- TxIn
- Bitcoin transaction input.
- TxOut
- Bitcoin transaction output.
- TxResult
- A per-transaction result of a
Transactionpackage submission. - TxStatus
- The confirmation status of a
Transaction. - Txid
- A bitcoin transaction hash/transaction ID.
- Utxo
- An unspent
TxOut, including its outpoint, confirmation status and value. - Utxo
Status - The confirmation status of a
TxOut. - Vin
- An input to a
Transaction. - Vout
- An output from a
Transaction. - 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 - A summary of
Transactions for a particular scripthash.