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.
@@ -97,19 +97,8 @@ export const AddressInfo = (() => {
97
97
  return uniffiCreateRecord(defaults);
98
98
  })();
99
99
  return Object.freeze({
100
- /**
101
- * Create a frozen instance of {@link AddressInfo}, with defaults specified
102
- * in Rust, in the {@link bdk_ffi} crate.
103
- */
104
100
  create,
105
- /**
106
- * Create a frozen instance of {@link AddressInfo}, with defaults specified
107
- * in Rust, in the {@link bdk_ffi} crate.
108
- */
109
101
  new: create,
110
- /**
111
- * Defaults specified in the {@link bdk_ffi} crate.
112
- */
113
102
  defaults: () => Object.freeze(defaults())
114
103
  });
115
104
  })();
@@ -148,19 +137,8 @@ export const Balance = (() => {
148
137
  return uniffiCreateRecord(defaults);
149
138
  })();
150
139
  return Object.freeze({
151
- /**
152
- * Create a frozen instance of {@link Balance}, with defaults specified
153
- * in Rust, in the {@link bdk_ffi} crate.
154
- */
155
140
  create,
156
- /**
157
- * Create a frozen instance of {@link Balance}, with defaults specified
158
- * in Rust, in the {@link bdk_ffi} crate.
159
- */
160
141
  new: create,
161
- /**
162
- * Defaults specified in the {@link bdk_ffi} crate.
163
- */
164
142
  defaults: () => Object.freeze(defaults())
165
143
  });
166
144
  })();
@@ -204,19 +182,8 @@ export const BlockId = (() => {
204
182
  return uniffiCreateRecord(defaults);
205
183
  })();
206
184
  return Object.freeze({
207
- /**
208
- * Create a frozen instance of {@link BlockId}, with defaults specified
209
- * in Rust, in the {@link bdk_ffi} crate.
210
- */
211
185
  create,
212
- /**
213
- * Create a frozen instance of {@link BlockId}, with defaults specified
214
- * in Rust, in the {@link bdk_ffi} crate.
215
- */
216
186
  new: create,
217
- /**
218
- * Defaults specified in the {@link bdk_ffi} crate.
219
- */
220
187
  defaults: () => Object.freeze(defaults())
221
188
  });
222
189
  })();
@@ -253,19 +220,8 @@ export const ConfirmationBlockTime = (() => {
253
220
  return uniffiCreateRecord(defaults);
254
221
  })();
255
222
  return Object.freeze({
256
- /**
257
- * Create a frozen instance of {@link ConfirmationBlockTime}, with defaults specified
258
- * in Rust, in the {@link bdk_ffi} crate.
259
- */
260
223
  create,
261
- /**
262
- * Create a frozen instance of {@link ConfirmationBlockTime}, with defaults specified
263
- * in Rust, in the {@link bdk_ffi} crate.
264
- */
265
224
  new: create,
266
- /**
267
- * Defaults specified in the {@link bdk_ffi} crate.
268
- */
269
225
  defaults: () => Object.freeze(defaults())
270
226
  });
271
227
  })();
@@ -303,19 +259,8 @@ export const DerivationInfo = (() => {
303
259
  return uniffiCreateRecord(defaults);
304
260
  })();
305
261
  return Object.freeze({
306
- /**
307
- * Create a frozen instance of {@link DerivationInfo}, with defaults specified
308
- * in Rust, in the {@link bdk_ffi} crate.
309
- */
310
262
  create,
311
- /**
312
- * Create a frozen instance of {@link DerivationInfo}, with defaults specified
313
- * in Rust, in the {@link bdk_ffi} crate.
314
- */
315
263
  new: create,
316
- /**
317
- * Defaults specified in the {@link bdk_ffi} crate.
318
- */
319
264
  defaults: () => Object.freeze(defaults())
320
265
  });
321
266
  })();
@@ -351,19 +296,8 @@ export const KeychainInfo = (() => {
351
296
  return uniffiCreateRecord(defaults);
352
297
  })();
