diff --git a/wallet.go b/wallet.go index f96d3ed..859527a 100644 --- a/wallet.go +++ b/wallet.go @@ -108,6 +108,11 @@ type Wallet interface { // The returned balances should be in the coin's base unit (for example: satoshis) Balance() (confirmed, unconfirmed int64) + // AddressBalance returns the confirmed and unconfirmed aggregate balance for the address. + // + // The returned balances should be in the coin's base unit (for example: satoshis) + AddressBalance(addr btc.Address) (confirmed, unconfirmed int64) + // Transactions returns a list of transactions for this wallet. Transactions() ([]Txn, error)