Closed lee-qinghua closed 1 year ago
@lee-qinghua Did you find any answer for this? I have this problem.
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.trongrid.io/wallet/getsignweight
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.trongrid.io/wallet/getnodeinfo
Maybe you didn't provide the necessary authorization for it?
@MrNaif2018 You mean need api_key in HTTPProvider? How to set it?
I mean you answered your own question :D Tron(HTTPProvider(api_key="...")) I doubt default keys still work Also why even use trongrid if it's paid? Use ankr RPCs
@MrNaif2018 Thank you so much. It's works now.
i cant not find the method in AllowList Requested Api