Skip to content

feat(statement-sdk): subscription based statement store#64

Open
voliva wants to merge 5 commits into
mainfrom
statement-changes
Open

feat(statement-sdk): subscription based statement store#64
voliva wants to merge 5 commits into
mainfrom
statement-changes

Conversation

@voliva
Copy link
Copy Markdown
Contributor

@voliva voliva commented Mar 20, 2026

This changes the SDK to the new subscription-based statement store. Main changes:

  • The sdk now takes directly an endpoint.
    Previously it required a generic request-response function, but that changes with some requests being request-response and others being subscription-based. Passing a PAPI client is not always desirable either, because PAPI starts a chainHead subscription that might not be needed.
  • The filters have been reworked to the new "match all" / "match any" ones. A few utility functions are added to easily recreate previous filters.
  • Adds a getStatements$ method that returns an observable to subscribe to them.

@voliva voliva requested review from carlosala and josepot March 20, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant