Federation
@iota/hierarchies API documentation
Class: Federation
Represents a federation. A federation is a group of entities that have agreed to work together
Properties
id
readonlyid:string
Retrieves the ID of the federation.
Returns
A string representing the federation ID.
governance
readonlygovernance:Governance
Retrieves the governance of the federation.
Returns
The governance object for the federation.
rootAuthorities
readonlyrootAuthorities:RootAuthority[]
Retrieves the root authorities of the federation.
Returns
An array of root authorities.
revokedRootAuthorities
readonlyrevokedRootAuthorities:string[]
Retrieves the revoked root authorities of the federation.
Returns
An array of revoked root authorities.
Methods
toJSON()
toJSON():
Object
- Return copy of self without private attributes.
Returns
Object
toString()
toString():
string
Return stringified version of self.
Returns
string