package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. out_hash : string;
  2. out_n : Stdint.uint32;
  3. script : Script.t;
  4. 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 -> bytes
val serialize_all : t list -> bytes
OCaml

Innovation. Community. Security.