Get Escrow
Read one escrow in full: state, participants, timeline and deposits.
import axios from "axios";
const http = axios.create({
baseURL: "https://beta.api.trustlesswork.com",
timeout: 10000,
headers: {
"Content-Type": "application/json",
"x-api-key": your_api_key,
},
});
export const useExample = async (contractId: string) => {
const { data } = await http.get(`/escrows/${contractId}`);
return data;
}