Crate ic_btc_interface

Crate ic_btc_interface 

Source
Expand description

Types used in the interface of the Bitcoin Canister.

Structs§

Config
The config of the canister.
Fees
GetBalanceRequest
GetBlockHeadersRequest
A request for getting the block headers from a given height.
GetBlockHeadersResponse
The response returned for a request for getting the block headers from a given height.
GetCurrentFeePercentilesRequest
A request for getting the current fee percentiles.
GetUtxosRequest
A request for getting the UTXOs for a given address.
GetUtxosResponse
The response returned for a request to get the UTXOs of a given address.
InitConfig
The config used to initialize the canister.
OutPoint
A reference to a transaction output.
SendTransactionRequest
SetConfigRequest
A request to update the canister’s config.
Txid
Utxo
An unspent transaction output.

Enums§

Flag
GetBalanceError
GetBlockHeadersError
Errors when processing a get_block_headers request.
GetUtxosError
Errors when processing a get_utxos request.
Network
NetworkInRequest
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.
SendTransactionError
TxidFromStrError
UtxosFilter
A filter used when requesting UTXOs.
UtxosFilterInRequest
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.

Type Aliases§

Address
BlockHash
BlockHeader
Height
MillisatoshiPerByte
Page
Satoshi