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

Always fetch transaction status via waitForConfirmation in browser #261

Open
smonn opened this issue Jan 31, 2022 · 0 comments
Open

Always fetch transaction status via waitForConfirmation in browser #261

smonn opened this issue Jan 31, 2022 · 0 comments
Labels
backend Backend work frontend Front end work story Story

Comments

@smonn
Copy link
Contributor

smonn commented Jan 31, 2022

Overview

Today when the client need to wait for a transaction to be confirmed we setup a unique endpoint to poll the status we record in our database, which in turn we get by also polling an Algod node. Instead, I suggest the client always polls a public Indexer (or public Algod node) to avoid hammering the API with status requests. This pattern is already being implemented for the export NFT flow, but could be added for the purchase flow and any other place we need to check/wait for the transaction status.

@smonn smonn added frontend Front end work backend Backend work story Story labels Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend work frontend Front end work story Story
Projects
None yet
Development

No branches or pull requests

1 participant