package bitcoinml

  1. Overview
  2. Docs
module In : sig ... end
module Out : sig ... end
type t = {
  1. hash : Hash.t;
  2. version : Stdint.int32;
  3. txin : In.t list;
  4. txout : Out.t list;
  5. locktime : Stdint.uint32;
}
val parse : ?coinbase:bool -> bytes -> bytes * t option
val parse_all : bytes -> int -> t list option
val serialize : t -> bytes
val serialize_all : t list -> bytes
val print : t -> unit
OCaml

Innovation. Community. Security.