Buy Event Ticket Consensus MIami 2026 - 20% Paris Blockchain Week - 15% OFF

What is Flash Loan

A flash loan is an uncollateralised DeFi loan that must be borrowed and repaid within the same blockchain transaction. If the borrower fails to repay the full loan amount plus fee before the transaction completes, the entire transaction is atomically reverted — as if it never happened. This atomic guarantee enables zero-collateral lending: the lender has no default risk because repayment is guaranteed by the blockchain itself. THE MECHANICS OF ATOMICITY Ethereum transactions are atomic: either all steps execute successfully, or none do (complete revert). A flash loan exploits this property: Step 1: Request flash loan of 10M USDC from Aave. Step 2: Use 10M USDC to execute profitable operations (arbitrage, liquidation). Step 3: Repay 10M USDC + 0.09% fee to Aave. If Step 3 fails or funds are insufficient: the entire transaction reverts. Aave never loses its principal — it's returned or the loan never happened. LEGITIMATE FLASH LOAN USE CASES Arbitrage: Borrow large capital to execute arbitrage between DEXs profitably at scale — without needing the capital personally. Self-liquidation: Repay your own DeFi loan before liquidation penalty, using flash loan to source the repayment capital without selling collateral. Collateral swaps: Replace your Aave collateral from ETH to WBTC in one transaction using a flash loan bridge. Position refinancing: Move a leveraged position from one protocol to another in a single atomic step. FAMOUS FLASH LOAN EXPLOITS Flash loans are the weapon of choice for many DeFi attacks because they give attackers unlimited temporary capital: bZx (2020): First major flash loan attack. $350K profit from price oracle manipulation using borrowed capital. Cream Finance (2021): $130M stolen via recursive borrowing using flash loans. Euler Finance (2023): $197M attack using flash loan-enabled donate/liquidate mechanism. Most flash loan "exploits" are actually smart contract vulnerabilities — the flash loan is merely the tool providing capital to exploit the flaw. FLASH LOAN PROVIDERS Aave: The largest flash loan provider. 0.09% fee. Supports ETH, WBTC, USDC, DAI, and dozens of assets. dYdX: Zero-fee flash loans. Uniswap V3: Flash swaps — a related mechanism where tokens can be borrowed temporarily within a swap.

Terms in addition to the Flash Loan

Scroll to Top