secretKeyDerivePathUnhardened method

Future<Uint8List> secretKeyDerivePathUnhardened({
  1. required Uint8List sk,
  2. required Uint32List path,
  3. dynamic hint,
})
override

Implementation

Future<Uint8List> secretKeyDerivePathUnhardened(
    {required Uint8List sk, required Uint32List path, dynamic hint}) {
  var arg0 = _platform.api2wire_uint_8_list(sk);
  var arg1 = _platform.api2wire_uint_32_list(path);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) => _platform.inner
        .wire_secret_key_derive_path_unhardened(port_, arg0, arg1),
    parseSuccessData: _wire2api_uint_8_list,
    constMeta: kSecretKeyDerivePathUnhardenedConstMeta,
    argValues: [sk, path],
    hint: hint,
    parseErrorData: (v) {
      return Null;
    },
  ));
}