import { API_CONFIG as e } from "../../constants/server.constants.mjs";
import { SNAPSHOT_SERVER_URL as t } from "../../API/getServerURL.mjs";
import { httpClient as n } from "../../data-structures/http/HttpClient.mjs";
import { serializeUtxoConstructorParams as r } from "../utils/serialize-utxos.utils.mjs";
//#region libs/shared/common/src/functions/snarkjs/fetchMerkleTreeSiblings.ts
var i = async (i, a) => {
	let o = a.map((e) => e.map((e) => r(e))), s = `${t}${e.ROUTES.getMerkleTreeSiblings}`;
	return await n.post(s, {
		inputUtxosSerialized: o,
		chainId: i
	});
};
//#endregion
export { i as fetchMerkleTreeSiblings };
