I'm using JSON-RPC to send commands to my bitcoind, and it works fine.
Now I want to encrypt my wallet. When I've done that, I will need to send the passphrase when calling SendToAddress. How do I do that?
Right now I send these parameters:
which are put into an array in the order above.
Will the passphrase be another parameter that I append as the last element in that array?