bnb-chain / node-binary

Binaries for full nodes, light-weighted clients
180 stars 120 forks source link

Support `locked` by return of /account #259

Open roy1210 opened 3 years ago

roy1210 commented 3 years ago

Hi teams, locked is not returning anytimelock value. Kindly please check and fix it. Thank you!

Endpoint: https://dex.binance.org/api/v1/account

{
    "account_number": xxxx,
    "address": "xxxxxxxxxx",
    "balances": [
        {
            "free": "0.51390000",
            "frozen": "0.08000000",
            "locked": "0.00000000",    <= Not working
            "symbol": "BNB"
        }
roy1210 commented 3 years ago

Hi Any update for this?

roy1210 commented 3 years ago

@huangsuyu @yutianwu Hi, could you update for this issue?

chainwhisper commented 3 years ago

I think the locked field shows the amount which are in-order.

roy1210 commented 3 years ago

@huangsuyu Sorry for late reply. Shouldn't show the amount of locked value ? Is it possible to fix this issue?

{
    "account_number": xxxx,
    "address": "xxxxxxxxxx",
    "balances": [
        {
            "free": "0.51390000",
            "frozen": "0.08000000",
            "locked": "0.00000000",    <= Not working
            "symbol": "BNB"
        }
roy1210 commented 3 years ago

@huangsuyu
Hi, any update?