# get_account_id

get_account_id gets the account id by account name.

request

{
  "jsonrpc": "2.0", 
  "method": "get_account_id", 
  "params": ["nathan"], 
  "id": 1
}

Input parameters

  • Account name to be queried

response

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

return value

  • result: id corresponding to the account name