SimulateHostFunctionResult
in package
Result container for successful Soroban host function simulation
This class encapsulates the data returned from a successful transaction simulation, including the return value, authorization entries, and transaction resource data. It is typically obtained via AssembledTransaction::getSimulationData().
Tags
Table of Contents
Properties
- $auth : array<string|int, mixed>|null
- $returnedValue : XdrSCVal
- $transactionData : XdrSorobanTransactionData
Methods
- __construct() : mixed
Properties
$auth
public
array<string|int, mixed>|null
$auth
= null
$returnedValue
public
XdrSCVal
$returnedValue
$transactionData
public
XdrSorobanTransactionData
$transactionData
Methods
__construct()
public
__construct(XdrSorobanTransactionData $transactionData, XdrSCVal $returnedValue[, array<string|int, SorobanAuthorizationEntry>|null $auth = null ]) : mixed
Parameters
- $transactionData : XdrSorobanTransactionData
-
Transaction resource data including footprint and resource limits. This data is applied to the transaction before signing and submission.
- $returnedValue : XdrSCVal
-
The return value from the contract function call. For read-only calls, this contains the result. For write calls, this is available after the transaction completes successfully.
- $auth : array<string|int, SorobanAuthorizationEntry>|null = null
-
Authorization entries required for this transaction. Null or empty for read-only calls. Non-empty for state-changing operations that require authorization from account or contract signers.