For the complete documentation index, see llms.txt. This page is also available as Markdown.

listEscrowEvents

Paginated escrow event timeline (GET /escrows/:contractId/events).

Paginated escrow event timeline (GET /escrows/:contractId/events).

Import

import { TrustlessWorkClient } from "@trustless-work/escrow-js";

Signature

client.rest.listEscrowEvents(
  contractId: string,
  params?: ListEscrowEventsParams,
): Promise<ListEscrowEventsResponse>

Returns KeysetPage<EscrowEvent> → { data, hasMore, nextCursor }.

Params: limit, order, cursor.

Example

import { TrustlessWorkClient, development } from "@trustless-work/escrow-js";

const client = new TrustlessWorkClient({
  baseURL: development,
  apiKey: process.env.API_KEY,
});

// see signature above

See REST Reads.