Skip to content

Cannot withdraw USDT to other exchange #59

@htquyen1994

Description

@htquyen1994

`host = "https://api.gateio.ws"
prefix = "/api/v4"
common_headers = {'Accept': 'application/json', 'Content-Type': 'application/json'}

url = '/withdrawals' 
body = {
    "currency": "USDT", #"ADF",
    "address": BITGET_DEPOSIT_ADDRESS,
    "amount": "5", 
    "chain": "BSC/BEP20", #BSC/BEP20 MATIC
    "address_memo": ""
}
request_content = json.dumps(body)
sign_headers = gen_sign('POST', prefix + url, "", request_content)
sign_headers.update(common_headers)
res = requests.post(host + prefix + url, headers=sign_headers, data=request_content)
print(res.status_code)
print("Response {0}".format(res))
return res`

Although the request returned with statusCode is 200 but the content in body is empty when i withdrawed usdt.
I tested some coins (not USDT) and it is work normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions