loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / ethereum / abi-to-solidity-interfacelocal

ABI to Solidity Interface Generator

Paste a contract ABI and get a Solidity interface with functions, events, errors and structs.

abi-to-solidity-interfaceready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

ethereum tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

To call a contract from your own Solidity code you need its interface. This builds one from the ABI: external functions with view, pure or payable, events with indexed fields, custom errors and any structs.

02 // how to use it

  1. Paste the ABI array, or a compiler JSON file with an abi field.
  2. Name the interface.
  3. Press Run and copy the code.

03 // faq

Where do I get an ABI?

From the contract's verified page on an explorer, or your compiler output.

Why are some parameter names made up?

ABIs can leave names out; the tool fills placeholders so the code compiles.

04 // related tools

all 43 ethereum tools →