Exporting transaction history to JSON/CSV from UFVK/seed

Problem: Exporting transaction history to JSON/CSV from UFVK/seed

I have several wallets. Zcashd let me export transactions from one of them, a wallet file. Good. I have several other wallets that have seed phrases, with a mix of transparent and shielded transactions. I have unified viewing keys for them. I can’t import any of these into zcashd. I can import them into apps like Zashi, Ywallet/Zkool, Zingo etc, but they all have really terrible export options - nowhere close to the information you get from zcashd, and also most often the transaction history is incomplete even though they are fully synced (Using Zashi as the benchmark here - it always shows all transactions, but the “tax” export in Zashi contains almost no information, not even txids). I could perhaps do zingo-cli up to a lightwalletd server, but then I have to expose my seed phrase to the cli-tool, and unified viewing keys are apparently not supported (yet?). I did spin up zebrad/zallet, but zallet is alpha stage, I did not get as far as to fetch transaction history via an rpc call. I also tried using viewing keys on cipherscan/zypherscan - did not work as intended. I experimented with the Zcash web wallet tool on testnet also, no success. I exported private data from Zashi and looked at the DB-file to see if I could extract meaningful transaction information from it, no success.

Knowing this background information: Does anyone have any other ideas on how to fetch and export detailed transaction histories (like zcashd) from wallets using unified viewing keys?

1 Like

zingo-cli does support viewkeys, see below

./zingo-cli --chain mainnet --server http://localhost:9067 --data-dir ~/ --viewkey uview1wvwrv... --birthday 121xxxx

Ps use a locally synced zebrad + lwd if your worried about seed phrase. IF really paranoid, create a new wallet after.

eZcash supports view keys as well, should be up to date though I cant access the source rigjt now

Zkool also supports view keys and exporting txs

also zcash-devtool wallet

1 Like

Zenith supports importing UFVKs. The RPC server can produce a JSON array of the transactions, here’s the OpenRPC

1 Like