Skip to content

Data model

Tomek Banach edited this page May 9, 2018 · 3 revisions

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

Transaction model:

  • date: date of transaction
  • id: Unique identifier of transaction ex. ETH transaction hash for Ethereum, exchange ledger id etc.
  • sender: account address or alias of sender ex. "Company Management Nano", "Kraken", "0x8601034a23E834a807AeDC2628e589c35f4c0FFd"
  • sender currency: ETH, BTC, EUR etc.
  • sender amount
  • receiver
  • receiver currency
  • receiver amount
  • fee currency
  • fee amount
  • transaction type [local|expense|deposit]
  • notes
Clone this wiki locally