getReferenceGasPrice method

Future<Int64> getReferenceGasPrice({
  1. CancelToken? cancelToken,
})

Current reference gas price (from the current epoch).

Implementation

Future<Int64> getReferenceGasPrice({CancelToken? cancelToken}) async =>
    (await getEpoch(
      readMask: ['reference_gas_price'],
      cancelToken: cancelToken,
    )).referenceGasPrice;