move - Divi 2.5.1 RPC

move "fromaccount" "toaccount" amount ( minconf "comment" )

Move a specified amount from one account in your wallet to another.

Arguments:
1. "fromaccount"   (string, required) The name of the account to move funds from. May be the default account using "".
2. "toaccount"     (string, required) The name of the account to move funds to. May be the default account using "".
3. minconf           (numeric, optional, default=1) Only use funds with at least this many confirmations.
4. "comment"       (string, optional) An optional comment, stored in the wallet only.

Result:
true|false           (boolean) true if successfull.

Examples:

Move 0.01 DIVI from the default account to the account named tabby
> divi-cli move "" "tabby" 0.01

Move 0.01 DIVI timotei to akiko with a comment and funds have 6 confirmations
> divi-cli move "timotei" "akiko" 0.01 6 "happy birthday!"

As a json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "move", "params": ["timotei", "akiko", 0.01, 6, "happy birthday!"] }' -H 'content-type: text/plain;' http://127.0.0.1:51473/


Maintained by DiviDomains; modified by: Bert Shuler;license of the docs is MIT (see divi repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet divi node



Control



Getinvalid