Class TransactionExpiredException
A submitted transaction will never be applied: its LastLedgerSequence has passed and
it is in none of the ledgers it could have reached.
Namespace: Xrpl.Client.Exceptions
Assembly: Xrpl.dll
Syntax
public class TransactionExpiredException : XrplException
Remarks
Reported only when the server held every ledger from MinLedger to LastLedgerSequence, validated, and found the transaction in none of them. The same transaction can no longer be applied, so a new one can be submitted in its place.
SearchedAll tells how that was established. true: the lookup itself
answered searched_all. false: rippled gives searched_all only for ranges
where every ledger holds a transaction, which a quiet network does not have, so each ledger
of the range was read validated and none of them lists the transaction. Either is
conclusive.
Not a ValidationException: that one says the transaction was refused before it was sent. This one says it was sent and expired.
Constructors
| Edit this page View SourceTransactionExpiredException(string, string, uint, uint, string, bool)
Declaration
public TransactionExpiredException(string message, string hash, uint lastLedgerSequence, uint minLedger, string preliminaryResult, bool searchedAll)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | What expired, and the range searched. |
| string | hash | The transaction's hash. |
| uint | lastLedgerSequence | The transaction's |
| uint | minLedger | The first ledger searched. |
| string | preliminaryResult | The provisional answer to the submission, if any. |
| bool | searchedAll | Whether the lookup's own |
Properties
| Edit this page View SourceHash
The transaction's hash.
Declaration
public string Hash { get; }
Property Value
| Type | Description |
|---|---|
| string |
LastLedgerSequence
The transaction's LastLedgerSequence.
Declaration
public uint LastLedgerSequence { get; }
Property Value
| Type | Description |
|---|---|
| uint |
MinLedger
The first ledger searched: the one validated before the transaction was submitted.
Declaration
public uint MinLedger { get; }
Property Value
| Type | Description |
|---|---|
| uint |
PreliminaryResult
The node's provisional answer to the submission, such as tefPAST_SEQ or
terPRE_SEQ; null when the transaction was only being tracked.
Declaration
public string PreliminaryResult { get; }
Property Value
| Type | Description |
|---|---|
| string |
SearchedAll
Whether the expiry was proven by the lookup's own searched_all, rather than by
reading each ledger of the range.
Declaration
public bool SearchedAll { get; }
Property Value
| Type | Description |
|---|---|
| bool |