Type alias KeyringClass<State>

KeyringClass<State>: {
    type: string;
    new (options?: Record<string, unknown>): Keyring<State>;
}

Type Parameters

Type declaration

    • new (options?: Record<string, unknown>): Keyring<State>
    • The Keyring constructor. Takes a single parameter, an "options" object. See the documentation for the specific keyring for more information about what these options are.

      Parameters

      • Optional options: Record<string, unknown>

        The constructor options. Differs between keyring implementations.

      Returns Keyring<State>

  • type: string

    The name of this type of keyring. This must uniquely identify the keyring type.