# get_account_addr

get_account_addr queries the address based on the account name.

request

{
  "jsonrpc": "2.0", 
  "method": "get_account_addr", 
  "params": ["x"], 
  "id": 1
}

Input parameters

  • account name

response

{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "XWCNgwap5htsS2p4Ja7i3cirenGQf8vM4MgcR"
}

return value

  • result: the address corresponding to the account name