2025-06-22 00:21:09 +03:00

15 lines
478 B
JavaScript

import { g as get_store_value } from "../../../chunks/utils.js";
import { f as fetchAccountBalances, a as fetchRecentPayments } from "../../../chunks/horizonQueries.js";
import { w as walletStore } from "../../../chunks/walletStoreFix.js";
async function load() {
let publicKey = get_store_value(walletStore).publicKey;
return {
publicKey,
balances: await fetchAccountBalances(publicKey),
payments: await fetchRecentPayments(publicKey)
};
}
export {
load
};