coinbase-api - 交易 resource_path 返回 not_found 错误
问题描述
在 trade["resource_path"] 内的交易信息中返回交易交易的资源路径:
{
"id": "e568c167-69ae-436f-90f2-c8785a625185",
"type": "trade",
"status": "completed",
"amount": {
"amount": "-0.00002100",
"currency": "BTC"
},
"native_amount": {
"amount": "-1.02",
"currency": "USD"
},
"description": null,
"created_at": "2019-07-06T09:28:54Z",
"updated_at": "2019-07-06T09:28:54Z",
"resource": "transaction",
"resource_path": "/v2/accounts/838d0df7-6d9c-4dfa-9e56-716342b3b4fa/transactions/e568c167-69ae-436f-90f2-c8785a625185",
"instant_exchange": false,
"trade": {
"id": "b1d42656-6e60-473a-95ce-6e29da90113c",
"resource": "trade",
"resource_path": "/v2/accounts/838d0df7-6d9c-4dfa-9e56-716342b3b4fa/trades/b1d42656-6e60-473a-95ce-6e29da90113c"
}
}
但是,查询该交易资源路径 https://coinbase.com/api/v2/accounts/838d0df7-6d9c-4dfa-9e56-716342b3b4fa/trades/b1d42656-6e60-473a-95ce-6e29da90113c以获取有关交易的详细信息返回 not_found 错误。
解决方案
推荐阅读
- docker - Docker 用户重新映射权限问题
- javascript - Javascript减少速记不返回对象
- javascript - 计算一个字符串中有多少个特定字符
- gitlab - 即使存储库存在于 git_data_dirs 路径中,Gitlab 也会返回“No Repository”
- javascript - 避免在 es6 中导出单例
- spring-boot - 使用 Jenkins 管道,使用 nohup 在后台运行 jar 文件不会启动 jar
- php - 使用 PHP 的多个单选按钮值
- bash - 在 UNIX 中动态创建和分配变量
- javascript - React 路由器无法正确渲染起始页面组件
- python - Python,请求,BS4:提交一个没有名字的按钮