react-native-bdk-sdk 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,19 +110,8 @@ const AddressInfo = exports.AddressInfo = (() => {
110
110
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
111
111
  })();
112
112
  return Object.freeze({
113
- /**
114
- * Create a frozen instance of {@link AddressInfo}, with defaults specified
115
- * in Rust, in the {@link bdk_ffi} crate.
116
- */
117
113
  create,
118
- /**
119
- * Create a frozen instance of {@link AddressInfo}, with defaults specified
120
- * in Rust, in the {@link bdk_ffi} crate.
121
- */
122
114
  new: create,
123
- /**
124
- * Defaults specified in the {@link bdk_ffi} crate.
125
- */
126
115
  defaults: () => Object.freeze(defaults())
127
116
  });
128
117
  })();
@@ -161,19 +150,8 @@ const Balance = exports.Balance = (() => {
161
150
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
162
151
  })();
163
152
  return Object.freeze({
164
- /**
165
- * Create a frozen instance of {@link Balance}, with defaults specified
166
- * in Rust, in the {@link bdk_ffi} crate.
167
- */
168
153
  create,
169
- /**
170
- * Create a frozen instance of {@link Balance}, with defaults specified
171
- * in Rust, in the {@link bdk_ffi} crate.
172
- */
173
154
  new: create,
174
- /**
175
- * Defaults specified in the {@link bdk_ffi} crate.
176
- */
177
155
  defaults: () => Object.freeze(defaults())
178
156
  });
179
157
  })();
@@ -217,19 +195,8 @@ const BlockId = exports.BlockId = (() => {
217
195
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
218
196
  })();
219
197
  return Object.freeze({
220
- /**
221
- * Create a frozen instance of {@link BlockId}, with defaults specified
222
- * in Rust, in the {@link bdk_ffi} crate.
223
- */
224
198
  create,
225
- /**
226
- * Create a frozen instance of {@link BlockId}, with defaults specified
227
- * in Rust, in the {@link bdk_ffi} crate.
228
- */
229
199
  new: create,
230
- /**
231
- * Defaults specified in the {@link bdk_ffi} crate.
232
- */
233
200
  defaults: () => Object.freeze(defaults())
234
201
  });
235
202
  })();
@@ -266,19 +233,8 @@ const ConfirmationBlockTime = exports.ConfirmationBlockTime = (() => {
266
233
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
267
234
  })();
268
235
  return Object.freeze({
269
- /**
270
- * Create a frozen instance of {@link ConfirmationBlockTime}, with defaults specified
271
- * in Rust, in the {@link bdk_ffi} crate.
272
- */
273
236
  create,
274
- /**
275
- * Create a frozen instance of {@link ConfirmationBlockTime}, with defaults specified
276
- * in Rust, in the {@link bdk_ffi} crate.
277
- */
278
237
  new: create,
279
- /**
280
- * Defaults specified in the {@link bdk_ffi} crate.
281
- */
282
238
  defaults: () => Object.freeze(defaults())
283
239
  });
284
240
  })();
@@ -316,19 +272,8 @@ const DerivationInfo = exports.DerivationInfo = (() => {
316
272
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
317
273
  })();
318
274
  return Object.freeze({
319
- /**
320
- * Create a frozen instance of {@link DerivationInfo}, with defaults specified
321
- * in Rust, in the {@link bdk_ffi} crate.
322
- */
323
275
  create,
324
- /**
325
- * Create a frozen instance of {@link DerivationInfo}, with defaults specified
326
- * in Rust, in the {@link bdk_ffi} crate.
327
- */
328
276
  new: create,
329
- /**
330
- * Defaults specified in the {@link bdk_ffi} crate.
331
- */
332
277
  defaults: () => Object.freeze(defaults())
333
278
  });
334
279
  })();
@@ -364,19 +309,8 @@ const KeychainInfo = exports.KeychainInfo = (() => {
364
309
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
365
310
  })();
