【问题标题】:How to get and send response Binance API Withdraw using node.js如何使用 node.js 获取和发送响应 Binance API Withdraw
【发布时间】:2022-02-03 20:38:40
【问题描述】:

我正在尝试使用 API 和 node.js 连接器提取币安账户的现货钱包加密货币。

这是我的代码:

client.withdraw('USDT', 'wallet_address', 20, { network: 'BSC'})
    .then(response => client.logger.log(response))
    .catch(error => client.logger.error(error));

res.send(response);

它工作正常并在终端中返回 json 格式响应,但是当我使用邮递员在那里获取响应时,在邮递员响应中,当终端完美显示 json 格式响应时,我没有得到任何响应。可能是什么原因?

【问题讨论】:

    标签: node.js api development-environment trend binance-api-client


    【解决方案1】:

    你是在 postman 中设置 apiKey 和 secretKey 吗?

    【讨论】:

    • 正如目前所写,您的答案尚不清楚。请edit 添加其他详细信息,以帮助其他人了解这如何解决所提出的问题。你可以找到更多关于如何写好答案的信息in the help center
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-09
    相关资源
    最近更新 更多