SubmitTransactionResponse class

Represents the horizon server response after submitting transaction.

Inheritance

Constructors

SubmitTransactionResponse(SubmitTransactionResponseExtras extras, int ledger, String hash, String strEnvelopeXdr, String strResultXdr)
SubmitTransactionResponse.fromJson(Map<String, dynamic> json)
factory

Properties

envelopeXdr String
read-only
extras SubmitTransactionResponseExtras
read / write
hash String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
ledger int
read / write
rateLimitLimit int
read / write, inherited
rateLimitRemaining int
read / write, inherited
rateLimitReset int
read / write, inherited
resultXdr String
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strEnvelopeXdr String
read / write
strResultXdr String
read / write
success bool
read-only

Methods

getOfferIdFromResult(int position) int
Helper method that returns Offer ID for ManageOffer from TransactionResult Xdr. This is helpful when you need the ID of an offer to update it later.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setHeaders(Map<String, String> headers) → void
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited