QueryTotalRewardByEpochRequest.deserialize constructor

QueryTotalRewardByEpochRequest.deserialize(
  1. List<int> bytes
)

Implementation

factory QueryTotalRewardByEpochRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryTotalRewardByEpochRequest(epoch: decode.getBigInt<BigInt?>(1));
}