Expand description
Client module provides the client interface for the Hierarchies service. Clients can be used to interact with the Hierarchies service, create new federations, add properties, create attestations, and accreditations.
There are two types of clients:
- Client: A client that can perform both on-chain and off-chain operations. It requires a signer with a private key.
The client is represented by the
HierarchiesClientstruct. - ReadOnlyClient: A client that can only perform off-chain operations. It doesn’t require a signer with a private
key. The client is represented by the
HierarchiesClientReadOnlystruct.
Re-exports§
pub use error::ClientError;
Modules§
- error
- Error types for Hierarchies client operations
Structs§
- Hierarchies
Client - The
HierarchiesClientstruct is responsible for managing the connection to the IOTA network and executing transactions on behalf of the Hierarchies package. - Hierarchies
Client Read Only - A read-only client for the Hierarchies.
Functions§
- get_
object_ ref_ by_ id_ with_ bcs - Get an object by its ID and deserialize it using BCS.