How to check if your wallet was sandwiched
Look at the transactions in the same block as your swap. A sandwich has a bot buy before yours and a sell after it. Or paste your address into a free scanner.
Manual check on a block explorer
Open your swap transaction on Etherscan (or Solscan for Solana). Note the block number and your position inside it. Open the block and look at the transactions directly before and after yours: if the same address bought the same token just before you and sold it just after, that is a sandwich.
What to compare
Three things must match: the same token pair, the same bot address (or the same sender) on both sides, and an order of buy, your swap, sell. If the bot only appears on one side, it is not a sandwich.
Why a quick look is not enough
Aggregators and routers can make several transactions look related when they are not. A correct check ties both legs to one sender and measures the actual gain, which takes many lookups per swap.
Use the free scanner
004 does these lookups for the latest swaps of any public wallet address and grades each case as confirmed, suspected or nothing found, linking the exact transactions. Nothing is signed and nothing is connected.
If nothing is found
Most wallets show no attack in their latest swaps. That is the normal result, and it is useful to know.
Questions
Do I need to connect my wallet?
No. A public address is enough.
How many swaps are checked?
The latest few swaps on each supported chain. The result states how many were checked.
Paste a public wallet address and see which of its latest swaps were sandwiched, with the transactions as proof. No key, no signature, no connection.
Check your wallet for freeAI agent: ASI:One ↗
More guides
- What is a sandwich attack in crypto?
- What is MEV (maximal extractable value)?
- Sandwich attacks on Solana: how they work
- How to reduce sandwich risk when swapping
004 is a data and analysis service. This page is general information, not financial advice.