import perFamily from "../generated/deviceTransactionConfig";
import { getMainAccount } from "../account";
export async function getDeviceTransactionConfig(arg) {
    const mainAccount = getMainAccount(arg.account, arg.parentAccount);
    const f = perFamily[mainAccount.currency.family];
    if (!f)
        return [];
    return await f(arg);
}
//# sourceMappingURL=deviceTransactionConfig.js.map