Cluster class
Clusters
Properties
-
domain
→ String
-
The cluster's domain name (e.g. 'api.devnet.solana.com').
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
name
→ String?
-
Returns the cluster name of a Solana RPC URL domain.
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
secure
→ bool
-
If true, connect to the cluster's secure endpoint (https or wss).
final
Methods
-
http([String? path])
→ Uri
-
Returns the cluster's HTTP url.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
ws([String? path])
→ Uri
-
Returns the cluster's web socket url.
Static Properties
-
devnet
→ Cluster
-
Defines the
devnet cluster's endpoints.
no setter
-
mainnet
→ Cluster
-
Defines the
mainnet cluster's endpoints.
no setter
-
testnet
→ Cluster
-
Defines the
testnet cluster's endpoints.
no setter