noun
thanksgiving shrine/temple visit after a wish is granted
A visit to a shrine or temple to express gratitude after a prayer or wish has been fulfilled. Often contrasted with 願掛け (making a wish).
願が叶ったので、願解きにお寺へ行った。
Since my wish came true, I went to the temple to give thanks.
願掛け is the act of making a wish or prayer at a shrine/temple, while 願解き is the return visit to give thanks after the wish is granted.
Compound of 願 (がん, 'wish, prayer') and 解き (ほどき, 'untying, releasing'), literally 'untying a wish', referring to the release from the obligation of a fulfilled prayer.