Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got 403 Forbidden when use AsyncTron #126

Closed
StasFQ opened this issue Jan 29, 2024 · 1 comment
Closed

Got 403 Forbidden when use AsyncTron #126

StasFQ opened this issue Jan 29, 2024 · 1 comment

Comments

@StasFQ
Copy link

StasFQ commented Jan 29, 2024

when I using this code:
txb = (
client.trx.transfer(address_from, address_to, amount)
.memo("test memo")
.fee_limit(100_000_000)
)
txn = await txb.build()
txn_ret = await txn.sign(priv_key).broadcast()
I got this error.How to fix that?
Client error '403 Forbidden' for url 'https://api.trongrid.io/walletsolidity/getnowblock'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

@MrNaif2018
Copy link
Collaborator

Most likely either trongrid has banned your ip, or it requires an ip key
Try ankr rpc https://rpc.ankr.com/http/tron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants