getCounterForAccount static method
Implementation
static Future<int> getCounterForAccount(String server, String publicKeyHash,
{String chainid = 'main'}) async {
var response = await HttpHelper.performGetRequest(server,
'chains/$chainid/blocks/head/context/contracts/$publicKeyHash/counter');
return int.parse(response.toString().replaceAll('"', ''), radix: 10);
}