Bitcoin Forum
May 24, 2024, 12:02:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: blockchain.info Wallet API  (Read 1015 times)
franklin424 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 21, 2013, 02:41:14 PM
 #1

Is there a method to import an existing Bitcoin address (using the private key) into a wallet managed by the API?  If so, will blockchain.info recover the addresses value from previous blocks (thereby increasing the value of the wallet)?

piuk
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1005



View Profile WWW
March 21, 2013, 05:51:12 PM
 #2

Is there a method to import an existing Bitcoin address (using the private key) into a wallet managed by the API?  If so, will blockchain.info recover the addresses value from previous blocks (thereby increasing the value of the wallet)?

The API and web interface work with the same wallets so if you import a private key using [Import / Export] in the javascript interface it will be available in the API as well. If you would like to import a key programatically you can use the importprivkey method from http://blockchain.info/api/json_rpc_api

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!