SendTransactionResponse class Null safety

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

error SorobanRpcErrorResponse?
read / write, inherited
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.
read / write
hash String?
The transaction hash (in an hex-encoded string).
read / write
hashCode int
The hash code for this object.
read-only, inherited
isErrorResponse bool
read-only, inherited
jsonResponse Map<String, dynamic>
read / write, inherited
latestLedger String?
The latest ledger known to Soroban-RPC at the time it handled the sendTransaction() request.
read / write
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.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
"DUPLICATE"
STATUS_ERROR → const String
represents the status value returned by stellar-core when an error occurred from submitting a transaction
"ERROR"
STATUS_PENDING → const String
represents the status value returned by stellar-core when a transaction has been accepted for processing
"PENDING"
STATUS_TRY_AGAIN_LATER → const String
represents the status value returned by stellar-core when a submitted transaction was not included in the
"TRY_AGAIN_LATER"