我正在使用 Coinbase Pro API 的 List Deposits endpoint,但响应中返回的数据让我不知道使用哪种货币(法定货币或加密货币):
{
id: 'xxx',
type: 'deposit',
created_at: '2017-11-27 09:03:13.278111+00',
completed_at: '2017-11-27 09:03:14.112826+00',
canceled_at: null,
processed_at: '2017-11-27 09:03:14.112826+00',
account_id: 'xxx',
user_id: 'xxx',
user_nonce: null,
amount: '2001.00000000',
details: {
coinbase_account_id: 'xxx',
coinbase_transaction_id: 'xxx'
},
idem: null
}
我尝试将 id 与 Single Deposit 端点一起使用,但得到了相同的结果。我知道货币可以以某种方式获得,因为有很多投资组合跟踪服务在做这件事,所以我一定做错了什么,但我不知道它会是什么。有人知道怎么做吗?
谢谢!