SendTransactionResponse class

Response when submitting a real transaction to the stellar network. See: https://soroban.stellar.org/api/methods/sendTransaction

Inheritance

Constructors

SendTransactionResponse(Map<String, dynamic> jsonResponse)
SendTransactionResponse.fromJson(Map<String, dynamic> json)
factory

Properties

diagnosticEvents List<XdrDiagnosticEvent>?
If the transaction status is "ERROR", this list of diagnostic events may be present containing details on why stellar-core rejected the transaction.
getter/setter pair
error SorobanRpcErrorResponse?
getter/setter pairinherited
errorResultXdr String?
(optional) If the transaction status is ERROR, this will be a base64 encoded string of the raw TransactionResult XDR struct containing details on why stellar-core rejected the transaction.
getter/setter pair
hash String?
The transaction hash (in an hex-encoded string).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isErrorResponse bool
no setterinherited
jsonResponse Map<String, dynamic>
getter/setter pairinherited
latestLedger int?
The latest ledger known to Soroban-RPC at the time it handled the sendTransaction() request.
getter/setter pair
latestLedgerCloseTime String?
The unix timestamp of the close time of the latest ledger known to Soroban-RPC at the time it handled the sendTransaction() request.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
The current status of the transaction by hash, one of: ERROR, PENDING, DUPLICATE, TRY_AGAIN_LATER ERROR represents the status value returned by stellar-core when an error occurred from submitting a transaction PENDING represents the status value returned by stellar-core when a transaction has been accepted for processing DUPLICATE represents the status value returned by stellar-core when a submitted transaction is a duplicate TRY_AGAIN_LATER represents the status value returned by stellar-core when a submitted transaction was not included in the previous 4 ledgers and get banned for being added in the next few ledgers.
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

Constants

STATUS_DUPLICATE → const String
represents the status value returned by stellar-core when a submitted transaction is a duplicate
STATUS_ERROR → const String
represents the status value returned by stellar-core when an error occurred from submitting a transaction
STATUS_PENDING → const String
represents the status value returned by stellar-core when a transaction has been accepted for processing
STATUS_TRY_AGAIN_LATER → const String
represents the status value returned by stellar-core when a submitted transaction was not included in the