我正在使用npm
软件包coinbase
来访问Coinbase的API,以获取给定用户的买卖,钱包移动。我唯一的问题是我找不到从分叉接收到的任何加密货币标识符,例如,BCH已于2017-12-24贷记给所有BTC持有者。以下是来自BCH分支的coinbase的API响应。有没有非“ hacky”的说法,这是从叉子来的?
{ id: '#####',
type: 'send',
status: 'completed',
amount: { amount: '0.01737414', currency: 'BCH' },
native_amount: { amount: '33.49', currency: 'USD' },
description: null,
created_at: '2017-12-14T06:29:24Z',
updated_at: '2017-12-14T06:29:24Z',
resource: 'transaction',
resource_path:
'/v2/accounts/####/transactions/####',
instant_exchange: false,
network: { status: 'pending' },
from: { resource: 'bitcoin_cash_network', currency: 'BCH' },
details:
{ title: 'Received Bitcoin Cash',
subtitle: 'From Bitcoin Cash address' } }