TronSignTx class

Starts Tron signing with the contract-agnostic transaction fields. The device answers with TronContractRequest, then takes one contract message (e.g. TronTransferContract) and returns TronSignature.

Inheritance

Constructors

TronSignTx({required List<int> addressN, required Uint8List refBlockBytes, required Uint8List refBlockHash, required int expiration, required int timestamp, Uint8List? data, int? feeLimit, bool? chunkify})
const

Properties

addressN → List<int>
final
chunkify → bool?
final
data → Uint8List?
Memo, at most 256 bytes on Trezor.
final
expiration → int
final
feeLimit → int?
Energy cost ceiling in SUN; smart-contract calls only.
final
hashCode → int
The hash code for this object.
no setterinherited
messageType → int
no setteroverride
refBlockBytes → Uint8List
final
refBlockHash → Uint8List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → int
final

Methods

encode() → Uint8List
Serialized body. Messages without fields keep this default.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited