Bitcoin Forum
April 24, 2024, 08:02:46 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PHP connect to Electrum server  (Read 872 times)
dave111223 (OP)
Legendary
*
Offline Offline

Activity: 1190
Merit: 1001


View Profile WWW
February 20, 2014, 12:07:09 AM
 #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)
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
1713988966
Hero Member
*
Offline Offline

Posts: 1713988966

View Profile Personal Message (Offline)

Ignore
1713988966
Reply with quote  #2

1713988966
Report to moderator
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 266


View Profile
March 29, 2014, 11: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?

Bitwasp Developer.
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
March 30, 2014, 02:01:59 AM
 #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
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 266


View Profile
March 30, 2014, 09: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.

Bitwasp Developer.
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
March 31, 2014, 01:15:34 AM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!