addressFromMnemonic method
Future<AddressIconData>
addressFromMnemonic(
- int ss58, {
- CryptoType cryptoType = CryptoType.sr25519,
- String derivePath = '',
- required String mnemonic,
get address and avatar from mnemonic.
Implementation
Future<AddressIconData> addressFromMnemonic(int ss58,
{CryptoType cryptoType = CryptoType.sr25519,
String derivePath = '',
required String mnemonic}) async {
final addressInfo = await service!.addressFromMnemonic(ss58,
cryptoType: cryptoType, derivePath: derivePath, mnemonic: mnemonic);
return addressInfo;
}