getBlock method

Future<GetBlockResponse> getBlock(
  1. ClientContext? ctx,
  2. GetBlockRequest request
)

Implementation

$async.Future<GetBlockResponse> getBlock(
    $pb.ClientContext? ctx, GetBlockRequest request) {
  var emptyResponse = GetBlockResponse();
  return _client.invoke<GetBlockResponse>(
      ctx, 'Blockchain', 'GetBlock', request, emptyResponse);
}