TransactionResultCodeXdr

XDR Source: enum TransactionResultCode { txFEE_BUMP_INNER_SUCCESS = 1, // fee bump inner transaction succeeded txSUCCESS = 0, // all operations succeeded

txFAILED = -1, // one of the operations failed (none were applied)

txTOO_EARLY = -2,         // ledger closeTime before minTime
txTOO_LATE = -3,          // ledger closeTime after maxTime
txMISSING_OPERATION = -4, // no operation was specified
txBAD_SEQ = -5,           // sequence number does not match source account

txBAD_AUTH = -6,             // too few valid signatures / wrong network
txINSUFFICIENT_BALANCE = -7, // fee would bring account below reserve
txNO_ACCOUNT = -8,           // source account not found
txINSUFFICIENT_FEE = -9,     // fee is too small
txBAD_AUTH_EXTRA = -10,      // unused signatures attached to transaction
txINTERNAL_ERROR = -11,      // an unknown error occurred

txNOT_SUPPORTED = -12,          // transaction type not supported
txFEE_BUMP_INNER_FAILED = -13,  // fee bump inner transaction failed
txBAD_SPONSORSHIP = -14,        // sponsorship not confirmed
txBAD_MIN_SEQ_AGE_OR_GAP = -15, // minSeqAge or minSeqLedgerGap conditions not met
txMALFORMED = -16,              // precondition is invalid
txSOROBAN_INVALID = -17         // soroban-specific preconditions were not met

};

Entries

Link copied to clipboard

fee bump inner transaction succeeded

Link copied to clipboard

all operations succeeded

Link copied to clipboard

one of the operations failed (none were applied)

Link copied to clipboard

ledger closeTime before minTime

Link copied to clipboard

ledger closeTime after maxTime

Link copied to clipboard

no operation was specified

Link copied to clipboard

sequence number does not match source account

Link copied to clipboard

too few valid signatures / wrong network

Link copied to clipboard

fee would bring account below reserve

Link copied to clipboard

source account not found

Link copied to clipboard

fee is too small

Link copied to clipboard

unused signatures attached to transaction

Link copied to clipboard

an unknown error occurred

Link copied to clipboard

transaction type not supported

Link copied to clipboard

fee bump inner transaction failed

Link copied to clipboard

sponsorship not confirmed

Link copied to clipboard

minSeqAge or minSeqLedgerGap conditions not met

Link copied to clipboard

precondition is invalid

Link copied to clipboard

soroban-specific preconditions were not met

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.