How to track Motion in AR Foundation.

Hello friends, maybe my question is like a noob, but is struggling to get device position and orientation from starting point.

In Ar Core, we can get

Vector3 currentARPosition = Frame.Pose.position;

like this how can I get position and rotation of the handheld device in Ar foundation. ?

I am not sure it’s the right way or not but, getting a transform of Tracked Pose Driver I am able to get the position and rotation of the device.