-
Couldn't load subscription status.
- Fork 97
Labels
💬 featureA feature on our roadmapA feature on our roadmapgood first issueHighlight opportunities for people to contribute to the projectHighlight opportunities for people to contribute to the projectgreen 💚Low complexity or well understood featureLow complexity or well understood feature
Description
Description
Currently websocket is the only way to submit transaction to hydra node, while it works, it creates software overhead to client & toolings (e.g. sdks). Suggest to create a http tx submission API
Suggested solution
Suggested to create an API for http transaction submit with same behaviour as any L1 provider tx submission (like blockforst). Hydra specific suggestion:
- Return a
txHashas response if the transaction isTxValidand accepted to the mempool - Not exactly have to wait for snapshot confirm
Alternative
It is also possible to:
- Return a
txHashas response if the transaction isTxValid+SnapshotConfirmed - While it might not be commonplace for L1 provider as it takes long time to be included in blocks in general, it has much faster response on confirming in snapshot of hydra technically, so make this alternative possible
If that's evaluated to be also a good idea, suggest to provide both options:
- http tx submit, response on
TxValid - http tx submit, response on
SnapshotConfirmed
So for different users, they can choose which one to use.
Additional context
No response
jackaldeltadefi
Metadata
Metadata
Assignees
Labels
💬 featureA feature on our roadmapA feature on our roadmapgood first issueHighlight opportunities for people to contribute to the projectHighlight opportunities for people to contribute to the projectgreen 💚Low complexity or well understood featureLow complexity or well understood feature
Type
Projects
Status
Done ✔