How can I assign a uuid to each transaction?

Is it possible to add a uuid to each transaction? It seems filterTransaction is called before any other method on a Plugin. As such, it doesn’t seem possible to essentially replace a transaction (for those lacking ids).

Is there a way to go about this without maintaining and internal fork of the PM stack?

Thanks!

I think I’m just going to treat the transaction as mutable and use setMeta on the tr in a plugin.

This is the first approach that came to my mine as well. Then, your plugin will just ignore the transactions that already have the meta set.