qbit-rpc
    Preparing search index...

    Interface BlockTransaction

    One transaction of BlockWithTransactions: getrawtransaction's fields, without those about its block.

    interface BlockTransaction {
        feeBits?: bigint;
        hash: string;
        hex: string;
        locktime: number;
        size: number;
        txid: string;
        version: number;
        vin: readonly TransactionInput[];
        vout: readonly TransactionOutput[];
        vsize: number;
        weight: number;
    }

    Hierarchy

    • Omit<
          DecodedTransaction,
          "blockHash"
          | "confirmations"
          | "blockTime"
          | "time"
          | "inActiveChain",
      >
      • BlockTransaction
    Index
    feeBits?: bigint

    Absent for a coinbase transaction, and when the block's undo data is not available (pruned).

    hash: string

    The witness txid (wtxid).

    hex: string

    The serialized transaction, as hex.

    locktime: number

    The lock time.

    size: number

    The serialized size, in bytes.

    txid: string

    The transaction id, the one requested.

    version: number

    The transaction version.

    vin: readonly TransactionInput[]

    The inputs.

    vout: readonly TransactionOutput[]

    The outputs, in order.

    vsize: number

    The virtual size, in vbytes.

    weight: number

    The weight; qbit counts witness data in full.