Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 981 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 981 Bytes

Etherscan Dart API

license GitHub tag

GitHub issues

A dart library to access the etherscan.io apis.

import 'package:etherscan_api/etherscan_api.dart';

final eth = EtherscanAPI(apiKey: 'YourApiKey');

 final bal = await eth.balance(
    addresses: [
      '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae',
    ],
  );
 
 print(val);

For testnet usage

Supported TestNets:

  • morden
  • ropsten
  • rinkeby

Latest

final eth = EtherscanAPI(
    apiKey: 'YourApiKey', // Api key
    chain: EthChain.ropsten, // Network/chain
    enableLogs: true // Enable Logging
  );