package octez-l2-libs

  1. Overview
  2. Docs
On This Page
  1. Serialization
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t

Type of L2 messages.

val make : string -> t

make message constructs a message with content message.

val content : t -> string

content message returns the string content of message, i.e. content (make s) = s.

Hash with b58check encoding scmsg(55), for hashes of L2 messages.

type hash = Hash.t

Alias for message hash

Serialization

val content_encoding : string Tezos_base.TzPervasives.Data_encoding.t
val hash : t -> Hash.t
OCaml

Innovation. Community. Security.