Application Binary Interface (ABI)
Web3 / smart contracts
An Application Binary Interface (ABI) is the standardized specification that defines how external applications and users interact with smart contracts on Ethereum and compatible blockchains. It consists of a JSON object describing all functions, their input parameters, return types, and events that a smart contract exposes, essentially serving as the contract's "instruction manual" for external parties. When developers deploy smart contracts, they publish the ABI alongside the contract address, allowing anyone to construct proper function calls, interpret return values, and monitor contract events without needing access to the original source code. The ABI acts as a critical bridge between low-level bytecode and human-readable contract interactions, enabling wallets, applications, and other contracts to communicate correctly with deployed contracts. Example: The ERC-20 token standard includes a standardized ABI that defines functions like "transfer," "approve," and "balanceOf." Any wallet or decentralized exchange can interact with any ERC-20 token by using this common ABI, allowing seamless integration regardless of the specific token's implementation details. Why it matters for smart contracts: The ABI is fundamental to smart contract composability and the entire DeFi ecosystem. It enables standardization across projects, allows third-party tools to interact with contracts safely, facilitates auditing and verification, and makes complex on-chain interactions accessible to developers and non-technical users alike.
Explore the full Web3 Glossary — 2,000+ expert-curated definitions. Need guidance? Talk to our consultants.