react-native-bdk-sdk 0.1.8 → 0.2.0

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.
@@ -7,7 +7,7 @@
7
7
  /* eslint-disable */
8
8
  // @ts-nocheck
9
9
  import nativeModule from "./bdk_ffi-ffi.js";
10
- import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterInt64, FfiConverterObject, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, FfiConverterUInt8, UniffiAbstractObject, UniffiEnum, UniffiError, UniffiInternalError, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTypeNameSymbol } from "uniffi-bindgen-react-native";
10
+ import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterFloat64, FfiConverterInt32, FfiConverterInt64, FfiConverterObject, FfiConverterOptional, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTypeNameSymbol } from "uniffi-bindgen-react-native";
11
11
 
12
12
  // Get converters from the other files, if any.
13
13
  const uniffiCaller = new UniffiRustCaller(() => ({
@@ -22,6 +22,7 @@ process?.env?.NODE_ENV !== "production" || false;
22
22
 
23
23
  /**
24
24
  * Convert a scriptPubKey (hex) to an address string for the given network.
25
+ * Returns the address string, or an error if the script cannot be converted.
25
26
  */
26
27
  export function addressFromScript(scriptHex, network) /*throws*/{
27
28
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
@@ -37,7 +38,7 @@ export function createDescriptor(mnemonic, template, keychain, network) /*throws
37
38
  }, /*liftString:*/FfiConverterString.lift));
38
39
  }
39
40
  /**
40
- * Generate an output descriptor from a mnemonic string directly (convenience).
41
+ * Generate an output descriptor from a mnemonic string (convenience overload).
41
42
  */
42
43
  export function createDescriptorFromString(mnemonic, template, keychain, network) /*throws*/{
43
44
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
@@ -62,7 +63,7 @@ export function createSingleKeyDescriptor(key, template, network) /*throws*/{
62
63
  }
63
64
  /**
64
65
  * Async wallet factory — creates or loads a wallet without blocking the JS thread.
65
- * Pass null for change_descriptor to use the main descriptor for both keychains.
66
+ * Pass null/undefined for change_descriptor to use the main descriptor for both keychains.
66
67
  */
67
68
  export async function createWallet(descriptor, changeDescriptor, network, dbPath, asyncOpts_) /*throws*/{
68
69
  const __stack = uniffiIsDebug ? new Error().stack : undefined;
@@ -3071,244 +3072,6 @@ const FfiConverterTypeTxOrdering = (() => {
3071
3072
  }
3072
3073
  return new FFIConverter();
3073
3074
  })();
3074
-
3075
- // Enum: WalletEvent
3076
- export let WalletEvent_Tags = /*#__PURE__*/function (WalletEvent_Tags) {
3077
- WalletEvent_Tags["ChainTipChanged"] = "ChainTipChanged";
3078
- WalletEvent_Tags["TxConfirmed"] = "TxConfirmed";
3079
- WalletEvent_Tags["TxUnconfirmed"] = "TxUnconfirmed";
3080
- WalletEvent_Tags["TxReplaced"] = "TxReplaced";
3081
- WalletEvent_Tags["TxDropped"] = "TxDropped";
3082
- return WalletEvent_Tags;
3083
- }({});
3084
- export const WalletEvent = (() => {
3085
- class ChainTipChanged_ extends UniffiEnum {
3086
- /**
3087
- * @private
3088
- * This field is private and should not be used, use `tag` instead.
3089
- */
3090
- [uniffiTypeNameSymbol] = "WalletEvent";
3091
- tag = WalletEvent_Tags.ChainTipChanged;
3092
- constructor(inner) {
3093
- super("WalletEvent", "ChainTipChanged");
3094
- this.inner = Object.freeze(inner);
3095
- }
3096
- static new(inner) {
3097
- return new ChainTipChanged_(inner);
3098
- }
3099
- static instanceOf(obj) {
3100
- return obj.tag === WalletEvent_Tags.ChainTipChanged;
3101
- }
3102
- }
3103
- class TxConfirmed_ extends UniffiEnum {
3104
- /**
3105
- * @private
3106
- * This field is private and should not be used, use `tag` instead.
3107
- */
3108
- [uniffiTypeNameSymbol] = "WalletEvent";
3109
- tag = WalletEvent_Tags.TxConfirmed;
3110
- constructor(inner) {
3111
- super("WalletEvent", "TxConfirmed");
3112
- this.inner = Object.freeze(inner);
3113
- }
3114
- static new(inner) {
3115
- return new TxConfirmed_(inner);
3116
- }
3117
- static instanceOf(obj) {
3118
- return obj.tag === WalletEvent_Tags.TxConfirmed;
3119
- }
3120
- }
3121
- class TxUnconfirmed_ extends UniffiEnum {
3122
- /**
3123
- * @private
3124
- * This field is private and should not be used, use `tag` instead.
3125
- */
3126
- [uniffiTypeNameSymbol] = "WalletEvent";
3127
- tag = WalletEvent_Tags.TxUnconfirmed;
3128
- constructor(inner) {
3129
- super("WalletEvent", "TxUnconfirmed");
3130
- this.inner = Object.freeze(inner);
3131
- }
3132
- static new(inner) {
3133
- return new TxUnconfirmed_(inner);
3134
- }
3135
- static instanceOf(obj) {
3136
- return obj.tag === WalletEvent_Tags.TxUnconfirmed;
3137
- }
3138
- }
3139
- class TxReplaced_ extends UniffiEnum {
3140
- /**
3141
- * @private
3142
- * This field is private and should not be used, use `tag` instead.
3143
- */
3144
- [uniffiTypeNameSymbol] = "WalletEvent";
3145
- tag = WalletEvent_Tags.TxReplaced;
3146
- constructor(inner) {
3147
- super("WalletEvent", "TxReplaced");
3148
- this.inner = Object.freeze(inner);
3149
- }
3150
- static new(inner) {
3151
- return new TxReplaced_(inner);
3152
- }
3153
- static instanceOf(obj) {
3154
- return obj.tag === WalletEvent_Tags.TxReplaced;
3155
- }
3156
- }
3157
- class TxDropped_ extends UniffiEnum {
3158
- /**
3159
- * @private
3160
- * This field is private and should not be used, use `tag` instead.
3161
- */
3162
- [uniffiTypeNameSymbol] = "WalletEvent";
3163
- tag = WalletEvent_Tags.TxDropped;
3164
- constructor(inner) {
3165
- super("WalletEvent", "TxDropped");
3166
- this.inner = Object.freeze(inner);
3167
- }
3168
- static new(inner) {
3169
- return new TxDropped_(inner);
3170
- }
3171
- static instanceOf(obj) {
3172
- return obj.tag === WalletEvent_Tags.TxDropped;
3173
- }
3174
- }
3175
- function instanceOf(obj) {
3176
- return obj[uniffiTypeNameSymbol] === "WalletEvent";
3177
- }
3178
- return Object.freeze({
3179
- instanceOf,
3180
- ChainTipChanged: ChainTipChanged_,
3181
- TxConfirmed: TxConfirmed_,
3182
- TxUnconfirmed: TxUnconfirmed_,
3183
- TxReplaced: TxReplaced_,
3184
- TxDropped: TxDropped_
3185
- });
3186
- })();
3187
- // FfiConverter for enum WalletEvent
3188
- const FfiConverterTypeWalletEvent = (() => {
3189
- const ordinalConverter = FfiConverterInt32;
3190
- class FFIConverter extends AbstractFfiConverterByteArray {
3191
- read(from) {
3192
- switch (ordinalConverter.read(from)) {
3193
- case 1:
3194
- return new WalletEvent.ChainTipChanged({
3195
- oldTip: FfiConverterTypeBlockId.read(from),
3196
- newTip: FfiConverterTypeBlockId.read(from)
3197
- });
3198
- case 2:
3199
- return new WalletEvent.TxConfirmed({
3200
- txid: FfiConverterString.read(from),
3201
- blockTime: FfiConverterTypeConfirmationBlockTime.read(from)
3202
- });
3203
- case 3:
3204
- return new WalletEvent.TxUnconfirmed({
3205
- txid: FfiConverterString.read(from)
3206
- });
3207
- case 4:
3208
- return new WalletEvent.TxReplaced({
3209
- txid: FfiConverterString.read(from),
3210
- conflictingTxids: FfiConverterArrayString.read(from)
3211
- });
3212
- case 5:
3213
- return new WalletEvent.TxDropped({
3214
- txid: FfiConverterString.read(from)
3215
- });
3216
- default:
3217
- throw new UniffiInternalError.UnexpectedEnumCase();
3218
- }
3219
- }
3220
- write(value, into) {
3221
- switch (value.tag) {
3222
- case WalletEvent_Tags.ChainTipChanged:
3223
- {
3224
- ordinalConverter.write(1, into);
3225
- const inner = value.inner;
3226
- FfiConverterTypeBlockId.write(inner.oldTip, into);
3227
- FfiConverterTypeBlockId.write(inner.newTip, into);
3228
- return;
3229
- }
3230
- case WalletEvent_Tags.TxConfirmed:
3231
- {
3232
- ordinalConverter.write(2, into);
3233
- const inner = value.inner;
3234
- FfiConverterString.write(inner.txid, into);
3235
- FfiConverterTypeConfirmationBlockTime.write(inner.blockTime, into);
3236
- return;
3237
- }
3238
- case WalletEvent_Tags.TxUnconfirmed:
3239
- {
3240
- ordinalConverter.write(3, into);
3241
- const inner = value.inner;
3242
- FfiConverterString.write(inner.txid, into);
3243
- return;
3244
- }
3245
- case WalletEvent_Tags.TxReplaced:
3246
- {
3247
- ordinalConverter.write(4, into);
3248
- const inner = value.inner;
3249
- FfiConverterString.write(inner.txid, into);
3250
- FfiConverterArrayString.write(inner.conflictingTxids, into);
3251
- return;
3252
- }
3253
- case WalletEvent_Tags.TxDropped:
3254
- {
3255
- ordinalConverter.write(5, into);
3256
- const inner = value.inner;
3257
- FfiConverterString.write(inner.txid, into);
3258
- return;
3259
- }
3260
- default:
3261
- // Throwing from here means that WalletEvent_Tags hasn't matched an ordinal.
3262
- throw new UniffiInternalError.UnexpectedEnumCase();
3263
- }
3264
- }
3265
- allocationSize(value) {
3266
- switch (value.tag) {
3267
- case WalletEvent_Tags.ChainTipChanged:
3268
- {
3269
- const inner = value.inner;
3270
- let size = ordinalConverter.allocationSize(1);
3271
- size += FfiConverterTypeBlockId.allocationSize(inner.oldTip);
3272
- size += FfiConverterTypeBlockId.allocationSize(inner.newTip);
3273
- return size;
3274
- }
3275
- case WalletEvent_Tags.TxConfirmed:
3276
- {
3277
- const inner = value.inner;
3278
- let size = ordinalConverter.allocationSize(2);
3279
- size += FfiConverterString.allocationSize(inner.txid);
3280
- size += FfiConverterTypeConfirmationBlockTime.allocationSize(inner.blockTime);
3281
- return size;
3282
- }
3283
- case WalletEvent_Tags.TxUnconfirmed:
3284
- {
3285
- const inner = value.inner;
3286
- let size = ordinalConverter.allocationSize(3);
3287
- size += FfiConverterString.allocationSize(inner.txid);
3288
- return size;
3289
- }
3290
- case WalletEvent_Tags.TxReplaced:
3291
- {
3292
- const inner = value.inner;
3293
- let size = ordinalConverter.allocationSize(4);
3294
- size += FfiConverterString.allocationSize(inner.txid);
3295
- size += FfiConverterArrayString.allocationSize(inner.conflictingTxids);
3296
- return size;
3297
- }
3298
- case WalletEvent_Tags.TxDropped:
3299
- {
3300
- const inner = value.inner;
3301
- let size = ordinalConverter.allocationSize(5);
3302
- size += FfiConverterString.allocationSize(inner.txid);
3303
- return size;
3304
- }
3305
- default:
3306
- throw new UniffiInternalError.UnexpectedEnumCase();
3307
- }
3308
- }
3309
- }
3310
- return new FFIConverter();
3311
- })();
3312
3075
  export let WordCount = /*#__PURE__*/function (WordCount) {
3313
3076
  WordCount[WordCount["Words12"] = 0] = "Words12";
3314
3077
  WordCount[WordCount["Words15"] = 1] = "Words15";
@@ -3359,6 +3122,7 @@ const FfiConverterTypeWordCount = (() => {
3359
3122
 
3360
3123
  /**
3361
3124
  * A reusable Electrum client that holds a persistent TCP/TLS connection.
3125
+ * Create once, pass to multiple wallet methods to avoid reconnecting each time.
3362
3126
  */
3363
3127
 
3364
3128
  /**
@@ -3367,11 +3131,13 @@ const FfiConverterTypeWordCount = (() => {
3367
3131
 
3368
3132
  /**
3369
3133
  * A reusable Electrum client that holds a persistent TCP/TLS connection.
3134
+ * Create once, pass to multiple wallet methods to avoid reconnecting each time.
3370
3135
  */
3371
3136
  export class ElectrumClient extends UniffiAbstractObject {
3372
3137
  [uniffiTypeNameSymbol] = "ElectrumClient";
3373
3138
  /**
3374
3139
  * Connect to an Electrum server.
3140
+ * url: e.g. "ssl://electrum.blockstream.info:60002" or "tcp://localhost:50001"
3375
3141
  */
3376
3142
  constructor(url) /*throws*/{
3377
3143
  super();
@@ -3440,6 +3206,9 @@ const FfiConverterTypeElectrumClient = new FfiConverterObject(uniffiTypeElectrum
3440
3206
 
3441
3207
  export class Mnemonic extends UniffiAbstractObject {
3442
3208
  [uniffiTypeNameSymbol] = "Mnemonic";
3209
+ /**
3210
+ * Generate a new random mnemonic with the given word count (English).
3211
+ */
3443
3212
  constructor(wordCount) /*throws*/{
3444
3213
  super();
3445
3214
  const pointer = uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
@@ -3448,46 +3217,82 @@ export class Mnemonic extends UniffiAbstractObject {
3448
3217
  this[pointerLiteralSymbol] = pointer;
3449
3218
  this[destructorGuardSymbol] = uniffiTypeMnemonicObjectFactory.bless(pointer);
3450
3219
  }
3220
+
3221
+ /**
3222
+ * Create a mnemonic from raw entropy bytes (16–32 bytes).
3223
+ */
3451
3224
  static fromEntropy(entropy) /*throws*/{
3452
3225
  return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3453
- return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(FfiConverterArrayUInt8.lower(entropy), callStatus);
3226
+ return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(FfiConverterArrayBuffer.lower(entropy), callStatus);
3454
3227
  }, /*liftString:*/FfiConverterString.lift));
3455
3228
  }
3229
+
3230
+ /**
3231
+ * Create a mnemonic from raw entropy bytes in a specific language.
3232
+ */
3456
3233
  static fromEntropyIn(entropy, language) /*throws*/{
3457
3234
  return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3458
- return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy_in(FfiConverterArrayUInt8.lower(entropy), FfiConverterTypeLanguage.lower(language), callStatus);
3235
+ return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy_in(FfiConverterArrayBuffer.lower(entropy), FfiConverterTypeLanguage.lower(language), callStatus);
3459
3236
  }, /*liftString:*/FfiConverterString.lift));
3460
3237
  }
3238
+
3239
+ /**
3240
+ * Parse an existing mnemonic string (auto-detects language).
3241
+ */
3461
3242
  static fromString(mnemonic) /*throws*/{
3462
3243
  return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3463
3244
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_string(FfiConverterString.lower(mnemonic), callStatus);
3464
3245
  }, /*liftString:*/FfiConverterString.lift));
3465
3246
  }
3247
+
3248
+ /**
3249
+ * Parse a mnemonic string in a specific language.
3250
+ */
3466
3251
  static fromStringIn(mnemonic, language) /*throws*/{
3467
3252
  return FfiConverterTypeMnemonic.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3468
3253
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_string_in(FfiConverterString.lower(mnemonic), FfiConverterTypeLanguage.lower(language), callStatus);
3469
3254
  }, /*liftString:*/FfiConverterString.lift));
3470
3255
  }
3256
+
3257
+ /**
3258
+ * The language of this mnemonic.
3259
+ */
3471
3260
  language() {
3472
3261
  return FfiConverterTypeLanguage.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3473
3262
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_language(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
3474
3263
  }, /*liftString:*/FfiConverterString.lift));
3475
3264
  }
3265
+
3266
+ /**
3267
+ * Derive the 64-byte seed as hex. Pass an empty string for no passphrase.
3268
+ */
3476
3269
  toSeedHex(passphrase) {
3477
3270
  return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3478
3271
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_to_seed_hex(uniffiTypeMnemonicObjectFactory.clonePointer(this), FfiConverterString.lower(passphrase), callStatus);
3479
3272
  }, /*liftString:*/FfiConverterString.lift));
3480
3273
  }
3274
+
3275
+ /**
3276
+ * The mnemonic as a space-separated word string.
3277
+ */
3481
3278
  toString() {
3482
3279
  return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3483
3280
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_to_string(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
3484
3281
  }, /*liftString:*/FfiConverterString.lift));
3485
3282
  }
3283
+
3284
+ /**
3285
+ * Number of words (12, 15, 18, 21, or 24).
3286
+ */
3486
3287
  wordCount() {
3487
3288
  return FfiConverterUInt32.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3488
3289
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_word_count(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
3489
3290
  }, /*liftString:*/FfiConverterString.lift));
