setaccount - Okcash RPC

setaccount "address" "account"

DEPRECATED. Sets the account associated with the given address.

Arguments:
1. "address"         (string, required) The Okcash address to be associated with an account.
2. "account"         (string, required) The account to assign the address to.

Examples:
> okcashd setaccount "PGMBwqLidvr1hE2qLVw2sVwzEoShgouVxg" "tabby"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["PGMBwqLidvr1hE2qLVw2sVwzEoShgouVxg", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:6969/


Okcash Core RPC documentation.

Okcash version: 5.0.0.3

OK RPC docs at:Github