Orca Crypto
Menu
Start Here
Learn
Chains
Exchanges
Markets
Tools
Safety
Glossary
More
Our tokens Book a session
Security term

Front running

Acting on knowledge of a pending transaction before it executes.

Loading live prices
All terms
All termsAddressBlockBlock timeBlockchainConfirmationGasGweiHashMempoolNodePrivate keyPublic keySeed phraseTransactionWalletAll time high (ATH)Bear marketBull marketBundlerCandlestickCapitulationChart patternsCliffDollar cost averaging (DCA)Funding rateLeverageLimit orderLiquidationLiquidityMarket capMarket orderOrder bookPerp (perpetual futures)Position sizingPresaleRisk managementSlippageSniperSpreadStealth launchStop lossSupport and resistanceTrendUnlockVestingVolatilityVolumeWhaleAMMBonding curveBridgeBurnCEXDAODeFiDepegDEXFarmingFlash loanGovernance tokenGraduationImpermanent lossLiquidity poolLP (liquidity provider)LP tokenOraclePerpetual (perp)PointsRestakingRWAStablecoinTVLWrapped tokenYield farmingAirdropAlphaAnonApe (to ape in)Ape inBagholderBagsChadCope / copiumCrypto Twitter (CT)DegenDevDiamond handsDiscordExit liquidityFloor priceFOMOFUDGMHODLJeetKOLLARPLoreMaxiMeme coinMoonNFTNGMINo coinerNormiePaper handsPFPRaidRektSerShillSnapshotTelegram (TG)TradFiWAGMIWenAddress poisoningCold storageCustodyDue diligence (DYOR)Dusting attackExit scamFront runningHardware walletHoneypotHot walletMEVMultisigPhishingPump and dumpRug pullSandwich attackSelf custodySIM swapToken approvalTwo factor authenticationWallet drainerWash tradingAccount abstractionAppchainBlock explorerCirculating and total supplyConsensusData availabilityEVMFaucetFinalityForkFully diluted valuation (FDV)Gas warHalvingLayer 1Layer 2Layer 3MainnetMiningName serviceOptimistic rollupProof of stakeProof of workRollupShardingSidechainSlashingSmart contractStakingTestnetToken standardTokenomicsValidatorZero knowledge proofZK rollupArweave and the permawebComposabilityCross chain messagingdAppDecentralized identity (DID)DePINGameFi and play to earnIndexerInteroperabilityIPFSOnchain and offchainSession keysSmart accountSocialFiSoulbound tokenSybil resistanceToken gatingWeb2 vs Web3Web3
By the Orca Crypto teamUpdated 2026-09-28How we check this3 min readDefinition
Definition

Acting on knowledge of a pending transaction before it executes.

Because pending transactions are public, bots can see a large order coming and position ahead of it. This is illegal in traditional markets and structurally unavoidable in a public mempool.

Mitigations exist: private relays, batch auctions, encrypted mempools and order flow auctions all reduce the exposure.

In practice

CoW Swap batches orders and settles them together specifically to remove this attack surface.

What people get wrong

That front running requires inside information. On a public blockchain the pending transaction queue is visible to everyone, so a bot can see your trade before it executes and act on it. The information is not stolen, it is published by design.

Common questions

Is front running illegal in crypto?
In traditional markets it is a crime because a broker owes you a duty. On a public blockchain there is no such relationship, so it is a design problem rather than a legal one.
How is it different from a sandwich attack?
Front running is getting in ahead of you. A sandwich adds a trade after yours as well, so the bot captures the move in both directions.

Where this comes up on the site

The guides that actually use this word, rather than a list of everything we have written.

Where to go next

More security terms

Back to the full encyclopedia

Want this explained out loud?

Some of these land faster in conversation than in writing. Sessions are one to one and you can ask anything, including the things that feel too obvious to ask.

Share this page

Was this page useful?