Skip to main content

getaccount

getaccount "address"

DEPRECATED. Returns the account associated with the given address.

yerbas-cli getaccount "XwnLY9Tf7Zsef8gMGL2fhWA9ZmMjt4KPwG"

Arguments

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

Output

ResultTypeDescription
"accountname"(string)the account address
Result:
"accountname" (string) the account address

Examples

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