When I run zcash-cli z_getbalance or zcash-cli listtransactions, it appears the output is always zero balance/transactions, yet according to explorer.zcha.in, the balance is present. What am I doing wrong?
The current bock height is 14299 (https://explorer.zcha.in/). Maybe your block chain is not yet synchronized. It might be easier to find out if you use a GUI wallet…
So in order to check the balance of some t_address, I also have to own the private key to it? I can’t check the balance of t_address that I don’t own? Because if that’s the case, how is explorer.zcha.in able to do it?
There is a way of to find any T address balance by scanning the blockchain… but AFAIK commands like z_getbalance work with addresses already in your wallet only (e.g. created or imported into the wallet).
txcount on the explorer.zcha.in is 33, but zcash-cli getwalletinfo shows only 15. Can my zcashd node be somehow out of sync even when the block count is the same as on explorer.zcha.in? The last transaction has been sent hours ago.