GetBlockByHeightRequest constructor

GetBlockByHeightRequest({
  1. ChainDistance? height,
  2. ConfidenceFactor? confidenceFactor,
})

Implementation

factory GetBlockByHeightRequest({
  $24.ChainDistance? height,
  $24.ConfidenceFactor? confidenceFactor,
}) {
  final _result = create();
  if (height != null) {
    _result.height = height;
  }
  if (confidenceFactor != null) {
    _result.confidenceFactor = confidenceFactor;
  }
  return _result;
}