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

Add JSON RPC primitives for fetching the list of transactions that affect a given address #9317

Closed
mvines opened this issue Apr 6, 2020 · 0 comments · Fixed by #9407
Closed
Assignees

Comments

@mvines
Copy link
Member

mvines commented Apr 6, 2020

For the history that an API node maintains, it's not possible to fetch the list of transactions that affect a given address. This is a feature that is starting to be widely requested.

These two new JSON RPC methods could be path to enabling this feature:

  1. getConfirmTransactionsForAddress. Input an address, return all the transaction signatures (paginated by slot?). For this we'll require a new rocksdb column to store the mapping of Address -> (Signature, Slot)

  2. getConfirmedTransactionBySignature. Input a signature, return the transaction. This could be build on top of Blockstore's get_transaction_status()

@CriesofCarrots CriesofCarrots self-assigned this Apr 6, 2020
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

Successfully merging a pull request may close this issue.

2 participants