Trade ID (order_id)
Date and time (createdAt)
Type (txType - use `swap` instead of `exchange`)
Spent amount (sendStringAmount)
Spend ticker (extract from send param) ... currency ticker in case of fiat and buy (same for receive in case of sell)
Spend network (extract from send param) ... empty in case of fiat
Spend transaction ID (txn hash, empty if buy)
Receive amount (receiveStringAmount)
Receive ticker (extract from receive param)
Receive network (extract from receive param)
Provider (exchange, translate to human readable form btcdirect-sell -> BTC Direct, same as we are doing in the UI)
Status (status)
Receive transaction ID (receiveTxHash, empty if sell)
Payment ID (paymentId)
Add option for user to export his transaction history according to spec in the Figma.Make the code preparing csv structure reusable also with desktop.
Desktop ticket: #29956
Proposal