Latest block number in Bitcoin

–1 vote

Could you please let me know how can I get the latest block number in bitcoin network. Kindly share the code if you have. Thanks in advance :)

Jan 7, 2019 in Blockchain by digger
• 26,740 points
604 views

1 answer to this question.

0 votes

You can get the current block number of bitcoin in two ways. 

First Way:

you will need to install the complete bitcoin-core and its data(around 223GB) on your machine and you need to run that bitcoin-core software 24*7 so that it will update the data on your machine and will give you the current block height and its information.

You can download the full bitcoin-core through this link:

https://bitcoincore.org/en/download/

Once you download the bitcoin-core, go through the certain command which will help you develop and monitor bitcoin network.

You can find the commands here:

https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

Second Way:

You can directly scrap the data from the bitcoin explorer which gives us the up-to-date information of bitcoin-core networks such as all the transaction and its metadata. 

some of the bitcoin explorers are:

1.https://www.blockchain.com/explorer

2.https://www.blocktrail.com/BTC

answered Jan 7, 2019 by Omkar
• 69,220 points

Related Questions In Blockchain

+1 vote
1 answer
0 votes
1 answer

How to get current block number in parity?

You can get the latest block number ...READ MORE

answered Jun 8, 2018 in Blockchain by Christine
• 15,790 points
1,379 views
0 votes
1 answer

How to get the number of tokens in the Bitcoin network?

This information can easily be calculated by ...READ MORE

answered Aug 31, 2018 in Blockchain by Christine
• 15,790 points
1,157 views
0 votes
1 answer
+1 vote
1 answer

Protocols used in a distributed/dlt system for the nodes to establish communication

yes all are over TCP/IP connections secured ...READ MORE

answered Aug 6, 2018 in Blockchain by aryya
• 7,460 points
1,427 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
1,922 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
0 votes
1 answer

In hyperledger, how many number of ordering node can take up a transaction?

There are two types to implement ordering: 1. ...READ MORE

answered Jun 25, 2018 in Blockchain by Omkar
• 69,220 points

edited Jun 28, 2018 by Omkar 1,258 views
0 votes
1 answer

How to reintialize genesis block in geth ethereum?

You are getting this error because you ...READ MORE

answered Dec 6, 2018 in Blockchain by Omkar
• 69,220 points
6,312 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP