Closed cbarraford closed 4 years ago
I noticed the documentation on how to query for account balances, and how the code does it in this repo is different.
In the code you're using /account/<addr>... https://github.com/binance-chain/go-sdk/blob/master/client/rpc/dex_client.go#L144
/account/<addr>
But in the docs you're using /store/acc/key... https://docs.binance.org/api-reference/node-rpc.html#619-abciquery
/store/acc/key
Which one is correct?
the code is right. I will ask the community correct the doc
I think both are correct. The way dexclient using is more accurate when the account states change very quickly.
dexclient
I noticed the documentation on how to query for account balances, and how the code does it in this repo is different.
In the code you're using
/account/<addr>
... https://github.com/binance-chain/go-sdk/blob/master/client/rpc/dex_client.go#L144But in the docs you're using
/store/acc/key
... https://docs.binance.org/api-reference/node-rpc.html#619-abciqueryWhich one is correct?