Failed

data class Failed(val txHash: String?, val reason: String, val customErrorCode: Int? = null) : TransactionSubmitter.SubmissionResult

Transaction failed (rejected or error).

Constructors

Link copied to clipboard
constructor(txHash: String?, reason: String, customErrorCode: Int? = null)

Properties

Link copied to clipboard
val customErrorCode: Int? = null

The node's ledger error code when the node rejected the tx (e.g. 170 = stale dust spend root), else null. Lets callers apply a targeted recovery (re-sync + retry) without parsing reason. See #287.

Link copied to clipboard

Human-readable failure reason

Link copied to clipboard

Transaction hash (null if never submitted)