# wallet_create_account

wallet_create_account The wallet_create_account command is used to create a local account and return its address.

request

{
  "jsonrpc": "2.0", 
  "method": "wallet_create_account", 
  "params": ["usdh"], 
  "id": 1
}

Input parameters

  • The name of the account to be created. This account name is used locally. If you want to use this name permanently, you can call the register account interface to register for the chain

response

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

Return parameter

  • result: XWC address corresponding to the account