qbit-rpc
    Preparing search index...

    Interface WalletBalances

    getbalances, in bits. qbit Core v1.0.0 has no watchonly section: a wallet without private keys reports what it watches under mine.

    interface WalletBalances {
        lastProcessedBlock: LastProcessedBlock;
        mine: {
            immatureBits: bigint;
            trustedBits: bigint;
            untrustedPendingBits: bigint;
            usedBits?: bigint;
        };
    }
    Index
    lastProcessedBlock: LastProcessedBlock

    The block these balances were computed at.

    mine: {
        immatureBits: bigint;
        trustedBits: bigint;
        untrustedPendingBits: bigint;
        usedBits?: bigint;
    }

    The balances of the wallet's own outputs, in bits.

    Type Declaration

    • ReadonlyimmatureBits: bigint

      Coinbase outputs not yet mature.

    • ReadonlytrustedBits: bigint

      Confirmed outputs, and unconfirmed ones the wallet created.

    • ReadonlyuntrustedPendingBits: bigint

      Outputs others created that are still in the mempool.

    • Optional ReadonlyusedBits?: bigint

      Only for a wallet with avoid_reuse set, where 0n is a real zero.