moneroexamples / onion-monero-blockchain-explorer

Onion Monero Blockchain Explorer
https://xmrchain.net
BSD 3-Clause "New" or "Revised" License
361 stars 269 forks source link

Include unlock_time in transactions, transaction and outputs endpoints #294

Closed Olsm closed 10 months ago

Olsm commented 11 months ago

If accepting monero payments, it is important to check that transactions are not locked until a future block because then it cannot be spent until some time in the future. I have only found "unlock_time" in the "rawtransaction" endpoint. Is it really only available here or can I find it somewhere else? It would be good if it was available in the transactions, transaction, and output endpoints, so it is not necessary to do an additional API request to rawtransaction endpoint.

moneroexamples commented 10 months ago

I think this is same issue as this one: https://github.com/moneroexamples/onion-monero-blockchain-explorer/issues/295