A first swap on a new private RPC calls for a small test before the full amount when the planned trade is large relative to gas. For more on the Ethereum MEV research and infrastructure behind this private path, see Flashbots. With Protect already added to your wallet, send a small swap, track its hash until inclusion, then re-quote and send the full amount. The workflow is complete when the full swap is included and its output is within your slippage limit.
When Is a Small Test Worth the Extra Gas?
A small test is worth the extra gas when confirming the private submission path matters more than the fee and time it adds. A transaction sent through Protect stays out of the public mempool while pending. That changes a familiar habit: an empty public pending view is not evidence that your wallet failed to submit it. The test gives you a low-stakes transaction whose hash you can follow from submission to an on-chain receipt.
Consider two trades using the same wallet, token pair, route and prevailing gas conditions. One trader plans a swap worth only a few times the extra swap fee; the other plans a trade many times larger. Both learn the same thing from a test, but the first gives up a meaningful share of the trade to learn it. The second pays a relatively small fee to discover any tracking or nonce problem before committing size. For the small trade, skip the test and track the full swap by hash from the start.
The test also takes time. While you wait for inclusion, the pool price can move and the original full-size quote can expire. That delay buys a verified submission and tracking workflow, but costs another gas fee and a fresh quote. For a large first trade, knowing how to locate a private pending transaction is usually the more valuable side of that exchange. A successful small swap establishes the path; it does not establish the full trade’s eventual execution price.
Why Must the Test Confirm Before the Full Swap?
The test must confirm before you sign the full swap because it uses the account’s next nonce. A nonce is the sequence number attached to a transaction from your Ethereum account. The Ethereum.org transaction reference describes this sequential counter and the transaction fields that carry it. Transactions from one account execute in nonce order.
Say the test swap uses nonce 42. Once it lands, the full swap can use nonce 43. If you sign nonce 43 while the test is still pending, the full swap waits behind 42 even if its own fees and quote look attractive. Its quote may be stale by the time it becomes executable. If the test never lands, nonce 42 remains unused on-chain; resolve that pending attempt before deciding which nonce the next swap should use. Reading only the latest confirmed nonce while a private transaction is pending can miss that private attempt.
An approval adds another transaction to the sequence. If the token needs approval, let that approval confirm before the test swap. Set an allowance that covers the planned full amount if you want the full trade to need only a swap transaction. The approval remains on-chain after the small swap; an approval limited to the test amount will require another approval for the remainder. Account for its gas fee as well as the two swap fees.
How Do You Run the Test and Full Swap?
Run the swaps on Ethereum mainnet with Protect selected in your wallet, enough ETH for the required fees, and the token and full amount chosen. The custom RPC is rpc.flashbots.net. Keep the transaction hashes: they are your handles for following private submissions before an explorer shows an included transaction.
- Sign the small swap. Use the same token pair and the slippage limit you intend to use for the full amount. Choose an amount large enough to produce a meaningful received amount while keeping the test loss small relative to your planned trade. Save the hash your wallet returns. An EIP-1559 transaction sets a maximum fee and a priority fee; Protect requires a nonzero priority fee.
- Follow the test by hash. Open protect.flashbots.net/tx/ followed by that hash and watch its status until it is included. The ordinary public pending view may have no entry because the swap was submitted privately. Keep the wallet on the Protect RPC while it is pending; switching RPCs in MetaMask can cause the wallet to rebroadcast a pending transaction publicly.
- Verify the test on-chain. Once Protect reports inclusion, find the hash on Etherscan and inspect the receipt and token transfer. Compare the amount received with the test quote and its minimum output. This confirms that the route executed and shows what the selected slippage allowed on that small swap.
- Re-quote and sign the full swap. Use a current quote for the full amount, check its minimum output and confirm that the approval covers it. Sign only after the test has landed, using the next nonce. The full amount can have different price impact from the test, so judge this new quote on its own terms.
- Verify the full result. Track the new hash through Protect, then inspect its included receipt and received tokens on Etherscan. The check is complete when the full swap is included and its output meets the minimum implied by the slippage you signed.
Related Questions
These questions cover the status and recovery decisions that can interrupt a first private swap.
How to check if a Flashbots Protect transaction went through?
Look up its hash on the Protect status page first. An included status means you can inspect the on-chain receipt on Etherscan; a pending status means the private submission is still in progress. Keep the hash rather than relying on the wallet’s activity list alone.
How to replace a stuck private transaction?
First establish whether the original hash is still pending or has been included. A replacement uses the same account and nonce with a fresh quote and appropriate current fees; only one transaction at that nonce can execute. If you no longer want the swap, Protect also supports a cancellation submitted from the same account at that nonce. Confirm the outcome before signing a later-nonce trade.
Does Flashbots Protect work on layer 2 networks?
The Protect RPC in this workflow is for Ethereum mainnet. Use the network’s own transaction path and status tools for a layer 2 swap; do not treat a mainnet test as a test of that network’s submission route.
For a first large swap, the extra fee buys a confirmed way to submit, find and sequence a private transaction. Let the test consume its nonce and land, then use a fresh full-size quote so the trade you sign reflects the market you actually face.