UserTransaction class abstract

A transaction submitted by a user to change the state of the blockchain

Properties:

  • 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.
  • hash
  • 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 successful
  • vmStatus - The VM status of the transaction, can tell useful information in a failure
  • accumulatorRootHash
  • changes - Final state of resources changed by the transaction
  • 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
  • events - Events generated by the transaction
  • timestamp - 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.
Implementers
Annotations
  • @BuiltValue(instantiable: false)

Constructors

UserTransaction()

Properties

accumulatorRootHash String
no setter
changes → BuiltList<WriteSetChange>
Final state of resources changed by the transaction
no setter
eventRootHash String
no setter
events → BuiltList<Event>
Events generated by the transaction
no setter
expirationTimestampSecs String
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.
no setter
gasUnitPrice String
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.
no setter
gasUsed String
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.
no setter
hash String
no setter
hashCode int
The hash code for this object.
no setterinherited
maxGasAmount String
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.
no setter
payload TransactionPayload
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
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.
no setter
sequenceNumber String
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.
no setter
signature TransactionSignature?
no setter
stateChangeHash String
no setter
stateCheckpointHash String?
no setter
success bool
Whether the transaction was successful
no setter
timestamp String
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.
no setter
version String
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.
no setter
vmStatus String
The VM status of the transaction, can tell useful information in a failure
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<UserTransaction>
no setter