如何识别我在 coinbase 中为用户创建的钱包交易

时间:2021-03-26 11:41:25

标签: javascript bitcoin coinbase-api wallet

我正在创建带有比特币余额的项目,我尝试使用 coinbase api 我可以在我的网站上为每个用户创建不同的钱包地址,但我无法弄清楚如果在 api 客户端中如何定义该钱包的交易。 getTransactions 所有数据仅使用全局帐户 ID 写入

    id: 'id from',
  type: 'send',
  status: 'completed',
  amount: { amount: '0.00100000', currency: 'BTC' },
  description: null,
  created_at: '2021-03-25T21:46:10Z',
  updated_at: '2021-03-25T21:46:10Z',
  resource: 'transaction',
  resource_path: '/v2/accounts/globalAccountId/transactions/idFrom',
  instant_exchange: false,
  network: {
    status: 'confirmed',
    status_description: null,
    hash: 'hash',
    transaction_url: 'https://blockchain.info/tx/hash'
  },

0 个答案:

没有答案