Bitcoin Forum
May 13, 2024, 07:08:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How can i view balance/status of BTC blockchain at certain block height?  (Read 227 times)
justone123 (OP)
Sr. Member
****
Offline Offline

Activity: 810
Merit: 258


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?
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715627332
Hero Member
*
Offline Offline

Posts: 1715627332

View Profile Personal Message (Offline)

Ignore
1715627332
Reply with quote  #2

1715627332
Report to moderator
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


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: 3304
Merit: 16655


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 02, 2018, 05:18:06 PM
Last edit: January 02, 2018, 09:04:30 PM by LoyceV
 #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
Legendary
*
Offline Offline

Activity: 2828
Merit: 6989



View Profile WWW
January 02, 2018, 08:28:02 PM
Last edit: May 14, 2023, 04:16:11 AM by TryNinja
Merited by ABCbits (1)
 #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://talkimg.com/images/2023/05/14/blobc8266cfa5d32e83b.png

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
piotr_n
Legendary
*
Offline Offline

Activity: 2053
Merit: 1354


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: 301
Merit: 74


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
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


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
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!