getPublicKey method
Bip32PublicKey
getPublicKey({
- required Bip32KeyIndex firstIndex,
- required Bip32KeyIndex secondIndex,
Retrieves and returns the public key associated with the specified key indices.
Parameters:
- 'firstIndex': The first key index for key derivation.
- 'secondIndex': The second key index for key derivation.
Implementation
Bip32PublicKey getPublicKey({
required Bip32KeyIndex firstIndex,
required Bip32KeyIndex secondIndex,
}) {
final derive = deriveKey(firstIndex, secondIndex);
return derive.publicKey;
}