const e=require(`../../constants/server.constants.cjs`),t=require(`../../API/getServerURL.cjs`),n=require(`../../data-structures/http/HttpClient.cjs`);var r=async(r,i,a)=>{let o=i.map(e=>e.map(e=>({...e,amount:e.amount.toString(),randomization:e.randomization?.toString()})));return await n.httpClient.post(`${t.SNAPSHOT_SERVER_URL}${e.API_CONFIG.ROUTES.getMerkleTreeSiblings}`,{inputUtxosSerialized:o,accessKey:a,chainId:r})};exports.fetchMerkleTreeSiblings=r;