Author

Topic: PHP connect to Electrum server (Read 894 times)

legendary
Activity: 3710
Merit: 1586
March 30, 2014, 08:15:34 PM
#5
This would mean firing up electrum each time. Connecting to a random electrum server to quickly poll for transactions could be quicker.

Electrum stays up for a few minutes in daemon mode now when you run it this way.
sr. member
Activity: 412
Merit: 287
March 30, 2014, 04:58:09 PM
#4
This would mean firing up electrum each time. Connecting to a random electrum server to quickly poll for transactions could be quicker.
legendary
Activity: 3710
Merit: 1586
March 29, 2014, 09:01:59 PM
#3
I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)

Did you ever have any luck with this? I was thinking of writing something similar a while ago but never got to it. If you made a start I can have a look?

The newest version of electrum has support for all of this. Run electrum help to see. Some of hte commands:

getaddresshistory
getrawtransaction
decoderawtransaction
getaddressunspent
sr. member
Activity: 412
Merit: 287
March 29, 2014, 06:52:53 PM
#2
I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)

Did you ever have any luck with this? I was thinking of writing something similar a while ago but never got to it. If you made a start I can have a look?
legendary
Activity: 1190
Merit: 1001
February 19, 2014, 07:07:09 PM
#1
I'm trying to connect directly (using PHP) to Electrum servers to receive a list of a transactions for an address or mpk in general.

What format do requests need to be sent to an electrum server in order to retrieve data?

(Not literate in python so not able to easily glean this from the source)
Jump to: