setaccount - Hush 3.10.3 RPC

setaccount "HUSH3_address" "account"

DEPRECATED. Sets the account associated with the given address.

Arguments:
1. "HUSH3_address"  (string, required) The HUSH3 address to be associated with an account.
2. "account"         (string, required) MUST be set to the empty string "" to represent the default account. Passing any other string will result in an error.

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


Maintained by The Hush Developers

Welcome to the Hush full node RPC developer documentation!!! You finally made it.