As HCP suggested, you could move this topic to Altcoin Discussion board by clicking on the Move Topic button in the bottom. The
listreceivedbyaddress command in the Bitcoin Core is different from just receiving the number of confirmations of a bitcoin tx. Rather
listreceivedbyaddress is used to list all the bitcoin addresses which has received transactions irrespective of number of confirmations. You can get all the addresses which has 0 transactions by changing the argument to 0.
In terms of Ethereum, the number of confirmations for a transaction is found by subtracting the Current Ethereum Block Number and the Block in which the transaction was mined. Here, you can find the Block in which tx was mined using
eth_getTransactionByHash rpc command which displays the required information about the transaction hash.
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["txhash"],"id":1}'
This inturn returns with the block number for the tx hash and the current Block number can be found using
eth_blockNumber rpc command.
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
This will return the most recent block number which was mined. If you don't really wan't to go through all these, try
web3.eth.getblockNumber - web3.eth.getTransaction('txhash').blockNumber