getPublicKey method
Get a public key for a specific change and address index.
Implementation
IPublicKey getPublicKey(int changeIndex, int addressIndex) {
return isPublicOnly
? _derivePublicKey(changeIndex, addressIndex)
: getPrivateKey(changeIndex, addressIndex).publicKey;
}