Class SimulationTransactionExecTrace
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.PathResponse
-
- com.algorand.algosdk.v2.client.model.SimulationTransactionExecTrace
-
public class SimulationTransactionExecTrace extends PathResponse
The execution trace of calling an app or a logic sig, containing the inner app call trace in a recursive way.
-
-
Field Summary
Fields Modifier and Type Field Description byte[]approvalProgramHashList<SimulationOpcodeTraceUnit>approvalProgramTraceProgram trace that contains a trace of opcode effects in an approval program.byte[]clearStateProgramHashList<SimulationOpcodeTraceUnit>clearStateProgramTraceProgram trace that contains a trace of opcode effects in a clear state program.BooleanclearStateRollbackIf true, indicates that the clear state program failed and any persistent state changes it produced should be reverted once the program exits.StringclearStateRollbackErrorThe error message explaining why the clear state program failed.List<SimulationTransactionExecTrace>innerTraceAn array of SimulationTransactionExecTrace representing the execution trace of any inner transactions executed.byte[]logicSigHashList<SimulationOpcodeTraceUnit>logicSigTraceProgram trace that contains a trace of opcode effects in a logic sig.
-
Constructor Summary
Constructors Constructor Description SimulationTransactionExecTrace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapprovalProgramHash()voidapprovalProgramHash(String base64Encoded)SHA512_256 hash digest of the approval program executed in transaction.StringclearStateProgramHash()voidclearStateProgramHash(String base64Encoded)SHA512_256 hash digest of the clear state program executed in transaction.booleanequals(Object o)StringlogicSigHash()voidlogicSigHash(String base64Encoded)SHA512_256 hash digest of the logic sig executed in transaction.-
Methods inherited from class com.algorand.algosdk.v2.client.common.PathResponse
toString
-
-
-
-
Field Detail
-
approvalProgramHash
public byte[] approvalProgramHash
-
approvalProgramTrace
public List<SimulationOpcodeTraceUnit> approvalProgramTrace
Program trace that contains a trace of opcode effects in an approval program.
-
clearStateProgramHash
public byte[] clearStateProgramHash
-
clearStateProgramTrace
public List<SimulationOpcodeTraceUnit> clearStateProgramTrace
Program trace that contains a trace of opcode effects in a clear state program.
-
clearStateRollback
public Boolean clearStateRollback
If true, indicates that the clear state program failed and any persistent state changes it produced should be reverted once the program exits.
-
clearStateRollbackError
public String clearStateRollbackError
The error message explaining why the clear state program failed. This field will only be populated if clear-state-rollback is true and the failure was due to an execution error.
-
innerTrace
public List<SimulationTransactionExecTrace> innerTrace
An array of SimulationTransactionExecTrace representing the execution trace of any inner transactions executed.
-
logicSigHash
public byte[] logicSigHash
-
logicSigTrace
public List<SimulationOpcodeTraceUnit> logicSigTrace
Program trace that contains a trace of opcode effects in a logic sig.
-
-
Method Detail
-
approvalProgramHash
public void approvalProgramHash(String base64Encoded)
SHA512_256 hash digest of the approval program executed in transaction.
-
approvalProgramHash
public String approvalProgramHash()
-
clearStateProgramHash
public void clearStateProgramHash(String base64Encoded)
SHA512_256 hash digest of the clear state program executed in transaction.
-
clearStateProgramHash
public String clearStateProgramHash()
-
logicSigHash
public void logicSigHash(String base64Encoded)
SHA512_256 hash digest of the logic sig executed in transaction.
-
logicSigHash
public String logicSigHash()
-
-