I am trying to build a python program, that returns details of a transaction, such as inputs, outputs, time, amount, etc. I have already loaded bitcoind -txindex, yet, when I decode a raw transaction, I do not get the time field. I have already read that decoderawtransaction does not contain the time of the transaction, but I am curious of the way btc explorers get those data?
The only time fields that I have found are in getblock command and in getrawmempool/getmempoolentry (although I do not focus on unconfirmed transaction). Can i get any info from them?
Thank you for your time.