wallet/importAccount
The string is typically generated by the exportAccount RPC, although the string can be manually generated with the sdk.
This endpoint also supports structured input.
Request
{
  account: RpcAccountImport | string
  name?: string
  rescan?: boolean
}
Rpc Objects:
Response
{
  name: string;
  isDefaultAccount: boolean;
}