package bitcoinml

  1. Overview
  2. Docs
type t = {
  1. value : Stdint.int64;
  2. script : Script.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
OCaml

Innovation. Community. Security.