etherscan-client-typescript
TypeScript icon, indicating that this package has built-in type declarations

1.0.23 • Public • Published

etherscan-client-typescript

Build Status codecov NPM version

TypeScript client for the Etherscan API

Install

npm i --save etherscan-client-typescript

Usage

import EtherscanClient from 'etherscan-client-typescript';

async function printAbi() {
  const client = new EtherscanClient({ apiKey: 'my-key', apiUrl: 'https://api.etherscan.io/api' });
  const abi = await client.getAbi(SOME_CONTRACT_ADDRESS);
  console.log(abi);
}

Readme

Keywords

none

Package Sidebar

Install

npm i etherscan-client-typescript

Weekly Downloads

2

Version

1.0.23

License

MIT

Unpacked Size

19.9 kB

Total Files

16

Last publish

Collaborators

  • dofiltra