Bitcoin Forum
May 09, 2024, 08:43:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to query the blockchain - advanced search?  (Read 159 times)
BitCoinSeo (OP)
Jr. Member
*
Offline Offline

Activity: 38
Merit: 12


View Profile
June 01, 2022, 01:04:07 PM
Merited by Welsh (4), o_e_l_e_o (4), Halab (2), ABCbits (1)
 #1

hi there,
I'm wondering if there are any public tools to do an advanced search on the BTC blockchain, for example;

All transactions that match:
Date range e.g. October 20-30th, 2013.
where coin transfer amount = 4
From existing wallet with balance > 0
To new wallet with balance < 0

Reason is to help a friend who lost track of his wallet address, but still has his password. The senders address is unavailable.

Thankyou
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715244237
Hero Member
*
Offline Offline

Posts: 1715244237

View Profile Personal Message (Offline)

Ignore
1715244237
Reply with quote  #2

1715244237
Report to moderator
1715244237
Hero Member
*
Offline Offline

Posts: 1715244237

View Profile Personal Message (Offline)

Ignore
1715244237
Reply with quote  #2

1715244237
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16620


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 01, 2022, 01:10:39 PM
Merited by o_e_l_e_o (4), ABCbits (2)
 #2

I'm wondering if there are any public tools to do an advanced search on the BTC blockchain
I know Blockchair.com can export searches, but I can't find the link. If it's only 10 days, you might even be able to use their data dumps, and search in a spreadsheet.

Quote
To new wallet with balance < 0
There won't be any matches for negative balance.

Quote
Reason is to help a friend who lost track of his wallet address, but still has his password. The senders address is unavailable.
What is the password for? If it's for a wallet, there's no use if you don't have the wallet. Finding the transaction won't help.

NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6731


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 02, 2022, 10:17:15 AM
 #3

It is not possible to search by wallet balance from a block explorer because the secret nature of derived public keys prevents their addresses from being linked together. The best you can do is search the individual wallet addresses respectively [for a wallet.dat with lost password for example, the public keys can still be accessed directly from the file using tools such as pywallet as they are stored unencrypted]. It's easier if you made transactions from these addresses because you can just look at the payment histories of the various services you paid for.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
June 02, 2022, 11:17:14 AM
Merited by ABCbits (1)
 #4

I know Blockchair.com can export searches, but I can't find the link.
Here's the closest search you can do with Blockchair based on the data OP has provided: https://blockchair.com/bitcoin/transactions?q=time(2013-10-20..2013-10-30)%2Cinput_total(400000000)

Still returns 622 transactions, which is probably far more than he was hoping for. It's not possible Blockchair to specify that a receiving address must be unused. The best way of narrowing it down from here would be for OP to know how many inputs and outputs were in the transaction.
databoi
Newbie
*
Offline Offline

Activity: 5
Merit: 83


View Profile
June 02, 2022, 01:17:27 PM
Merited by PrimeNumber7 (1)
 #5

If you know SQL, I put together a Bitcoin database https://www.dolthub.com/repositories/web3/bitcoin that is currently updated till 2013. I have a more optimized database on the way that will be easier to download and work with. If interested, I can help you with the SQL queries.
Next-door
Jr. Member
*
Offline Offline

Activity: 35
Merit: 2


View Profile
June 04, 2022, 07:09:26 PM
 #6

[A few words about blockchain developers
First you need to learn a web programming language like PHP or JSP so that you can exchange information in JSON-RPC with the node of a coin. Then you need to decide which Coin's Blockchain you want to work on. If you go to the website of your favorite Coin and see their Developer Documentation, you will understand what you need to do by calling Function. Two books by Andreas Antonopoulos to be a blockchain developer ...


1. https://github.com/bitcoinbook/bitcoinbook
2. https://github.com/ethereumbook/ethereumbook



You can read it for free on Github. Linked. If you have skills in Bitcoin and Ethereum Blockchain, it will be convenient for you to work in other Coins.
NotATether
Legendary
*
Online Online

Activity: 1596
Merit: 6731


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 05, 2022, 04:23:18 AM
 #7

First you need to learn a web programming language like PHP or JSP so that you can exchange information in JSON-RPC with the node of a coin.

Not necessary. Just install jq on a Linux box and you can easily parse JSON responses on the command-line. (It is not too hard to construct a JSON document from just a string.)

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!