alloy-rs / alloy

Transports, Middleware, and Networks for the Alloy project
https://alloy.rs
Apache License 2.0
667 stars 241 forks source link

[Feature] Check if a bundle is confirm or not #1580

Closed chen4903 closed 1 week ago

chen4903 commented 1 month ago

Component

transports

Describe the feature you would like

I use flashbot to send a bundle to blockchain and get a bundle hash, but I don't know if this bundle confirm or not. It would be great if Alloy could provide a functionality to check the transaction.

Here is a repo that could be referred: https://github.com/onbjerg/ethers-flashbots/blob/master/src/pending_bundle.rs

Additional context

No response

zerosnacks commented 1 week ago

Hi @chen4903 thanks for your suggestion, the correct place to implement this would indeed be https://github.com/leruaa/alloy-mev/issues/11

Assuming this doesn't require implementation changes on Alloy's side, marking as duplicate.

cc @leruaa