Retrieves current wallet balance: total and unlocked.

Outputs:

  • balance — unsigned integer; total fund, that the wallet has (unlocked and locked coins).
  • unlocked_balance — unsigned integer; unlocked funds, i.e. coins that are stored deep enough in the blockchain to be considered relatively safe to spend. Only this many coins are immediately spendable. Unlocked_balance is always less or equal to balance.
Language