eth_estimateGas parameters

Hi Infura,

This is Oscar. I built a wallet web app and tried to estimate gas for token (eg. AAVE) using “eth_estimateGas”. The from and to value is required as I knew from this post. But When I tried to build a transaction, the estimated gas is always less than the real one. I was wonder whether I input wrong value for the api or not?

The following photo is the one I tried using the data from Etherscan. As you cansee, the result in decimals is 186,568 however, the real data on Etherscan is 230,839. The result is supposed to be same. Which part of the param do I need to modify to get the correct result?

    "jsonrpc": "2.0",
    "method": "eth_estimateGas",
    "params": [{
    "from": "0x26a78d5b6d7a7aceedd1e6ee3229b372a624d8b7",
    "to": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
    "id": 1


    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x2d8c8"