I am trying to use rhe withdrawal endpoint, and I am using the Python API.
client.withdraw(
asset=‘BNB’,
address=“0x1111…11111”, # Sample address
network=“BSC”,
amount=1)
but I keep getting:
'{“code”:-1102,“msg”:“illegal parameter”}
I have verified that Python is translating that code into the following requets:
api_path = ‘/sapi/v1/capital/withdraw/apply’
params = ‘address=0x123123…123&amount=1&network=BSC&asset=BNB×tamp=1665602751031&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’