366
311
  return Object.freeze({
367
- /**
368
- * Create a frozen instance of {@link KeychainInfo}, with defaults specified
369
- * in Rust, in the {@link bdk_ffi} crate.
370
- */
371
312
  create,
372
- /**
373
- * Create a frozen instance of {@link KeychainInfo}, with defaults specified
374
- * in Rust, in the {@link bdk_ffi} crate.
375
- */
376
313
  new: create,
377
- /**
378
- * Defaults specified in the {@link bdk_ffi} crate.
379
- */
380
314
  defaults: () => Object.freeze(defaults())
381
315
  });
382
316
  })();
@@ -412,19 +346,8 @@ const LocalOutput = exports.LocalOutput = (() => {
412
346
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
413
347
  })();
414
348
  return Object.freeze({
415
- /**
416
- * Create a frozen instance of {@link LocalOutput}, with defaults specified
417
- * in Rust, in the {@link bdk_ffi} crate.
418
- */
419
349
  create,
420
- /**
421
- * Create a frozen instance of {@link LocalOutput}, with defaults specified
422
- * in Rust, in the {@link bdk_ffi} crate.
423
- */
424
350
  new: create,
425
- /**
426
- * Defaults specified in the {@link bdk_ffi} crate.
427
- */
428
351
  defaults: () => Object.freeze(defaults())
429
352
  });
430
353
  })();
@@ -468,19 +391,8 @@ const OutPoint = exports.OutPoint = (() => {
468
391
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
469
392
  })();
470
393
  return Object.freeze({
471
- /**
472
- * Create a frozen instance of {@link OutPoint}, with defaults specified
473
- * in Rust, in the {@link bdk_ffi} crate.
474
- */
475
394
  create,
476
- /**
477
- * Create a frozen instance of {@link OutPoint}, with defaults specified
478
- * in Rust, in the {@link bdk_ffi} crate.
479
- */
480
395
  new: create,
481
- /**
482
- * Defaults specified in the {@link bdk_ffi} crate.
483
- */
484
396
  defaults: () => Object.freeze(defaults())
485
397
  });
486
398
  })();
@@ -516,19 +428,8 @@ const Recipient = exports.Recipient = (() => {
516
428
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
517
429
  })();
518
430
  return Object.freeze({
519
- /**
520
- * Create a frozen instance of {@link Recipient}, with defaults specified
521
- * in Rust, in the {@link bdk_ffi} crate.
522
- */
523
431
  create,
524
- /**
525
- * Create a frozen instance of {@link Recipient}, with defaults specified
526
- * in Rust, in the {@link bdk_ffi} crate.
527
- */
528
432
  new: create,
529
- /**
530
- * Defaults specified in the {@link bdk_ffi} crate.
531
- */
532
433
  defaults: () => Object.freeze(defaults())
533
434
  });
534
435
  })();
@@ -564,19 +465,8 @@ const SentAndReceived = exports.SentAndReceived = (() => {
564
465
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
565
466
  })();
566
467
  return Object.freeze({
567
- /**
568
- * Create a frozen instance of {@link SentAndReceived}, with defaults specified
569
- * in Rust, in the {@link bdk_ffi} crate.
570
- */
571
468
  create,
572
- /**
573
- * Create a frozen instance of {@link SentAndReceived}, with defaults specified
574
- * in Rust, in the {@link bdk_ffi} crate.
575
- */
576
469
  new: create,
577
- /**
578
- * Defaults specified in the {@link bdk_ffi} crate.
579
- */
580
470
  defaults: () => Object.freeze(defaults())
581
471
  });
582
472
  })();
@@ -612,19 +502,8 @@ const TxDetails = exports.TxDetails = (() => {
612
502
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
613
503
  })();
614
504
  return Object.freeze({
615
- /**
616
- * Create a frozen instance of {@link TxDetails}, with defaults specified
617
- * in Rust, in the {@link bdk_ffi} crate.
618
- */
619
505
  create,
620
- /**
621
- * Create a frozen instance of {@link TxDetails}, with defaults specified
622
- * in Rust, in the {@link bdk_ffi} crate.
623
- */
624
506
  new: create,
625
- /**
626
- * Defaults specified in the {@link bdk_ffi} crate.
627
- */
628
507
  defaults: () => Object.freeze(defaults())
629
508
  });
630
509
  })();
