getAccountsChains function
Implementation
List<String> getAccountsChains(List<String> accounts) {
final List<String> chains = [];
accounts.forEach((account) {
final split = account.split(":");
chains.add('${split[0]}:${split[1]}');
});
return chains;
}