2

Is there a way to request the date of last transaction via API? I run a request to see balance of my addresses and need to request the date of the last transaction, how would I do that?

  • Hey, I assume that you are using the blockchain.info api, and thus edited the question accordingly. – Murch Jan 11 '17 at 14:28
0

This is an ambiguous question as we don't know what your environment is. If you are using bitcoind, a call to gettransaction will give you a time field which is when the transaction has been seen.

Perhaps if you elaborate a bit more we would be able to answer the question more specifically.

0

If you call the address API i.e.

https://blockchain.info/address/$hash_160?format=json you will get a list of transactions.

They all have a time attribute which is the time in unix format. https://en.wikipedia.org/wiki/Unix_time

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.