xrpl-dev-portal
xrpl-dev-portal copied to clipboard
Tutorial: follow ledger object's history chain
Most objects in the XRP Ledger's state data have "PreviousTxnID" and "PreviousTxnLgrSeq" fields to indicate which transaction last affected that object. Transaction metadata also shows the prior values to these fields whenever a new transaction modifies an object.
You can use these for a few purposes, such as recognizing when you've missed a transaction that affected your XRP balance.
Provide a guide for how to track an object's history through this, detect when you missed a transaction this way, and fill in the gap if that happened.
started here: https://github.com/ripple/ripple-dev-portal/compare/master...mDuo13:tx-chaining