RPC Browser


Command: getaccount


Arguments

getaccount "address"

DEPRECATED. Returns the account associated with the given address.

Arguments:
1. "address"         (string, required) The litecoin address for account lookup.

Result:
"accountname"        (string) the account address

Examples:
> litecoin-cli getaccount "LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaccount", "params": ["LEr4hNAefWYhBMgxCFP2Po1NPrUeiK8kM2"] }' -H 'content-type: text/plain;' http://127.0.0.1:9332/

Blockchain (22)


Control (5)


Generating (2)


Mining (5)


Network (12)


Rawtransactions (8)


Util (6)


Wallet (48)