You have not mentioned reasons of kidney blockage. Swelling of legs or edema can be due to kidney damage. If you have stones in the kidney, it can dilate ureter. These stones also damage kidney. Edema can be result of renal insufficiency.
My ankles swell at times ,dr, is sending me for ct urogram with and without contrast,he said my kidney is a little dilated .hate having the dye,thank you