A protocol-specific transaction pattern in which a contract receives assets and must return the required amount plus any premium within the same successful transaction, or the transaction reverts. It is an atomic-programming mechanism, not unqualified credit or risk-free arbitrage.
Supports: Aave's official Pool contract exposes flash-loan entry points and routes calls through its flash-loan logic with protocol-defined parameters.
Supports: The official Aave V3 repository documents the maintained protocol codebase, security work, and versioned changes relevant to exact deployments.
Supports: Solidity documents that reverting restores transaction state changes, the atomicity property used by same-transaction program flows.
Flash-loan behavior, assets, premiums, and callbacks are defined by the exact protocol and deployment.
A reverted transaction removes its intended state changes, but does not erase transaction fees or all adjacent risks.
Atomic repayment does not make borrower code, price inputs, integrations, or a strategy safe.
Liquidity, gas, slippage, MEV, token behavior, and transaction ordering can make an intended operation fail or lose money.
Illustrative only: a contract requests a flash loan from a named pool, performs a bounded collateral operation, and returns the required amount plus the pool's current premium before completion. The developer verifies the deployed pool, asset availability, callback and approval behavior, fee, gas ceiling, price source, downstream contract state, and revert path. If repayment cannot be completed, the transaction reverts; if it completes, the surrounding product logic still needs to have been safe and economically sound.
Value that block-production participants or other transaction-ordering actors can obtain beyond standard rewards and fees by including, excluding, or ordering transactions. Its effects depend on the chain, market design, and exact strategy; it is not a single user fee or a guaranteed bot profit.
Automated observation and attempted execution of offsetting trades across venues or instruments when their executable prices differ. A displayed spread is not a guaranteed profit.
The simultaneous purchase and sale of an asset in different markets to exploit price inefficiencies for profit.
An exchange design that uses blockchain transactions, smart contracts, or an onchain order book to match or execute trades. Custody, operator roles, access controls, fees, execution, and protections vary by protocol and jurisdiction.
The difference between an AMM liquidity position's value and the value of holding its deposited assets outside the pool at the same prices. It depends on the pool curve, price path, fees, range, token behavior, and withdrawal time; it is not a guaranteed temporary loss or yield forecast.
Explore all our strategic guides about Blockchain to take your operations to the next level.
View all articles