User-friendly wallet interface

From Wiki Planet
Jump to: navigation, search

Simple api for Multi-language wallet support visitors to a blockchain for transmission and bringing bitcoin cryptocurrency address generation payments.

Api blockchain wallet provides simple interface merchants that can do for contact in their wallet. 
Installation. In order to use this api, you will need to launch small local services that are responsible for driving your blockchain wallet. Your application interacts with this service locally through the challenges of the http api, click here for reliable guidance on setting up github. 
Creation of outgoing payments send bitcoin from your own wallet to another address of bitcoin. All cash transactions consist of a fee of 0.0001 btc mins. All the values of the bitcoins are located in satoshi, i.E. Divide by 10,000,000 in order to arrange money in btc. Basic url for various queries: https://blockchain.Info/merchant/ $guid/. $ Guid should be changed to the identifier of your blockchain wallet (found on the system of visiting the system). Http: // localhost: 3000/merchant/$ guid/wathent? Password = $ main_password $ firstpassword = "password_here"; $ secondpassword = "password_here"; $ summe = "10000000"; $ antb = "400000"; $ addressa = "1a8jiwvvpyopuksngyhmzgy zpiq "; $ addressb = "1exd2je6unxl5osu6ipuhn9ta7urn8bjby"; $ recipient = urlencode (' "@>"' '$ addressb.' : '. = $ Secondpassword 
$ Json_data = file_get_contents ($ json_url); 
$ Json_feed = json_decode ($ json_data); 
$ Message = $ json_feed-'>' message; $ txid = $ json_feed-'>' tx_hash; ?> 
Bringing the balance of the wallet remove the balance of the wallet. This should be used only as an assessment and will include unconfirmed transactions and, possibly, double expenses. "Balance": "balance of the wallet in satoshi" 
"Balance": 1000 
List of the address of the wallet. It also includes the balance of confirmation 0, which should only be used in the assessment will include unconfirmed transactions and, possibly, double expenses. "Addresses": ["balance": 1400938800, "address": "1q1atvcykhtvegm3187mgnrh5ycukuwjqc", "label": "sms -donsytes", "total_received": 5954572400, ": 794343434343434343434343433 3434343434343434343434344443434443434343444343434344343434343434343434344343434ul334343434343434343434lal3343434343333333343434ur3333343343333333lar333433333333lute theirerate 3434343436 “address”: “1a8jiwcwvpy7taopuksnguehmzgyfzpiq "," label ":" my wallet "," total_received ": 4533000483335," balance ": 0," address ":" 17p49xuc2fw4fn53wjzqyam4apkhememememememememememempempememmempk] 

Obtaining the balance of the address get the address balance bitcoin. Request for the balance of the address on the tag is shock-absorbed. $ Bitcoin address for search

Generation of the new address http: // localhost: 3000/herchant/$ guid/new_address ? Password = $ main_password & second_password = $ second_password & label = $ label $ main_password- your main password of the blockchain wallet $ second_password- your second password of the blockchain wallet. If double encryption is included. It is recommended that this is a human readable line , for example, "order no.: 1234". You can use this as a link to check the order balance (documented later) 
"Address": "generated address of bitcoin", "tag": "address tag" 
"Address": "18fyqizndtxdvo7g9ourogb4ufj86jjiy", "label": "order no.: 1234" 
Archives for the address to improve the addresses of the productivity of the wallet, which have not been used recently, must be transferred to an archival state. They will still be held in the wallet, but will no longer be included in the calls of the “list” or “transactions with transactions”. . Or, if bitcoin’s unique address is generated for each user, users who have not been included recently (~ 30 days), their addresses should be archived. Archive_address? Password = $ main_password & second_password = $ second_password & address = $ address 
Answer: 200 ok, application/json 
"Archived": 18fyqiz: "18fyqiz zndtxdvo7g9orgb4ufj86jjiy " / +> Unarchive address unarchive address. It will also restore consolidated addresses (see below).