package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. out_hash : string;
  2. out_n : Stdint.uint32;
  3. script : Script.t;
  4. witness_script : Script.data list option;
  5. sequence : Stdint.uint32;
}
val parse : ?coinbase:bool -> Bitstring.bitstring -> Bitstring.bitstring * t option
val parse_all : ?coinbase:bool -> Bitstring.bitstring -> Bitstring.bitstring * t list option
val serialize : t -> string
val serialize_all : t list -> string
val has_witness : t -> bool
OCaml

Innovation. Community. Security.