I want to confirm that Stellar preserves a history of all transactions that affected an account. I assume these transactions are stored somewhere since I can retrieve them on StellarExpert or using the JavaScript SDK:
server.transactions().forAccount(accountPubKey).call();
However, it is not clear to me where these transactions are preserved on the ledger. The documentation for ledger mentions a hash of the transaction set in the header and an entry for accounts. Glancing at this account entry, I don't see anything related to transactions history. Does anyone know if transactions are preserved once they are applied?