key method

Bip44PublicKey key(
  1. int idx
)

Implementation

Bip44PublicKey key(int idx) {
  final bip44PubKey = DartApi.native.hydraPublic
      .key(_ffi, idx)
      .extract((res) => res.asPointer<Void>());
  return Bip44PublicKey(bip44PubKey, true);
}