setaccount - Pastel RPC

setaccount "zcashaddress" "account"

DEPRECATED. Sets the account associated with the given address.

Arguments:
1. "zcashaddress"  (string, required) The Pastel 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:
> pastel-cli setaccount "PtczsZ91Bt3oDPDQotzUsrx1wjmsFVgf28n" "tabby"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "setaccount", "params": ["PtczsZ91Bt3oDPDQotzUsrx1wjmsFVgf28n", "tabby"] }' -H 'content-type: text/plain;' http://127.0.0.1:9932/


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node