GetBlockByDepthRequest constructor

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

Implementation

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