supply method

Future<String> supply({
  1. required SupplyParams transactionType,
})

Implementation

Future<String> supply({required SupplyParams transactionType}) async {
  try {
    return await client.get(api('network/supply', {
      "key": transactionType.name,
    }));
  } on ExplorerException catch (e) {
    throw ExplorerException(
        code: e.code, message: '{"supply": "${e.message}"}');
  }
}