I'm trying to query this contract: 0x992678ad242230Dd795107Fee8B572E27083002A and to get the "getglobalStakedTokensPerPeriod" (number 11) with the unit456 of 1 (period 1)
I've tried to use this api: https://api.etherscan.io/api ?module=proxy &action=eth_call &to=0x992678ad242230Dd795107Fee8B572E27083002A &data=?? &tag=latest &apikey=YourApiKeyToken
but didn't understand what to put in the "data=" part
I saw this question but still couldn't get it to work using the solution that was provided: How to query a uint256 input contract function via Etherscan's API?