qbit-rpc
    Preparing search index...

    Interface UnspentOutput

    One listunspent entry.

    interface UnspentOutput {
        address?: string;
        amountBits: bigint;
        ancestorCount?: number;
        ancestorFeesBits?: bigint;
        ancestorSize?: number;
        confirmations: number;
        desc?: string;
        label?: string;
        parentDescs: readonly string[];
        redeemScript?: string;
        reused?: boolean;
        safe: boolean;
        scriptPubKey: string;
        solvable: boolean;
        spendable: boolean;
        txid: string;
        vout: number;
        witnessScript?: string;
    }
    Index
    address?: string

    The address the output pays, when it has one.

    amountBits: bigint

    The output's value, in bits.

    ancestorCount?: number

    In-mempool ancestors of its transaction, the transaction included. Only while it is in the mempool.

    ancestorFeesBits?: bigint

    qbit Core prints this field in bits, not QBT.

    ancestorSize?: number

    The total vsize of those ancestors, the transaction included. Only while it is in the mempool.

    confirmations: number

    Its confirmations; 0 while its transaction is in the mempool.

    desc?: string

    A descriptor for spending the output. Only when solvable.

    label?: string

    The address's label; empty for the default label.

    parentDescs: readonly string[]

    The descriptors of the output script.

    redeemScript?: string

    The redeem script, for a P2SH output.

    reused?: boolean

    Whether the output was sent to an address already spent from. Only with avoid_reuse set on the wallet.

    safe: boolean

    Whether the wallet considers the output safe to spend: an unconfirmed one from outside keys, or of a replacement, is not, and coin selection leaves it out.

    scriptPubKey: string

    The output script, as hex.

    solvable: boolean

    Whether the wallet knows how to spend the output, ignoring a lack of private keys.

    spendable: boolean

    Deprecated by qbit Core: always true.

    txid: string

    The txid of the transaction holding the output.

    vout: number

    The output's index.

    witnessScript?: string

    The witness script, for a P2WSH or P2SH-P2WSH output.