Bitcoin Forum
May 30, 2024, 03:33:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Public Note not working with Blockchain API "sendmany" method?  (Read 1385 times)
GratisBitcoin (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 15, 2014, 08:04:41 PM
 #1

I'm running a Bitcoin faucet and I'm trying to attach a public "Thank you" note when sending out the money to the users of my website.

The API call I'm doing is this one:

Code:
http://blockchain.info/merchant/***HIDDEN***/sendmany?password=***HIDDEN***&second_password=***HIDDEN***&recipients=%7B%22***HIDDEN***%22%3A5810%7D&note=Thank+you+for+using+GratisBitco.in%21

All recipients are paid without any problems, but the public message is not showing on the BlockChain.info website. This is the last payment from my website:

Code:
https://blockchain.info/tx/7dc59cb39fd506fb6b2bae313415631787391da1692522b4d1144911feb1f0a1



This is what the BlockChain Wallet API says about this:


Quote
Send Many Transactions

Send a transaction to multiple recipients in the same transaction.

https://blockchain.info/merchant/$guid/sendmany?password=$main_password&second_password=$second_password&recipients=$recipients&shared=$shared&fee=$fee

    $main_password Your Main My wallet password
    $second_password Your second My Wallet password if double encryption is enabled.
    $recipients Is a JSON Object using Bitcoin Addresses as keys and the amounts to send as values (See below).
    $from Send from a specific Bitcoin Address (Optional)
    $shared "true" or "false" indicating whether the transaction should be sent through a shared wallet. Fees apply. (Optional)
    $fee Transaction fee value in satoshi (Must be greater than default fee) (Optional)
    $note A public note to include with the transaction (Optional)


Am I doing something wrong? Or is it a bug in the BlockChain Wallet API?
GratisBitcoin (OP)
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
January 23, 2014, 09:43:04 AM
 #2

Anyone?
newIndia
Legendary
*
Offline Offline

Activity: 2226
Merit: 1049


View Profile
May 17, 2014, 09:53:09 AM
 #3

Anyone?

Did u get any solution to it ? I'm facing the same problem Undecided

dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
May 17, 2014, 04:38:10 PM
 #4

Code:
http://blockchain.info/merchant/***HIDDEN***/sendmany?password=***HIDDEN***&second_password=***HIDDEN***&recipients=%7B%22***HIDDEN***%22%3A5810%7D&note=Thank+you+for+using+GratisBitco.in%21
Am I doing something wrong? Or is it a bug in the BlockChain Wallet API?

the "." in GratisBitco.in in your message is messing it up. you must encode it with %2E

Answer:
Code:
http://blockchain.info/merchant/***HIDDEN***/sendmany?password=***HIDDEN***&second_password=***HIDDEN***&recipients=%7B%22***HIDDEN***%22%3A5810%7D&note=Thank+you+for+using+GratisBitco%2Ein%21

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
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!