etherscan_api 1.0.0-beta copy "etherscan_api: ^1.0.0-beta" to clipboard
etherscan_api: ^1.0.0-beta copied to clipboard

A dart library to access the etherscan.io apis.

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
  );
5
likes
110
pub points
15%
popularity

Publisher

verified publishercodenka.com

A dart library to access the etherscan.io apis.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dartz, dio, equatable, logger

More

Packages that depend on etherscan_api