3490
3291
  }
3292
+
3293
+ /**
3294
+ * List the individual words.
3295
+ */
3491
3296
  words() {
3492
3297
  return FfiConverterArrayString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3493
3298
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_mnemonic_words(uniffiTypeMnemonicObjectFactory.clonePointer(this), callStatus);
@@ -3552,6 +3357,9 @@ const FfiConverterTypeMnemonic = new FfiConverterObject(uniffiTypeMnemonicObject
3552
3357
 
3553
3358
  export class Psbt extends UniffiAbstractObject {
3554
3359
  [uniffiTypeNameSymbol] = "Psbt";
3360
+ /**
3361
+ * Deserialize from a base64-encoded string.
3362
+ */
3555
3363
  constructor(psbtBase64) /*throws*/{
3556
3364
  super();
3557
3365
  const pointer = uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
@@ -3560,31 +3368,55 @@ export class Psbt extends UniffiAbstractObject {
3560
3368
  this[pointerLiteralSymbol] = pointer;
3561
3369
  this[destructorGuardSymbol] = uniffiTypePsbtObjectFactory.bless(pointer);
3562
3370
  }
3371
+
3372
+ /**
3373
+ * Extract the fully-signed transaction as raw hex.
3374
+ */
3563
3375
  extractTxHex() /*throws*/{
3564
3376
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3565
3377
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_extract_tx_hex(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
3566
3378
  }, /*liftString:*/FfiConverterString.lift));
3567
3379
  }
3380
+
3381
+ /**
3382
+ * Total fee in satoshis. None if any input UTXO value is unknown.
3383
+ */
3568
3384
  feeAmount() {
3569
3385
  return FfiConverterOptionalUInt64.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3570
3386
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_fee_amount(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
3571
3387
  }, /*liftString:*/FfiConverterString.lift));
3572
3388
  }
