JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 27
  • Score
    100M100P100Q75798F
  • License MIT

⏬🚀 Fetch the most up-to-date ABI of a verified Smart Contract from Etherscan in seconds!

Package Exports

  • etherscan-abi
  • etherscan-abi/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (etherscan-abi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

etherscan-abi

npm package Build Status Downloads Issues Commitizen Friendly Semantic Release

⏬🚀 Fetch the most up-to-date ABI of a verified Smart Contract from Etherscan in seconds!

Install

npm install etherscan-abi
yarn add etherscan-abi

Usage

  • Fetch the ABI of a contract from an address and save it to abis/ContractName.json:
npx etherscan-abi 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984
  • You can optionally provide a target directory path, an Etherscan apiKey (to bypass the default query rate limit):
npx etherscan-abi --target abis/uniswap/ --apiKey ... 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984