View Source Soroban.RPC.SimulateTransactionResponse (Soroban v0.21.0)

SimulateTransactionResponse struct definition.

Summary

Types

@type cost() :: map()
@type error() :: String.t() | nil
@type events() :: [String.t()]
@type latest_ledger() :: non_neg_integer()
@type min_resource_fee() :: non_neg_integer()
@type restore_preamble() :: map() | nil
@type results() :: [map()]
@type state_changes() :: [map()] | nil
@type t() :: %Soroban.RPC.SimulateTransactionResponse{
  cost: cost(),
  error: error(),
  events: events(),
  latest_ledger: latest_ledger(),
  min_resource_fee: min_resource_fee(),
  restore_preamble: restore_preamble(),
  results: results(),
  state_changes: state_changes(),
  transaction_data: transaction_data()
}
@type transaction_data() :: String.t()