getEscrowsFinancial
Batch financial summaries (GET /escrows/financial).
Batch financial summaries (GET /escrows/financial).
Import
import { TrustlessWorkClient } from "@trustless-work/escrow-js";Signature
client.rest.getEscrowsFinancial(
params: BatchContractIdsParams | string[],
): Promise<BatchEscrowFinancialResponse>Returns { data: EscrowFinancial[] }.
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.