Crate ic_btc_interface
source ·Expand description
Types used in the interface of the Bitcoin Canister.
Structs§
- The config of the canister.
- A request for getting the block headers from a given height.
- The response returned for a request for getting the block headers from a given height.
- A request for getting the current fee percentiles.
- A request for getting the UTXOs for a given address.
- The response returned for a request to get the UTXOs of a given address.
- The config used to initialize the canister.
- A reference to a transaction output.
- A request to update the canister’s config.
- An unspent transaction output.
Enums§
- Errors when processing a
get_block_headers
request. - Errors when processing a
get_utxos
request. - A network enum that allows both upper and lowercase variants. Supporting both variants allows us to be compatible with the spec (lowercase) while not breaking current dapps that are using uppercase variants.
- A filter used when requesting UTXOs.
- A UtxosFilter enum that allows both upper and lowercase variants. Supporting both variants allows us to be compatible with the spec (lowercase) while not breaking current dapps that are using uppercase variants.