xrpl-dev-portal icon indicating copy to clipboard operation
xrpl-dev-portal copied to clipboard

Tutorial: follow ledger object's history chain

Open mDuo13 opened this issue 6 years ago • 0 comments

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

mDuo13 avatar Jun 15 '19 01:06 mDuo13