@@ -672,19 +551,8 @@ const TxOut = exports.TxOut = (() => {
672
551
  return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
673
552
  })();
674
553
  return Object.freeze({
675
- /**
676
- * Create a frozen instance of {@link TxOut}, with defaults specified
677
- * in Rust, in the {@link bdk_ffi} crate.
678
- */
679
554
  create,
680
- /**
681
- * Create a frozen instance of {@link TxOut}, with defaults specified
682
- * in Rust, in the {@link bdk_ffi} crate.
683
- */
684
555
  new: create,
685
- /**
686
- * Defaults specified in the {@link bdk_ffi} crate.
687
- */
688
556
  defaults: () => Object.freeze(defaults())
689
557
  });
690
558
  })();
@@ -2543,6 +2411,10 @@ const FfiConverterTypeWordCount = (() => {
2543
2411
  * Backed by bdk_wallet::keys::bip39::Mnemonic (requires `keys-bip39` feature).
2544
2412
  */
2545
2413
 
2414
+ /**
2415
+ * @deprecated Use `MnemonicLike` instead.
2416
+ */
2417
+
2546
2418
  /**
2547
2419
  * BIP-39 mnemonic phrase for key generation.
2548
2420
  * Backed by bdk_wallet::keys::bip39::Mnemonic (requires `keys-bip39` feature).
@@ -2692,7 +2564,7 @@ const uniffiTypeMnemonicObjectFactory = (() => {
2692
2564
  }
2693
2565
  };
2694
2566
  })();
2695
- // FfiConverter for MnemonicInterface
2567
+ // FfiConverter for MnemonicLike
2696
2568
  const FfiConverterTypeMnemonic = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeMnemonicObjectFactory);
2697
2569
 
2698
2570
  /**
@@ -2700,6 +2572,10 @@ const FfiConverterTypeMnemonic = new _uniffiBindgenReactNative.FfiConverterObjec
2700
2572
  * Mirrors bitcoin::Psbt with added PsbtUtils trait methods.
2701
2573
  */
2702
2574
 
2575
+ /**
2576
+ * @deprecated Use `PsbtLike` instead.
2577
+ */
2578
+
2703
2579
  /**
2704
2580
  * A Partially Signed Bitcoin Transaction (BIP-174 / BIP-370).
2705
2581
  * Mirrors bitcoin::Psbt with added PsbtUtils trait methods.
@@ -2826,7 +2702,7 @@ const uniffiTypePsbtObjectFactory = (() => {
2826
2702
  }
2827
2703
  };
2828
2704
  })();
2829
- // FfiConverter for PsbtInterface
2705
+ // FfiConverter for PsbtLike
2830
2706
  const FfiConverterTypePsbt = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypePsbtObjectFactory);
2831
2707
 
2832
2708
  /**
@@ -2835,6 +2711,10 @@ const FfiConverterTypePsbt = new _uniffiBindgenReactNative.FfiConverterObject(un
2835
2711
  * Mirrors bdk_wallet::TxBuilder (without lifetime / generic coin selection).
2836
2712
  */
2837
2713
 
2714
+ /**
2715
+ * @deprecated Use `TxBuilderLike` instead.
2716
+ */
2717
+
2838
2718
  /**
2839
2719
  * Fluent builder for constructing Bitcoin transactions.
2840
2720
  * Create one, configure it, then call finish(wallet) to produce a PSBT.
@@ -3182,8 +3062,13 @@ const uniffiTypeTxBuilderObjectFactory = (() => {
3182
3062
  }
3183
3063
  };
3184
3064
  })();
3185
- // FfiConverter for TxBuilderInterface
3065
+ // FfiConverter for TxBuilderLike
3186
3066
  const FfiConverterTypeTxBuilder = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeTxBuilderObjectFactory);
3067
+
3068
+ /**
3069
+ * @deprecated Use `WalletLike` instead.
3070
+ */
3071
+
3187
3072
  class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
3188
3073
  [_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "Wallet";
3189
3074
  /**
@@ -3203,10 +3088,18 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
3203
3088
  /**
3204
3089
  * Broadcast a finalized PSBT via Electrum. Returns the txid.
3205
3090
  */
3206
- broadcastWithElectrum(url, psbt) /*throws*/{
3207
- return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3208
- return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterTypePsbt.lower(psbt), callStatus);
3209
- }, /*liftString:*/FfiConverterString.lift));
3091
+ async broadcastWithElectrum(url, psbt, asyncOpts_) /*throws*/{
3092
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3093
+ try {
3094
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3095
+ return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterTypePsbt.lower(psbt));
3096
+ }, /*pollFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterString.lift.bind(FfiConverterString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3097
+ } catch (__error) {
3098
+ if (uniffiIsDebug && __error instanceof Error) {
3099
+ __error.stack = __stack;
3100
+ }
3101
+ throw __error;
3102
+ }
3210
3103
  }
3211
3104
 
3212
3105
  /**
@@ -3338,10 +3231,18 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
3338
3231
  /**
3339
3232
  * Full scan via an Electrum TCP/TLS server.
3340
3233
  */
