SuiClient constructor

SuiClient(
  1. String endpoint, {
  2. SuiAccount? account,
  3. RequestOptions? options,
})

Creates a client for the JSON-RPC endpoint, optionally with a signing account. See SuiUrls for the well-known network endpoints.

Implementation

SuiClient(String endpoint, {SuiAccount? account, super.options})
    : super(endpoint: endpoint) {
  _account = account;
}