RosettaTransaction class
Contains information about a transaction.
- Inheritance
-
- Object
- Transaction
- RosettaTransaction
Constructors
- RosettaTransaction(Transaction rosettaTransaction, int blockIndex)
- Create a Transaction. @param {Any} rosettaTransaction The Rosetta Transaction object of the transaction. @param {Number} blockIndex The index of the block containing the transaction. milliseconds since the Unix Epoch.
Properties
- account1Address ↔ String?
-
latefinal
- account2Address ↔ String?
-
latefinal
- amount ↔ BigInt
-
latefinal
- blockIndex → int
-
final
- fee ↔ BigInt
-
latefinal
- hash ↔ String
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- memo ↔ BigInt?
-
latefinal
-
metadata
→ Map<
String, dynamic> ? -
Transactions that are related to other transactions
(like a cross-shard transaction) should include the
TransactionIdentifier of these transactions in the metadata.
finalinherited
-
operations
→ List<
Operation> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
latefinal
- timestamp ↔ DateTime?
-
latefinal
- transactionIdentifier → TransactionIdentifier
-
finalinherited
- type ↔ String?
-
latefinal
Methods
-
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