Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

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
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants