Total Energy = Gravitation Potential Energy + Kinetic Energy
Gravitation Energy would be a function of height measured from the ground to the position of the ball
Kinetic energy would be 1/2 * m * v^2, where the velocity is the angular speed of the ball times the radius from the center of curvature of motion.
Anything else in specific?