binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

Cannot specify withdraw network

Open aymantaybi opened this issue 2 years ago • 1 comments

There's no option you can set to withdraw to a specific network!

console.log( await client.withdraw({ asset: 'ETH', address: '0xfa97c22a03d8522988c709c24283c0918a59c795', amount: 100, }), )

aymantaybi avatar Apr 09 '22 15:04 aymantaybi

@aymantaybi I guess that you are confusing some parameters:

       await client.withdraw({
            coin: 'ETH', // this
            address: '0xfa97c22a03d8522988c709c24283c0918a59c795',
            amount: 100,
            network: 'ETH', // and this
        });

I think is not a bug.

JonathanLoscalzo avatar Apr 11 '22 16:04 JonathanLoscalzo