In the following code, yieldblox-core.umd.js
function GetAccrualDataFromTransaction
Not sure if this is working correctly on testnet as the passphrase would need to be stellarSdk.Networks.TESTNET, yes?
var tx = new stellarSdk.Transaction(txRecord.envelope_xdr, stellarSdk.Networks.PUBLIC);