Show / Hide Table of Contents

Class TransactionOutcomeUnknownException

A transaction may have been submitted, and whether it will be applied is not known.

Inheritance
object
Exception
XrplException
TransactionOutcomeUnknownException
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 Source

TransactionOutcomeUnknownException(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 LastLedgerSequence.

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 Source

Hash

The transaction's hash.

Declaration
public string Hash { get; }
Property Value
Type Description
string
| Edit this page View Source

LastLedgerSequence

The transaction's LastLedgerSequence.

Declaration
public uint LastLedgerSequence { get; }
Property Value
Type Description
uint
| Edit this page View Source

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
| Edit this page View Source

PreliminaryResult

The node's provisional answer to the submission, when one arrived.

Declaration
public string PreliminaryResult { get; }
Property Value
Type Description
string

Extension Methods

XrplErrorClassifier.Classify(Exception)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX