community / community.lbry / 0.1.1 / module / lbry_wallet_balance Return the balance of a wallet. | "added in version" 1.0.0 of community.lbry" Authors: Rhys Campbell (@rhysmeister)community.lbry.lbry_wallet_balance (0.1.1) — module
Install with ansible-galaxy collection install community.lbry:==0.1.1
collections: - name: community.lbry version: 0.1.1
Return the balance of a wallet.
- name: Get balance for a wallet community.lbry.lbry_wallet_balance: wallet_id: mywallet register: result
- name: Wait for the available balance to hit an expected level community.lbry.lbry_wallet_balance: wallet_id: "default_wallet" register: wallet retries: 99 delay: 10 until: "wallet.balance.available == '200.0'"
host: aliases: - login_host default: 127.0.0.1 description: - The LBRY SDK Server Hostname. type: str port: aliases: - login_port default: 5279 description: - The LBRY SDK Server Port. type: int debug: default: false description: - Show additional debug output. type: bool protocol: default: http description: - The LBRY SDK Server Protocol. type: str wallet_id: aliases: - name default: default_wallet description: - wallet file name type: str confirmations: description: - Only include transactions with this many confirmed blocks. type: int
balance: description: Wallet balance info. returned: always sample: available: '0.0' reserved: '0.0' reserved_subtotals: claims: '0.0' supports: '0.0' tips: '0.0' total: '0.0' type: dict wallet_id: description: The wallet id returned: always sample: mywallet type: str