package tezos-client-base

  1. Overview
  2. Docs
type t = sapling_key
type fresh_param
val encoding : t Data_encoding.t
val load : Client_context.wallet -> ((string * t) list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val set : Client_context.wallet -> (string * t) list -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val find : Client_context.wallet -> string -> (t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val find_opt : Client_context.wallet -> string -> (t option, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val rev_find : Client_context.wallet -> t -> (string option, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val rev_find_all : Client_context.wallet -> t -> (string list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val name : Client_context.wallet -> t -> (string, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val mem : Client_context.wallet -> string -> (bool, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val add : force:bool -> Client_context.wallet -> string -> t -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val del : Client_context.wallet -> string -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val update : Client_context.wallet -> string -> t -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val of_source : string -> (t, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val to_source : t -> (string, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val alias_parameter : unit -> (string * t, Client_context.wallet) Tezos_clic.Clic.parameter
val alias_param : ?name:string -> ?desc:string -> ('a, Client_context.wallet as 'b) Tezos_clic.Clic.params -> ((string * t) -> 'a, 'b) Tezos_clic.Clic.params
val aliases_param : ?name:string -> ?desc:string -> ('a, Client_context.wallet as 'b) Tezos_clic.Clic.params -> ((string * t) list -> 'a, 'b) Tezos_clic.Clic.params
val fresh_alias_param : ?name:string -> ?desc:string -> ('a, < .. > as 'obj) Tezos_clic.Clic.params -> (fresh_param -> 'a, 'obj) Tezos_clic.Clic.params
val force_switch : unit -> (bool, _) Tezos_clic.Clic.arg
val of_fresh : Client_context.wallet -> bool -> fresh_param -> (string, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val source_param : ?name:string -> ?desc:string -> ('a, Client_context.wallet as 'obj) Tezos_clic.Clic.params -> (t -> 'a, 'obj) Tezos_clic.Clic.params
val source_arg : ?long:string -> ?placeholder:string -> ?doc:string -> unit -> (t option, Client_context.wallet as 'obj) Tezos_clic.Clic.arg
val autocomplete : Client_context.wallet -> (string list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.