From bc953b56f3908e3a557976b9029b617dad751755 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 26 Nov 2025 22:36:59 -0800 Subject: ark --- lib/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/utils.ts') diff --git a/lib/utils.ts b/lib/utils.ts index add09782..878ef037 100644 --- a/lib/utils.ts +++ b/lib/utils.ts @@ -47,6 +47,10 @@ export const bip21 = (address, { amount, memo, tip, type }) => { return `${network}:${address}?${url.toString()}`; }; +export const getAccount = async (id) => { + return g(`account:${id}`); +} + export const getUser = async (username, fields = undefined) => { if (username === "undefined") fail("invalid user"); const k = username?.replace(/\s/g, "").toLowerCase(); -- cgit v1.2.3