You cannot. The input values need to be saved in a different path then store it retrieved. This is the preferred with freebody rotation. There are ways to calculate angles after the fact, but no way to determine the exact way they got there.
For instance Elefront plug-in can store data on the objects. Essentially you would store the history.
I expect another way to do this is create a rotation matrix applying the 3 different transforms to the matrix. The applying the matrix to the box just once.
Normally with grasshopper we would just continually apply the 3transforms over and over. Of course you could run a vector thru the same 3 transforms and then save that. Or you could deconstruct the box and measure the angle of an edge.