TronTransaction class base

Inheritance

Constructors

TronTransaction({required String hash, required int block, required int confirmations, required int timeMilli, required Amount amount, required Amount? fee, required String sender, required String recipient, required TransactionTransferMethod transferMethod, required CoinEntity token, required ConfirmationStatus status, required Amount? gasPrice, required int? gasUsed, required int? gas, required ContractFunctionWithValues? decodedInput, required Uint8List input})
const

Properties

amount Amount
finalinherited
block int
finalinherited
confirmations int
finalinherited
dateTime DateTime
no setterinherited
decodedInput ContractFunctionWithValues?
finalinherited
evmTx EVMTransaction?
no setterinherited
fee Amount?
finalinherited
gas int?
finalinherited
gasPrice Amount?
finalinherited
gasUsed int?
finalinherited
hash String
finalinherited
hashCode int
The hash code for this object.
no setterinherited
input Uint8List
finalinherited
isConfirmed bool
no setterinherited
isFailed bool
no setterinherited
isPending bool
no setterinherited
recipient String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
finalinherited
status ConfirmationStatus
finalinherited
timeMilli int
finalinherited
token CoinEntity
finalinherited
totalValue BigInt
no setterinherited
transferMethod TransactionTransferMethod
finalinherited
uTF8Input String?
no setterinherited
value BigInt
no setterinherited

Methods

compareTo(GenericTransaction other) int
Compares this object to another object.
inherited
copyWith({ContractFunctionWithValues? decodedInput}) EVMTransaction
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Json json, CoinEntity token, String walletAddress) TronTransaction?