queryEthGasParams method

Future<Map> queryEthGasParams()

Implementation

Future<Map> queryEthGasParams() async {
  const url =
      'https://gas-api.metaswap.codefi.network/networks/1/suggestedGasFees';
  final res = await get(Uri.parse(url));
  return jsonDecode(res.body);
}