SimulationError
Defined in: wallet-tron/src/errors.ts:41
A constant call (or balance pre-check) predicted failure; nothing was signed or broadcast.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SimulationError(
reason,energy?):SimulationError
Defined in: wallet-tron/src/errors.ts:44
Parameters
Section titled “Parameters”reason
Section titled “reason”string
energy?
Section titled “energy?”number = 0
Returns
Section titled “Returns”SimulationError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”energy
Section titled “energy”
readonlyenergy:number
Defined in: wallet-tron/src/errors.ts:43
reason
Section titled “reason”
readonlyreason:string
Defined in: wallet-tron/src/errors.ts:42