How to get the type of transaction from a database?

I wanna pass a transaction to a function, how can I get the type for the function declaration?
Was this page helpful?