【发布时间】:2021-03-18 21:54:18
【问题描述】:
我正在使用 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 端点一起使用,但我得到了相同的结果。我知道可以通过某种方式获得货币,因为有很多投资组合跟踪服务在做这件事,所以我一定做错了什么,但我不知道它会是什么。有人知道怎么做吗?
谢谢!
【问题讨论】:
标签: coinbase-api