Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

TxFailed

Raised when broadcastTxSync returns an err result.

Definition

class TxFailed(Error):
    """Raised when broadcastTxSync returns an `err` result."""

Notes

  • Defined for callers and downstream tooling to raise. The SDK does NOT automatically raise it — Exchange._send_action returns the BroadcastTxOutcome envelope unchanged.
  • Inspect the returned dict's check_tx.code, result.err, and similar fields to detect chain-level rejection; raise TxFailed(...) yourself if your application prefers exception flow.

See also