What can we help you with?

  1. Homepage
  2. General Knowledge
  3. The Ethereum Blockchain
  4. What is contract ABI?

What Is Contract ABI?

Last updated: November 12th, 2021

An Application Binary Interface (ABI) allows the MyCrypto interface to get very basic information about the functions and function types that are available in a smart contract. It is able to show functions in a way that is minimal and comprehensible. Without ABI, we wouldn't be able to know if you want to withdrawDeFiToken(amountOfDeFiToken), or setOwner (address), or both, or neither.

Contract ABI infographic

Where Do I Get the ABI for a Contract?

MyCrypto should automatically pull the ABI for you, or you can find it on the Contract Page on Etherscan. For example, here is the contract of OpenSea and the ABI:

OpenSea ABI

Didn't find what you were looking for? Contact Us

MyCrypto is an open-source tool that allows you to manage your Ethereum accounts privately and securely. Developed by and for the community since 2015, we’re focused on building awesome products that put the power in people’s hands.

© 2022 MyCrypto, Inc.

Donate

Subscribe to MyCrypto

Get updates from MyCrypto straight to your inbox!

By submitting your email, you affirmatively agree to our Privacy Policy