Crate ic_btc_interface
source ·Expand description
Types used in the interface of the Bitcoin Canister.
Structs
- The payload used to initialize the canister.
- 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.
- A reference to a transaction output.
- A request to update the canister’s config.
- An unspent transaction output.
Enums
- 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.