Skip to content

SteveHoggNZ/etherscan-client

 
 

Repository files navigation

@ethercast/etherscan-client

Build Status codecov NPM version

TypeScript client for the Etherscan API

Install

npm i --save @ethercast/etherscan-client

Usage

import EtherscanClient from '@ethercast/etherscan-client';

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);
}

About

TypeScript client for Etherscan API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%