setaccount - Spacecoin RPC Docs


setaccount "SPACE_address" "account"

DEPRECATED. Sets the account associated with the given address.

Arguments:
1. "SPACE_address"  (string, required) The SPACE 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:
> spacecoin-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:35593/


Learn more about spacecoin at spacecoin.network.
Docs generated by spacecoin v0.6.1.
Find this github repo at spacecoinSPACE/spacecoin-rpc-docs.

Spacecoin Logo



Auction











Lotto