Are Rosencrantz and Guildenstern willing spies for Claudius and Gertrude in the play Hamlet?

This is open for interpretation, as much of the Hamlet play is. One can assume that it could have been for the glory and reward that they may have expected from the King and Queen.