public interface EpochService
| Modifier and Type | Method and Description |
|---|---|
Result<EpochContent> |
getEpoch(java.lang.Integer epoch)
Get epoch content by number
|
Result<EpochContent> |
getLatestEpoch()
Get latest epoch
|
Result<ProtocolParams> |
getProtocolParameters()
Get current protocol parameters
|
Result<ProtocolParams> |
getProtocolParameters(java.lang.Integer epoch)
Get protocol parameters at epoch
|
Result<EpochContent> getLatestEpoch() throws ApiException
ApiExceptionResult<EpochContent> getEpoch(java.lang.Integer epoch) throws ApiException
epoch - ApiExceptionResult<ProtocolParams> getProtocolParameters(java.lang.Integer epoch) throws ApiException
epoch - ApiExceptionResult<ProtocolParams> getProtocolParameters() throws ApiException
ApiException