TronSimulation
Defined in: wallet-tron/src/types.ts:154
Outcome of a constant call (/wallet/triggerconstantcontract) or a balance pre-check.
Properties
Section titled “Properties”constantResult?
Section titled “constantResult?”
optionalconstantResult?:string[]
Defined in: wallet-tron/src/types.ts:161
Raw constant_result entries.
energy
Section titled “energy”energy:
number
Defined in: wallet-tron/src/types.ts:157
energy_used reported by the node (0 for non-contract transactions).
ok:
boolean
Defined in: wallet-tron/src/types.ts:155
reason?
Section titled “reason?”
optionalreason?:string
Defined in: wallet-tron/src/types.ts:159
Decoded revert reason / node message when ok is false.