Class TransactionOutcomeUnknownException
A transaction may have been submitted, and whether it will be applied is not known.
Namespace: Xrpl.Client.Exceptions
Assembly: Xrpl.dll
Syntax
public class TransactionOutcomeUnknownException : XrplException
Remarks
Raised when submitting or waiting failed after the transaction could have reached the network: the submit request failed other than by an error answer from the node, a lookup failed while waiting, or LastLedgerSequence passed while the server lacked part of the ledgers to search. The cause is in System.Exception.InnerException when there is one.
The transaction may still be in a ledger. Submitting a different transaction for the same
purpose can apply both; resubmitting this same signed transaction cannot. To get a final
answer, call WaitForTransactionOutcome with Hash,
LastLedgerSequence and MinLedger, against a server that holds
those ledgers.
Constructors
| Edit this page View SourceTransactionOutcomeUnknownException(string, string, uint, uint, string, Exception)
Declaration
public TransactionOutcomeUnknownException(string message, string hash, uint lastLedgerSequence, uint minLedger, string preliminaryResult, Exception innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | What could not be told, and why. |
| string | hash | The transaction's hash. |
| uint | lastLedgerSequence | The transaction's |
| uint | minLedger | The first ledger the transaction could be in. |
| string | preliminaryResult | The provisional answer to the submission, if any. |
| Exception | innerException | The failure that left the outcome unknown, if one did. |
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 the transaction could be in: the one validated before it was submitted.
Declaration
public uint MinLedger { get; }
Property Value
| Type | Description |
|---|---|
| uint |
PreliminaryResult
The node's provisional answer to the submission, when one arrived.
Declaration
public string PreliminaryResult { get; }
Property Value
| Type | Description |
|---|---|
| string |