3341
- fullScanWithElectrum(url, stopGap) /*throws*/{
3342
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3343
- (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), _uniffiBindgenReactNative.FfiConverterUInt64.lower(stopGap), callStatus);
3344
- }, /*liftString:*/FfiConverterString.lift);
3234
+ async fullScanWithElectrum(url, stopGap, asyncOpts_) /*throws*/{
3235
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3236
+ try {
3237
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3238
+ return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), _uniffiBindgenReactNative.FfiConverterUInt64.lower(stopGap));
3239
+ }, /*pollFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_poll_void, /*cancelFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_cancel_void, /*completeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_complete_void, /*freeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3240
+ } catch (__error) {
3241
+ if (uniffiIsDebug && __error instanceof Error) {
3242
+ __error.stack = __stack;
3243
+ }
3244
+ throw __error;
3245
+ }
3345
3246
  }
3346
3247
 
3347
3248
  /**
@@ -3603,10 +3504,18 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
3603
3504
  /**
3604
3505
  * Incremental sync via Electrum.
3605
3506
  */
3606
- syncWithElectrum(url, stopGap) /*throws*/{
3607
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3608
- (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), _uniffiBindgenReactNative.FfiConverterUInt64.lower(stopGap), callStatus);
3609
- }, /*liftString:*/FfiConverterString.lift);
3507
+ async syncWithElectrum(url, stopGap, asyncOpts_) /*throws*/{
3508
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3509
+ try {
3510
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3511
+ return (0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), _uniffiBindgenReactNative.FfiConverterUInt64.lower(stopGap));
3512
+ }, /*pollFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_poll_void, /*cancelFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_cancel_void, /*completeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_complete_void, /*freeFunc:*/(0, _bdk_ffiFfi.default)().ubrn_ffi_bdk_ffi_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3513
+ } catch (__error) {
3514
+ if (uniffiIsDebug && __error instanceof Error) {
3515
+ __error.stack = __stack;
3516
+ }
3517
+ throw __error;
3518
+ }
3610
3519
  }
3611
3520
 
3612
3521
  /**
@@ -3707,7 +3616,7 @@ const uniffiTypeWalletObjectFactory = (() => {
3707
3616
  }
3708
3617
  };
3709
3618
  })();
3710
- // FfiConverter for WalletInterface
3619
+ // FfiConverter for WalletLike
3711
3620
  const FfiConverterTypeWallet = new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeWalletObjectFactory);
3712
3621
 
3713
3622
  // FfiConverter for /*f64*/number | undefined
@@ -3806,256 +3715,256 @@ function uniffiEnsureInitialized() {
3806
3715
  if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !== 14974) {
3807
3716
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor");
3808
3717
  }
3809
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 21218) {
3718
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 59902) {
3810
3719
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_language");
3811
3720
  }
3812
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 4827) {
3721
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 33743) {
3813
3722
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex");
3814
3723
  }
3815
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 9706) {
3724
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 8571) {
3816
3725
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_string");
3817
3726
  }
3818
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 43660) {
3727
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 23669) {
3819
3728
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_word_count");
3820
3729
  }
3821
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 43060) {
3730
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 27352) {
3822
3731
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_words");
3823
3732
  }
