is onyx an igneous rock?
What is Black Onyx? ... Agates, including, the onyx, generally occur as nodules in igneous rock, often volcanic rock and lavas, filling cavities in the rock. In both volcanic and altered, metamorphic volcanic rock, agates may fill cracks, forming veins of onyx.