Methods to parse out the recipient handle of “change” from transactions in tx?

on

|

views

and

comments


The entire level of getting change addresses in Bitcoin’s design (versus an account based mostly mannequin the place each participant has a key with a steadiness) is hiding who the fee is for.

Change addresses do not exist on the protocol degree in any respect. They’re simply outputs, to addresses, similar to the funds are. Whether or not one thing is taken into account a fee handle or a change handle is info that solely exists within the members’ wallets.

So, no, you may’t parse this off the block chain. If that had been doable it’d defeat the aim. In fact, in some instances there could also be extra info that means that you can make an knowledgeable guess about what’s change. E.g. for those who see an output with a spherical quantity (say, 0.01000000 BTC) and one other with a non-round quantity (say, 0.00715618 BTC), you could (appropriately or not) conclude that the spherical quantity is the fee. There are additionally transactions that simply haven’t got change.

Share this
Tags

Must-read

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

US regulators open inquiry into Waymo self-driving automobile that struck youngster in California | Expertise

The US’s federal transportation regulator stated Thursday it had opened an investigation after a Waymo self-driving car struck a toddler close to an...

US robotaxis bear coaching for London’s quirks earlier than deliberate rollout this yr | London

American robotaxis as a consequence of be unleashed on London’s streets earlier than the tip of the yr have been quietly present process...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here