forge_script::receipts

Function check_tx_status

Source
pub async fn check_tx_status(
    provider: &RetryProvider,
    hash: TxHash,
    timeout: u64,
) -> (TxHash, Result<TxStatus, Report>)
Expand description

Checks the status of a txhash by first polling for a receipt, then for mempool inclusion. Returns the tx hash, and a status