Bitcoin Forum
December 13, 2017, 08:01:37 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Send bitcoin payment from curl - linux bash  (Read 952 times)
seoincorporation
Hero Member
*****
Offline Offline

Activity: 826


BtcBoss - LuckyBit Community Assistant


View Profile
October 01, 2014, 02:35:07 PM
 #1

Hi im searching the way to send a bitcoin transaction from a command line on linux.

I have read this is posible using bitcoind, but i want to do it using the blockchain.info API and curl:

In the API link we can found the next info: https://blockchain.info/es/api/blockchain_wallet_api

Quote
Making Outgoing Payments
Send bitcoin from your wallet to another bitcoin address. All transactions include a 0.0001 BTC miners fee.
Code:
https://blockchain.info/es/merchant/$guid/payment?password=$main_password&second_password=$second_password&to=$address&amount=$amount&from=$from&fee=$fee&note=$note
$main_password Your Main My wallet password
$second_password Your second My Wallet password if double encryption is enabled.
$to Recipient Bitcoin Address.
$amount Amount to send in satoshi.
$from Send from a specific Bitcoin Address (Optional)
$fee Transaction fee value in satoshi (Must be greater than default fee) (Optional)
$note A public note to include with the transaction (Optional)

I will make some attempts to use that line code with curl. If it works for me y will update this thread.

If some one know how to do it, or have a better way to send a payment from unix, please share the info.

The original falling coin game
Dice is boring.



               ▄██▄
              ▄█▀ ▐▌
                               ▄▄▄▄▄▄▄▄▄▄█
        ▄▄   ▐█   ▐▌                            ▄▀▀        █▀▀▄▄
      ▄▀    ▄█    █                          ▄▀          █    ▀█
     ▐▌     █▀   █▀                         ▐▌          █      █       
     ▐▌    ▐▌  ▄▀                           █          █▀    ▄█▀      █▐▌
      ▀▄   █ ▄▀                              █   ▄▀   █▀▀▀██▀    ▐▌ ▄█▄█▄
        ▀▀██▀   ▐█  ▐█  ▄█▀█ █▌▄██▄  █   █     ▀▀▀    █▀     ▀█     ▐▌█
         ▄█▌    █▀  █  ▄█  ▀▐█▀ ▄▀  █▌  █            █▀       ▐█ ▐█  ██
     ▄▄▄▄█▀    ▐▌  █▀ ▄█    █▌▄▀   ██  █▌  ▄▄▄▄▄    █▀         █ █▌ ▐█  ▌
 ▄██▀▀▀███▄▄   █  ██ ▄▀█   ██ █   ██  ██  ▄█    ▀▀▄█▀         █▌▐█ ▄█  █
▄▀    ▄█   ▀▀▀▄▀▀▀ ▀▀  ▀▄▄▀▀▀  ▀▄▀ ▀▀▀▄█▄▀ ▀▄   ▄█▀▀▀▄▄    ▄█▀▀  ▀▀  ▀▀
▀▄▄▄▄█▀        ▀▄                  ▄▄▄█      ▀▀▀       ▀▀▀▀
  ▀▀            ▐▌              ▄▀▀ ▄█
                              █   ▄▀
                              ▀▄▄▀▀
Suspense - Community - Prizes
Play different.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!