Skip to main content

RootAuthority

@iota/hierarchies API documentation


Class: RootAuthority

Represents a root authority. A root authority is an entity that has the highest level of authority in a federation

Properties

id

readonly id: string

Retrieves the ID of the root authority.

Returns

A string representing the root authority ID.


accountId

readonly accountId: string

Retrieves the account ID of the root authority.

Returns

A string representing the account ID.

Methods

toJSON()

toJSON(): Object

  • Return copy of self without private attributes.

Returns

Object


toString()

toString(): string

Return stringified version of self.

Returns

string