Currently getLedgerEntry endpoint just returns the LE XDR, which now doesn't have the expiration-related info.
Instead it probably should:
- Return the entry expiration ledger (fetched from the respective
EXPIRATION entry), when applicable
- Return a flag denoting whether entry has expired, when applicable
This would make the behavior consistent with simulation, where we already do fetch and mark the restored entries (when available).
Currently
getLedgerEntryendpoint just returns the LE XDR, which now doesn't have the expiration-related info.Instead it probably should:
EXPIRATIONentry), when applicableThis would make the behavior consistent with simulation, where we already do fetch and mark the restored entries (when available).