package bech32

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Bech32.SegwitSource

Sourcemodule type NETWORK = sig ... end
Sourcemodule Btc : NETWORK with type t = [ `Btc ]
Sourcemodule Tbtc : NETWORK with type t = [ `Tbtc ]
Sourcemodule Zil : NETWORK with type t = [ `Zil ]
Sourcetype 'a t = private {
  1. network : (module NETWORK with type t = 'a);
  2. version : int option;
  3. prog : string;
}
Sourceval scriptPubKey : 'a t -> string
Sourceval pp : Format.formatter -> _ t -> unit
Sourceval create : ?version:int -> (module NETWORK with type t = 'a) -> string -> 'a t
Sourceval encode : _ t -> (string, string) result
Sourceval encode_exn : _ t -> string
Sourceval decode : (module NETWORK with type t = 'a) -> string -> ('a t, string) result
Sourceval decode_exn : (module NETWORK with type t = 'a) -> string -> 'a t
OCaml

Innovation. Community. Security.