Yes it was carved out of single stone built in
1637 by King Siddhi Narsingh Malla. It is said that one night the King saw Lord Krishna and his consort Radha standing in front of the royal palace. He ordered a temple to be built on the same spot.
I exactly don’t know the significance of using 21 roofs or 21 golden pinnacles on top of it.