3

Is there a daemon RPC call to get a list of all the latest transactions and their hashes?

2

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.

| improve this answer | |
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.