GetBlockByDepthRequest constructor

GetBlockByDepthRequest({
  1. ChainDistance? depth,
  2. ConfidenceFactor? confidenceFactor,
})

Implementation

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