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

Introduce receipt depth in broadcast_tx endpoint #10697

Open
bowenwang1996 opened this issue Mar 4, 2024 · 0 comments
Open

Introduce receipt depth in broadcast_tx endpoint #10697

bowenwang1996 opened this issue Mar 4, 2024 · 0 comments

Comments

@bowenwang1996
Copy link
Collaborator

In #9644, we introduced a new rpc endpoint broadcast_tx that allows a user to specify the finality they want to wait for when they submit a transaction. In some use cases such as fungible token transfer, however, it is beneficial to have more granularity in the number of receipts to wait for to ensure the success of ft transfer. In other cases where it involves a chain of cross contract calls, it may be useful to wait for the first few receipts to complete before returning. So it would be nice if we can introduce a new finality level that specifies the number of receipts to wait for in this rpc enpoint to offer more customizability for users. cc @gmilescu

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

1 participant