// TODO: to remove once live-app-sdk is depreciated and removed from LL
const CAN_EDIT_FEES = true;
const areFeesProvided = (tx) => !!tx.fee;
const convertToLiveTransaction = (tx) => {
    return { ...tx, family: "xrp" };
};
const getPlatformTransactionSignFlowInfos = (tx) => {
    return {
        canEditFees: CAN_EDIT_FEES,
        liveTx: convertToLiveTransaction(tx),
        hasFeesProvided: areFeesProvided(tx),
    };
};
export default { getPlatformTransactionSignFlowInfos };
//# sourceMappingURL=platformAdapter.js.map