Skip to content

GraphQL subscriptions for live transfer streams #99

Description

@Miracle656

Background

Clients want push updates for new transfers/events without polling. GraphQL subscriptions over WebSocket are the idiomatic fit.

What to build

Add a subscription resolver that streams new TokenTransfer/HostFnLog rows as they're ingested, with per-client filters (contract/asset) and backpressure handling.

Key files

  • src/api/graphql.ts
  • src/api/subscriptions.ts (new)

Acceptance criteria

  • Subscribe receives new rows in real time
  • Filter by contract/asset works
  • Slow consumer doesn't OOM the server (backpressure)

Drips Wave · Complexity: Advanced · 200 points

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions