You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got error tronpy.exceptions.AddressNotFound: account not found on-chain When I try to get Balance of address.
Code :
from tronpy import Tron
from pprint import pprint
client = Tron(network='nile')
address=client.generate_address()['base58check_address']
pprint(client.get_account_balance(address))
Traceback :
Traceback (most recent call last):
File "tron.py", line 9, in <module>
pprint(client.get_account_balance(address))
File "G:\BOT\tipbot\env\lib\site-packages\tronpy\tron.py", line 517, in get_account_balance
info = self.get_account(addr)
File "G:\BOT\tipbot\env\lib\site-packages\tronpy\tron.py", line 501, in get_account
raise AddressNotFound("account not found on-chain")
tronpy.exceptions.AddressNotFound: account not found on-chain
The text was updated successfully, but these errors were encountered:
Got error
tronpy.exceptions.AddressNotFound: account not found on-chain
When I try to get Balance of address.Code :
Traceback :
The text was updated successfully, but these errors were encountered: