GetTransactionStatusResponse class Null safety

Response when polling the rpc server to find out if a transaction has been completed.

Inheritance

Constructors

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

Properties

envelopeXdr String?
(optional) A base64 encoded string of the raw TransactionEnvelope XDR struct for this transaction.
read / write
error SorobanRpcErrorResponse?
read / write, inherited
hashCode int
The hash code for this object.
read-only, inherited
id String?
Hash (id) of the transaction as a hex-encoded string
read / write
jsonResponse Map<String, dynamic>
read / write, inherited
resultError TransactionStatusError?
(optional) Will be present on failed transactions.
read / write
resultMetaXdr String?
(optional) A base64 encoded string of the raw TransactionMeta XDR struct for this transaction.
read / write
results List<TransactionStatusResult>?
(optional) Will be present on completed successful transactions.
read / write
resultXdr String?
(optional) A base64 encoded string of the raw TransactionResult XDR struct for this transaction.
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: pending, success, error
read / write

Methods

getContractId() String?
Extracts the contract is from the response if the transaction created a contract
getResultValue() XdrSCVal?
Extracts the result value from the first entry on success
getWasmId() String?
Extracts the wasm id from the response if the transaction installed a contract
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