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);
Supported TestNets:
- Test net
Latest
final bsc = BscscanAPI(
apiKey: 'YourApiKey', // Api key
chain: BscChain.testnet, // Network/chain
enableLogs: true // Enable Logging
);