static String? getCoinType(String type) { final match = COIN_TYPE_ARG_REGEX.firstMatch(type); return match?.group(1); }