ordspv
    Preparing search index...

    Function parseTx

    • Parse a raw Bitcoin transaction (segwit-aware, BIP-144 serialization). Throws on malformed or trailing data (strict = exact fit by default). offset starts the parse mid-buffer without copying the tail (block parsing).

      Parameters

      • raw: Uint8Array
      • opts: { allowTrailing?: boolean; offset?: number } = {}

      Returns ParsedTx