Network class

Network class is used to specify which Stellar network you want to use. Each network has a networkPassphrase which is hashed to every transaction id.

Constructors

Network(String networkPassphrase)
Creates a new Network object to represent a network with a given networkPassphrase.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
networkId Uint8List
Returns the network id (SHA-256 hashed networkPassphrase).
read-only
networkPassphrase String
Returns the network passphrase of this network.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

PUBLIC Network
final
TESTNET Network
final