Hi, I am trying to use node.js pkg “@binance/connector” to get total asset about my account, just like what I saw on the website or app, but I get all “0” result from “/sapi/v1/lending/union/account”, here is my call code:
const {} = require('@binance/connector');
const instance = new Spot('api key', 'api secret');
instance.savingsAccount()
and here is what I got:
{
"totalAmountInBTC":"0",
"totalAmountInUSDT":"0",
"totalFixedAmountInBTC":"0",
"totalFixedAmountInUSDT":"0",
"totalFlexibleInBTC":"0",
"totalFlexibleInUSDT":"0",
"positionAmountVos":[
{
"asset":"BTC",
"amount":"0",
"amountInBTC":"0",
"amountInUSDT":"0"
},
.....
]
}
It’s ok for another API just like “/sapi/v1/lending/project/position/list”, I don’t why “/sapi/v1/lending/union/account” did not work, can you guys please give me some advice, think you every much!