3824
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 55644) {
3733
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 11167) {
3825
3734
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex");
3826
3735
  }
3827
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 56607) {
3736
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 44530) {
3828
3737
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_amount");
3829
3738
  }
3830
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 60372) {
3739
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 7329) {
3831
3740
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_rate");
3832
3741
  }
3833
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 21092) {
3742
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 1731) {
3834
3743
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for");
3835
3744
  }
3836
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 51389) {
3745
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 47613) {
3837
3746
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_to_base64");
3838
3747
  }
3839
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 48234) {
3748
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 56652) {
3840
3749
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_txid");
3841
3750
  }
3842
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 24171) {
3751
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 57070) {
3843
3752
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_data");
3844
3753
  }
3845
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 49750) {
3754
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 53720) {
3846
3755
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs");
3847
3756
  }
3848
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 4691) {
3757
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 55150) {
3849
3758
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient");
3850
3759
  }
3851
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 34998) {
3760
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 56609) {
3852
3761
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable");
3853
3762
  }
3854
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 20705) {
3763
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 10770) {
3855
3764
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo");
3856
3765
  }
3857
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 35571) {
3766
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 8534) {
3858
3767
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos");
3859
3768
  }
3860
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 56022) {
3769
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 43752) {
3861
3770
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust");
3862
3771
  }
3863
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 46342) {
3772
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 6977) {
3864
3773
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_change_policy");
3865
3774
  }
3866
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 46986) {
3775
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 62295) {
3867
3776
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_current_height");
3868
3777
  }
3869
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 50138) {
3778
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 13462) {
3870
3779
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change");
3871
3780
  }
3872
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 33757) {
3781
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 33773) {
3873
3782
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_to");
3874
3783
  }
3875
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 46414) {
3784
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 48711) {
3876
3785
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet");
3877
3786
  }
3878
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 16464) {
3787
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 31683) {
3879
3788
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf");
3880
3789
  }
3881
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 21779) {
3790
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 7301) {
3882
3791
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence");
3883
3792
  }
3884
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 8223) {
3793
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 61197) {
3885
3794
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations");
3886
3795
  }
3887
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 63153) {
3796
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 59334) {
3888
3797
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed");
3889
3798
  }
3890
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 18715) {
3799
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 38654) {
3891
3800
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute");
3892
3801
  }
3893
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 61803) {
3802
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 2789) {
3894
3803
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate");
3895
3804
  }
3896
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 34471) {
3805
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 35410) {
3897
3806
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_finish");
3898
3807
  }
3899
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !== 41756) {
3808
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !== 1428) {
3900
3809
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script");
3901
3810
  }
3902
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 61274) {
3811
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 15817) {
3903
3812
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only");
3904
3813
  }
3905
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 33063) {
3814
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 5541) {
3906
3815
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime");
3907
3816
  }
3908
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 4190) {
3817
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 34933) {
3909
3818
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change");
3910
3819
  }
3911
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 16994) {
3820
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 50325) {
3912
3821
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo");
3913
3822
  }
3914
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 46942) {
3823
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 27106) {
3915
3824
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_ordering");
3916
3825
  }
3917
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 3595) {
3826
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 18350) {
3918
3827
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_policy_path");
3919
3828
  }
3920
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 63261) {
3829
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 25054) {
3921
3830
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence");
3922
3831
  }
3923
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 28721) {
3832
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 45616) {
3924
3833
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients");
3925
3834
  }
3926
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 22878) {
3835
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 56408) {
3927
3836
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_sighash");
3928
3837
  }
3929
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 13770) {
3838
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 32700) {
3930
3839
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_tx_version");
3931
3840
  }
3932
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 28900) {
3841
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 10665) {
3933
3842
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_unspendable");
3934
3843
  }
3935
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 14979) {
3844
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 60979) {
3936
3845
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum");
3937
3846
  }
3938
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 28791) {
3847
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 37423) {
3939
3848
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora");
3940
3849
  }
3941
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 47809) {
3850
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 36133) {
3942
3851
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump");
3943
3852
  }
