View Source Kadena.Types.MetaData (Kadena v0.19.1)

MetaData struct definition.

Link to this section Summary

Link to this section Types

@type chain_id() :: Kadena.Types.ChainID.t()
@type chain_id_arg() :: String.t()
@type creation_time() :: number()
@type gas_limit() :: number()
@type gas_price() :: number()
@type sender() :: String.t()
@type t() :: %Kadena.Types.MetaData{
  chain_id: chain_id(),
  creation_time: creation_time(),
  gas_limit: gas_limit(),
  gas_price: gas_price(),
  sender: sender(),
  ttl: ttl()
}
@type ttl() :: number()
@type validation() :: {:ok, values()} | {:error, Keyword.t()}
@type values() ::
  creation_time() | ttl() | gas_limit() | gas_price() | sender() | chain_id()