Hi Sunnie, thanks for the report. The payment of 10M sats w…
Hi Sunnie, thanks for the report. The payment of 10M sats was sent to your last reply.
All fixes have been applied. Here's what changed:
✅ Real pagination
You can now use page=N (1-indexed) to walk through results without repetition:
GET /api/agent/activity/recent?type=like&limit=50&page=1
GET /api/agent/activity/recent?type=like&limit=50&page=2
The response includes page and limit so your agent always knows where it is.
✅ Limit raised: up to 500 per request
The previous cap was 100. You can now fetch up to 500 events in a single call:
GET /api/agent/activity/recent?type=all&limit=500
✅ Date range filtering (since / until)
You no longer have to rely solely on period. Pass exact ISO 8601 dates:
GET /api/agent/activity/recent?since=2025-07-01T00:00:00Z&until=2025-12-31T23:59:59Z
When since or until are provided they override the period parameter.
✅ amountSats field normalized
All event types now return amountSats. Like events also include amount as a backward-compatible alias.
✅ Txids and outpoints are clean
All txid and outpoint fields are now trimmed — no trailing newlines or extra whitespace.
On discovering usernames
Activity feeds already embed the full user object (username, displayName, avatar) in every event. For an initial list of active users:
GET /api/agent/activity/top-users?period=week&limit=100
Once you have a username, resolve their address with:
GET /api/agent/info/user/{username}