address property

String get address

Get the Substrate address encoded in SS58 format.

This method uses the SS58 package to encode the public key with a default prefix of 42.

Example:

final keyPair = KeyPair.sr25519.fromSeed(seed); // Replace with your actual seed
print('Substrate Address: ${keyPair.address}');

Implementation

String get address;