getbalances

Back to wallet

Wallet

Summary

Returns an object with all balances in QBT.

Description

Returns an object with all balances in QBT.

Arguments

None.

Results

  • value (OBJ): No description.
  • mine (OBJ): balances from outputs that the wallet can sign
    • trusted (STR_AMOUNT): trusted balance (outputs created by the wallet or confirmed outputs)
    • untrusted_pending (STR_AMOUNT): untrusted pending balance (outputs created by others that are in the mempool)
    • immature (STR_AMOUNT): balance from immature coinbase outputs
    • used (STR_AMOUNT, optional): (only present if avoid_reuse is set) balance from coins sent to addresses that were previously spent from (potentially privacy violating)
  • lastprocessedblock (OBJ): hash and height of the block this information was generated on
    • hash (STR_HEX): hash of the block this information was generated on
    • height (NUM): height of the block this information was generated on

Examples

qbit-cli getbalances
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "getbalances", "params": []}' -H 'content-type: application/json' http://127.0.0.1:8352/