Class SimulateTransactionResult
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.SimulateTransactionResult
-
public class SimulateTransactionResult extends PathResponse
Simulation result for an individual transaction
-
-
Field Summary
Fields Modifier and Type Field Description LongappBudgetConsumedBudget used during execution of an app call transaction.SimulationTransactionExecTraceexecTraceThe execution trace of calling an app or a logic sig, containing the inner app call trace in a recursive way.AddressfixedSignerLonglogicSigBudgetConsumedBudget used during execution of a logic sig transaction.PendingTransactionResponsetxnResultDetails about a pending transaction.SimulateUnnamedResourcesAccessedunnamedResourcesAccessedThese are resources that were accessed by this group that would normally have caused failure, but were allowed in simulation.
-
Constructor Summary
Constructors Constructor Description SimulateTransactionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringfixedSigner()voidfixedSigner(String fixedSigner)The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
appBudgetConsumed
public Long appBudgetConsumed
Budget used during execution of an app call transaction. This value includes budged used by inner app calls spawned by this transaction.
-
execTrace
public SimulationTransactionExecTrace execTrace
The execution trace of calling an app or a logic sig, containing the inner app call trace in a recursive way.
-
fixedSigner
public Address fixedSigner
-
logicSigBudgetConsumed
public Long logicSigBudgetConsumed
Budget used during execution of a logic sig transaction.
-
txnResult
public PendingTransactionResponse txnResult
Details about a pending transaction. If the transaction was recently confirmed, includes confirmation details like the round and reward details.
-
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.
-
-
Method Detail
-
fixedSigner
public void fixedSigner(String fixedSigner) throws NoSuchAlgorithmException
The account that needed to sign this transaction when no signature was provided and the provided signer was incorrect.- Throws:
NoSuchAlgorithmException
-
fixedSigner
public String fixedSigner() throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
-
-