TransferIntent<T extends FeeInformation> class

Constructors

TransferIntent({required String recipient, required Amount amount, required CoinEntity token, required String? memo, List<AccessListItem>? accessList, T? feeInfo})
const

Properties

accessList List<AccessListItem>?
Is only respected for EVM Transactions
final
amount Amount
final
encodedMemo Uint8List?
no setter
fee Amount?
no setter
feeInfo → T?
If null, the fee will be calculated by the network
final
hashCode int
The hash code for this object.
no setterinherited
memo String?
For EVM represents UTF8 Data in the input field For Tron and UTXO not implemented
final
recipient String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token CoinEntity
final
total Amount
no setter

Methods

convert<A extends FeeInformation>(A FeeInfo) TransferIntent<A>
copyWith({String? memo, Amount? amount, T? feeInfo}) TransferIntent<T>
copyWithFee<T extends FeeInformation>(T feeInfo, {Amount? balance}) TransferIntent<T>
Copy the transfer intent with a new fee If balance is provided, the target amount will be recalculated
getErc20TransferSig() Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Json
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map json) TransferIntent<FeeInformation>