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

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

Closed
@mvines

Description

@mvines

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()

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions