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

listEscrows

GraphQL escrows(...) — same filters as REST list.

GraphQL escrows(...) — same filters as REST list.

Import

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

Signature

client.graphql.listEscrows(variables?: GraphqlListEscrowsVariables): Promise<GraphqlEscrowPage>

Returns GraphqlEscrowPage → { data, hasMore, nextCursor }.

Same filter semantics as REST ListEscrowsParams. Document: GRAPHQL_LIST_ESCROWS.

Example

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

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

// see signature above

See GraphQL.