keyByAddress method
Implementation
Bip44PublicKey keyByAddress(String address) {
final nativeAddr = address.toNativeUtf8();
try {
final bip44PubKey = DartApi.native.hydraPublic
.keyByAddress(_ffi, nativeAddr)
.extract((res) => res.asPointer<Void>());
return Bip44PublicKey(bip44PubKey, true);
} finally {
calloc.free(nativeAddr);
}
}