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

Receive all the logs from one transaction #127

Open
linyufly opened this issue Jun 5, 2021 · 2 comments
Open

Receive all the logs from one transaction #127

linyufly opened this issue Jun 5, 2021 · 2 comments

Comments

@linyufly
Copy link

linyufly commented Jun 5, 2021

In the subscription mode, e.g. subscribeLogs(), the users are only able to get logs one by one. They will know whether a log is the last one of its transaction after receiving a log of the next transaction. I think it should be possible to let the users receive a list of all the logs of one transaction, which makes their lives easier.

Thanks!

@Pana
Copy link
Member

Pana commented Jun 11, 2021

Is there any need to know a log is the last one of a transaction in the pub-sub mode ?

@Thegaram
Copy link
Contributor

Personally, I had cases where I needed to get all logs from an epoch in a batch. This batching is easy to implement but maybe the SDK could offer some tools for this.

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

No branches or pull requests

3 participants