
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@ethersproject/abi
Advanced tools
Utilities and Classes for parsing, formatting and managing Ethereum ABIs.
This sub-module is part of the ethers project.
It is responsible for encoding and decoding the Application Binary Interface (ABI) used by most smart contracts to interoperate between other smart contracts and clients.
For more information, see the documentation.
Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.
const {
ConstructorFragment,
EventFragment,
Fragment,
FunctionFragment,
ParamType,
FormatTypes,
AbiCoder,
defaultAbiCoder,
Interface,
Indexed,
/////////////////////////
// Types
CoerceFunc,
JsonFragment,
JsonFragmentType,
Result,
checkResultErrors,
LogDescription,
TransactionDescription
} = require("@ethersproject/abi");
MIT License
The `web3-eth-abi` package is part of the Web3.js library, which is a collection of libraries that allow you to interact with a local or remote Ethereum node using HTTP, IPC, or WebSocket. The `web3-eth-abi` package provides similar functionalities for encoding and decoding data according to the Ethereum ABI specifications. Compared to @ethersproject/abi, Web3.js is a more comprehensive library but is generally considered to be heavier and less modular.
The `abi-decoder` package is a lightweight library specifically designed for decoding Ethereum transaction data and logs. It is simpler and more focused compared to @ethersproject/abi, making it a good choice if you only need to decode data and do not require the full range of functionalities provided by ethers.js.
FAQs
Utilities and Classes for parsing, formatting and managing Ethereum ABIs.
The npm package @ethersproject/abi receives a total of 1,513,437 weekly downloads. As such, @ethersproject/abi popularity was classified as popular.
We found that @ethersproject/abi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.