353
298
  return Object.freeze({
354
- /**
355
- * Create a frozen instance of {@link KeychainInfo}, with defaults specified
356
- * in Rust, in the {@link bdk_ffi} crate.
357
- */
358
299
  create,
359
- /**
360
- * Create a frozen instance of {@link KeychainInfo}, with defaults specified
361
- * in Rust, in the {@link bdk_ffi} crate.
362
- */
363
300
  new: create,
364
- /**
365
- * Defaults specified in the {@link bdk_ffi} crate.
366
- */
367
301
  defaults: () => Object.freeze(defaults())
368
302
  });
369
303
  })();
@@ -399,19 +333,8 @@ export const LocalOutput = (() => {
399
333
  return uniffiCreateRecord(defaults);
400
334
  })();
401
335
  return Object.freeze({
402
- /**
403
- * Create a frozen instance of {@link LocalOutput}, with defaults specified
404
- * in Rust, in the {@link bdk_ffi} crate.
405
- */
406
336
  create,
407
- /**
408
- * Create a frozen instance of {@link LocalOutput}, with defaults specified
409
- * in Rust, in the {@link bdk_ffi} crate.
410
- */
411
337
  new: create,
412
- /**
413
- * Defaults specified in the {@link bdk_ffi} crate.
414
- */
415
338
  defaults: () => Object.freeze(defaults())
416
339
  });
417
340
  })();
@@ -455,19 +378,8 @@ export const OutPoint = (() => {
455
378
  return uniffiCreateRecord(defaults);
456
379
  })();
457
380
  return Object.freeze({
458
- /**
459
- * Create a frozen instance of {@link OutPoint}, with defaults specified
460
- * in Rust, in the {@link bdk_ffi} crate.
461
- */
462
381
  create,
463
- /**
464
- * Create a frozen instance of {@link OutPoint}, with defaults specified
465
- * in Rust, in the {@link bdk_ffi} crate.
466
- */
467
382
  new: create,
468
- /**
469
- * Defaults specified in the {@link bdk_ffi} crate.
470
- */
471
383
  defaults: () => Object.freeze(defaults())
472
384
  });
473
385
  })();
@@ -503,19 +415,8 @@ export const Recipient = (() => {
503
415
  return uniffiCreateRecord(defaults);
504
416
  })();
505
417
  return Object.freeze({
506
- /**
507
- * Create a frozen instance of {@link Recipient}, with defaults specified
508
- * in Rust, in the {@link bdk_ffi} crate.
509
- */
510
418
  create,
511
- /**
512
- * Create a frozen instance of {@link Recipient}, with defaults specified
513
- * in Rust, in the {@link bdk_ffi} crate.
514
- */
515
419
  new: create,
516
- /**
517
- * Defaults specified in the {@link bdk_ffi} crate.
518
- */
519
420
  defaults: () => Object.freeze(defaults())
520
421
  });
521
422
  })();
@@ -551,19 +452,8 @@ export const SentAndReceived = (() => {
551
452
  return uniffiCreateRecord(defaults);
552
453
  })();
553
454
  return Object.freeze({
554
- /**
555
- * Create a frozen instance of {@link SentAndReceived}, with defaults specified
556
- * in Rust, in the {@link bdk_ffi} crate.
557
- */
558
455
  create,
559
- /**
560
- * Create a frozen instance of {@link SentAndReceived}, with defaults specified
561
- * in Rust, in the {@link bdk_ffi} crate.
562
- */
563
456
  new: create,
564
- /**
565
- * Defaults specified in the {@link bdk_ffi} crate.
566
- */
567
457
  defaults: () => Object.freeze(defaults())
568
458
  });
569
459
  })();
@@ -599,19 +489,8 @@ export const TxDetails = (() => {
599
489
  return uniffiCreateRecord(defaults);
600
490
  })();
601
491
  return Object.freeze({
602
- /**
603
- * Create a frozen instance of {@link TxDetails}, with defaults specified
604
- * in Rust, in the {@link bdk_ffi} crate.
605
- */
606
492
  create,
607
- /**
608
- * Create a frozen instance of {@link TxDetails}, with defaults specified
609
- * in Rust, in the {@link bdk_ffi} crate.
610
- */
611
493
  new: create,
612
- /**
613
- * Defaults specified in the {@link bdk_ffi} crate.
614
- */
615
494
  defaults: () => Object.freeze(defaults())
616
495
  });
617
496
  })();
