UserTransactionResponse class

The response structure for a user transaction.

Inheritance

Constructors

UserTransactionResponse({required String version, required String hash, required String stateChangeHash, required String eventRootHash, String? stateCheckpointHash, required String gasUsed, required bool success, required String vmStatus, required String accumulatorRootHash, required List<WriteSetChange> changes, required String sender, required String sequenceNumber, String? replayProtectionNonce, required String maxGasAmount, required String gasUnitPrice, required String expirationTimestampSecs, required TransactionPayloadResponse payload, TransactionSignature? signature, required List<Event> events, required String timestamp})
const
UserTransactionResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accumulatorRootHash → String
finalinherited
changes → List<WriteSetChange>
Final state of resources changed by the transaction.
finalinherited
eventRootHash → String
finalinherited
events → List<Event>
Events generated by the transaction.
final
expirationTimestampSecs → String
final
gasUnitPrice → String
final
gasUsed → String
finalinherited
hash → String
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
maxGasAmount → String
final
payload → TransactionPayloadResponse
final
replayProtectionNonce → String?
The replay protection nonce for orderless transactions. Only present when the transaction uses a nonce instead of a sequence number.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → String
final
sequenceNumber → String
final
signature → TransactionSignature?
final
stateChangeHash → String
finalinherited
stateCheckpointHash → String?
finalinherited
success → bool
Whether the transaction was successful.
finalinherited
timestamp → String
final
type → TransactionResponseType
no setteroverride
version → String
finalinherited
vmStatus → String
The VM status of the transaction, can tell useful information in a failure.
finalinherited

Methods

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

Operators

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