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 -> string
val serialize_all : t list -> string
val is_spendable : t -> bool
val spendable_by : t -> Address.prefix -> string option
OCaml

Innovation. Community. Security.