I need to get number of confirmation of a transaction. I know I can do this using bitcoin core but I need a tool that do not need a local copy blockchains. also I can not use any 3rd party API. it should work in linux.
Main problem there. It is quite hard if you choose not to use a third party API.
If you are facing storage constraints only, I would recommend running Bitcoin Core with pruning turned on. If not, would a SPV client suffice? Electrum provides a command line and it doesn't require much resources. That is the best I can think of.
electrum doesn't provide confirmation counts
I would recommend running Bitcoin Core with pruning turned on
could you please explain more? thanks