package octez-l2-libs

  1. Overview
  2. Docs
On This Page
  1. Serialization
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 ids of L2 messages.

type id = Id.t

Alias for message id

Serialization

val content_encoding : string Tezos_base.TzPervasives.Data_encoding.t
val id : t -> Id.t
OCaml

Innovation. Community. Security.