Bitcoin Forum
September 29, 2024, 04:17:01 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Correct use of "Sendmany"  (Read 663 times)
Roddy5690 (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
December 19, 2013, 07:49:55 PM
Last edit: December 19, 2013, 08:07:59 PM by Roddy5690
 #1

Hi everyone,

I'm having a lot of trouble setting up a sendmany request. Here's the code i'm using in the console:

Code:
sendmany "Mining", {"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001}

Code:
sendmany "Mining", {"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001,"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp":0.001}

I'm being told that there is an error parsing JSON, and then it refers to
Code:
{"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001}

If anyone can help I would really appreciate it!!

Thanks,

Roddy
binaryFate
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


Still wild and free


View Profile
December 19, 2013, 08:16:22 PM
 #2

I'm not sure, but try without the comma after "Mining", and put all the rest between " ' ", like '{...}'

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
Roddy5690 (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
December 19, 2013, 08:34:01 PM
 #3

Thanks for your time!

Tried:
Code:
sendmany "Mining" '{"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001,"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp":0.001}'

And received the same error.

Code:
sendmany "Mining", '{"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001,"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp":0.001}'

And

Code:
sendmany "Mining" {"17FpRBZLLgRJ7SkouxfNqFpAPU3ne9Simo":0.001,"1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp":0.001}

Both resulted in the same error.
binaryFate
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


Still wild and free


View Profile
December 19, 2013, 08:47:36 PM
 #4

Weird. I've just tested what I told you, and can confirm it works (the first one of your last trials).
The only difference (appart from the addresses of course) is that my account is ""

"Mining" is an account right? Not a comment?

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
Roddy5690 (OP)
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile
December 19, 2013, 08:54:41 PM
 #5

Mining is the account name. I'll have a go with ""

-Does things-

Still not working :/

Going to try and reinstall my client, see if that helps.
binaryFate
Legendary
*
Offline Offline

Activity: 1512
Merit: 1012


Still wild and free


View Profile
December 19, 2013, 08:56:00 PM
 #6

Mining is the account name. I'll have a go with ""

-Does things-

Still not working :/

Going to try and reinstall my client, see if that helps.

There is no reason it would change anything, don't waste time!
You're speaking about the debug console in bitcoin-qt, or the console in windows, or the console in unix/mac?

Monero's privacy and therefore fungibility are MUCH stronger than Bitcoin's. 
This makes Monero a better candidate to deserve the term "digital cash".
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!