THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Does Bitcoin Core Trusted Balance Mean Confirmed Funds?

permalink THAMER
#bitcoin#confirmations#getbalances#trusted-balance

No. Bitcoin Core's getbalances trusted category can include confirmed funds and qualifying trusted unconfirmed outputs. Trust is a wallet accounting classification, not a synonym for block confirmation.

Why can unconfirmed change be trusted?

A wallet may recognize an unconfirmed transaction that it created and consider eligible change suitable for spending under its policy. That change still depends on an unconfirmed parent transaction. Its confirmation status has not changed merely because the wallet trusts it.

How do I calculate confirmed-only funds?

Inspect wallet outputs using listunspent with a minimum confirmation count of one or higher, depending on the application's settlement policy. Account for the RPC's other filters and distinguish owned funds from watch-only observations. The resulting sum describes the selected output population, which may not include every accounting category or locked output.

Is confirmed balance always available to send?

No. Signing authority, coinbase maturity, reservations, locks, script conditions and transaction fees can restrict spending. A confirmed-only balance is therefore not a guarantee that a payment of the same amount can be funded.

Display trusted balance and confirmed-only balance as separate concepts when the distinction matters to users.

Primary references

https://bitcoincore.org/en/doc/28.0.0/rpc/wallet/getbalances/

https://bitcoincore.org/en/doc/28.0.0/rpc/wallet/listunspent/

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects