Feature request: Object transaction history RPC #5039
Labels
API Change
Feature Request
Used to indicate requests to add new features
Food for Thought
Ideas, moonshots, etc. Stuff to think about broadly. Not necessarily directly actionable.
Summary
It would be really nice to have an RPC that provides you a list of chronological transactions that have affected a certain object.
Motivation
Object history can be important; for example, to get a list of all offers that filled another offer, track edits to a DID, or get the transaction that created a certain object.
Solution
This RPC, tentatively named
object_tx
, could just iterate through thePreviousTxnID
s of a transaction in reverse chronological order and usePreviousTxnLgrSeq
to determine how far back to go to get the previousPreviousTxnID
of the transaction.Paths Not Taken
You can theoretically do this right now with
tx
andledger_entry
, using theledger_index
parameter, but it would be nicer if there were a method to do this automatically.The text was updated successfully, but these errors were encountered: