package octez-injector

  1. Overview
  2. Docs
type signer = {
  1. alias : string;
  2. pkh : Tezos_base.TzPervasives.Signature.public_key_hash;
  3. pk : Tezos_base.TzPervasives.Signature.public_key;
  4. sk : Tezos_client_base.Client_keys.sk_uri;
}

The type of signers for operations injected by the injector

val get_signer : Tezos_client_base.Client_context.wallet -> Tezos_base.TzPervasives.Signature.public_key_hash -> signer Tezos_base.TzPervasives.tzresult Lwt.t

Retrieve a signer from the client wallet.

type tez = {
  1. mutez : int64;
}

tez representation

type fee_parameter = {
  1. minimal_fees : tez;
  2. minimal_nanotez_per_byte : Q.t;
  3. minimal_nanotez_per_gas_unit : Q.t;
  4. force_low_fee : bool;
  5. fee_cap : tez;
  6. burn_cap : tez;
}

fee parameters for each operation type

val fee_parameter_encoding : default_fee_parameter:fee_parameter -> fee_parameter Tezos_base.TzPervasives.Data_encoding.t

fee_parameter_encoding default_parameter_encoding generates the encoding using default value from default_fee_parameter

OCaml

Innovation. Community. Security.