1.0 KiB
1.0 KiB
Ethereum ABI Coder
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.
Importing
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");
License
MIT License