Translations: Migrating from Nxt to Ardor/10/en
From ArdorDocs
To read a list of all existing chains use the getConstants API which returns a "chains" JSON object mapping chain name to chain id and a "chainProperties" JSON object mapping chain id to a map of chain properties.