3944
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 46069) {
3853
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 47950) {
3945
3854
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee");
3946
3855
  }
3947
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 23249) {
3856
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 64903) {
3948
3857
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate");
3949
3858
  }
3950
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !== 58967) {
3859
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !== 39828) {
3951
3860
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_cancel_tx");
3952
3861
  }
3953
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 55082) {
3862
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 44342) {
3954
3863
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_checkpoints");
3955
3864
  }
3956
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 63256) {
3865
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 14373) {
3957
3866
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_index");
3958
3867
  }
3959
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 22939) {
3868
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 44475) {
3960
3869
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk");
3961
3870
  }
3962
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 64735) {
3871
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 25926) {
3963
3872
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum");
3964
3873
  }
3965
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 24840) {
3874
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 47076) {
3966
3875
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain");
3967
3876
  }
3968
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 22273) {
3877
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 43414) {
3969
3878
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt");
3970
3879
  }
3971
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 15611) {
3880
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 45470) {
3972
3881
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum");
3973
3882
  }
3974
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 43655) {
3883
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 39717) {
3975
3884
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora");
3976
3885
  }
3977
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 18605) {
3886
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 22733) {
3978
3887
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_balance");
3979
3888
  }
3980
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 58042) {
3889
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 59477) {
3981
3890
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_tx");
3982
3891
  }
3983
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 47916) {
3892
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 35239) {
3984
3893
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_utxo");
3985
3894
  }
3986
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 33605) {
3895
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 32676) {
3987
3896
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_insert_txout");
3988
3897
  }
3989
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 27949) {
3898
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 45210) {
3990
3899
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_is_mine");
3991
3900
  }
3992
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 1009) {
3901
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 22099) {
3993
3902
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_keychains");
3994
3903
  }
3995
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 5951) {
3904
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 37521) {
3996
3905
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint");
3997
3906
  }
3998
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 35186) {
3907
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 21768) {
3999
3908
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_output");
4000
3909
  }
4001
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 590) {
3910
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 13240) {
4002
3911
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unspent");
4003
3912
  }
4004
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 63031) {
3913
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 11229) {
4005
3914
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses");
4006
3915
  }
4007
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 53427) {
3916
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 63278) {
4008
3917
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_mark_used");
4009
3918
  }
4010
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 18889) {
3919
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 50311) {
4011
3920
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_network");
4012
3921
  }
4013
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 28145) {
3922
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 50867) {
4014
3923
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index");
4015
3924
  }
4016
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 58812) {
3925
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 51015) {
4017
3926
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_unused_address");
4018
3927
  }
4019
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 56579) {
3928
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 10883) {
4020
3929
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_peek_address");
4021
3930
  }
4022
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 18685) {
3931
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 34809) {
4023
3932
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_persist");
4024
3933
  }
4025
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 64896) {
3934
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 31626) {
4026
3935
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_policies");
4027
3936
  }
4028
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 19031) {
3937
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 58604) {
4029
3938
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_public_descriptor");
4030
3939
  }
4031
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 55968) {
3940
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 12682) {
4032
3941
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to");
4033
3942
  }
4034
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 61535) {
3943
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 25820) {
4035
3944
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address");
4036
3945
  }
4037
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 51484) {
3946
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 4457) {
4038
3947
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send");
4039
3948
  }
4040
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 31024) {
3949
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 949) {
4041
3950
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sent_and_received");
4042
3951
  }
4043
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 49926) {
3952
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 32193) {
4044
3953
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sign");
4045
3954
  }
4046
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 58815) {
3955
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 38866) {
4047
3956
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum");
4048
3957
  }
4049
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 55793) {
3958
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 28111) {
4050
3959
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora");
4051
3960
  }
4052
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 13072) {
3961
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 33179) {
4053
3962
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_transactions");
4054
3963
  }
4055
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 60609) {
3964
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 15355) {
4056
3965
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_tx_details");
4057
3966
  }
4058
- if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 25591) {
3967
+ if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 46731) {
4059
3968
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_unmark_used");
4060
3969
  }
4061
3970
  if ((0, _bdk_ffiFfi.default)().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !== 37039) {