TronTriggerSmartContract class

Smart-contract call, e.g. a TRC-20 transfer. TRC-10 is not supported.

Inheritance

Constructors

TronTriggerSmartContract({required Uint8List ownerAddress, required Uint8List contractAddress, required Uint8List data, int? callValue})
const

Properties

callValue → int?
TRX sent along, in SUN. Omit (not 0) when none: Tron hashes proto3, where a zero value is absent.
final
contractAddress → Uint8List
final
data → Uint8List
ABI-encoded call.
final
hashCode → int
The hash code for this object.
no setterinherited
messageType → int
no setteroverride
ownerAddress → Uint8List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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