@@ -659,19 +538,8 @@ export const TxOut = (() => {
659
538
  return uniffiCreateRecord(defaults);
660
539
  })();
661
540
  return Object.freeze({
662
- /**
663
- * Create a frozen instance of {@link TxOut}, with defaults specified
664
- * in Rust, in the {@link bdk_ffi} crate.
665
- */
666
541
  create,
667
- /**
668
- * Create a frozen instance of {@link TxOut}, with defaults specified
669
- * in Rust, in the {@link bdk_ffi} crate.
670
- */
671
542
  new: create,
672
- /**
673
- * Defaults specified in the {@link bdk_ffi} crate.
674
- */
675
543
  defaults: () => Object.freeze(defaults())
676
544
  });
677
545
  })();
@@ -2530,6 +2398,10 @@ const FfiConverterTypeWordCount = (() => {
2530
2398
  * Backed by bdk_wallet::keys::bip39::Mnemonic (requires `keys-bip39` feature).
2531
2399
  */
2532
2400
 
2401
+ /**
2402
+ * @deprecated Use `MnemonicLike` instead.
2403
+ */
2404
+
2533
2405
  /**
2534
2406
  * BIP-39 mnemonic phrase for key generation.
2535
2407
  * Backed by bdk_wallet::keys::bip39::Mnemonic (requires `keys-bip39` feature).
@@ -2678,7 +2550,7 @@ const uniffiTypeMnemonicObjectFactory = (() => {
2678
2550
  }
2679
2551
  };
2680
2552
  })();
2681
- // FfiConverter for MnemonicInterface
2553
+ // FfiConverter for MnemonicLike
2682
2554
  const FfiConverterTypeMnemonic = new FfiConverterObject(uniffiTypeMnemonicObjectFactory);
2683
2555
 
2684
2556
  /**
@@ -2686,6 +2558,10 @@ const FfiConverterTypeMnemonic = new FfiConverterObject(uniffiTypeMnemonicObject
2686
2558
  * Mirrors bitcoin::Psbt with added PsbtUtils trait methods.
2687
2559
  */
2688
2560
 
2561
+ /**
2562
+ * @deprecated Use `PsbtLike` instead.
2563
+ */
2564
+
2689
2565
  /**
2690
2566
  * A Partially Signed Bitcoin Transaction (BIP-174 / BIP-370).
2691
2567
  * Mirrors bitcoin::Psbt with added PsbtUtils trait methods.
@@ -2811,7 +2687,7 @@ const uniffiTypePsbtObjectFactory = (() => {
2811
2687
  }
2812
2688
  };
2813
2689
  })();
2814
- // FfiConverter for PsbtInterface
2690
+ // FfiConverter for PsbtLike
2815
2691
  const FfiConverterTypePsbt = new FfiConverterObject(uniffiTypePsbtObjectFactory);
2816
2692
 
2817
2693
  /**
@@ -2820,6 +2696,10 @@ const FfiConverterTypePsbt = new FfiConverterObject(uniffiTypePsbtObjectFactory)
2820
2696
  * Mirrors bdk_wallet::TxBuilder (without lifetime / generic coin selection).
2821
2697
  */
2822
2698
 
2699
+ /**
2700
+ * @deprecated Use `TxBuilderLike` instead.
2701
+ */
2702
+
2823
2703
  /**
2824
2704
  * Fluent builder for constructing Bitcoin transactions.
2825
2705
  * Create one, configure it, then call finish(wallet) to produce a PSBT.
@@ -3166,8 +3046,13 @@ const uniffiTypeTxBuilderObjectFactory = (() => {
3166
3046
  }
3167
3047
  };
3168
3048
  })();
3169
- // FfiConverter for TxBuilderInterface
3049
+ // FfiConverter for TxBuilderLike
3170
3050
  const FfiConverterTypeTxBuilder = new FfiConverterObject(uniffiTypeTxBuilderObjectFactory);
3051
+
3052
+ /**
3053
+ * @deprecated Use `WalletLike` instead.
3054
+ */
3055
+
3171
3056
  export class Wallet extends UniffiAbstractObject {
3172
3057
  [uniffiTypeNameSymbol] = "Wallet";
3173
3058
  /**
@@ -3187,10 +3072,18 @@ export class Wallet extends UniffiAbstractObject {
3187
3072
  /**
3188
3073
  * Broadcast a finalized PSBT via Electrum. Returns the txid.
3189
3074
  */
3190
- broadcastWithElectrum(url, psbt) /*throws*/{
3191
- return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3192
- return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterTypePsbt.lower(psbt), callStatus);
3193
- }, /*liftString:*/FfiConverterString.lift));
3075
+ async broadcastWithElectrum(url, psbt, asyncOpts_) /*throws*/{
3076
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3077
+ try {
3078
+ return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3079
+ return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_broadcast_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterTypePsbt.lower(psbt));
3080
+ }, /*pollFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_poll_rust_buffer, /*cancelFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_cancel_rust_buffer, /*completeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_complete_rust_buffer, /*freeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterString.lift.bind(FfiConverterString), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3081
+ } catch (__error) {
3082
+ if (uniffiIsDebug && __error instanceof Error) {
3083
+ __error.stack = __stack;
3084
+ }
3085
+ throw __error;
3086
+ }
3194
3087
  }
3195
3088
 
3196
3089
  /**
@@ -3322,10 +3215,18 @@ export class Wallet extends UniffiAbstractObject {
3322
3215
  /**
3323
3216
  * Full scan via an Electrum TCP/TLS server.
3324
3217
  */
