Author

Topic: Getting address history from electrum server directly? (Read 809 times)

jr. member
Activity: 56
Merit: 1
Thanks for pointing out this directory... i didn't know it was there.  I am trying to build a separate application that needs to do things such as retrieving the balance of a Bitcoin address without downloading the blockchain.  I want the application to be as fault tolerant as possible and it seems that Electrum servers may provide this (i also do not want Electrum client to be a dependency for my application).

It looks like most of what i need is in network.py and interface.py.  Hopefully i can put on my expert hacker hat and extract the logic i need.
legendary
Activity: 1896
Merit: 1353
why don't you use the scripts in the scripts directory?
jr. member
Activity: 56
Merit: 1
Is it possible to get the address history (or for my purposes, even better, the address balance) directly from an Electrum server using curl?  Something like this:
curl -i -X POST -d '{"id": 1, "method": "blockchain.block.get_history", "params": ["1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v"]}' http://electrum.bitcoins.sk:8081/

Jump to: