Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As API, I provide the possibility to subscribe to the plays channel #26

Open
melpadden opened this issue Mar 25, 2024 · 0 comments
Open
Assignees
Labels

Comments

@melpadden
Copy link
Collaborator

The following WebSocket connection should be added:

WS /plays?deploy_hash=dead...beef

which should proxy to the CSPR.cloud Streaming API.

Since CSPR.cloud Streaming API doesn’t allow filtering contract-level events by the deploy hash, it should be done in the Lottery API.

The purpose of the endpoint is to provide a real-time experience when playing the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants