Skip to main content

What Is “Flash Loan” Functionality and How Is It Secured by Smart Contracts?

A flash loan is an uncollateralized loan that must be borrowed and repaid within the same atomic blockchain transaction. Smart contracts secure this functionality by ensuring that if the full repayment, plus fees, is not executed by the end of the transaction, the entire transaction is automatically reversed.

This programmed reversal eliminates the lender's risk of loss, enabling the uncollateralized nature of the loan. They are often used for arbitrage and refinancing.

How Does an Attacker Profit from a Double-Spend against a Futures Contract Collateral Deposit?
What Is a Smart Contract and How Does It Relate to Dapps?
What Is ‘Double-Spending’ and Why Is It the Primary Concern of a 51% Attack?
What Is the Core Security Mechanism That Makes Flash Loans Possible?