MultiversX Tracker is Live!

Parsing bitcoin blockchain, get input (vin)

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 109 Views

I downloaded the bitcoin blockchain. I have a full node and I would like to do some parsing. I use RPC to send commands to bitcoin core from my Python program. When I get a block it works fine but the input is missing. I am forced to look for the associated transaction to "discover" the address and the value. For the output no problem, it's a known problem; the problem is that making an extra request for each input slows down my program a lot, for the moment I haven't found a solution so I'm relying on you a bit.

I tried to find a solution on the UTXO side with the gettxout command but I have to think again, not sure it does what I want.

My goal is to get a result like the one of blockchain.info. Addresses don't interest me, the HEX script is enough, the input address, the output address, and the associated value.


Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments