Bitcoin Asked on November 13, 2021
I’m hosting a Listening Bitcoin Node in Capital of Pakistan. I want to know the Block height when Transaction entered the mempool. Right now I’m using the time from the Json format of the Transaction and Checking the Block height against it. Do you guys think that this method is reliable or I fear that transactions in my mempool have more latency than usual node in Europe. Should use an Api to find the Entry Block Height of the transaction?
Please also suggest an api also?
Bitcoin Core has a getmempoolentry
command. This takes a txid
and returns information about that transaction's mempool status. This includes height
which is the block height when transaction entered pool
.
Answered by Andrew Chow on November 13, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP