BlockMetadataTransaction class abstract

A block metadata transaction This signifies the beginning of a block, and contains information about the specific block

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
  • 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.
  • events - The events emitted at the block creation
  • previousBlockVotesBitvec - Previous block votes
  • proposer - 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
  • 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

BlockMetadataTransaction()

Properties

accumulatorRootHash String
no setter
changes → BuiltList<WriteSetChange>
Final state of resources changed by the transaction
no setter
epoch 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
eventRootHash String
no setter
events → BuiltList<Event>
The events emitted at the block creation
no setter
failedProposerIndices → BuiltList<int>
The indices of the proposers who failed to propose
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
id String
no setter
previousBlockVotesBitvec → BuiltList<int>
Previous block votes
no setter
proposer 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
round 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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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<BlockMetadataTransaction>
no setter