I am trying getting the raw of transaction. But I am getting the following error with following command and RPC call as well.
bitcoin-cli getrawtransaction ad844933ceb9cf990fd75ebd2f6731527885e31d1a4c9ea292db235bcd64bdbe
Error
No such mempool transaction. Use -txindex to enable blockchain transaction queries. Use gettransaction for wallet transactions.