Quick question, is there a Zcash-cli/Zcash RPC command to return the total count of transactions?
For example, using zcash-cli listtransactions parameter:
- “account” (string, optional) DEPRECATED. The account name. Should be “*”.
count (numeric, optional, default=10) The number of transactions to return
- from (numeric, optional, default=0) The number of transactions to skip
- includeWatchonly (bool, optional, default=false) Include transactions to watchonly addresses (see ‘importaddress’)
In other words, I’d like to know the current max/total count as to plug into listtransactions to get the full list. Or if you know of another technique, that’s cool too.
Thanks and kind regards,
I think listtransactions would only work for Taddys, lol I’ll have to check because there’s none in my node right now, to see them run getaddressesbyaccount “”
z_listrecievedbyaddress should show for a Zaddy, use z_listaddresses
Sometimes the experimentalfeatures and insightexplorer flags need enabled for certain rpcs, this will reindex so be prepared for that.
the only way I was able to find was by parsing the
you get something like this
Aug 25 09:40:27.990 INFO ProcessNewBlock: main: UpdateTip: new best hash=00000000002f5c990ce4541590eacf137b9045060c2df5add911cdeb0670e6f3 height=1367027 bits=469991690 log2_wor
k=58.745548 tx=9017063 date=2021-08-25 09:40:13 progress=1.000000 cache=50.8MiB(3260tx)
Would getwalletinfo show the same 3260? Or were you looking for the 9M one? (thats cool though)