2

I am looking at the results returned by listtransactions API and I do not understand the difference between blocktime, time and timereceived. Help tells me the following:

"blocktime": xxx, (numeric) The block time in seconds since epoch (1 Jan 1970 GMT).

"time": xxx, (numeric) The transaction time in seconds since epoch (midnight Jan 1 1970 GMT).

"timereceived": xxx, (numeric) The time received in seconds since epoch (midnight Jan 1 1970 GMT). Available for 'send' and 'receive' category of transactions.

Can anyone explain these fields in a little bit more details?

2
+50

The Bitcoin developer reference has a section on the listtransactions call:

The blocktime is the timestamp of the block that confirmed this transaction on your local best blockchain. It is not returned for unconfirmed transactions.

The time field tracks the time that your wallet started tracking this transaction.

The timereceived field tracks the time that your node learned about the transaction, or alternatively the time of the block that included this transaction.

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.