Transaction class abstract
Enum of the different types of transactions in Aptos
Properties:
type
hash
sender
- A hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x. For example, address 0x0000000000000000000000000000000000000000000000000000000000000001 is represented as 0x1.sequenceNumber
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.maxGasAmount
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.gasUnitPrice
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.expirationTimestampSecs
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.payload
signature
version
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.stateChangeHash
eventRootHash
stateCheckpointHash
gasUsed
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.success
- Whether the transaction was successfulvmStatus
- The VM status of the transaction, can tell useful information in a failureaccumulatorRootHash
changes
- Final state of resources changed by the transactionevents
- The events emitted at the block creationtimestamp
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.id
epoch
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.round
- A string containing a 64-bit unsigned integer. We represent u64 values as a string to ensure compatibility with languages such as JavaScript that do not parse u64s in JSON natively.previousBlockVotesBitvec
- Previous block votesproposer
- A hex encoded 32 byte Aptos account address. This is represented in a string as a 64 character hex string, sometimes shortened by stripping leading 0s, and adding a 0x. For example, address 0x0000000000000000000000000000000000000000000000000000000000000001 is represented as 0x1.failedProposerIndices
- The indices of the proposers who failed to propose
- Available Extensions
- Annotations
-
- @BuiltValue()
Constructors
- Transaction([void updates(TransactionBuilder b)])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- oneOf → OneOf
-
One Of TransactionBlockMetadataTransaction, TransactionGenesisTransaction, TransactionPendingTransaction, TransactionStateCheckpointTransaction, TransactionUserTransaction
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(TransactionBuilder)) → Transaction -
Rebuilds the instance.
inherited
-
toBuilder(
) → TransactionBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Transaction> -
no setter
Constants
- discriminatorFieldName → const String
-
discriminatorMapping
→ const Map<
String, Type>