The given sentence, "The moon was a golden coin in the untouchable treasure chest of sky," is an example of a metaphor. A metaphor is a figure of speech that directly compares two seemingly unrelated things and gives one of them the qualities of the other. Here, the moon is metaphorically compared to a "golden coin" and the sky is likened to an "untouchable treasure chest."