How do I solve the block puzzle in the Coral Mines?

Solution 1:

Rearrange the blocks to form a path to the container, then climb down the chain in the top-left. Wait for a lava ball to fall from the ceiling, then break the container open for a key.

This type of puzzle appears multiple times, so the solution for each one is shown below.

Block puzzle 1

Block puzzle 2

Block puzzle 3