I tried to run a Geth light node, but it seems I can not retrieve transaction information from the RPC server. I'm not sure whether that's a limitation of the light node, or rather me not retrieving the information in the right way.
I run the command below to get the data, but it doesn't seem to work:
$ curl --data '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["tx hex hash"],"id":1}' \
-H "Content-Type: application/json" -X POST http://127.0.0.1:8545
$ {"jsonrpc":"2.0","id":1,"result":null}
Is eth_getTransactionByHash
supposed to work with a light node?
If not, what's the lightest node (in terms of disk space required to sync the blockchain) capable of returning that information from the RPC server managed wallets?