Is archaebacteria autotrophic or heterotrophic?

Is archaebacteria autotrophic or heterotrophic?