Required for ecdysteroidogenesis in the prothoracic gland which is necessary for larval to pupal transition. Binds 1 [2Fe-2S] cluster. RNAi-mediated knockdown results in larval growth defects, strong larval lethality and strong reduction of ecdysteroid peak level required to proceed to pupal stage (PubMed:25628335). RNAi-mediated knockdown in the prothoracic gland results in larval growth defects and lethality at the third larval stage, with a complete lack of pupariation (PubMed:25628335). Belongs to the adrenodoxin/putidaredoxin family.