Module client

Source
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 HierarchiesClient struct.
  • 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 HierarchiesClientReadOnly struct.

Re-exports§

pub use error::ClientError;

Modules§

error
Error types for Hierarchies client operations

Structs§

HierarchiesClient
The HierarchiesClient struct is responsible for managing the connection to the IOTA network and executing transactions on behalf of the Hierarchies package.
HierarchiesClientReadOnly
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.