Skip to content

kryptogo/bscscan_api

Repository files navigation

Bscscan Dart API

license GitHub tag

GitHub issues

A dart library to access the bscscan.com apis.

import 'package:bscscan_api/bscscan_api.dart';

final bsc = BscscanAPI(apiKey: 'YourApiKey');

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

 print(val);

For testnet usage

Supported TestNets:

  • Test net

Latest

final bsc = BscscanAPI(
    apiKey: 'YourApiKey', // Api key
    chain: BscChain.testnet, // Network/chain
    enableLogs: true // Enable Logging
  );

Releases

No releases published

Packages

No packages published

Languages