Skip to content
docs

TronSimulation

Defined in: wallet-tron/src/types.ts:154

Outcome of a constant call (/wallet/triggerconstantcontract) or a balance pre-check.

optional constantResult?: string[]

Defined in: wallet-tron/src/types.ts:161

Raw constant_result entries.


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


optional reason?: string

Defined in: wallet-tron/src/types.ts:159

Decoded revert reason / node message when ok is false.