Can I read blockchain’s information from Electrum’s python console?

on

|

views

and

comments


I wanted to use Electrum’s python console, but the documentation just gives a few examples.
Is there a more complete documentation about python commands inside Electrum ?

Main tasks I currently want to do are blockchain reading, it includes :

  • the current block height
    (it is in the GUI, in “tools” -> “network”, but is there a CLI way to do it ?)
  • informations about a given block, like POW and Merkle root
    (I don’t know at all if there is a way to get them inside the console)
    (there is a file named ~/.electrum/blockchain_headers, but it’s not human-readable).

Is there a way to do that ?
(this is my main question)

(I’m currently using Electrum 3.3.8.)

Share this
Tags

Must-read

The Great Bitcoin Crash of 2024

Bitcoin Crash The cryptocurrency world faced the hell of early 2024 when the most popular Bitcoin crashed by over 80% in a matter of weeks,...

Bitcoin Gambling: A comprehensive guide in 2024

Bitcoin Gambling With online currencies rapidly gaining traditional acceptance, the intriguing convergence of the crypto-trek and gambling industries is taking place. Cryptocurrency gambling, which started...

The Rise of Bitcoin Extractor: A comprehensive guide 2024

Bitcoin Extractor  Crypto mining is resources-thirsty with investors in mining hardware and those investing in the resources needed as the main beneficiaries. In this sense,...

Recent articles

More like this