3325
- fullScanWithElectrum(url, stopGap) /*throws*/{
3326
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3327
- nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterUInt64.lower(stopGap), callStatus);
3328
- }, /*liftString:*/FfiConverterString.lift);
3218
+ async fullScanWithElectrum(url, stopGap, asyncOpts_) /*throws*/{
3219
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3220
+ try {
3221
+ return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3222
+ return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_full_scan_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterUInt64.lower(stopGap));
3223
+ }, /*pollFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_poll_void, /*cancelFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_cancel_void, /*completeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_complete_void, /*freeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3224
+ } catch (__error) {
3225
+ if (uniffiIsDebug && __error instanceof Error) {
3226
+ __error.stack = __stack;
3227
+ }
3228
+ throw __error;
3229
+ }
3329
3230
  }
3330
3231
 
3331
3232
  /**
@@ -3587,10 +3488,18 @@ export class Wallet extends UniffiAbstractObject {
3587
3488
  /**
3588
3489
  * Incremental sync via Electrum.
3589
3490
  */
3590
- syncWithElectrum(url, stopGap) /*throws*/{
3591
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3592
- nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterUInt64.lower(stopGap), callStatus);
3593
- }, /*liftString:*/FfiConverterString.lift);
3491
+ async syncWithElectrum(url, stopGap, asyncOpts_) /*throws*/{
3492
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
3493
+ try {
3494
+ return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
3495
+ return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(url), FfiConverterUInt64.lower(stopGap));
3496
+ }, /*pollFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_poll_void, /*cancelFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_cancel_void, /*completeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_complete_void, /*freeFunc:*/nativeModule().ubrn_ffi_bdk_ffi_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError));
3497
+ } catch (__error) {
3498
+ if (uniffiIsDebug && __error instanceof Error) {
3499
+ __error.stack = __stack;
3500
+ }
3501
+ throw __error;
3502
+ }
3594
3503
  }
3595
3504
 
3596
3505
  /**
@@ -3690,7 +3599,7 @@ const uniffiTypeWalletObjectFactory = (() => {
3690
3599
  }
3691
3600
  };
3692
3601
  })();
3693
- // FfiConverter for WalletInterface
3602
+ // FfiConverter for WalletLike
3694
3603
  const FfiConverterTypeWallet = new FfiConverterObject(uniffiTypeWalletObjectFactory);
3695
3604
 
3696
3605
  // FfiConverter for /*f64*/number | undefined
@@ -3789,256 +3698,256 @@ function uniffiEnsureInitialized() {
3789
3698
  if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !== 14974) {
3790
3699
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor");
3791
3700
  }
3792
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 21218) {
3701
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 59902) {
3793
3702
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_language");
3794
3703
  }
3795
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 4827) {
3704
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 33743) {
3796
3705
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex");
3797
3706
  }
3798
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 9706) {
3707
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 8571) {
3799
3708
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_string");
3800
3709
  }
3801
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 43660) {
3710
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 23669) {
3802
3711
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_word_count");
3803
3712
  }
3804
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 43060) {
3713
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 27352) {
3805
3714
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_words");
3806
3715
  }
3807
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 55644) {
3716
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 11167) {
3808
3717
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex");
3809
3718
  }
3810
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 56607) {
3719
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 44530) {
3811
3720
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_amount");
3812
3721
  }
3813
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 60372) {
3722
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 7329) {
3814
3723
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_rate");
3815
3724
  }
3816
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 21092) {
3725
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 1731) {
3817
3726
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for");
3818
3727
  }
3819
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 51389) {
3728
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 47613) {
3820
3729
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_to_base64");
3821
3730
  }
3822
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 48234) {
3731
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 56652) {
3823
3732
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_txid");
3824
3733
  }
3825
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 24171) {
3734
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 57070) {
3826
3735
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_data");
3827
3736
  }
3828
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 49750) {
3737
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 53720) {
3829
3738
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs");
3830
3739
  }
3831
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 4691) {
3740
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 55150) {
3832
3741
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient");
3833
3742
  }
3834
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 34998) {
3743
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 56609) {
3835
3744
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable");
3836
3745
  }
3837
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 20705) {
3746
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 10770) {
3838
3747
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo");
3839
3748
  }
3840
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 35571) {
3749
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 8534) {
3841
3750
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos");
3842
3751
  }
3843
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 56022) {
3752
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 43752) {
3844
3753
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust");
3845
3754
  }
3846
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 46342) {
3755
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 6977) {
3847
3756
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_change_policy");
3848
3757
  }
3849
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 46986) {
3758
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 62295) {
3850
3759
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_current_height");
3851
3760
  }
3852
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 50138) {
3761
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 13462) {
3853
3762
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change");
3854
3763
  }
3855
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 33757) {
3764
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 33773) {
3856
3765
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_to");
3857
3766
  }
3858
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 46414) {
3767
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 48711) {
3859
3768
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet");
3860
3769
  }
3861
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 16464) {
3770
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 31683) {
3862
3771
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf");
3863
3772
  }
3864
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 21779) {
3773
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 7301) {
3865
3774
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence");
3866
3775
  }
3867
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 8223) {
3776
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 61197) {
3868
3777
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations");
3869
3778
  }
3870
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 63153) {
3779
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 59334) {
3871
3780
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed");
3872
3781
  }
3873
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 18715) {
3782
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 38654) {
3874
3783
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute");
3875
3784
  }
3876
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 61803) {
3785
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 2789) {
3877
3786
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate");
3878
3787
  }
3879
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 34471) {
3788
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 35410) {
3880
3789
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_finish");
3881
3790
  }
3882
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !== 41756) {
3791
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !== 1428) {
3883
3792
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script");
3884
3793
  }
3885
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 61274) {
3794
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 15817) {
3886
3795
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only");
3887
3796
  }
3888
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 33063) {
3797
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 5541) {
3889
3798
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime");
3890
3799
  }
3891
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 4190) {
3800
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 34933) {
3892
3801
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change");
3893
3802
  }
3894
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 16994) {
3803
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 50325) {
3895
3804
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo");
3896
3805
  }
3897
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 46942) {
3806
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 27106) {
3898
3807
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_ordering");
3899
3808
  }
3900
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 3595) {
3809
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 18350) {
3901
3810
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_policy_path");
3902
3811
  }
3903
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 63261) {
3812
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 25054) {
3904
3813
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence");
3905
3814
  }
3906
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 28721) {
3815
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 45616) {
3907
3816
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients");
3908
3817
  }
3909
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 22878) {
3818
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 56408) {
3910
3819
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_sighash");
3911
3820
  }
3912
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 13770) {
3821
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 32700) {
3913
3822
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_tx_version");
3914
3823
  }
3915
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 28900) {
3824
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 10665) {
3916
3825
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_unspendable");
3917
3826
  }
3918
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 14979) {
3827
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 60979) {
3919
3828
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum");
3920
3829
  }
3921
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 28791) {
3830
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 37423) {
3922
3831
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora");
3923
3832
  }
3924
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 47809) {
3833
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 36133) {
3925
3834
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump");
3926
3835
  }
3927
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 46069) {
3836
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 47950) {
3928
3837
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee");
3929
3838
  }
3930
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 23249) {
3839
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 64903) {
3931
3840
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate");
3932
3841
  }
3933
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !== 58967) {
3842
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !== 39828) {
3934
3843
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_cancel_tx");
3935
3844
  }
3936
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 55082) {
3845
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 44342) {
3937
3846
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_checkpoints");
3938
3847
  }
3939
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 63256) {
3848
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 14373) {
3940
3849
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_index");
3941
3850
  }
3942
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 22939) {
3851
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 44475) {
3943
3852
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk");
3944
3853
  }
3945
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 64735) {
3854
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 25926) {
3946
3855
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum");
3947
3856
  }
3948
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 24840) {
3857
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 47076) {
3949
3858
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain");
3950
3859
  }
3951
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 22273) {
3860
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 43414) {
3952
3861
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt");
3953
3862
  }
3954
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 15611) {
3863
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 45470) {
3955
3864
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum");
3956
3865
  }
3957
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 43655) {
3866
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 39717) {
3958
3867
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora");
3959
3868
  }
3960
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 18605) {
3869
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 22733) {
3961
3870
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_balance");
3962
3871
  }
3963
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 58042) {
3872
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 59477) {
3964
3873
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_tx");
3965
3874
  }
3966
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 47916) {
3875
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 35239) {
3967
3876
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_utxo");
3968
3877
  }
3969
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 33605) {
3878
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 32676) {
3970
3879
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_insert_txout");
3971
3880
  }
3972
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 27949) {
3881
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 45210) {
3973
3882
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_is_mine");
3974
3883
  }
3975
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 1009) {
3884
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 22099) {
3976
3885
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_keychains");
3977
3886
  }
3978
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 5951) {
3887
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 37521) {
3979
3888
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint");
3980
3889
  }
3981
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 35186) {
3890
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 21768) {
3982
3891
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_output");
3983
3892
  }
3984
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 590) {
3893
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 13240) {
3985
3894
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unspent");
3986
3895
  }
3987
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 63031) {
3896
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 11229) {
3988
3897
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses");
3989
3898
  }
3990
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 53427) {
3899
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 63278) {
3991
3900
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_mark_used");
3992
3901
  }
3993
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 18889) {
3902
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 50311) {
3994
3903
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_network");
3995
3904
  }
3996
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 28145) {
3905
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 50867) {
3997
3906
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index");
3998
3907
  }
3999
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 58812) {
3908
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 51015) {
4000
3909
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_unused_address");
4001
3910
  }
4002
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 56579) {
3911
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 10883) {
4003
3912
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_peek_address");
4004
3913
  }
4005
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 18685) {
3914
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 34809) {
4006
3915
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_persist");
4007
3916
  }
4008
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 64896) {
3917
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 31626) {
4009
3918
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_policies");
4010
3919
  }
4011
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 19031) {
3920
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 58604) {
4012
3921
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_public_descriptor");
4013
3922
  }
4014
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 55968) {
3923
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 12682) {
4015
3924
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to");
4016
3925
  }
4017
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 61535) {
3926
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 25820) {
4018
3927
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address");
4019
3928
  }
4020
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 51484) {
3929
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 4457) {
4021
3930
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send");
4022
3931
  }
4023
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 31024) {
3932
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 949) {
4024
3933
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sent_and_received");
4025
3934
  }
4026
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 49926) {
3935
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 32193) {
4027
3936
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sign");
4028
3937
  }
4029
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 58815) {
3938
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 38866) {
4030
3939
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum");
4031
3940
  }
4032
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 55793) {
3941
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 28111) {
4033
3942
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora");
4034
3943
  }
4035
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 13072) {
3944
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 33179) {
4036
3945
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_transactions");
4037
3946
  }
4038
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 60609) {
3947
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 15355) {
4039
3948
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_tx_details");
4040
3949
  }
4041
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 25591) {
3950
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 46731) {
4042
3951
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_unmark_used");
4043
3952
  }
4044
3953
  if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !== 37039) {