getEscrowsMilestones
Batch milestones (GET /escrows/milestones).
Batch milestones (GET /escrows/milestones).
Import
import { TrustlessWorkClient } from "@trustless-work/escrow-js";Signature
client.rest.getEscrowsMilestones(
params: BatchContractIdsParams | string[],
): Promise<BatchEscrowMilestonesResponse>Returns { data: EscrowMilestones[] }.
Example
import { TrustlessWorkClient, development } from "@trustless-work/escrow-js";
const client = new TrustlessWorkClient({
baseURL: development,
apiKey: process.env.API_KEY,
});
// see signature aboveSee REST Reads.