@renegade-fi/core
Version:
VanillaJS library for Renegade
10 lines • 439 B
JavaScript
import { getWalletId } from "./getWalletId.js";
import { getRelayerWithAuth } from "../utils/http.js";
import { GET_TASK_QUEUE_ROUTE } from "../constants.js";
export async function getTaskQueue(config) {
const { getBaseUrl } = config;
const walletId = getWalletId(config);
const res = await getRelayerWithAuth(config, getBaseUrl(GET_TASK_QUEUE_ROUTE(walletId)));
return res.tasks;
}
//# sourceMappingURL=getTaskQueue.js.map