IERC3156

Flash loan standard interface

ERC-3156flash-loansDeFilendingarbitrage

What is IERC3156?

IERC3156 defines the standard interface for flash loans on Ethereum. It specifies how lenders provide uncollateralized loans that must be repaid within the same transaction, enabling arbitrage, liquidations, and collateral swaps without upfront capital.

Supported chains
EthereumPolygonArbitrumOptimismBaseBNB ChainAvalanche

Key Features

flashLoan() for single-transaction borrowing
flashFee() for fee calculation
maxFlashLoan() for availability checking
Borrower callback for custom logic

OpenZeppelin Solidity Interfaces

Reference guide to the most important Solidity interfaces from OpenZeppelin Contracts. ERC-20, ERC-721, ERC-1155, vaults, royalties, and more.

View all 14 tools

Build smart contracts visually

Design, test, and deploy Solidity contracts with a visual drag-and-drop editor. No coding experience required.

Start building for free