import axios from "axios";
const http = axios.create({
baseURL: "https://dev.api.trustlesswork.com",
timeout: 10000,
headers: {
"Content-Type": "application/json",
Authorization: `Bearer your_api_key`,
},
});
export const useExample = async (signer: string, addresses: string[]) => {
const response = await http.get("/helper/get-multiple-escrow-balance", {
params: { addresses, signer },
});
return response;
};