Skip to content

Feat: Immediate Transaction Fetching via Refresh Endpoint #47

Open
@ricardocr987

Description

@ricardocr987

I propose a new endpoint API "refresh" that triggers the server to fetch new transactions instantly when an event occurs on a frontend (e.g. a purchase). Currently, new transactions and accounts to be discovered must wait an interval, with this endpoint it could be instant to process transactions, once the transaction has a finalized state, maybe it will be needed some auth or protection mechanism to access this endpoint.

In our case, we delegate to the indexer the ability to grant a user access to a dataset, when a purchase transaction is parsed, an aleph message is generated that grants access to the user who has paid. This change could increase the speed of data delivery and improve the user experience.

thoughts?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestperformanceImpacts the runtime performanceusabilityImpacts the user/dev experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions