export function flattenV5CurrenciesAll(response) {
    const flattenedAll = [...response.from, ...response.to].reduce((acc, curr) => {
        return [...acc, ...curr.supportedCurrencies];
    }, []);
    return Array.from(new Set(flattenedAll));
}
//# sourceMappingURL=flattenV5CurrenciesAll.js.map