getReferenceGasPrice method

Future<String> getReferenceGasPrice()

Implementation

Future<String> getReferenceGasPrice() async {
  final response = await _client.ledgerService.getEpoch(
    GetEpochRequest(readMask: FieldMask(paths: ['reference_gas_price'])),
  );

  return response.epoch.referenceGasPrice.toString();
}