<p>I'm going to assume by 'nonce', that you're referring to the value that, when hashed with the rest of the data in the block, equates to a value that's lower than the &quot;target&quot; (difficulty) for the epoch.</p>
<p>If that is the case, then you can get this information from a block explorer website like Blockcypher (url - <a href="https://live.blockcypher.com" rel="nofollow noreferrer">https://live.blockcypher.com</a>).</p>
<p>As an example, I chose to look at the block submitted and validated most recently (block height 706,890).</p>
<p><a href="https://i.sstatic.net/ZvEuZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ZvEuZ.png" alt="enter image description here" /></a></p>
<p>Clicking the hyperlinked block height # in the screenshot above will take you here - <a href="https://live.blockcypher.com/btc/block/000000000000000000067119c310ecee2c2f4b79b96e2a616ff93bf31236e1d6/" rel="nofollow noreferrer">https://live.blockcypher.com/btc/block/000000000000000000067119c310ecee2c2f4b79b96e2a616ff93bf31236e1d6/</a></p>
<p>Once you arrive at that page, you have to click the 'Advanced Details' button, which will pull expand the information you get shown.</p>
<p><a href="https://i.sstatic.net/VsCgJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VsCgJ.png" alt="enter image description here" /></a></p>
<p>Once you do this, you just need to scroll down the page a bit and you'll be able to see that block's &quot;winning nonce&quot;.</p>
<p><a href="https://i.sstatic.net/EOGu4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EOGu4.png" alt="enter image description here" /></a></p>
<p>Boom, that's it.</p>
<p>If this isn't what you were looking for, just write a comment to this 'answer' clarifying and I'll see if I can clear anything up for you.</p>

CC BY-SA 4.0
2021-10-27T10:34:21.443Z
Nonce of a block is same nonce of bitcoin transaction ? Thank You.
Caraco Mongos
CC BY-SA 4.0
2021-10-28T01:11:35.643Z
I believe this answer is confused; OP is asking about the ECDSA nonce in signatures, not about the block mining nonce.
Pieter Wuille
CC BY-SA 4.0
2021-11-21T07:54:50.217Z
Hey @PieterWuille , I don't disagree with you (at first glance looking at the question), but given the asker's unfamiliarity with how Bitcoin works (from a distance), I was a bit skeptical that they were asking about something as involved as the deterministic nonce generated per signature on the protocol. A question like that would likely be more appropriate for the (pure) cryptography StackExchange
librehash
CC BY-SA 4.0
2021-10-27T05:22:12.870Z
2021-10-27T05:22:12.870Z
librehash
<p>Subj.</p>
<p>Looking for a code for calculate/get bitcoin transaction nonce. Help me please.</p>
<p>???</p>
<p>Thank you.</p>

CC BY-SA 4.0
2021-10-25T20:40:47.347Z
You cannot. If you could compute the nonce of a signature, you could also compute its private key.
Pieter Wuille
<signature><nonce><secp256k1>
How to get bitcoin transaction nonce from transaction signature?
Caraco Mongos
# How to get bitcoin transaction nonce from transaction signature?

(Asked by: username_0 on 2021-10-25)

Subj.

Looking for a code for calculate/get bitcoin transaction nonce. Help me please.

???

Thank you.

**Tags:** signature, nonce, secp256k1

> **Comments:**
> **username_1**: You cannot. If you could compute the nonce of a signature, you could also compute its private key.  

---

## 1 answers

### Answer by username_2 on 2021-10-27. Score: -1

I'm going to assume by 'nonce', that you're referring to the value that, when hashed with the rest of the data in the block, equates to a value that's lower than the "target" (difficulty) for the epoch.

If that is the case, then you can get this information from a block explorer website like Blockcypher (url - <https://live.blockcypher.com>).

As an example, I chose to look at the block submitted and validated most recently (block height 706,890).

[![enter image description here](https://i.sstatic.net/ZvEuZ.png)](https://i.sstatic.net/ZvEuZ.png)

Clicking the hyperlinked block height # in the screenshot above will take you here - <https://live.blockcypher.com/btc/block/000000000000000000067119c310ecee2c2f4b79b96e2a616ff93bf31236e1d6/>

Once you arrive at that page, you have to click the 'Advanced Details' button, which will pull expand the information you get shown.

[![enter image description here](https://i.sstatic.net/VsCgJ.png)](https://i.sstatic.net/VsCgJ.png)

Once you do this, you just need to scroll down the page a bit and you'll be able to see that block's "winning nonce".

[![enter image description here](https://i.sstatic.net/EOGu4.png)](https://i.sstatic.net/EOGu4.png)

Boom, that's it.

If this isn't what you were looking for, just write a comment to this 'answer' clarifying and I'll see if I can clear anything up for you.

> **Comments:**
> **username_0**: Nonce of a block is same nonce of bitcoin transaction ? Thank You.  
> **username_1**: I believe this answer is confused; OP is asking about the ECDSA nonce in signatures, not about the block mining nonce.  
> **username_2**: Hey @PieterWuille , I don't disagree with you (at first glance looking at the question), but given the asker's unfamiliarity with how Bitcoin works (from a distance), I was a bit skeptical that they were asking about something as involved as the deterministic nonce generated per signature on the protocol. A question like that would likely be more appropriate for the (pure) cryptography StackExchange  

---

