SS58Encoder class

Encodes raw account bytes into an SS58 address string.

Constructors

SS58Encoder()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

encode(List<int> dataBytes, int ss58Format) → String
Encodes dataBytes (the raw account/public-key bytes) as an SS58 address under ss58Format (the network/address-type identifier - e.g. 0 for Polkadot, 2 for Kusama, 42 for the generic Substrate format).