Get Escrow
Returns all the information of an escrow requested through the contractId.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Open API
Use Example:
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 () => {
const data = await http.get(
"/escrow/get-escrow-by-contract-id",
{
// body requested for the endpoint
},
);
return data;
}
Last updated
Was this helpful?