SuiNetwork class

A Sui network with a host-supplied GraphQL endpoint and a dashboard network ID.

Constructors

SuiNetwork({required String rpcUrl, required String name, required String cluster, String? networkId})
const

Properties

cluster → String
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
networkId → String?
Network ID passed to the signer. Standard clusters default to sui:
final
rpcUrl → String
GraphQL endpoint. This is not a JSON-RPC URL.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) → SuiNetwork