汇率好像不一致。一些货币没有出现,但在某种程度上得到支持

Exchange rate seems to be inconsistent. Some currency are do not show up, but are supported in some leve

看:https://developers.coinbase.com/api/v2#get-currencies

写的很清楚"it can be defined as any supported currency"。当我查询支持货币 DKK 时没有显示...但是您可以使用 DKK 来获取汇率吗? coinbase 网站也以丹麦克朗显示我的价值。

那么,是什么给了?!?!这只是令人困惑。我用支持的货币创建了一个列表,但不能选择丹麦克朗,因为它不在查询中?!?!

有人吗?

如果查询所有货币,丹麦克朗在那里:

GET https://api.coinbase.com/v2/currencies

RESPONSE {"data":[ ... ,{"id":"DKK","name":"Danish Krone","min_size":"0.01000000"}, ... ]}

您也可以只查询 DKK 以将其与其他货币进行比较:

GET https://api.coinbase.com/v2/exchange-rates?currency=DKK

RESPONSE {"data":{"currency":"DKK","rates":{"AED":"0.54780095459776946093168", ... }}}