Can I get transaction data with transaction hash only in NIS API?

I wanna get transaction data with transaction hash only in NIS API.
I mean, I wanna NIS API like followings.

‘gettransaction’ in Bitcoin
‘eth_getTransactionByHash’ in Ethereum

is this possible?

I’ve checked this.

But this NIS API looks like removed.:roll_eyes:

Hello,

Yes it is. For example :
http://hugealice.nem.ninja:7890/transaction/get?hash=3f0b74689fba61af29d7adc52b05757fdd61a4dca9c17911f64031aa616a94f9

But. Hashes are stored in memory default 1-2days (don’t remember exactly). So if you want on your node query any tx you must change hash retention time to -1 in your node config.properties

1 Like

Thanks for your replies.
I’ve found configuration for it.
nis.transactionHashRetentionTime = -1