XRPLF / xrpl4j

A 100% Java implementation to interact with the XRP Ledger.
ISC License
80 stars 45 forks source link

Add TransactionResult to Finality #495

Open nkramer44 opened 7 months ago

nkramer44 commented 7 months ago

It would be useful to include the validated transaction as a TransactionResult in the Finality class if the transaction that became final was validated on ledger. This should be easy to accomplish because XrplClient.isFinal is already retrieving the TransactionResult. However, currently developers have to call XrplClient.isFinal until the transaction is final, then call XrplClient.transaction to get the validated transaction.