Find SubRealms

Find realms by parentRealmId and the specified subrealm prefix.

Method

atomicalsFindSubRealms

Parameters

{
  parentRealmId: string
  subrealmPrefix?: string
  asc?: boolean
}

Example

Code

const parentRealmId =
  '7788b52fb3da9d01d11918c0816aa7c62dafa2aca2f0c219d356ba71c29a31cci0'
const subrealmPrefix = 'tech'
const result: ToResult<{ result: FindSubrealmItem[] }> =
  await api.atomicalsFindSubRealms({
    params: { parentRealmId, subrealmPrefix },
  })

Result

// TODO: This method doesn't work properly