Is there a daemon RPC call to get a list of all the latest transactions and their hashes?
You can use get_block which includes includes the tx hashes (tx_hashes
) in that block. You can then use get_transactions if you need further details on the transactions.
-
But the get_transaction wont give me the time when the transaction has been added to the block. – Sri davei May 21 '19 at 2:07
-
It's added to the block at the timestamp of the block (as returned in get_block). If you want the time it was added to the tx pool, you'd have to check get_transaction_pool. But honestly, time added to block is really all thats important. – jtgrassie♦ May 21 '19 at 4:20