Bitcoin Forum
September 24, 2018, 06:44:07 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How can i view balance/status of BTC blockchain at certain block height?  (Read 103 times)
justone123
Sr. Member
****
Offline Offline

Activity: 434
Merit: 254


View Profile
January 02, 2018, 02:44:24 PM
 #1

So is there any API or similar service, where i could like view the "status" at certain block. Say i want to check the balance of some X address at block height number 1000.

Can i do this easily?
1537814647
Hero Member
*
Offline Offline

Posts: 1537814647

View Profile Personal Message (Offline)

Ignore
1537814647
Reply with quote  #2

1537814647
Report to moderator
1537814647
Hero Member
*
Offline Offline

Posts: 1537814647

View Profile Personal Message (Offline)

Ignore
1537814647
Reply with quote  #2

1537814647
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
cellard
Legendary
*
Offline Offline

Activity: 1134
Merit: 1145


View Profile
January 02, 2018, 03:32:50 PM
 #2

So is there any API or similar service, where i could like view the "status" at certain block. Say i want to check the balance of some X address at block height number 1000.

Can i do this easily?

I was just looking for something like this recently. This would be extremely useful to know how much of a bitcoin fork you own by simply entering your addresses at the block height when the split happens, then you would get the total balance you own on the forked chain.

So far I have been needing to check address by address and manually making the sums, I think I got it right but im not sure. If you have a lot of addresses it can be tricky.

I hope someone can craft something that manages this for you automatically. You would only need to enter public addresses so no problems of losing coins.

LoyceV
Legendary
*
Offline Offline

Activity: 1246
Merit: 1992


Let's make Bitcointalk great again!


View Profile WWW
January 02, 2018, 05:18:06 PM
 #3

I was just looking for something like this recently. This would be extremely useful to know how much of a bitcoin fork you own by simply entering your addresses at the block height when the split happens, then you would get the total balance you own on the forked chain.
You can manually use block explorers for the different forks.
I use this one for Bitcoin Cash, this one for Bitcoin Gold, and this one for BitCore (technically BitCore is an airdrop, not a fork, but the result is the same: money connected to your private key.

Quote
I hope someone can craft something that manages this for you automatically. You would only need to enter public addresses so no problems of losing coins.
I kinda expect multi-coin-wallets will evolve if the forks keep coming. I now have to import the same private key several times into Coinomi, I can imagine in the future Coinomi or another wallet can automatically import all possible chains at once.

@TryNinja (under): thanks, I've bookmarked the link.

TryNinja
Hero Member
*****
Online Online

Activity: 770
Merit: 760


ChipMixer's Badge of Honor


View Profile
January 02, 2018, 08:28:02 PM
 #4

-snip-
Or just use this all-in-one tool which supports BTC, BCH, BitCore, BTG and BCD.

https://bitcore.cc/checker.php

Here is how it looks like:

Direct link: https://i.imgur.com/ZRYPoph.png

piotr_n
Legendary
*
Offline Offline

Activity: 1932
Merit: 1018


aka tonikt


View Profile WWW
January 03, 2018, 01:11:38 AM
 #5

It can be done but requires some exercise and some time as the process might take awhile.

Basically you need a full bitcoin node.
You better  keep it offline and then remove all the blocks starting from the height you don't need.
Then you tell the node to rebuild the unspent database.

If you want to use my gocoin node for that, I can guide you through. For the core client,  ask the core people.

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
jnano
Member
**
Offline Offline

Activity: 224
Merit: 13


View Profile
January 04, 2018, 03:44:34 PM
 #6

For your own wallet, in Bitcoin Core you can type in the console:

Code:
getbalance * <N>

Where N is the number of blocks back relative to the current.
Coding Enthusiast
Sr. Member
****
Online Online

Activity: 503
Merit: 320


Novice C♯ Coder


View Profile WWW
January 05, 2018, 06:16:25 AM
 #7

https://github.com/Coding-Enthusiast/Watch-Only-Bitcoin-Wallet/commit/7b7757652d4d23d4441b94a333fb3b2f5653dcf4



I'll probably merge it into master today.  Roll Eyes

Projects List+Suggestion box
Donation link using BIP21
Bech32 Donation link!
BitcoinTransactionTool (0.9.2):  Ann - Source Code
Watch Only Bitcoin Wallet (supporting SegWit) (3.1.0):  Ann - Source Code
SharpPusher (broadcast transactions) (0.10.0): Ann - Source Code

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!