code: func (api *PrivateDebugAPI) TraceBlockByHash(ctx context.Context, hash common.Hash, config *TraceConfig) ([]*txTraceResult, error) {
  	block := api.eth.blockchain.GetBlockByHash(hash)
  	if block == nil {
  		return nil, fmt.Errorf("block %#x not found", hash)
  	}
  	return api.traceBlock(ctx, block, config)
  }
docs: // TraceBlockByHash returns the structured logs created during the execution of
  // EVM and returns them as a JSON object.