Skip to content
Meshline
SDK 1.1.0 · TypeView source on GitHub

Developer guide · API index

Members on this page

Meshline.Sdk

Meshline.Models.Client

ClientOptions Class

Binds a client or component to one Meshline network and account.

public sealed class ClientOptions

Inheritance System.Object → ClientOptions

Properties

ClientOptions.AccountId Property

The account's CAIP-10 identifier.

public string AccountId { get; init; }

Property Value

System.String

ClientOptions.Context Property

The network reference and registry contract identifying this Meshline network.

public Meshline.Models.NetworkContext Context { get; init; }

Property Value

NetworkContext

Methods

ClientOptions.Validate() Method

Validates the configured network and account identifier.

public void Validate();

Exceptions

System.ArgumentNullException
The configured network context is null.

System.ArgumentException
The configured account identifier is invalid.

System.NotSupportedException
The configured account uses an unsupported namespace.