BDK Wallet
The BDK Wallet
struct provides as high level interface to perform common bitcoin wallet operations. In BDK a wallet encapsulates:
- the "external" keychain output descriptor
- an optional "internal" keychain output descriptor
- optional signing keys
- storage for wallet state data
- a view of the current blockchain
- an indexed graph of wallet transactions
The common operations that can be performed with a BDK wallet are:
- get a new address
- list unspent transaction outputs
- list transactions
- get the wallet balance
- build a new unsigned transaction
- build a transaction to bump the fee of an unconfirmed transaction
- sign an unsigned or partially signed transaction
- finalize a partially signed transaction
- cancel an unconfirmed transaction