package tezos-client-alpha

  1. Overview
  2. Docs
type fee_parameter = {
  1. minimal_fees : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  2. minimal_nanotez_per_byte : Q.t;
  3. minimal_nanotez_per_gas_unit : Q.t;
  4. force_low_fee : bool;
  5. fee_cap : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
  6. burn_cap : Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t;
}
val dummy_fee_parameter : fee_parameter
val inject_operation : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?confirmations:int -> ?dry_run:bool -> ?simulation:bool -> ?branch:int -> ?src_sk:Tezos_client_base.Client_keys.sk_uri -> ?verbose_signing:bool -> fee_parameter:fee_parameter -> 'kind Tezos_protocol_alpha.Protocol.Alpha_context.contents_list -> ('kind result_list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

/!\ inject_operation does not perform automatic patching of gas, storage and fees; use inject_manager_operation to inject manager operations.

val inject_manager_operation : Protocol_client_context.full -> chain:Tezos_shell_services.Shell_services.chain -> block:Tezos_shell_services.Shell_services.block -> ?branch:int -> ?confirmations:int -> ?dry_run:bool -> ?verbose_signing:bool -> ?simulation:bool -> ?force:bool -> source:Tezos_crypto.Signature.Public_key_hash.t -> src_pk:Tezos_crypto.Signature.public_key -> src_sk:Tezos_client_base.Client_keys.sk_uri -> fee:Tezos_protocol_alpha.Protocol.Alpha_context.Tez.t Limit.t -> gas_limit: Tezos_protocol_alpha.Protocol.Alpha_context.Gas.Arith.integral Limit.t -> storage_limit:Z.t Limit.t -> ?counter:Z.t -> ?replace_by_fees:bool -> fee_parameter:fee_parameter -> 'kind Annotated_manager_operation.annotated_list -> ('kind Tezos_protocol_alpha.Protocol.Alpha_context.Kind.manager result_list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t

Collects the addresses of all contracts originated by a batch of operations by looking at the operation results. Fails if an operation in the batch is failed unless force is given.

OCaml

Innovation. Community. Security.