Format of comment parameters on bitcoind sendfrom command unclear. Attempts result in 'error: type mismatch' The way to specify comment and comment-to parameters when calling bitcoind sendfrom at the comment line is not clear.

When using sendtoaddress, this format works:

bitcoind sendtoaddress 'sendToBitCoinAddress' '0.42' 'comment' 'comment-to'


The man page specifies sendfrom has this format:

sendfrom &lt;fromaccount&gt; &lt;tobitcoinaddress&gt; &lt;amount&gt; [minconf=1] [comment] [comment-to]


However a similar usage to sendtoaddress results in an error. I've tried various permutations like:

bitcoind sendfrom 'testAccount69' 'sendToBitCoinAddress' '0.69' 'comment 'comment-to'


Thanks for any help
It appears that you are missing the field "minconf", probably setting that to any value would allow you to call the function properly.