Bitcoin Forum
August 09, 2024, 05:32:54 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send bitcoin payment from curl - linux bash  (Read 1044 times)
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3248
Merit: 3031



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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
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!