Tezex.Fee (tezex v6.0.0)

Copy Markdown View Source

Summary

Functions

Fee for a content before simulation, with its gas limit standing in for the consumed gas.

Size of the serialized branch and signature of an operation signed by source.

Functions

calculate_fee(content, consumed_gas, opts \\ [])

@spec calculate_fee(map(), pos_integer(),
  extra_size: pos_integer(),
  minimal_nanotez_per_gas_unit: pos_integer()
) :: {:ok, pos_integer()} | {:error, Tezex.ForgeOperation.error_reason()}

default_fee(content, gas_limit)

@spec default_fee(map(), pos_integer()) ::
  {:ok, pos_integer()} | {:error, Tezex.ForgeOperation.error_reason()}

Fee for a content before simulation, with its gas limit standing in for the consumed gas.

default_gas_limit(content)

default_gas_reserve()

default_storage_limit(content)

extra_size()

extra_size(arg1)

@spec extra_size(String.t() | nil) :: pos_integer()

Size of the serialized branch and signature of an operation signed by source.

hard_gas_limit_per_operation()

hard_storage_limit_per_operation()