Rumpelstiltskin wanted the miller's daughter's first-born child as payment for spinning straw into gold. He saw it as a fair exchange for his services.