Skip to main content

Module tx_lifecycle

Module tx_lifecycle 

Source
Expand description

Transaction lifecycle management wired into RpcTransport.

This module provides async helper functions that compose the TxTracker / ReceiptPoller primitives from crate::tx with a live RpcTransport to drive the full send-track-confirm lifecycle.

Functionsยง

detect_stuck
Detect and return stuck transactions.
poll_receipt
Poll for a transaction receipt with exponential backoff.
refresh_status
Check the status of a tracked transaction against the chain.
send_and_track
Send a raw transaction and automatically track it.