Class SimulateTransactionGroupResult
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.SimulateTransactionGroupResult
-
public class SimulateTransactionGroupResult extends PathResponse
Simulation result for an atomic transaction group
-
-
Field Summary
Fields Modifier and Type Field Description Long
appBudgetAdded
Total budget added during execution of app calls in the transaction group.Long
appBudgetConsumed
Total budget consumed during execution of app calls in the transaction group.List<Long>
failedAt
If present, indicates which transaction in this group caused the failure.String
failureMessage
If present, indicates that the transaction group failed and specifies why that happenedList<SimulateTransactionResult>
txnResults
Simulation result for individual transactionsSimulateUnnamedResourcesAccessed
unnamedResourcesAccessed
These are resources that were accessed by this group that would normally have caused failure, but were allowed in simulation.
-
Constructor Summary
Constructors Constructor Description SimulateTransactionGroupResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
appBudgetAdded
public Long appBudgetAdded
Total budget added during execution of app calls in the transaction group.
-
appBudgetConsumed
public Long appBudgetConsumed
Total budget consumed during execution of app calls in the transaction group.
-
failedAt
public List<Long> failedAt
If present, indicates which transaction in this group caused the failure. This array represents the path to the failing transaction. Indexes are zero based, the first element indicates the top-level transaction, and successive elements indicate deeper inner transactions.
-
failureMessage
public String failureMessage
If present, indicates that the transaction group failed and specifies why that happened
-
txnResults
public List<SimulateTransactionResult> txnResults
Simulation result for individual transactions
-
unnamedResourcesAccessed
public SimulateUnnamedResourcesAccessed unnamedResourcesAccessed
These are resources that were accessed by this group that would normally have caused failure, but were allowed in simulation. Depending on where this object is in the response, the unnamed resources it contains may or may not qualify for group resource sharing. If this is a field in SimulateTransactionGroupResult, the resources do qualify, but if this is a field in SimulateTransactionResult, they do not qualify. In order to make this group valid for actual submission, resources that qualify for group sharing can be made available by any transaction of the group; otherwise, resources must be placed in the same transaction which accessed them.
-
-