Here you have a very simple website that, when run, allows you to connect your MetaMAsk and interact.
Use it to learn what the different parameters are; and how MetaMask builds a transaction in JavaScript.
Deploy a Ropsten node on Chainstack and use it as an endpoint for your MetaMask. Follow this link for instructions, Chainstack on MetaMask.
This way, you will be able to see the requests sent from MetaMask to the node on the Chainstack dashboard.