getEpochInfo abstract method

Future<EpochInfo> getEpochInfo({
  1. Commitment? commitment,
  2. num? minContextSlot,
})

Returns information about the current epoch

commitment For commitment parameter description see this document Commitment.processed is not supported as commitment.

minContextSlot Set the minimum slot that the request can be evaluated at.

Implementation

Future<EpochInfo> getEpochInfo({
  Commitment? commitment,
  num? minContextSlot,
});