Wraps a TxSubmitProvider to enchance it's submitTx with the following functionality:

  • Immediately rejects if network tip is already >= ValidityInterval.invalidHereafter
  • Awaits for the following conditions before submitting:
    • Network tip is ahead of tx body ValidityInterval.invalidBefore.
    • Connection status is 'up'.
  • Re-submits transactions that failed to submit due to connection or recoverable provider issue.

Hierarchy

  • SmartTxSubmitProvider

Implements

Constructors

Properties

#connectionStatus$: ConnectionStatusTracker
#retryBackoffConfig: RetryBackoffConfig
#tip$: Observable<TipSlot>
#txSubmitProvider: TxSubmitProvider

Methods

Generated using TypeDoc