SubmitAsyncTransactionResponse class

Response of async transaction submission to Horizon. See Stellar developer docs

Constructors

SubmitAsyncTransactionResponse({required String txStatus, required String hash, required int httpStatusCode})
Creates a SubmitAsyncTransactionResponse from Horizon API data.
SubmitAsyncTransactionResponse.fromJson(Map<String, dynamic> json, int httpResponseStatusCode)
Constructs a SubmitAsyncTransactionResponse from JSON returned by Horizon API.
factory

Properties

hash ↔ String
Hash of the transaction.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
httpStatusCode ↔ int
The HTTP status code of the response obtained from Horizon.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
txStatus ↔ String
Status of the transaction submission. Possible values: ERROR, PENDING, DUPLICATE, TRY_AGAIN_LATER
getter/setter pair

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