I am trying to use Etherscan gas tracker api to get gas prices. I figured out to use apis for the Ethereum mainnet, however I am having some problems with the testnets.
I have found a question and an answer that if I use api-ropsten
for instance, I am supposed to get the fields for the testnet.(https://ethereum.stackexchange.com/q/73829)
But I found this not working for gas tracker api.
https://api-rinkeby.etherscan.io/api?module=gastracker&action=gasoracle&apikey=XXXX
I have tried this, but it gave me same response as mainnet.
How can I get gas price of Ethereum testnets (ropsten, rinkeby ..)?