Skip to main content

setaccount

setaccount "address" "account"

DEPRECATED. Sets the account associated with the given address.

yerbas-cli setaccount "XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwG" "tabby"

Arguments

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

Output

ResultTypeDescription
.........
Result:
{
...
}

Examples

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