getAssetBalance method
Implementation
Future<ScripthashAssetBalances> getAssetBalance(scripthash) async {
dynamic balance =
await request('blockchain.scripthash.get_asset_balance', [scripthash]);
return ScripthashAssetBalances(
balance['confirmed'], balance['unconfirmed']);
}