getCurrent method

Gets the current Oracle Price and at which block it took effect.

Implementation

Future<HeliumResponse<HeliumOraclePrice>> getCurrent() async {
  return _client._doRequest(HeliumRequest(
    path: '/v1/oracle/prices/current',
    extractResponse: (json) => HeliumOraclePrice.fromJson(json['data']),
  ));
}