This question already has an answer here:

I'm new to this world and I'm trying to learn the blockchain world and especially now I've concentrated du bitcoin-core, I would like to parser and get the various information like the various sites where you enter ID of the wallet and you get all its information including transactions.

In particular I am interested in getting information on the type transactions, Id wallet sender and Id wallet recipient.

I do not ask any ready solution but only a hand to understand where to start and where to document.

I saw that on the net there are various blockchain parsers but at least the ones I met did not allow me to obtain the information I'm trying to figure out how to get them.

Thank you and above all excuse me if I asked stupid questions but I'm learning

marked as duplicate by chytrik, arubi, Pieter Wuille, Anonymous, Andrew Chow Jan 29 at 4:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Hell, welcome to Bitcoin.SE! I've linked a question above that has a lot of good basic info, I think it would be helpful to your understanding to read through some of it. As for your more specific Q: there is no information about sender/recipient wallets stored in the blockchain record, but Addresses can be viewed using a block explorer service. A user's wallet is a collection of addresses, but for privacy reasons it is important to not let the whole world know what all of your wallet's addresses are! – chytrik Jan 11 at 0:56
  • Thanks, guy, well @chytrik so the only address that I can extrapolate of the transactions is that of the sender, packed inside the secp256k1 public key? the recipient could extrapolate it from the content wallet of the sender, I understand? – vincenzopalazzo Jan 11 at 9:57

Extract sender ID and recipient ID of a bitcoin transaction

Transaction data in the blockchain does not include any ID for a "sender" or "recipient".

Transaction data includes scripts used to spend cryptocurrency amounts listed in the transaction data. The most common of these scripts specify what is commonly called an "address" but that is derived from a public key and is nowadays usually unique to a transaction. It is designed to be difficult or impossible to identify a sender or recipient from these "addresses".

sites where you enter ID of the wallet

There are no sites (in general) that do that because cryptocurrency wallets don't have wallet-IDs. Certainly none that are part of transaction data in the blockchain.

The only really significant data in a wallet is the private-keys it contains. Recovery-phrases or seed-phrases may be used to re-create these private keys. A wallet's data may be protected by being encrypted on disk using a password or pass-phrase. None of these constitute a wallet-ID.

Blockchain explorer websites generally allow you to examine blockchain data associated with one of

  • address
  • transaction-ID
  • block number (height)
  • block hash

None of those really constitute a sender-ID a recipient-ID or a wallet-ID.

Decoding Transaction Data

A good explanation of the structure of a Bitcoin transaction in a blockchain block can be found at https://en.bitcoin.it/wiki/Transaction

This gets more complex as time goes on and new features are added (SegWit, Bech32, ...) or when you need to fully decode lesser-used types of transactions (n of m multisig?).

Search for Code to parse a Bitcoin transaction

A few unintuitive aspects of Bitcoin and similar cryptocurrencies:

  • Wallets don't contain bitcoins.
  • The blockchain does not contain bitcoins.
  • Bitcoins are not really sent or transmitted through the Internet.
  • Bitcoins don't really exist anywhere - they are more a unit of measure.
  • The blockchain is not really a ledger (it is a journal).
  • Bitcoin addresses don't label places or people or wallets.
  • Bitcoin addresses are not used to deliver transactions or bitcoins somewhere.
  • Bitcoin transactions don't have to include any addresses.
  • Hello @RedGrittyBrick, Thanks for the help in understanding, and I'm sorry if my questions are stupid. So what I observe in this blockchain query are not id identifying the sender (maybe I misunderstand on the ID wallet), I would need the information of a transaction from whoever starts, just like in this link here. link. – vincenzopalazzo Jan 11 at 11:24
  • @vincenzopalazzo: Your question isn't stupid (though my answer may be not as helpful as I intended). I've added a link to my answer which I hope you (and others) will find useful. – RedGrittyBrick Jan 11 at 11:38
  • thanks for your help, I'll take a look at the link and I'll let you know. – vincenzopalazzo Jan 11 at 11:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.