Asset identification

Hi,
I would like to match the asset symbols among the responses (SPOT only and rest).
Does the “coin” field in the “getall” response equal with the “asset” field in other responses?
I mean when there is an “asset” field or it contains the “asset” as a postfix, do they refer to the same entity, which can be found in the list of the getall coins?

For example the “asset” fields I would like to use:
Account Information /api/v3/account “balances” item’s “asset” field
ExchangeInfo /api/v3/exchangeInfo “symbols” item’s “baseAsset”, “quoteAsset” fields
Deposit History /wapi/v3/depositHistory.html “asset”
etc.

Thanks in advance,

Hi there,

The field “asset” from the mentioned endpoints do indeed all refer to the same entity, which can be the same as one of the coins returned from /sapi/v1/capital/config/getall endpoint.

Best.

2 Likes

Excellent, thanks!

By the way, can you please confirm that this “asset” field is a unique identifier?

asset is unique, but it’s worth to know each asset/coin may have multi networks, e.g. USDT can be transferred via OMNI, ETH, TRX, BNB, BSC. Hope that will be helpful.

1 Like

Thank you.