3389
+
3390
+ /**
3391
+ * Fee rate in sat/vbyte. None if any input UTXO value is unknown.
3392
+ */
3573
3393
  feeRate() {
3574
3394
  return FfiConverterOptionalFloat64.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3575
3395
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_fee_rate(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
3576
3396
  }, /*liftString:*/FfiConverterString.lift));
3577
3397
  }
3398
+
3399
+ /**
3400
+ * Retrieve the UTXO for a given input index. Returns None if unavailable.
3401
+ */
3578
3402
  getUtxoFor(inputIndex) {
3579
3403
  return FfiConverterOptionalTypeTxOut.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3580
3404
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_get_utxo_for(uniffiTypePsbtObjectFactory.clonePointer(this), FfiConverterUInt64.lower(inputIndex), callStatus);
3581
3405
  }, /*liftString:*/FfiConverterString.lift));
3582
3406
  }
3407
+
3408
+ /**
3409
+ * Serialize to a base64-encoded string.
3410
+ */
3583
3411
  toBase64() {
3584
3412
  return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3585
3413
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_to_base64(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
3586
3414
  }, /*liftString:*/FfiConverterString.lift));
3587
3415
  }
3416
+
3417
+ /**
3418
+ * The unsigned txid.
3419
+ */
3588
3420
  txid() /*throws*/{
3589
3421
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3590
3422
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_psbt_txid(uniffiTypePsbtObjectFactory.clonePointer(this), callStatus);
@@ -3659,7 +3491,7 @@ export class TxBuilder extends UniffiAbstractObject {
3659
3491
  }
3660
3492
  addData(data) {
3661
3493
  uniffiCaller.rustCall(/*caller:*/callStatus => {
3662
- nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_add_data(uniffiTypeTxBuilderObjectFactory.clonePointer(this), FfiConverterArrayUInt8.lower(data), callStatus);
3494
+ nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_add_data(uniffiTypeTxBuilderObjectFactory.clonePointer(this), FfiConverterArrayBuffer.lower(data), callStatus);
3663
3495
  }, /*liftString:*/FfiConverterString.lift);
3664
3496
  }
3665
3497
  addGlobalXpubs() {
@@ -3749,7 +3581,8 @@ export class TxBuilder extends UniffiAbstractObject {
3749
3581
  }
3750
3582
 
3751
3583
  /**
3752
- * Build the transaction into a PSBT (async runs on background thread).
3584
+ * Build the transaction into a PSBT using the wallet.
3585
+ * Runs on a background thread to avoid blocking the JS thread.
3753
3586
  */
3754
3587
  async finish(wallet, asyncOpts_) /*throws*/{
3755
3588
  const __stack = uniffiIsDebug ? new Error().stack : undefined;
@@ -3764,11 +3597,6 @@ export class TxBuilder extends UniffiAbstractObject {
3764
3597
  throw __error;
3765
3598
  }
3766
3599
  }
3767
- includeOutputRedeemWitnessScript() {
3768
- uniffiCaller.rustCall(/*caller:*/callStatus => {
3769
- nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(uniffiTypeTxBuilderObjectFactory.clonePointer(this), callStatus);
3770
- }, /*liftString:*/FfiConverterString.lift);
3771
- }
3772
3600
  manuallySelectedOnly() {
3773
3601
  uniffiCaller.rustCall(/*caller:*/callStatus => {
3774
3602
  nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(uniffiTypeTxBuilderObjectFactory.clonePointer(this), callStatus);
@@ -3935,11 +3763,6 @@ export class Wallet extends UniffiAbstractObject {
3935
3763
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_calculate_fee_rate(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(txHex), callStatus);
3936
3764
  }, /*liftString:*/FfiConverterString.lift));
3937
3765
  }
3938
- cancelTx(txHex) /*throws*/{
3939
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBdkError.lift.bind(FfiConverterTypeBdkError), /*caller:*/callStatus => {
3940
- nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(txHex), callStatus);
3941
- }, /*liftString:*/FfiConverterString.lift);
3942
- }
3943
3766
  checkpoints() {
3944
3767
  return FfiConverterArrayTypeBlockId.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
3945
3768
  return nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_checkpoints(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
@@ -4307,9 +4130,6 @@ const FfiConverterArrayTypeTxOutput = new FfiConverterArray(FfiConverterTypeTxOu
4307
4130
  // FfiConverter for Array<string>
4308
4131
  const FfiConverterArrayString = new FfiConverterArray(FfiConverterString);
4309
4132
 
4310
- // FfiConverter for Array</*u8*/number>
4311
- const FfiConverterArrayUInt8 = new FfiConverterArray(FfiConverterUInt8);
4312
-
4313
4133
  /**
4314
4134
  * This should be called before anything else.
4315
4135
  *
@@ -4328,322 +4148,316 @@ function uniffiEnsureInitialized() {
4328
4148
  if (bindingsContractVersion !== scaffoldingContractVersion) {
4329
4149
  throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);
4330
4150
  }
4331
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_address_from_script() !== 50547) {
4151
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_address_from_script() !== 39396) {
4332
4152
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_address_from_script");
4333
4153
  }
4334
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !== 166) {
4154
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !== 15263) {
4335
4155
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_descriptor");
4336
4156
  }
4337
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor_from_string() !== 29727) {
4157
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor_from_string() !== 1662) {
4338
4158
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_descriptor_from_string");
4339
4159
  }
4340
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_public_descriptor() !== 10610) {
4160
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_public_descriptor() !== 9931) {
4341
4161
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_public_descriptor");
4342
4162
  }
4343
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor() !== 56046) {
4163
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor() !== 61717) {
4344
4164
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_single_key_descriptor");
4345
4165
  }
4346
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !== 59494) {
4166
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !== 45258) {
4347
4167
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_create_wallet");
4348
4168
  }
4349
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !== 53701) {
4169
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !== 61696) {
4350
4170
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_export_wallet");
4351
4171
  }
4352
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_is_valid_address() !== 14593) {
4172
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_is_valid_address() !== 31052) {
4353
4173
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_is_valid_address");
4354
4174
  }
4355
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_validate_descriptor() !== 44572) {
4175
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_validate_descriptor() !== 36838) {
4356
4176
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_validate_descriptor");
4357
4177
  }
4358
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_version() !== 5205) {
4178
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_version() !== 1034) {
4359
4179
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_version");
4360
4180
  }
4361
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !== 14974) {
4181
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !== 49703) {
4362
4182
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor");
4363
4183
  }
4364
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 59902) {
4184
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !== 16692) {
4365
4185
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_language");
4366
4186
  }
4367
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 33743) {
4187
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !== 51397) {
4368
4188
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex");
4369
4189
  }
4370
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 8571) {
4190
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !== 40512) {
4371
4191
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_to_string");
4372
4192
  }
4373
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 23669) {
4193
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !== 488) {
4374
4194
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_word_count");
4375
4195
  }
4376
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 27352) {
4196
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !== 51339) {
4377
4197
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_mnemonic_words");
4378
4198
  }
4379
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 11167) {
4199
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !== 64035) {
4380
4200
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex");
4381
4201
  }
4382
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 44530) {
4202
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !== 47400) {
4383
4203
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_amount");
4384
4204
  }
4385
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 7329) {
4205
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 53916) {
4386
4206
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_fee_rate");
4387
4207
  }
4388
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 1731) {
4208
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !== 51581) {
4389
4209
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for");
4390
4210
  }
4391
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 47613) {
4211
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !== 26797) {
4392
4212
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_to_base64");
4393
4213
  }
4394
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 56652) {
4214
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 52614) {
4395
4215
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_psbt_txid");
4396
4216
  }
4397
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 57070) {
4217
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !== 6110) {
4398
4218
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_data");
4399
4219
  }
4400
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 53720) {
4220
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !== 1787) {
4401
4221
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs");
4402
4222
  }
4403
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 55150) {
4223
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !== 12594) {
4404
4224
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient");
4405
4225
  }
4406
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 56609) {
4226
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !== 52996) {
4407
4227
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable");
4408
4228
  }
4409
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 10770) {
4229
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !== 42826) {
4410
4230
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo");
4411
4231
  }
4412
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 8534) {
4232
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !== 32062) {
4413
4233
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos");
4414
4234
  }
4415
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 43752) {
4235
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !== 14341) {
4416
4236
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust");
4417
4237
  }
4418
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 6977) {
4238
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !== 65098) {
4419
4239
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_change_policy");
4420
4240
  }
4421
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 62295) {
4241
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !== 4465) {
4422
4242
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_current_height");
4423
4243
  }
4424
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 13462) {
4244
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !== 22162) {
4425
4245
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change");
4426
4246
  }
4427
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 33773) {
4247
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !== 46015) {
4428
4248
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_to");
4429
4249
  }
4430
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 48711) {
4250
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !== 16971) {
4431
4251
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet");
4432
4252
  }
4433
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 31683) {
4253
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !== 15080) {
4434
4254
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf");
4435
4255
  }
4436
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 7301) {
4256
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !== 1958) {
4437
4257
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence");
4438
4258
  }
4439
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 61197) {
4259
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !== 33257) {
4440
4260
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations");
4441
4261
  }
4442
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 59334) {
4262
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !== 55927) {
4443
4263
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed");
4444
4264
  }
4445
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 38654) {
4265
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !== 35900) {
4446
4266
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute");
4447
4267
  }
4448
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 2789) {
4268
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !== 30180) {
4449
4269
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate");
4450
4270
  }
4451
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 23648) {
4271
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !== 19754) {
4452
4272
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_finish");
4453
4273
  }
4454
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !== 1428) {
4455
- throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script");
4456
- }
4457
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 15817) {
4274
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !== 10522) {
4458
4275
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only");
4459
4276
  }
4460
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 5541) {
4277
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !== 34758) {
4461
4278
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime");
4462
4279
  }
4463
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 34933) {
4280
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !== 53841) {
4464
4281
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change");
4465
4282
  }
4466
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 50325) {
4283
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !== 21662) {
4467
4284
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo");
4468
4285
  }
4469
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 27106) {
4286
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !== 2839) {
4470
4287
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_ordering");
4471
4288
  }
4472
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 18350) {
4289
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !== 20272) {
4473
4290
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_policy_path");
4474
4291
  }
4475
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 25054) {
4292
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !== 41481) {
4476
4293
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence");
4477
4294
  }
4478
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 45616) {
4295
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !== 64498) {
4479
4296
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients");
4480
4297
  }
4481
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 56408) {
4298
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !== 43131) {
4482
4299
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_sighash");
4483
4300
  }
4484
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 32700) {
4301
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !== 17694) {
4485
4302
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_tx_version");
4486
4303
  }
4487
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 10665) {
4304
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !== 14958) {
4488
4305
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_txbuilder_unspendable");
4489
4306
  }
4490
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 26438) {
4307
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !== 32446) {
4491
4308
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum");
4492
4309
  }
4493
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 37423) {
4310
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !== 43721) {
4494
4311
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora");
4495
4312
  }
4496
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 36133) {
4313
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !== 25451) {
4497
4314
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump");
4498
4315
  }
4499
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 47950) {
4316
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !== 23202) {
4500
4317
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee");
4501
4318
  }
4502
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 64903) {
4319
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !== 16774) {
4503
4320
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate");
4504
4321
  }
4505
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !== 39828) {
4506
- throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_cancel_tx");
4507
- }
4508
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 44342) {
4322
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !== 8565) {
4509
4323
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_checkpoints");
4510
4324
  }
4511
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 14373) {
4325
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !== 62031) {
4512
4326
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_index");
4513
4327
  }
4514
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 44475) {
4328
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !== 29681) {
4515
4329
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk");
4516
4330
  }
4517
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 25926) {
4331
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !== 26508) {
4518
4332
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum");
4519
4333
  }
4520
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 47076) {
4334
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 50687) {
4521
4335
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain");
4522
4336
  }
4523
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum() !== 42924) {
4337
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum() !== 47265) {
4524
4338
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum");
4525
4339
  }
4526
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 43414) {
4340
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !== 36684) {
4527
4341
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt");
4528
4342
  }
4529
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 40837) {
4343
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !== 44577) {
4530
4344
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum");
4531
4345
  }
4532
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 39717) {
4346
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !== 33673) {
4533
4347
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora");
4534
4348
  }
4535
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 22733) {
4349
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !== 15256) {
4536
4350
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_balance");
4537
4351
  }
4538
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 59477) {
4352
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 31223) {
4539
4353
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_tx");
4540
4354
  }
4541
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 35239) {
4355
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !== 32023) {
4542
4356
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_get_utxo");
4543
4357
  }
4544
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 32676) {
4358
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !== 21094) {
4545
4359
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_insert_txout");
4546
4360
  }
4547
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 45210) {
4361
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !== 58183) {
4548
4362
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_is_mine");
4549
4363
  }
4550
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 22099) {
4364
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !== 61350) {
4551
4365
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_keychains");
4552
4366
  }
4553
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 37521) {
4367
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !== 55429) {
4554
4368
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint");
4555
4369
  }
4556
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 21768) {
4370
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !== 56339) {
4557
4371
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_output");
4558
4372
  }
4559
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 13240) {
4373
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !== 34815) {
4560
4374
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unspent");
4561
4375
  }
4562
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 11229) {
4376
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !== 62327) {
4563
4377
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses");
4564
4378
  }
4565
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 63278) {
4379
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !== 12674) {
4566
4380
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_mark_used");
4567
4381
  }
4568
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 50311) {
4382
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !== 22441) {
4569
4383
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_network");
4570
4384
  }
4571
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 50867) {
4385
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !== 29788) {
4572
4386
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index");
4573
4387
  }
4574
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 51015) {
4388
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !== 51509) {
4575
4389
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_next_unused_address");
4576
4390
  }
4577
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 10883) {
4391
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !== 26911) {
4578
4392
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_peek_address");
4579
4393
  }
4580
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 34809) {
4394
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !== 32604) {
4581
4395
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_persist");
4582
4396
  }
4583
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 31626) {
4397
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !== 38976) {
4584
4398
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_policies");
4585
4399
  }
4586
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 58604) {
4400
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !== 57701) {
4587
4401
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_public_descriptor");
4588
4402
  }
4589
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 12682) {
4403
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !== 972) {
4590
4404
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to");
4591
4405
  }
4592
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 25820) {
4406
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !== 38695) {
4593
4407
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address");
4594
4408
  }
4595
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 4457) {
4409
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 20353) {
4596
4410
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send");
4597
4411
  }
4598
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum() !== 23570) {
4412
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum() !== 64062) {
4599
4413
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum");
4600
4414
  }
4601
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 949) {
4415
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !== 49517) {
4602
4416
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sent_and_received");
4603
4417
  }
4604
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 32193) {
4418
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 16037) {
4605
4419
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sign");
4606
4420
  }
4607
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 17015) {
4421
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !== 9147) {
4608
4422
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum");
4609
4423
  }
4610
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 28111) {
4424
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !== 65450) {
4611
4425
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora");
4612
4426
  }
4613
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 33179) {
4427
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !== 4241) {
4614
4428
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_transactions");
4615
4429
  }
4616
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 15355) {
4430
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !== 39307) {
4617
4431
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_tx_details");
4618
4432
  }
4619
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 46731) {
4433
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !== 63499) {
4620
4434
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_method_wallet_unmark_used");
4621
4435
  }
4622
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new() !== 63288) {
4436
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new() !== 62930) {
4623
4437
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_electrumclient_new");
4624
4438
  }
4625
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !== 37039) {
4439
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !== 19558) {
4626
4440
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy");
4627
4441
  }
4628
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in() !== 31703) {
4442
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in() !== 18300) {
4629
4443
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in");
4630
4444
  }
4631
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string() !== 55849) {
4445
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string() !== 42146) {
4632
4446
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string");
4633
4447
  }
4634
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in() !== 62725) {
4448
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in() !== 26390) {
4635
4449
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in");
4636
4450
  }
4637
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_new() !== 48608) {
4451
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_new() !== 65002) {
4638
4452
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_mnemonic_new");
4639
4453
  }
4640
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !== 53610) {
4454
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !== 45667) {
4641
4455
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_psbt_new");
4642
4456
  }
4643
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_txbuilder_new() !== 16691) {
4457
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_txbuilder_new() !== 63178) {
4644
4458
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_txbuilder_new");
4645
4459
  }
4646
- if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_wallet_new() !== 64812) {
4460
+ if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_wallet_new() !== 53332) {
4647
4461
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bdk_ffi_checksum_constructor_wallet_new");
4648
4462
  }
4649
4463
  }
@@ -4677,7 +4491,6 @@ export default Object.freeze({
4677
4491
  FfiConverterTypeTxOut,
4678
4492
  FfiConverterTypeTxOutput,
4679
4493
  FfiConverterTypeWallet,
4680
- FfiConverterTypeWalletEvent,
4681
4494
  FfiConverterTypeWordCount
4682
4495
  }
4683
4496
  });