Can I learn blockchain’s data from Electrum’s python console? – CoinNewsTrend

Can I learn blockchain’s data from Electrum’s python console?

[ad_1]

I wished to make use of Electrum’s python console, however the documentation simply provides just a few examples.
Is there a extra full documentation about python instructions inside Electrum ?

Primary duties I at present wish to do are blockchain studying, it consists of :

  • the present block top
    (it’s within the GUI, in “instruments” -> “community”, however is there a CLI technique to do it ?)
  • informations a few given block, like POW and Merkle root
    (I do not know in any respect if there’s a technique to get them contained in the console)
    (there’s a file named ~/.electrum/blockchain_headers, nevertheless it’s not human-readable).

Is there a method to do this ?
(that is my principal query)

(I am at present utilizing Electrum 3.3.8.)

[ad_2]

Supply hyperlink