Bitcoin Forum
July 07, 2024, 06:56:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Some API for get bitcoin and send automatically?  (Read 511 times)
reasen (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
February 09, 2014, 08:52:57 AM
 #1

Yep, i searching some method for do one automatic thing, when some people send one payment in the address this send some bitcoins to the same address in x time, is it possible? Thanks.
Automatic
Full Member
***
Offline Offline

Activity: 238
Merit: 109


View Profile
February 10, 2014, 05:22:09 AM
 #2

%s is parsed from walletnotify.
Code:
sleep 5;
$amount = parseJsonAndGetAmount(bitcoind gettransaction %s);
bitcoind sendtoaddress $address $amount;

You get the point.

Please ask for a signed message from my on-site Bitcoin address (Check my profile) before doing any offsite trades with me.
reasen (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
February 10, 2014, 07:16:17 PM
 #3

thanks for pseucode is all i need.
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!