EtherscanTransaction class base
- Inheritance
-
- Object
- GenericTransaction
- EVMTransaction
- EtherscanTransaction
Constructors
- EtherscanTransaction({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 Uint8List input, required Amount? gasPrice, ContractFunctionWithValues? decodedInput, required int? gas, required int? gasUsed})
-
const
- EtherscanTransaction.fromJson(Json json, {required CoinEntity token, required String address})
-
factory
- EtherscanTransaction.fromJsonErc20(Json json, {required EvmCoinEntity currency, required String address})
-
factory
- EtherscanTransaction.fromJsonErc721(Json json, {required EvmCoinEntity currency, required String address})
-
factory
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> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited