pub fn chains() -> Result<Vec<Chain>, Error>