getbalance
#
CommandReturns the total available balance. The available balance is what the wallet considers currently spendable, and is thus affected by options which limit spendability such as -spendzeroconfchange.
#
Arguments(dummy)
#
(string, optional)
Remains for backward compatibility. Must be excluded or set to "*".
minconf
#
(numeric, optional, default=0)
Only include transactions confirmed at least this many times.
addlocked
#
(bool, optional, default=false)
Whether to include the value of transactions locked via InstantSend in the wallet's balance.
include_watchonly
#
( bool, optional, default=false)
Also include balance in watch-only addresses (see 'importaddress')
#
ExamplesThe total amount in the wallet with 1 or more confirmations
The total amount in the wallet at least 6 blocks confirmed
As a json rpc call
#
ResultRunning following help command
Will produce following output: