<blockquote>
  <p><strong>how can I track the transaction or the newest block on my computer.</strong></p>
</blockquote>

<p>You can run a full-node Bitcoin client such as Bitcoin core. It will collect the full blockchain - it can take a long time (weeks) to download the full blockchain, but you should be able to examine early blocks and transactions without waiting.</p>

<p>In the case of Bitcoin Core, you can use the <a href="https://bitcoin.org/en/developer-reference#bitcoin-core-apis" rel="nofollow noreferrer">API</a> to examine blocks (<code>GetBlock</code> etc) and transactions (<code>GetTransaction</code> etc).</p>

<blockquote>
  <p><strong>is there any way I can type something on my terminal of the PC and shows the data on it?</strong></p>
</blockquote>

<p>For example</p>

<pre><code>./bitcoin-cli getblockcount

./bitcoin-cli -testnet getblockhash 240886

./bitcoin-cli getblock 00000000000000000d2347b601158f40c741dbd9353918903f057cedd82f49de 2
</code></pre>

CC BY-SA 4.0
2019-05-22T13:26:28.800Z
2019-05-22T13:42:57.747Z
2019-05-22T13:42:57.747Z
RedGrittyBrick
<p>I am still quite new to Bitcoin, and my question may be a little bit stupid. So I am wondering how can I track the transaction or the newest block on my computer. I know there are tons of websites showing the real-time information, so I guess my question is like is there any way I can type something on my terminal of the PC and shows the data on it? Something like constructed the dataset on my own.</p>

<transactions><blockchain><tracking>
How to track bitcoin transaction on PC
user95647
# How to track bitcoin transaction on PC

(Asked by: username_0 on 2019-05-22)

I am still quite new to Bitcoin, and my question may be a little bit stupid. So I am wondering how can I track the transaction or the newest block on my computer. I know there are tons of websites showing the real-time information, so I guess my question is like is there any way I can type something on my terminal of the PC and shows the data on it? Something like constructed the dataset on my own.

**Tags:** transactions, blockchain, tracking


---

## 1 answers

### Answer by username_1 on 2019-05-22. Score: 1

how can I track the transaction or the newest block on my computer.

You can run a full-node Bitcoin client such as Bitcoin core. It will collect the full blockchain - it can take a long time (weeks) to download the full blockchain, but you should be able to examine early blocks and transactions without waiting.
In the case of Bitcoin Core, you can use the API to examine blocks (GetBlock etc) and transactions (GetTransaction etc).

is there any way I can type something on my terminal of the PC and shows the data on it?

For example
./bitcoin-cli getblockcount

./bitcoin-cli -testnet getblockhash 240886

./bitcoin-cli getblock 00000000000000000d2347b601158f40c741dbd9353918903f057cedd82f49de 2


---

