Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Finding nonce in historical transactions / blocks
by
NotATether
on 14/02/2021, 06:47:54 UTC
⭐ Merited by vapourminer (1)
I'm not sure where to find the extra nonce though, they're located in the Coinbase transaction.

It turns out that the extraNonce is not included in the block or block header formats. This is a reply from theymos:

...
extraNonce is used by bitcoind, but it's not part of the protocol. There is no extraNonce field in blocks or transactions.



Thanks for that. Their is always some ninja here with knowledge needed. This is obviously historical block data? Any idea how to find individual transaction nonce? Thanks

There is no nonce for individual transactions, because it only applies to block generation. Individual transactions have no use knowing the nonce, since that would just waste more bytes making the tx larger. It's a 32-bit counter locates in the last 4 bytes of the block header.