Add query support for tx by signature & tx by acc+seq combination #9741
Closed
Description
opened on Jul 20, 2021
Summary
It was identified recently in #9723 that there are some ways in which one can generate several valid TxHashes for a given transaction. Because of this we should add explicit query support for querying tx by signature & querying tx by account + sequence combination.
Problem Definition
It is possible to query tx by TxHash and receive no result, even if the transaction was successfully broadcasted to the network. Clients & users should have a method to query for txs with stronger guarantees that if the transaction was successful they can find it.
Proposal
Implement two new query routes (and implement new indices where necessary):
simd q tx --signature [SIG_BYTES]
sims q tx --account [ACC_NUMBER] --sequence [SEQUENCE]
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Metadata
Assignees
Labels
No labels
Activity