Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

User

A user record — index, name, registered keys, and owned accounts.

Definition

type User = {
  index: number
  name: Username
  keys: Record<KeyHash, Key>
  accounts: Record<AccountIndex, Address>
}

Fields

indexnumber. Chain-unique user index (monotonically assigned).

nameUsername (string). Human-readable username.

keysRecord<KeyHash, Key>. All authorized keys, keyed by their hash.

accountsRecord<AccountIndex, Address>. All owned accounts.

See also