Skip to content

Data model

Tomek Banach edited this page Feb 7, 2018 · 3 revisions

We are trying to have one data model that can encapsulate both exchanges and transfers between wallets.

Fields:

  • date: date of transaction
  • type: [ETH|kraken|BTC]
  • id: ex tx hash for ethereum transfers, exchange ledger id etc
  • sender: address or alias of sender. ex. "Company Management Nano", "Kraken", "0x8601034a23E834a807AeDC2628e589c35f4c0FFd"
  • sender currency: ETH,BTC etc
  • sender amount
  • receiver
  • receiver currency
  • receiver amount
  • fee currency
  • fee amount
  • sender amount in euro
  • fee in euro
  • transaction type [local|expense|deposit]
  • notes
Clone this wiki locally