package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. value : Stdint.int64;
  2. script : Script.t;
}
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val parse : Bitstring.bitstring -> Bitstring.bitstring * t option
val parse_all : Bitstring.bitstring -> Bitstring.bitstring * t list option
val serialize : t -> bytes
val serialize_all : t list -> bytes
val is_spendable : t -> bool
val spendable_by : t -> string option
val to_string : t -> string
OCaml

Innovation. Community. Security.