1.0.23 • Published 3 years ago
etherscan-client-typescript v1.0.23
etherscan-client-typescript
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);
}