getActualPricesFeeSHigher method

Future<int> getActualPricesFeeSHigher()

Implementation

Future<int> getActualPricesFeeSHigher() async {
  final res = await networkClient
      .getRequest('https://mempool.space/api/v1/fees/recommended');
  if (res.isSuccess) {
    final tx_hash = res.data['fastestFee'] + 7;
    return tx_hash!;
  } else {
    return 0;
  }
}