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
Register the key in your API Management - I recommend to use Unrestricted IP except for when you have a static ip. In that case allow the ip from curl -4 ifconfig.me && echo
Enable Reading should do the job but possibly you must activate more as well.
import os
from pathlib import Path
from binance.client import Client
client = Client(
api_key='<your api key>',
private_key=Path(
os.path.dirname(os.path.realpath(__file__)),
'your-prv-key.pem'
)
)
addr = client.get_deposit_address(coin='USDT',network='TRX')
Describe the bug
I am using the below code to fetch the USDR wallet addresss:
but it gives error:
It gives error on the following line:
All I want to fetch addresses
The text was updated successfully, but these errors were encountered: