Electrum: Incorrect balance of earlier addresses

Created on 8 Jul 2019  路  9Comments  路  Source: spesmilo/electrum

Latest version of client and server.

Tried to get balance of "1NY3Pr8EYgy74K5DwQCYkKsE4dYNeiGUGg" got 0 but on online block explorers it shows 50 BTC. what might be the reason?

topic-wallet 馃憶

Most helpful comment

It works fine. It is up to the people concerned how they receive payments; they may or may not choose to use P2PK or indeed P2PKH. The assignment of bitcoin addresses to P2PK payments is non-standard and a hack anyway, so I'd argue the block explorers are responsible for the confusion.

All 9 comments

It doesn't include P2PK payments

i got only little idea about P2PK. so there won't be any new p2pk payments ? is P2PK deprecated ?

It works fine. It is up to the people concerned how they receive payments; they may or may not choose to use P2PK or indeed P2PKH. The assignment of bitcoin addresses to P2PK payments is non-standard and a hack anyway, so I'd argue the block explorers are responsible for the confusion.

what is the reason for not including the P2PK payments in ElectrumX?
And how to get balance of those payments from ElectrumX?

They are there, you just need a different query

would you give an example to query P2PK transactions? Thank you very much for your patience.

See the ElectrumX protocol docs.

hmmm. Ok. Thank you.

Note there is currently no way to monitor ("import") a P2PK script in Electrum (but any script can be monitored server-side). You can however sweep coins from P2PK scripts.

A reasonable way to support importing these scripts would be what Bitcoin Core started doing recently:
https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md
i.e. using output script descriptors

Was this page helpful?
0 / 5 - 0 ratings