How can i change the url for algoexplorer

Hello. I am a newbie who is trying to get familiar with algorand and as I run the code, I see this console error. “Access to XMLHttpRequest at ‘https://testnet.algoexplorerapi.io/v2/accounts/ZRVP5276H7PWMI5VIQVLFGICYEOAUVD467FJ2Z72UUGDETF6K7LXBRHQ4E’ from origin ‘http://localhost:8080’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource”
As I do some research, it seems like the address of algoexplorer/v2
seems to be not functiong anymore and i need to change the address for this, but I cannot find the file where it deals with this address. Does anyone know how to change the address for algoexplorer? Thank you

See Trying to get the balance from testnet - #4 by fabrice

as well as AlgoExplorer API v2 for the notice of deprecation.

List of API services are: Ecosystem Tools & Projects | Algorand Developer Portal

Algonode is another option if you want to try it out.

1 Like