qbit-rpc
    Preparing search index...

    Type Alias TransactionInput

    TransactionInput:
        | {
            coinbase: string;
            sequence: number;
            txinwitness?: readonly string[];
        }
        | {
            scriptSig: { asm: string; hex: string };
            sequence: number;
            txid: string;
            txinwitness?: readonly string[];
            vout: number;
        }

    A transaction input, decoded: a coinbase input, or one that spends an output.

    Type Declaration

    • { coinbase: string; sequence: number; txinwitness?: readonly string[] }
      • Readonlycoinbase: string

        The coinbase input's script, as hex.

      • Readonlysequence: number

        The input's sequence number.

      • Optional Readonlytxinwitness?: readonly string[]

        The input's witness stack, each item as hex.

    • {
          scriptSig: { asm: string; hex: string };
          sequence: number;
          txid: string;
          txinwitness?: readonly string[];
          vout: number;
      }
      • ReadonlyscriptSig: { asm: string; hex: string }

        The signature script.

        • Readonlyasm: string

          The script, disassembled.

        • Readonlyhex: string

          The script, as hex.

      • Readonlysequence: number

        The input's sequence number.

      • Readonlytxid: string

        The txid of the output spent.

      • Optional Readonlytxinwitness?: readonly string[]

        The input's witness stack, each item as hex.

      • Readonlyvout: number

        The index of the output spent.