Get Escrow Events
Page an escrow event timeline.
Headers
Content-Type
application/json
x-api-key
<token>
Open API
Addressed by the on-chain contract address (C…). Returns the full timeline a page at a time, ordered by the event’s on-chain position (ledgerSeq, txIndex, eventIndex). Page with limit + opaque cursor; order defaults to asc (chronological). Returns 404 only if the escrow is unknown on this network.
On-chain escrow contract address (C…, 56 chars).
CAAQCAIBAEAQCAIBAEAQCAIBAEAQCAIBAEAQCAIBAEAQCAIBAEAQC526Page size. 1–200, defaults to 50.
50Example: 50Opaque cursor from the previous page’s nextCursor. Omit for page one.
Timeline direction. Defaults to asc (chronological); desc for newest-first.
ascPossible values: Whether more events exist after nextCursor.
trueCursor to fetch the next page, or null if this is the last.
Request body or query params fail schema validation (wrong type, missing required field, unknown property).
Missing, malformed, expired, revoked or invalid API key.
API key is valid but does not have the role required for this operation.
Escrow not found.
Payload is well-formed but a business rule rejects it (e.g. amount out of range, role not allowed for this user).
GET /escrows/{contractId}/events HTTP/1.1
Host: beta.api.trustlesswork.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"data": [
{
"kind": "text",
"actor": "text",
"ledgerSeq": "text",
"txHash": "text",
"ledgerClosedAt": "text",
"topics": [
[]
],
"payload": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
],
"hasMore": true,
"nextCursor": "text"
}GET /escrows/{contractId}/events
Pages an escrow's event timeline — every on-chain action recorded against it, in order.
contractId
string
path
On-chain escrow address (C…)
limit
number
query
1–200, default 50
cursor
string
query
From the previous page's nextCursor
order
asc | desc
query
Default asc (chronological); desc for newest-first
What this Endpoint returns?
The same paginated envelope as the listing: { data, hasMore, nextCursor }.
Use it to build an activity feed, or to reconstruct what happened to an escrow and when. GET /escrows/{contractId} already includes the first 200 events, so you only need this endpoint when eventsHasMore is true or when you want newest-first.