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;
  6. size : int;
}
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
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 to_string : t -> string
OCaml

Innovation. Community. Security.