ClusterNode class
Cluster Node
Constructors
-
ClusterNode({required String pubkey, required String? gossip, required String? tpu, required String? rpc, required String? version, required u32? featureSet, required u16? shredVersion})
-
Information about a cluster node.
const
-
ClusterNode.fromJson(Map<String, dynamic> json)
-
Creates an instance of
this class from the constructor parameters defined in the json
object.
factory
Properties
-
featureSet
→ u32?
-
The unique identifier of the node's feature set.
final
-
gossip
→ String?
-
The node's gossip network address.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
pubkey
→ String
-
The node's public key, as base-58 encoded string.
final
-
rpc
→ String?
-
The node's JSON RPC network address, or null if the JSON RPC service is not enabled.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shredVersion
→ u16?
-
The shred version the node has been configured to use.
final
-
tpu
→ String?
-
The node's TPU network address.
final
-
version
→ String?
-
The node's software version, or null if the version information is not available.
final
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serialises
this class into a JSON object.
override
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
tryFromJson(Map<String, dynamic>? json)
→ ClusterNode?
-
Creates an instance of
this class from the constructor parameters defined in the json
object.
override