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.
- package/cpp/generated/bdk_ffi.cpp +2 -81
- package/cpp/generated/bdk_ffi.hpp +0 -4
- package/lib/commonjs/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/commonjs/generated/bdk_ffi.js +182 -369
- package/lib/commonjs/generated/bdk_ffi.js.map +1 -1
- package/lib/commonjs/wrapper.js +1 -7
- package/lib/commonjs/wrapper.js.map +1 -1
- package/lib/module/generated/bdk_ffi-ffi.js.map +1 -1
- package/lib/module/generated/bdk_ffi.js +182 -369
- package/lib/module/generated/bdk_ffi.js.map +1 -1
- package/lib/module/wrapper.js +1 -7
- package/lib/module/wrapper.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/commonjs/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/commonjs/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/wrapper.d.ts +0 -2
- package/lib/typescript/commonjs/src/wrapper.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts +0 -4
- package/lib/typescript/module/src/generated/bdk_ffi-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts +98 -240
- package/lib/typescript/module/src/generated/bdk_ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/wrapper.d.ts +0 -2
- package/lib/typescript/module/src/wrapper.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/bdk_ffi-ffi.ts +0 -11
- package/src/generated/bdk_ffi.ts +207 -462
- package/src/wrapper.ts +1 -9
package/src/generated/bdk_ffi.ts
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
type UniffiObjectFactory,
|
|
42
42
|
AbstractFfiConverterByteArray,
|
|
43
43
|
FfiConverterArray,
|
|
44
|
+
FfiConverterArrayBuffer,
|
|
44
45
|
FfiConverterBool,
|
|
45
46
|
FfiConverterFloat64,
|
|
46
47
|
FfiConverterInt32,
|
|
@@ -49,10 +50,8 @@ import {
|
|
|
49
50
|
FfiConverterOptional,
|
|
50
51
|
FfiConverterUInt32,
|
|
51
52
|
FfiConverterUInt64,
|
|
52
|
-
FfiConverterUInt8,
|
|
53
53
|
RustBuffer,
|
|
54
54
|
UniffiAbstractObject,
|
|
55
|
-
UniffiEnum,
|
|
56
55
|
UniffiError,
|
|
57
56
|
UniffiInternalError,
|
|
58
57
|
UniffiRustCaller,
|
|
@@ -78,6 +77,7 @@ const uniffiIsDebug =
|
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
79
|
* Convert a scriptPubKey (hex) to an address string for the given network.
|
|
80
|
+
* Returns the address string, or an error if the script cannot be converted.
|
|
81
81
|
*/
|
|
82
82
|
export function addressFromScript(
|
|
83
83
|
scriptHex: string,
|
|
@@ -127,7 +127,7 @@ export function createDescriptor(
|
|
|
127
127
|
);
|
|
128
128
|
}
|
|
129
129
|
/**
|
|
130
|
-
* Generate an output descriptor from a mnemonic string
|
|
130
|
+
* Generate an output descriptor from a mnemonic string (convenience overload).
|
|
131
131
|
*/
|
|
132
132
|
export function createDescriptorFromString(
|
|
133
133
|
mnemonic: string,
|
|
@@ -207,7 +207,7 @@ export function createSingleKeyDescriptor(
|
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
209
|
* Async wallet factory — creates or loads a wallet without blocking the JS thread.
|
|
210
|
-
* Pass null for change_descriptor to use the main descriptor for both keychains.
|
|
210
|
+
* Pass null/undefined for change_descriptor to use the main descriptor for both keychains.
|
|
211
211
|
*/
|
|
212
212
|
export async function createWallet(
|
|
213
213
|
descriptor: string,
|
|
@@ -4129,301 +4129,6 @@ const FfiConverterTypeTxOrdering = (() => {
|
|
|
4129
4129
|
return new FFIConverter();
|
|
4130
4130
|
})();
|
|
4131
4131
|
|
|
4132
|
-
// Enum: WalletEvent
|
|
4133
|
-
export enum WalletEvent_Tags {
|
|
4134
|
-
ChainTipChanged = "ChainTipChanged",
|
|
4135
|
-
TxConfirmed = "TxConfirmed",
|
|
4136
|
-
TxUnconfirmed = "TxUnconfirmed",
|
|
4137
|
-
TxReplaced = "TxReplaced",
|
|
4138
|
-
TxDropped = "TxDropped",
|
|
4139
|
-
}
|
|
4140
|
-
export const WalletEvent = (() => {
|
|
4141
|
-
type ChainTipChanged__interface = {
|
|
4142
|
-
tag: WalletEvent_Tags.ChainTipChanged;
|
|
4143
|
-
inner: Readonly<{ oldTip: BlockId; newTip: BlockId }>;
|
|
4144
|
-
};
|
|
4145
|
-
|
|
4146
|
-
class ChainTipChanged_
|
|
4147
|
-
extends UniffiEnum
|
|
4148
|
-
implements ChainTipChanged__interface
|
|
4149
|
-
{
|
|
4150
|
-
/**
|
|
4151
|
-
* @private
|
|
4152
|
-
* This field is private and should not be used, use `tag` instead.
|
|
4153
|
-
*/
|
|
4154
|
-
readonly [uniffiTypeNameSymbol] = "WalletEvent";
|
|
4155
|
-
readonly tag = WalletEvent_Tags.ChainTipChanged;
|
|
4156
|
-
readonly inner: Readonly<{ oldTip: BlockId; newTip: BlockId }>;
|
|
4157
|
-
constructor(inner: { oldTip: BlockId; newTip: BlockId }) {
|
|
4158
|
-
super("WalletEvent", "ChainTipChanged");
|
|
4159
|
-
this.inner = Object.freeze(inner);
|
|
4160
|
-
}
|
|
4161
|
-
|
|
4162
|
-
static new(inner: { oldTip: BlockId; newTip: BlockId }): ChainTipChanged_ {
|
|
4163
|
-
return new ChainTipChanged_(inner);
|
|
4164
|
-
}
|
|
4165
|
-
|
|
4166
|
-
static instanceOf(obj: any): obj is ChainTipChanged_ {
|
|
4167
|
-
return obj.tag === WalletEvent_Tags.ChainTipChanged;
|
|
4168
|
-
}
|
|
4169
|
-
}
|
|
4170
|
-
|
|
4171
|
-
type TxConfirmed__interface = {
|
|
4172
|
-
tag: WalletEvent_Tags.TxConfirmed;
|
|
4173
|
-
inner: Readonly<{ txid: string; blockTime: ConfirmationBlockTime }>;
|
|
4174
|
-
};
|
|
4175
|
-
|
|
4176
|
-
class TxConfirmed_ extends UniffiEnum implements TxConfirmed__interface {
|
|
4177
|
-
/**
|
|
4178
|
-
* @private
|
|
4179
|
-
* This field is private and should not be used, use `tag` instead.
|
|
4180
|
-
*/
|
|
4181
|
-
readonly [uniffiTypeNameSymbol] = "WalletEvent";
|
|
4182
|
-
readonly tag = WalletEvent_Tags.TxConfirmed;
|
|
4183
|
-
readonly inner: Readonly<{
|
|
4184
|
-
txid: string;
|
|
4185
|
-
blockTime: ConfirmationBlockTime;
|
|
4186
|
-
}>;
|
|
4187
|
-
constructor(inner: { txid: string; blockTime: ConfirmationBlockTime }) {
|
|
4188
|
-
super("WalletEvent", "TxConfirmed");
|
|
4189
|
-
this.inner = Object.freeze(inner);
|
|
4190
|
-
}
|
|
4191
|
-
|
|
4192
|
-
static new(inner: {
|
|
4193
|
-
txid: string;
|
|
4194
|
-
blockTime: ConfirmationBlockTime;
|
|
4195
|
-
}): TxConfirmed_ {
|
|
4196
|
-
return new TxConfirmed_(inner);
|
|
4197
|
-
}
|
|
4198
|
-
|
|
4199
|
-
static instanceOf(obj: any): obj is TxConfirmed_ {
|
|
4200
|
-
return obj.tag === WalletEvent_Tags.TxConfirmed;
|
|
4201
|
-
}
|
|
4202
|
-
}
|
|
4203
|
-
|
|
4204
|
-
type TxUnconfirmed__interface = {
|
|
4205
|
-
tag: WalletEvent_Tags.TxUnconfirmed;
|
|
4206
|
-
inner: Readonly<{ txid: string }>;
|
|
4207
|
-
};
|
|
4208
|
-
|
|
4209
|
-
class TxUnconfirmed_ extends UniffiEnum implements TxUnconfirmed__interface {
|
|
4210
|
-
/**
|
|
4211
|
-
* @private
|
|
4212
|
-
* This field is private and should not be used, use `tag` instead.
|
|
4213
|
-
*/
|
|
4214
|
-
readonly [uniffiTypeNameSymbol] = "WalletEvent";
|
|
4215
|
-
readonly tag = WalletEvent_Tags.TxUnconfirmed;
|
|
4216
|
-
readonly inner: Readonly<{ txid: string }>;
|
|
4217
|
-
constructor(inner: { txid: string }) {
|
|
4218
|
-
super("WalletEvent", "TxUnconfirmed");
|
|
4219
|
-
this.inner = Object.freeze(inner);
|
|
4220
|
-
}
|
|
4221
|
-
|
|
4222
|
-
static new(inner: { txid: string }): TxUnconfirmed_ {
|
|
4223
|
-
return new TxUnconfirmed_(inner);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4226
|
-
static instanceOf(obj: any): obj is TxUnconfirmed_ {
|
|
4227
|
-
return obj.tag === WalletEvent_Tags.TxUnconfirmed;
|
|
4228
|
-
}
|
|
4229
|
-
}
|
|
4230
|
-
|
|
4231
|
-
type TxReplaced__interface = {
|
|
4232
|
-
tag: WalletEvent_Tags.TxReplaced;
|
|
4233
|
-
inner: Readonly<{ txid: string; conflictingTxids: Array<string> }>;
|
|
4234
|
-
};
|
|
4235
|
-
|
|
4236
|
-
class TxReplaced_ extends UniffiEnum implements TxReplaced__interface {
|
|
4237
|
-
/**
|
|
4238
|
-
* @private
|
|
4239
|
-
* This field is private and should not be used, use `tag` instead.
|
|
4240
|
-
*/
|
|
4241
|
-
readonly [uniffiTypeNameSymbol] = "WalletEvent";
|
|
4242
|
-
readonly tag = WalletEvent_Tags.TxReplaced;
|
|
4243
|
-
readonly inner: Readonly<{ txid: string; conflictingTxids: Array<string> }>;
|
|
4244
|
-
constructor(inner: { txid: string; conflictingTxids: Array<string> }) {
|
|
4245
|
-
super("WalletEvent", "TxReplaced");
|
|
4246
|
-
this.inner = Object.freeze(inner);
|
|
4247
|
-
}
|
|
4248
|
-
|
|
4249
|
-
static new(inner: {
|
|
4250
|
-
txid: string;
|
|
4251
|
-
conflictingTxids: Array<string>;
|
|
4252
|
-
}): TxReplaced_ {
|
|
4253
|
-
return new TxReplaced_(inner);
|
|
4254
|
-
}
|
|
4255
|
-
|
|
4256
|
-
static instanceOf(obj: any): obj is TxReplaced_ {
|
|
4257
|
-
return obj.tag === WalletEvent_Tags.TxReplaced;
|
|
4258
|
-
}
|
|
4259
|
-
}
|
|
4260
|
-
|
|
4261
|
-
type TxDropped__interface = {
|
|
4262
|
-
tag: WalletEvent_Tags.TxDropped;
|
|
4263
|
-
inner: Readonly<{ txid: string }>;
|
|
4264
|
-
};
|
|
4265
|
-
|
|
4266
|
-
class TxDropped_ extends UniffiEnum implements TxDropped__interface {
|
|
4267
|
-
/**
|
|
4268
|
-
* @private
|
|
4269
|
-
* This field is private and should not be used, use `tag` instead.
|
|
4270
|
-
*/
|
|
4271
|
-
readonly [uniffiTypeNameSymbol] = "WalletEvent";
|
|
4272
|
-
readonly tag = WalletEvent_Tags.TxDropped;
|
|
4273
|
-
readonly inner: Readonly<{ txid: string }>;
|
|
4274
|
-
constructor(inner: { txid: string }) {
|
|
4275
|
-
super("WalletEvent", "TxDropped");
|
|
4276
|
-
this.inner = Object.freeze(inner);
|
|
4277
|
-
}
|
|
4278
|
-
|
|
4279
|
-
static new(inner: { txid: string }): TxDropped_ {
|
|
4280
|
-
return new TxDropped_(inner);
|
|
4281
|
-
}
|
|
4282
|
-
|
|
4283
|
-
static instanceOf(obj: any): obj is TxDropped_ {
|
|
4284
|
-
return obj.tag === WalletEvent_Tags.TxDropped;
|
|
4285
|
-
}
|
|
4286
|
-
}
|
|
4287
|
-
|
|
4288
|
-
function instanceOf(obj: any): obj is WalletEvent {
|
|
4289
|
-
return obj[uniffiTypeNameSymbol] === "WalletEvent";
|
|
4290
|
-
}
|
|
4291
|
-
|
|
4292
|
-
return Object.freeze({
|
|
4293
|
-
instanceOf,
|
|
4294
|
-
ChainTipChanged: ChainTipChanged_,
|
|
4295
|
-
TxConfirmed: TxConfirmed_,
|
|
4296
|
-
TxUnconfirmed: TxUnconfirmed_,
|
|
4297
|
-
TxReplaced: TxReplaced_,
|
|
4298
|
-
TxDropped: TxDropped_,
|
|
4299
|
-
});
|
|
4300
|
-
})();
|
|
4301
|
-
|
|
4302
|
-
export type WalletEvent = InstanceType<
|
|
4303
|
-
(typeof WalletEvent)[keyof Omit<typeof WalletEvent, "instanceOf">]
|
|
4304
|
-
>;
|
|
4305
|
-
|
|
4306
|
-
// FfiConverter for enum WalletEvent
|
|
4307
|
-
const FfiConverterTypeWalletEvent = (() => {
|
|
4308
|
-
const ordinalConverter = FfiConverterInt32;
|
|
4309
|
-
type TypeName = WalletEvent;
|
|
4310
|
-
class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {
|
|
4311
|
-
read(from: RustBuffer): TypeName {
|
|
4312
|
-
switch (ordinalConverter.read(from)) {
|
|
4313
|
-
case 1:
|
|
4314
|
-
return new WalletEvent.ChainTipChanged({
|
|
4315
|
-
oldTip: FfiConverterTypeBlockId.read(from),
|
|
4316
|
-
newTip: FfiConverterTypeBlockId.read(from),
|
|
4317
|
-
});
|
|
4318
|
-
case 2:
|
|
4319
|
-
return new WalletEvent.TxConfirmed({
|
|
4320
|
-
txid: FfiConverterString.read(from),
|
|
4321
|
-
blockTime: FfiConverterTypeConfirmationBlockTime.read(from),
|
|
4322
|
-
});
|
|
4323
|
-
case 3:
|
|
4324
|
-
return new WalletEvent.TxUnconfirmed({
|
|
4325
|
-
txid: FfiConverterString.read(from),
|
|
4326
|
-
});
|
|
4327
|
-
case 4:
|
|
4328
|
-
return new WalletEvent.TxReplaced({
|
|
4329
|
-
txid: FfiConverterString.read(from),
|
|
4330
|
-
conflictingTxids: FfiConverterArrayString.read(from),
|
|
4331
|
-
});
|
|
4332
|
-
case 5:
|
|
4333
|
-
return new WalletEvent.TxDropped({
|
|
4334
|
-
txid: FfiConverterString.read(from),
|
|
4335
|
-
});
|
|
4336
|
-
default:
|
|
4337
|
-
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
4338
|
-
}
|
|
4339
|
-
}
|
|
4340
|
-
write(value: TypeName, into: RustBuffer): void {
|
|
4341
|
-
switch (value.tag) {
|
|
4342
|
-
case WalletEvent_Tags.ChainTipChanged: {
|
|
4343
|
-
ordinalConverter.write(1, into);
|
|
4344
|
-
const inner = value.inner;
|
|
4345
|
-
FfiConverterTypeBlockId.write(inner.oldTip, into);
|
|
4346
|
-
FfiConverterTypeBlockId.write(inner.newTip, into);
|
|
4347
|
-
return;
|
|
4348
|
-
}
|
|
4349
|
-
case WalletEvent_Tags.TxConfirmed: {
|
|
4350
|
-
ordinalConverter.write(2, into);
|
|
4351
|
-
const inner = value.inner;
|
|
4352
|
-
FfiConverterString.write(inner.txid, into);
|
|
4353
|
-
FfiConverterTypeConfirmationBlockTime.write(inner.blockTime, into);
|
|
4354
|
-
return;
|
|
4355
|
-
}
|
|
4356
|
-
case WalletEvent_Tags.TxUnconfirmed: {
|
|
4357
|
-
ordinalConverter.write(3, into);
|
|
4358
|
-
const inner = value.inner;
|
|
4359
|
-
FfiConverterString.write(inner.txid, into);
|
|
4360
|
-
return;
|
|
4361
|
-
}
|
|
4362
|
-
case WalletEvent_Tags.TxReplaced: {
|
|
4363
|
-
ordinalConverter.write(4, into);
|
|
4364
|
-
const inner = value.inner;
|
|
4365
|
-
FfiConverterString.write(inner.txid, into);
|
|
4366
|
-
FfiConverterArrayString.write(inner.conflictingTxids, into);
|
|
4367
|
-
return;
|
|
4368
|
-
}
|
|
4369
|
-
case WalletEvent_Tags.TxDropped: {
|
|
4370
|
-
ordinalConverter.write(5, into);
|
|
4371
|
-
const inner = value.inner;
|
|
4372
|
-
FfiConverterString.write(inner.txid, into);
|
|
4373
|
-
return;
|
|
4374
|
-
}
|
|
4375
|
-
default:
|
|
4376
|
-
// Throwing from here means that WalletEvent_Tags hasn't matched an ordinal.
|
|
4377
|
-
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
4378
|
-
}
|
|
4379
|
-
}
|
|
4380
|
-
allocationSize(value: TypeName): number {
|
|
4381
|
-
switch (value.tag) {
|
|
4382
|
-
case WalletEvent_Tags.ChainTipChanged: {
|
|
4383
|
-
const inner = value.inner;
|
|
4384
|
-
let size = ordinalConverter.allocationSize(1);
|
|
4385
|
-
size += FfiConverterTypeBlockId.allocationSize(inner.oldTip);
|
|
4386
|
-
size += FfiConverterTypeBlockId.allocationSize(inner.newTip);
|
|
4387
|
-
return size;
|
|
4388
|
-
}
|
|
4389
|
-
case WalletEvent_Tags.TxConfirmed: {
|
|
4390
|
-
const inner = value.inner;
|
|
4391
|
-
let size = ordinalConverter.allocationSize(2);
|
|
4392
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
4393
|
-
size += FfiConverterTypeConfirmationBlockTime.allocationSize(
|
|
4394
|
-
inner.blockTime
|
|
4395
|
-
);
|
|
4396
|
-
return size;
|
|
4397
|
-
}
|
|
4398
|
-
case WalletEvent_Tags.TxUnconfirmed: {
|
|
4399
|
-
const inner = value.inner;
|
|
4400
|
-
let size = ordinalConverter.allocationSize(3);
|
|
4401
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
4402
|
-
return size;
|
|
4403
|
-
}
|
|
4404
|
-
case WalletEvent_Tags.TxReplaced: {
|
|
4405
|
-
const inner = value.inner;
|
|
4406
|
-
let size = ordinalConverter.allocationSize(4);
|
|
4407
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
4408
|
-
size += FfiConverterArrayString.allocationSize(
|
|
4409
|
-
inner.conflictingTxids
|
|
4410
|
-
);
|
|
4411
|
-
return size;
|
|
4412
|
-
}
|
|
4413
|
-
case WalletEvent_Tags.TxDropped: {
|
|
4414
|
-
const inner = value.inner;
|
|
4415
|
-
let size = ordinalConverter.allocationSize(5);
|
|
4416
|
-
size += FfiConverterString.allocationSize(inner.txid);
|
|
4417
|
-
return size;
|
|
4418
|
-
}
|
|
4419
|
-
default:
|
|
4420
|
-
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
4421
|
-
}
|
|
4422
|
-
}
|
|
4423
|
-
}
|
|
4424
|
-
return new FFIConverter();
|
|
4425
|
-
})();
|
|
4426
|
-
|
|
4427
4132
|
export enum WordCount {
|
|
4428
4133
|
Words12,
|
|
4429
4134
|
Words15,
|
|
@@ -4475,6 +4180,7 @@ const FfiConverterTypeWordCount = (() => {
|
|
|
4475
4180
|
|
|
4476
4181
|
/**
|
|
4477
4182
|
* A reusable Electrum client that holds a persistent TCP/TLS connection.
|
|
4183
|
+
* Create once, pass to multiple wallet methods to avoid reconnecting each time.
|
|
4478
4184
|
*/
|
|
4479
4185
|
export interface ElectrumClientLike {}
|
|
4480
4186
|
/**
|
|
@@ -4484,6 +4190,7 @@ export type ElectrumClientInterface = ElectrumClientLike;
|
|
|
4484
4190
|
|
|
4485
4191
|
/**
|
|
4486
4192
|
* A reusable Electrum client that holds a persistent TCP/TLS connection.
|
|
4193
|
+
* Create once, pass to multiple wallet methods to avoid reconnecting each time.
|
|
4487
4194
|
*/
|
|
4488
4195
|
export class ElectrumClient
|
|
4489
4196
|
extends UniffiAbstractObject
|
|
@@ -4494,6 +4201,7 @@ export class ElectrumClient
|
|
|
4494
4201
|
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4495
4202
|
/**
|
|
4496
4203
|
* Connect to an Electrum server.
|
|
4204
|
+
* url: e.g. "ssl://electrum.blockstream.info:60002" or "tcp://localhost:50001"
|
|
4497
4205
|
*/
|
|
4498
4206
|
constructor(url: string) /*throws*/ {
|
|
4499
4207
|
super();
|
|
@@ -4602,10 +4310,25 @@ const FfiConverterTypeElectrumClient = new FfiConverterObject(
|
|
|
4602
4310
|
);
|
|
4603
4311
|
|
|
4604
4312
|
export interface MnemonicLike {
|
|
4313
|
+
/**
|
|
4314
|
+
* The language of this mnemonic.
|
|
4315
|
+
*/
|
|
4605
4316
|
language(): Language;
|
|
4317
|
+
/**
|
|
4318
|
+
* Derive the 64-byte seed as hex. Pass an empty string for no passphrase.
|
|
4319
|
+
*/
|
|
4606
4320
|
toSeedHex(passphrase: string): string;
|
|
4321
|
+
/**
|
|
4322
|
+
* The mnemonic as a space-separated word string.
|
|
4323
|
+
*/
|
|
4607
4324
|
toString(): string;
|
|
4325
|
+
/**
|
|
4326
|
+
* Number of words (12, 15, 18, 21, or 24).
|
|
4327
|
+
*/
|
|
4608
4328
|
wordCount(): /*u32*/ number;
|
|
4329
|
+
/**
|
|
4330
|
+
* List the individual words.
|
|
4331
|
+
*/
|
|
4609
4332
|
words(): Array<string>;
|
|
4610
4333
|
}
|
|
4611
4334
|
/**
|
|
@@ -4617,6 +4340,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4617
4340
|
readonly [uniffiTypeNameSymbol] = "Mnemonic";
|
|
4618
4341
|
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4619
4342
|
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4343
|
+
/**
|
|
4344
|
+
* Generate a new random mnemonic with the given word count (English).
|
|
4345
|
+
*/
|
|
4620
4346
|
constructor(wordCount: WordCount) /*throws*/ {
|
|
4621
4347
|
super();
|
|
4622
4348
|
const pointer = uniffiCaller.rustCallWithError(
|
|
@@ -4636,7 +4362,10 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4636
4362
|
uniffiTypeMnemonicObjectFactory.bless(pointer);
|
|
4637
4363
|
}
|
|
4638
4364
|
|
|
4639
|
-
|
|
4365
|
+
/**
|
|
4366
|
+
* Create a mnemonic from raw entropy bytes (16–32 bytes).
|
|
4367
|
+
*/
|
|
4368
|
+
static fromEntropy(entropy: ArrayBuffer): MnemonicLike /*throws*/ {
|
|
4640
4369
|
return FfiConverterTypeMnemonic.lift(
|
|
4641
4370
|
uniffiCaller.rustCallWithError(
|
|
4642
4371
|
/*liftError:*/ FfiConverterTypeBdkError.lift.bind(
|
|
@@ -4644,7 +4373,7 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4644
4373
|
),
|
|
4645
4374
|
/*caller:*/ (callStatus) => {
|
|
4646
4375
|
return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy(
|
|
4647
|
-
|
|
4376
|
+
FfiConverterArrayBuffer.lower(entropy),
|
|
4648
4377
|
callStatus
|
|
4649
4378
|
);
|
|
4650
4379
|
},
|
|
@@ -4653,8 +4382,11 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4653
4382
|
);
|
|
4654
4383
|
}
|
|
4655
4384
|
|
|
4385
|
+
/**
|
|
4386
|
+
* Create a mnemonic from raw entropy bytes in a specific language.
|
|
4387
|
+
*/
|
|
4656
4388
|
static fromEntropyIn(
|
|
4657
|
-
entropy:
|
|
4389
|
+
entropy: ArrayBuffer,
|
|
4658
4390
|
language: Language
|
|
4659
4391
|
): MnemonicLike /*throws*/ {
|
|
4660
4392
|
return FfiConverterTypeMnemonic.lift(
|
|
@@ -4664,7 +4396,7 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4664
4396
|
),
|
|
4665
4397
|
/*caller:*/ (callStatus) => {
|
|
4666
4398
|
return nativeModule().ubrn_uniffi_bdk_ffi_fn_constructor_mnemonic_from_entropy_in(
|
|
4667
|
-
|
|
4399
|
+
FfiConverterArrayBuffer.lower(entropy),
|
|
4668
4400
|
FfiConverterTypeLanguage.lower(language),
|
|
4669
4401
|
callStatus
|
|
4670
4402
|
);
|
|
@@ -4674,6 +4406,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4674
4406
|
);
|
|
4675
4407
|
}
|
|
4676
4408
|
|
|
4409
|
+
/**
|
|
4410
|
+
* Parse an existing mnemonic string (auto-detects language).
|
|
4411
|
+
*/
|
|
4677
4412
|
static fromString(mnemonic: string): MnemonicLike /*throws*/ {
|
|
4678
4413
|
return FfiConverterTypeMnemonic.lift(
|
|
4679
4414
|
uniffiCaller.rustCallWithError(
|
|
@@ -4691,6 +4426,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4691
4426
|
);
|
|
4692
4427
|
}
|
|
4693
4428
|
|
|
4429
|
+
/**
|
|
4430
|
+
* Parse a mnemonic string in a specific language.
|
|
4431
|
+
*/
|
|
4694
4432
|
static fromStringIn(
|
|
4695
4433
|
mnemonic: string,
|
|
4696
4434
|
language: Language
|
|
@@ -4712,6 +4450,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4712
4450
|
);
|
|
4713
4451
|
}
|
|
4714
4452
|
|
|
4453
|
+
/**
|
|
4454
|
+
* The language of this mnemonic.
|
|
4455
|
+
*/
|
|
4715
4456
|
language(): Language {
|
|
4716
4457
|
return FfiConverterTypeLanguage.lift(
|
|
4717
4458
|
uniffiCaller.rustCall(
|
|
@@ -4726,6 +4467,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4726
4467
|
);
|
|
4727
4468
|
}
|
|
4728
4469
|
|
|
4470
|
+
/**
|
|
4471
|
+
* Derive the 64-byte seed as hex. Pass an empty string for no passphrase.
|
|
4472
|
+
*/
|
|
4729
4473
|
toSeedHex(passphrase: string): string {
|
|
4730
4474
|
return FfiConverterString.lift(
|
|
4731
4475
|
uniffiCaller.rustCall(
|
|
@@ -4741,6 +4485,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4741
4485
|
);
|
|
4742
4486
|
}
|
|
4743
4487
|
|
|
4488
|
+
/**
|
|
4489
|
+
* The mnemonic as a space-separated word string.
|
|
4490
|
+
*/
|
|
4744
4491
|
toString(): string {
|
|
4745
4492
|
return FfiConverterString.lift(
|
|
4746
4493
|
uniffiCaller.rustCall(
|
|
@@ -4755,6 +4502,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4755
4502
|
);
|
|
4756
4503
|
}
|
|
4757
4504
|
|
|
4505
|
+
/**
|
|
4506
|
+
* Number of words (12, 15, 18, 21, or 24).
|
|
4507
|
+
*/
|
|
4758
4508
|
wordCount(): /*u32*/ number {
|
|
4759
4509
|
return FfiConverterUInt32.lift(
|
|
4760
4510
|
uniffiCaller.rustCall(
|
|
@@ -4769,6 +4519,9 @@ export class Mnemonic extends UniffiAbstractObject implements MnemonicLike {
|
|
|
4769
4519
|
);
|
|
4770
4520
|
}
|
|
4771
4521
|
|
|
4522
|
+
/**
|
|
4523
|
+
* List the individual words.
|
|
4524
|
+
*/
|
|
4772
4525
|
words(): Array<string> {
|
|
4773
4526
|
return FfiConverterArrayString.lift(
|
|
4774
4527
|
uniffiCaller.rustCall(
|
|
@@ -4870,11 +4623,29 @@ const FfiConverterTypeMnemonic = new FfiConverterObject(
|
|
|
4870
4623
|
);
|
|
4871
4624
|
|
|
4872
4625
|
export interface PsbtLike {
|
|
4626
|
+
/**
|
|
4627
|
+
* Extract the fully-signed transaction as raw hex.
|
|
4628
|
+
*/
|
|
4873
4629
|
extractTxHex(): /*throws*/ string;
|
|
4630
|
+
/**
|
|
4631
|
+
* Total fee in satoshis. None if any input UTXO value is unknown.
|
|
4632
|
+
*/
|
|
4874
4633
|
feeAmount(): /*u64*/ bigint | undefined;
|
|
4634
|
+
/**
|
|
4635
|
+
* Fee rate in sat/vbyte. None if any input UTXO value is unknown.
|
|
4636
|
+
*/
|
|
4875
4637
|
feeRate(): /*f64*/ number | undefined;
|
|
4638
|
+
/**
|
|
4639
|
+
* Retrieve the UTXO for a given input index. Returns None if unavailable.
|
|
4640
|
+
*/
|
|
4876
4641
|
getUtxoFor(inputIndex: /*u64*/ bigint): TxOut | undefined;
|
|
4642
|
+
/**
|
|
4643
|
+
* Serialize to a base64-encoded string.
|
|
4644
|
+
*/
|
|
4877
4645
|
toBase64(): string;
|
|
4646
|
+
/**
|
|
4647
|
+
* The unsigned txid.
|
|
4648
|
+
*/
|
|
4878
4649
|
txid(): /*throws*/ string;
|
|
4879
4650
|
}
|
|
4880
4651
|
/**
|
|
@@ -4886,6 +4657,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4886
4657
|
readonly [uniffiTypeNameSymbol] = "Psbt";
|
|
4887
4658
|
readonly [destructorGuardSymbol]: UniffiGcObject;
|
|
4888
4659
|
readonly [pointerLiteralSymbol]: UniffiHandle;
|
|
4660
|
+
/**
|
|
4661
|
+
* Deserialize from a base64-encoded string.
|
|
4662
|
+
*/
|
|
4889
4663
|
constructor(psbtBase64: string) /*throws*/ {
|
|
4890
4664
|
super();
|
|
4891
4665
|
const pointer = uniffiCaller.rustCallWithError(
|
|
@@ -4904,6 +4678,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4904
4678
|
this[destructorGuardSymbol] = uniffiTypePsbtObjectFactory.bless(pointer);
|
|
4905
4679
|
}
|
|
4906
4680
|
|
|
4681
|
+
/**
|
|
4682
|
+
* Extract the fully-signed transaction as raw hex.
|
|
4683
|
+
*/
|
|
4907
4684
|
extractTxHex(): string /*throws*/ {
|
|
4908
4685
|
return FfiConverterString.lift(
|
|
4909
4686
|
uniffiCaller.rustCallWithError(
|
|
@@ -4921,6 +4698,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4921
4698
|
);
|
|
4922
4699
|
}
|
|
4923
4700
|
|
|
4701
|
+
/**
|
|
4702
|
+
* Total fee in satoshis. None if any input UTXO value is unknown.
|
|
4703
|
+
*/
|
|
4924
4704
|
feeAmount(): /*u64*/ bigint | undefined {
|
|
4925
4705
|
return FfiConverterOptionalUInt64.lift(
|
|
4926
4706
|
uniffiCaller.rustCall(
|
|
@@ -4935,6 +4715,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4935
4715
|
);
|
|
4936
4716
|
}
|
|
4937
4717
|
|
|
4718
|
+
/**
|
|
4719
|
+
* Fee rate in sat/vbyte. None if any input UTXO value is unknown.
|
|
4720
|
+
*/
|
|
4938
4721
|
feeRate(): /*f64*/ number | undefined {
|
|
4939
4722
|
return FfiConverterOptionalFloat64.lift(
|
|
4940
4723
|
uniffiCaller.rustCall(
|
|
@@ -4949,6 +4732,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4949
4732
|
);
|
|
4950
4733
|
}
|
|
4951
4734
|
|
|
4735
|
+
/**
|
|
4736
|
+
* Retrieve the UTXO for a given input index. Returns None if unavailable.
|
|
4737
|
+
*/
|
|
4952
4738
|
getUtxoFor(inputIndex: /*u64*/ bigint): TxOut | undefined {
|
|
4953
4739
|
return FfiConverterOptionalTypeTxOut.lift(
|
|
4954
4740
|
uniffiCaller.rustCall(
|
|
@@ -4964,6 +4750,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4964
4750
|
);
|
|
4965
4751
|
}
|
|
4966
4752
|
|
|
4753
|
+
/**
|
|
4754
|
+
* Serialize to a base64-encoded string.
|
|
4755
|
+
*/
|
|
4967
4756
|
toBase64(): string {
|
|
4968
4757
|
return FfiConverterString.lift(
|
|
4969
4758
|
uniffiCaller.rustCall(
|
|
@@ -4978,6 +4767,9 @@ export class Psbt extends UniffiAbstractObject implements PsbtLike {
|
|
|
4978
4767
|
);
|
|
4979
4768
|
}
|
|
4980
4769
|
|
|
4770
|
+
/**
|
|
4771
|
+
* The unsigned txid.
|
|
4772
|
+
*/
|
|
4981
4773
|
txid(): string /*throws*/ {
|
|
4982
4774
|
return FfiConverterString.lift(
|
|
4983
4775
|
uniffiCaller.rustCallWithError(
|
|
@@ -5073,7 +4865,7 @@ const FfiConverterTypePsbt = new FfiConverterObject(
|
|
|
5073
4865
|
);
|
|
5074
4866
|
|
|
5075
4867
|
export interface TxBuilderLike {
|
|
5076
|
-
addData(data:
|
|
4868
|
+
addData(data: ArrayBuffer): void;
|
|
5077
4869
|
addGlobalXpubs(): void;
|
|
5078
4870
|
addRecipient(address: string, amountSats: /*u64*/ bigint): void;
|
|
5079
4871
|
addUnspendable(outpoint: OutPoint): void;
|
|
@@ -5092,13 +4884,13 @@ export interface TxBuilderLike {
|
|
|
5092
4884
|
feeAbsolute(feeSats: /*u64*/ bigint): void;
|
|
5093
4885
|
feeRate(satPerVbyte: /*f64*/ number): void;
|
|
5094
4886
|
/**
|
|
5095
|
-
* Build the transaction into a PSBT
|
|
4887
|
+
* Build the transaction into a PSBT using the wallet.
|
|
4888
|
+
* Runs on a background thread to avoid blocking the JS thread.
|
|
5096
4889
|
*/
|
|
5097
4890
|
finish(
|
|
5098
4891
|
wallet: WalletLike,
|
|
5099
4892
|
asyncOpts_?: { signal: AbortSignal }
|
|
5100
4893
|
): /*throws*/ Promise<PsbtLike>;
|
|
5101
|
-
includeOutputRedeemWitnessScript(): void;
|
|
5102
4894
|
manuallySelectedOnly(): void;
|
|
5103
4895
|
nlocktime(lockHeight: /*u32*/ number): void;
|
|
5104
4896
|
onlySpendChange(): void;
|
|
@@ -5135,12 +4927,12 @@ export class TxBuilder extends UniffiAbstractObject implements TxBuilderLike {
|
|
|
5135
4927
|
uniffiTypeTxBuilderObjectFactory.bless(pointer);
|
|
5136
4928
|
}
|
|
5137
4929
|
|
|
5138
|
-
addData(data:
|
|
4930
|
+
addData(data: ArrayBuffer): void {
|
|
5139
4931
|
uniffiCaller.rustCall(
|
|
5140
4932
|
/*caller:*/ (callStatus) => {
|
|
5141
4933
|
nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_add_data(
|
|
5142
4934
|
uniffiTypeTxBuilderObjectFactory.clonePointer(this),
|
|
5143
|
-
|
|
4935
|
+
FfiConverterArrayBuffer.lower(data),
|
|
5144
4936
|
callStatus
|
|
5145
4937
|
);
|
|
5146
4938
|
},
|
|
@@ -5375,7 +5167,8 @@ export class TxBuilder extends UniffiAbstractObject implements TxBuilderLike {
|
|
|
5375
5167
|
}
|
|
5376
5168
|
|
|
5377
5169
|
/**
|
|
5378
|
-
* Build the transaction into a PSBT
|
|
5170
|
+
* Build the transaction into a PSBT using the wallet.
|
|
5171
|
+
* Runs on a background thread to avoid blocking the JS thread.
|
|
5379
5172
|
*/
|
|
5380
5173
|
async finish(
|
|
5381
5174
|
wallet: WalletLike,
|
|
@@ -5411,18 +5204,6 @@ export class TxBuilder extends UniffiAbstractObject implements TxBuilderLike {
|
|
|
5411
5204
|
}
|
|
5412
5205
|
}
|
|
5413
5206
|
|
|
5414
|
-
includeOutputRedeemWitnessScript(): void {
|
|
5415
|
-
uniffiCaller.rustCall(
|
|
5416
|
-
/*caller:*/ (callStatus) => {
|
|
5417
|
-
nativeModule().ubrn_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(
|
|
5418
|
-
uniffiTypeTxBuilderObjectFactory.clonePointer(this),
|
|
5419
|
-
callStatus
|
|
5420
|
-
);
|
|
5421
|
-
},
|
|
5422
|
-
/*liftString:*/ FfiConverterString.lift
|
|
5423
|
-
);
|
|
5424
|
-
}
|
|
5425
|
-
|
|
5426
5207
|
manuallySelectedOnly(): void {
|
|
5427
5208
|
uniffiCaller.rustCall(
|
|
5428
5209
|
/*caller:*/ (callStatus) => {
|
|
@@ -5665,7 +5446,6 @@ export interface WalletLike {
|
|
|
5665
5446
|
buildFeeBump(txid: string, newFeeRate: /*f64*/ number): /*throws*/ PsbtLike;
|
|
5666
5447
|
calculateFee(txHex: string): /*throws*/ /*u64*/ bigint;
|
|
5667
5448
|
calculateFeeRate(txHex: string): /*throws*/ /*f64*/ number;
|
|
5668
|
-
cancelTx(txHex: string): /*throws*/ void;
|
|
5669
5449
|
checkpoints(): Array<BlockId>;
|
|
5670
5450
|
derivationIndex(keychain: KeychainKind): /*u32*/ number | undefined;
|
|
5671
5451
|
derivationOfSpk(scriptHex: string): DerivationInfo | undefined;
|
|
@@ -5920,22 +5700,6 @@ export class Wallet extends UniffiAbstractObject implements WalletLike {
|
|
|
5920
5700
|
);
|
|
5921
5701
|
}
|
|
5922
5702
|
|
|
5923
|
-
cancelTx(txHex: string): void /*throws*/ {
|
|
5924
|
-
uniffiCaller.rustCallWithError(
|
|
5925
|
-
/*liftError:*/ FfiConverterTypeBdkError.lift.bind(
|
|
5926
|
-
FfiConverterTypeBdkError
|
|
5927
|
-
),
|
|
5928
|
-
/*caller:*/ (callStatus) => {
|
|
5929
|
-
nativeModule().ubrn_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(
|
|
5930
|
-
uniffiTypeWalletObjectFactory.clonePointer(this),
|
|
5931
|
-
FfiConverterString.lower(txHex),
|
|
5932
|
-
callStatus
|
|
5933
|
-
);
|
|
5934
|
-
},
|
|
5935
|
-
/*liftString:*/ FfiConverterString.lift
|
|
5936
|
-
);
|
|
5937
|
-
}
|
|
5938
|
-
|
|
5939
5703
|
checkpoints(): Array<BlockId> {
|
|
5940
5704
|
return FfiConverterArrayTypeBlockId.lift(
|
|
5941
5705
|
uniffiCaller.rustCall(
|
|
@@ -6932,9 +6696,6 @@ const FfiConverterArrayTypeTxOutput = new FfiConverterArray(
|
|
|
6932
6696
|
// FfiConverter for Array<string>
|
|
6933
6697
|
const FfiConverterArrayString = new FfiConverterArray(FfiConverterString);
|
|
6934
6698
|
|
|
6935
|
-
// FfiConverter for Array</*u8*/number>
|
|
6936
|
-
const FfiConverterArrayUInt8 = new FfiConverterArray(FfiConverterUInt8);
|
|
6937
|
-
|
|
6938
6699
|
/**
|
|
6939
6700
|
* This should be called before anything else.
|
|
6940
6701
|
*
|
|
@@ -6959,14 +6720,15 @@ function uniffiEnsureInitialized() {
|
|
|
6959
6720
|
}
|
|
6960
6721
|
if (
|
|
6961
6722
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_address_from_script() !==
|
|
6962
|
-
|
|
6723
|
+
39396
|
|
6963
6724
|
) {
|
|
6964
6725
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6965
6726
|
"uniffi_bdk_ffi_checksum_func_address_from_script"
|
|
6966
6727
|
);
|
|
6967
6728
|
}
|
|
6968
6729
|
if (
|
|
6969
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !==
|
|
6730
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor() !==
|
|
6731
|
+
15263
|
|
6970
6732
|
) {
|
|
6971
6733
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6972
6734
|
"uniffi_bdk_ffi_checksum_func_create_descriptor"
|
|
@@ -6974,7 +6736,7 @@ function uniffiEnsureInitialized() {
|
|
|
6974
6736
|
}
|
|
6975
6737
|
if (
|
|
6976
6738
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_descriptor_from_string() !==
|
|
6977
|
-
|
|
6739
|
+
1662
|
|
6978
6740
|
) {
|
|
6979
6741
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6980
6742
|
"uniffi_bdk_ffi_checksum_func_create_descriptor_from_string"
|
|
@@ -6982,7 +6744,7 @@ function uniffiEnsureInitialized() {
|
|
|
6982
6744
|
}
|
|
6983
6745
|
if (
|
|
6984
6746
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_public_descriptor() !==
|
|
6985
|
-
|
|
6747
|
+
9931
|
|
6986
6748
|
) {
|
|
6987
6749
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6988
6750
|
"uniffi_bdk_ffi_checksum_func_create_public_descriptor"
|
|
@@ -6990,21 +6752,21 @@ function uniffiEnsureInitialized() {
|
|
|
6990
6752
|
}
|
|
6991
6753
|
if (
|
|
6992
6754
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_single_key_descriptor() !==
|
|
6993
|
-
|
|
6755
|
+
61717
|
|
6994
6756
|
) {
|
|
6995
6757
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
6996
6758
|
"uniffi_bdk_ffi_checksum_func_create_single_key_descriptor"
|
|
6997
6759
|
);
|
|
6998
6760
|
}
|
|
6999
6761
|
if (
|
|
7000
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !==
|
|
6762
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_create_wallet() !== 45258
|
|
7001
6763
|
) {
|
|
7002
6764
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7003
6765
|
"uniffi_bdk_ffi_checksum_func_create_wallet"
|
|
7004
6766
|
);
|
|
7005
6767
|
}
|
|
7006
6768
|
if (
|
|
7007
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !==
|
|
6769
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_export_wallet() !== 61696
|
|
7008
6770
|
) {
|
|
7009
6771
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7010
6772
|
"uniffi_bdk_ffi_checksum_func_export_wallet"
|
|
@@ -7012,7 +6774,7 @@ function uniffiEnsureInitialized() {
|
|
|
7012
6774
|
}
|
|
7013
6775
|
if (
|
|
7014
6776
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_is_valid_address() !==
|
|
7015
|
-
|
|
6777
|
+
31052
|
|
7016
6778
|
) {
|
|
7017
6779
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7018
6780
|
"uniffi_bdk_ffi_checksum_func_is_valid_address"
|
|
@@ -7020,20 +6782,20 @@ function uniffiEnsureInitialized() {
|
|
|
7020
6782
|
}
|
|
7021
6783
|
if (
|
|
7022
6784
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_validate_descriptor() !==
|
|
7023
|
-
|
|
6785
|
+
36838
|
|
7024
6786
|
) {
|
|
7025
6787
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7026
6788
|
"uniffi_bdk_ffi_checksum_func_validate_descriptor"
|
|
7027
6789
|
);
|
|
7028
6790
|
}
|
|
7029
|
-
if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_version() !==
|
|
6791
|
+
if (nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_version() !== 1034) {
|
|
7030
6792
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7031
6793
|
"uniffi_bdk_ffi_checksum_func_version"
|
|
7032
6794
|
);
|
|
7033
6795
|
}
|
|
7034
6796
|
if (
|
|
7035
6797
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor() !==
|
|
7036
|
-
|
|
6798
|
+
49703
|
|
7037
6799
|
) {
|
|
7038
6800
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7039
6801
|
"uniffi_bdk_ffi_checksum_func_wallet_name_from_descriptor"
|
|
@@ -7041,7 +6803,7 @@ function uniffiEnsureInitialized() {
|
|
|
7041
6803
|
}
|
|
7042
6804
|
if (
|
|
7043
6805
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_language() !==
|
|
7044
|
-
|
|
6806
|
+
16692
|
|
7045
6807
|
) {
|
|
7046
6808
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7047
6809
|
"uniffi_bdk_ffi_checksum_method_mnemonic_language"
|
|
@@ -7049,7 +6811,7 @@ function uniffiEnsureInitialized() {
|
|
|
7049
6811
|
}
|
|
7050
6812
|
if (
|
|
7051
6813
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex() !==
|
|
7052
|
-
|
|
6814
|
+
51397
|
|
7053
6815
|
) {
|
|
7054
6816
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7055
6817
|
"uniffi_bdk_ffi_checksum_method_mnemonic_to_seed_hex"
|
|
@@ -7057,7 +6819,7 @@ function uniffiEnsureInitialized() {
|
|
|
7057
6819
|
}
|
|
7058
6820
|
if (
|
|
7059
6821
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_to_string() !==
|
|
7060
|
-
|
|
6822
|
+
40512
|
|
7061
6823
|
) {
|
|
7062
6824
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7063
6825
|
"uniffi_bdk_ffi_checksum_method_mnemonic_to_string"
|
|
@@ -7065,7 +6827,7 @@ function uniffiEnsureInitialized() {
|
|
|
7065
6827
|
}
|
|
7066
6828
|
if (
|
|
7067
6829
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_word_count() !==
|
|
7068
|
-
|
|
6830
|
+
488
|
|
7069
6831
|
) {
|
|
7070
6832
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7071
6833
|
"uniffi_bdk_ffi_checksum_method_mnemonic_word_count"
|
|
@@ -7073,7 +6835,7 @@ function uniffiEnsureInitialized() {
|
|
|
7073
6835
|
}
|
|
7074
6836
|
if (
|
|
7075
6837
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_mnemonic_words() !==
|
|
7076
|
-
|
|
6838
|
+
51339
|
|
7077
6839
|
) {
|
|
7078
6840
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7079
6841
|
"uniffi_bdk_ffi_checksum_method_mnemonic_words"
|
|
@@ -7081,7 +6843,7 @@ function uniffiEnsureInitialized() {
|
|
|
7081
6843
|
}
|
|
7082
6844
|
if (
|
|
7083
6845
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex() !==
|
|
7084
|
-
|
|
6846
|
+
64035
|
|
7085
6847
|
) {
|
|
7086
6848
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7087
6849
|
"uniffi_bdk_ffi_checksum_method_psbt_extract_tx_hex"
|
|
@@ -7089,14 +6851,14 @@ function uniffiEnsureInitialized() {
|
|
|
7089
6851
|
}
|
|
7090
6852
|
if (
|
|
7091
6853
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_amount() !==
|
|
7092
|
-
|
|
6854
|
+
47400
|
|
7093
6855
|
) {
|
|
7094
6856
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7095
6857
|
"uniffi_bdk_ffi_checksum_method_psbt_fee_amount"
|
|
7096
6858
|
);
|
|
7097
6859
|
}
|
|
7098
6860
|
if (
|
|
7099
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !==
|
|
6861
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_fee_rate() !== 53916
|
|
7100
6862
|
) {
|
|
7101
6863
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7102
6864
|
"uniffi_bdk_ffi_checksum_method_psbt_fee_rate"
|
|
@@ -7104,7 +6866,7 @@ function uniffiEnsureInitialized() {
|
|
|
7104
6866
|
}
|
|
7105
6867
|
if (
|
|
7106
6868
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for() !==
|
|
7107
|
-
|
|
6869
|
+
51581
|
|
7108
6870
|
) {
|
|
7109
6871
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7110
6872
|
"uniffi_bdk_ffi_checksum_method_psbt_get_utxo_for"
|
|
@@ -7112,14 +6874,14 @@ function uniffiEnsureInitialized() {
|
|
|
7112
6874
|
}
|
|
7113
6875
|
if (
|
|
7114
6876
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_to_base64() !==
|
|
7115
|
-
|
|
6877
|
+
26797
|
|
7116
6878
|
) {
|
|
7117
6879
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7118
6880
|
"uniffi_bdk_ffi_checksum_method_psbt_to_base64"
|
|
7119
6881
|
);
|
|
7120
6882
|
}
|
|
7121
6883
|
if (
|
|
7122
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !==
|
|
6884
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_psbt_txid() !== 52614
|
|
7123
6885
|
) {
|
|
7124
6886
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7125
6887
|
"uniffi_bdk_ffi_checksum_method_psbt_txid"
|
|
@@ -7127,7 +6889,7 @@ function uniffiEnsureInitialized() {
|
|
|
7127
6889
|
}
|
|
7128
6890
|
if (
|
|
7129
6891
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_data() !==
|
|
7130
|
-
|
|
6892
|
+
6110
|
|
7131
6893
|
) {
|
|
7132
6894
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7133
6895
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_data"
|
|
@@ -7135,7 +6897,7 @@ function uniffiEnsureInitialized() {
|
|
|
7135
6897
|
}
|
|
7136
6898
|
if (
|
|
7137
6899
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs() !==
|
|
7138
|
-
|
|
6900
|
+
1787
|
|
7139
6901
|
) {
|
|
7140
6902
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7141
6903
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_global_xpubs"
|
|
@@ -7143,7 +6905,7 @@ function uniffiEnsureInitialized() {
|
|
|
7143
6905
|
}
|
|
7144
6906
|
if (
|
|
7145
6907
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient() !==
|
|
7146
|
-
|
|
6908
|
+
12594
|
|
7147
6909
|
) {
|
|
7148
6910
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7149
6911
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_recipient"
|
|
@@ -7151,7 +6913,7 @@ function uniffiEnsureInitialized() {
|
|
|
7151
6913
|
}
|
|
7152
6914
|
if (
|
|
7153
6915
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable() !==
|
|
7154
|
-
|
|
6916
|
+
52996
|
|
7155
6917
|
) {
|
|
7156
6918
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7157
6919
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_unspendable"
|
|
@@ -7159,7 +6921,7 @@ function uniffiEnsureInitialized() {
|
|
|
7159
6921
|
}
|
|
7160
6922
|
if (
|
|
7161
6923
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo() !==
|
|
7162
|
-
|
|
6924
|
+
42826
|
|
7163
6925
|
) {
|
|
7164
6926
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7165
6927
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_utxo"
|
|
@@ -7167,7 +6929,7 @@ function uniffiEnsureInitialized() {
|
|
|
7167
6929
|
}
|
|
7168
6930
|
if (
|
|
7169
6931
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos() !==
|
|
7170
|
-
|
|
6932
|
+
32062
|
|
7171
6933
|
) {
|
|
7172
6934
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7173
6935
|
"uniffi_bdk_ffi_checksum_method_txbuilder_add_utxos"
|
|
@@ -7175,7 +6937,7 @@ function uniffiEnsureInitialized() {
|
|
|
7175
6937
|
}
|
|
7176
6938
|
if (
|
|
7177
6939
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust() !==
|
|
7178
|
-
|
|
6940
|
+
14341
|
|
7179
6941
|
) {
|
|
7180
6942
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7181
6943
|
"uniffi_bdk_ffi_checksum_method_txbuilder_allow_dust"
|
|
@@ -7183,7 +6945,7 @@ function uniffiEnsureInitialized() {
|
|
|
7183
6945
|
}
|
|
7184
6946
|
if (
|
|
7185
6947
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_change_policy() !==
|
|
7186
|
-
|
|
6948
|
+
65098
|
|
7187
6949
|
) {
|
|
7188
6950
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7189
6951
|
"uniffi_bdk_ffi_checksum_method_txbuilder_change_policy"
|
|
@@ -7191,7 +6953,7 @@ function uniffiEnsureInitialized() {
|
|
|
7191
6953
|
}
|
|
7192
6954
|
if (
|
|
7193
6955
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_current_height() !==
|
|
7194
|
-
|
|
6956
|
+
4465
|
|
7195
6957
|
) {
|
|
7196
6958
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7197
6959
|
"uniffi_bdk_ffi_checksum_method_txbuilder_current_height"
|
|
@@ -7199,7 +6961,7 @@ function uniffiEnsureInitialized() {
|
|
|
7199
6961
|
}
|
|
7200
6962
|
if (
|
|
7201
6963
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change() !==
|
|
7202
|
-
|
|
6964
|
+
22162
|
|
7203
6965
|
) {
|
|
7204
6966
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7205
6967
|
"uniffi_bdk_ffi_checksum_method_txbuilder_do_not_spend_change"
|
|
@@ -7207,7 +6969,7 @@ function uniffiEnsureInitialized() {
|
|
|
7207
6969
|
}
|
|
7208
6970
|
if (
|
|
7209
6971
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_to() !==
|
|
7210
|
-
|
|
6972
|
+
46015
|
|
7211
6973
|
) {
|
|
7212
6974
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7213
6975
|
"uniffi_bdk_ffi_checksum_method_txbuilder_drain_to"
|
|
@@ -7215,7 +6977,7 @@ function uniffiEnsureInitialized() {
|
|
|
7215
6977
|
}
|
|
7216
6978
|
if (
|
|
7217
6979
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet() !==
|
|
7218
|
-
|
|
6980
|
+
16971
|
|
7219
6981
|
) {
|
|
7220
6982
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7221
6983
|
"uniffi_bdk_ffi_checksum_method_txbuilder_drain_wallet"
|
|
@@ -7223,7 +6985,7 @@ function uniffiEnsureInitialized() {
|
|
|
7223
6985
|
}
|
|
7224
6986
|
if (
|
|
7225
6987
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf() !==
|
|
7226
|
-
|
|
6988
|
+
15080
|
|
7227
6989
|
) {
|
|
7228
6990
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7229
6991
|
"uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf"
|
|
@@ -7231,7 +6993,7 @@ function uniffiEnsureInitialized() {
|
|
|
7231
6993
|
}
|
|
7232
6994
|
if (
|
|
7233
6995
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence() !==
|
|
7234
|
-
|
|
6996
|
+
1958
|
|
7235
6997
|
) {
|
|
7236
6998
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7237
6999
|
"uniffi_bdk_ffi_checksum_method_txbuilder_enable_rbf_with_sequence"
|
|
@@ -7239,7 +7001,7 @@ function uniffiEnsureInitialized() {
|
|
|
7239
7001
|
}
|
|
7240
7002
|
if (
|
|
7241
7003
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations() !==
|
|
7242
|
-
|
|
7004
|
+
33257
|
|
7243
7005
|
) {
|
|
7244
7006
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7245
7007
|
"uniffi_bdk_ffi_checksum_method_txbuilder_exclude_below_confirmations"
|
|
@@ -7247,7 +7009,7 @@ function uniffiEnsureInitialized() {
|
|
|
7247
7009
|
}
|
|
7248
7010
|
if (
|
|
7249
7011
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed() !==
|
|
7250
|
-
|
|
7012
|
+
55927
|
|
7251
7013
|
) {
|
|
7252
7014
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7253
7015
|
"uniffi_bdk_ffi_checksum_method_txbuilder_exclude_unconfirmed"
|
|
@@ -7255,7 +7017,7 @@ function uniffiEnsureInitialized() {
|
|
|
7255
7017
|
}
|
|
7256
7018
|
if (
|
|
7257
7019
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute() !==
|
|
7258
|
-
|
|
7020
|
+
35900
|
|
7259
7021
|
) {
|
|
7260
7022
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7261
7023
|
"uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute"
|
|
@@ -7263,7 +7025,7 @@ function uniffiEnsureInitialized() {
|
|
|
7263
7025
|
}
|
|
7264
7026
|
if (
|
|
7265
7027
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate() !==
|
|
7266
|
-
|
|
7028
|
+
30180
|
|
7267
7029
|
) {
|
|
7268
7030
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7269
7031
|
"uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate"
|
|
@@ -7271,23 +7033,15 @@ function uniffiEnsureInitialized() {
|
|
|
7271
7033
|
}
|
|
7272
7034
|
if (
|
|
7273
7035
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_finish() !==
|
|
7274
|
-
|
|
7036
|
+
19754
|
|
7275
7037
|
) {
|
|
7276
7038
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7277
7039
|
"uniffi_bdk_ffi_checksum_method_txbuilder_finish"
|
|
7278
7040
|
);
|
|
7279
7041
|
}
|
|
7280
|
-
if (
|
|
7281
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script() !==
|
|
7282
|
-
1428
|
|
7283
|
-
) {
|
|
7284
|
-
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7285
|
-
"uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script"
|
|
7286
|
-
);
|
|
7287
|
-
}
|
|
7288
7042
|
if (
|
|
7289
7043
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only() !==
|
|
7290
|
-
|
|
7044
|
+
10522
|
|
7291
7045
|
) {
|
|
7292
7046
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7293
7047
|
"uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only"
|
|
@@ -7295,7 +7049,7 @@ function uniffiEnsureInitialized() {
|
|
|
7295
7049
|
}
|
|
7296
7050
|
if (
|
|
7297
7051
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime() !==
|
|
7298
|
-
|
|
7052
|
+
34758
|
|
7299
7053
|
) {
|
|
7300
7054
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7301
7055
|
"uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime"
|
|
@@ -7303,7 +7057,7 @@ function uniffiEnsureInitialized() {
|
|
|
7303
7057
|
}
|
|
7304
7058
|
if (
|
|
7305
7059
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change() !==
|
|
7306
|
-
|
|
7060
|
+
53841
|
|
7307
7061
|
) {
|
|
7308
7062
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7309
7063
|
"uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change"
|
|
@@ -7311,7 +7065,7 @@ function uniffiEnsureInitialized() {
|
|
|
7311
7065
|
}
|
|
7312
7066
|
if (
|
|
7313
7067
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo() !==
|
|
7314
|
-
|
|
7068
|
+
21662
|
|
7315
7069
|
) {
|
|
7316
7070
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7317
7071
|
"uniffi_bdk_ffi_checksum_method_txbuilder_only_witness_utxo"
|
|
@@ -7319,7 +7073,7 @@ function uniffiEnsureInitialized() {
|
|
|
7319
7073
|
}
|
|
7320
7074
|
if (
|
|
7321
7075
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_ordering() !==
|
|
7322
|
-
|
|
7076
|
+
2839
|
|
7323
7077
|
) {
|
|
7324
7078
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7325
7079
|
"uniffi_bdk_ffi_checksum_method_txbuilder_ordering"
|
|
@@ -7327,7 +7081,7 @@ function uniffiEnsureInitialized() {
|
|
|
7327
7081
|
}
|
|
7328
7082
|
if (
|
|
7329
7083
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_policy_path() !==
|
|
7330
|
-
|
|
7084
|
+
20272
|
|
7331
7085
|
) {
|
|
7332
7086
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7333
7087
|
"uniffi_bdk_ffi_checksum_method_txbuilder_policy_path"
|
|
@@ -7335,7 +7089,7 @@ function uniffiEnsureInitialized() {
|
|
|
7335
7089
|
}
|
|
7336
7090
|
if (
|
|
7337
7091
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence() !==
|
|
7338
|
-
|
|
7092
|
+
41481
|
|
7339
7093
|
) {
|
|
7340
7094
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7341
7095
|
"uniffi_bdk_ffi_checksum_method_txbuilder_set_exact_sequence"
|
|
@@ -7343,7 +7097,7 @@ function uniffiEnsureInitialized() {
|
|
|
7343
7097
|
}
|
|
7344
7098
|
if (
|
|
7345
7099
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients() !==
|
|
7346
|
-
|
|
7100
|
+
64498
|
|
7347
7101
|
) {
|
|
7348
7102
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7349
7103
|
"uniffi_bdk_ffi_checksum_method_txbuilder_set_recipients"
|
|
@@ -7351,7 +7105,7 @@ function uniffiEnsureInitialized() {
|
|
|
7351
7105
|
}
|
|
7352
7106
|
if (
|
|
7353
7107
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_sighash() !==
|
|
7354
|
-
|
|
7108
|
+
43131
|
|
7355
7109
|
) {
|
|
7356
7110
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7357
7111
|
"uniffi_bdk_ffi_checksum_method_txbuilder_sighash"
|
|
@@ -7359,7 +7113,7 @@ function uniffiEnsureInitialized() {
|
|
|
7359
7113
|
}
|
|
7360
7114
|
if (
|
|
7361
7115
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_tx_version() !==
|
|
7362
|
-
|
|
7116
|
+
17694
|
|
7363
7117
|
) {
|
|
7364
7118
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7365
7119
|
"uniffi_bdk_ffi_checksum_method_txbuilder_tx_version"
|
|
@@ -7367,7 +7121,7 @@ function uniffiEnsureInitialized() {
|
|
|
7367
7121
|
}
|
|
7368
7122
|
if (
|
|
7369
7123
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_unspendable() !==
|
|
7370
|
-
|
|
7124
|
+
14958
|
|
7371
7125
|
) {
|
|
7372
7126
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7373
7127
|
"uniffi_bdk_ffi_checksum_method_txbuilder_unspendable"
|
|
@@ -7375,7 +7129,7 @@ function uniffiEnsureInitialized() {
|
|
|
7375
7129
|
}
|
|
7376
7130
|
if (
|
|
7377
7131
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum() !==
|
|
7378
|
-
|
|
7132
|
+
32446
|
|
7379
7133
|
) {
|
|
7380
7134
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7381
7135
|
"uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_electrum"
|
|
@@ -7383,7 +7137,7 @@ function uniffiEnsureInitialized() {
|
|
|
7383
7137
|
}
|
|
7384
7138
|
if (
|
|
7385
7139
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora() !==
|
|
7386
|
-
|
|
7140
|
+
43721
|
|
7387
7141
|
) {
|
|
7388
7142
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7389
7143
|
"uniffi_bdk_ffi_checksum_method_wallet_broadcast_with_esplora"
|
|
@@ -7391,7 +7145,7 @@ function uniffiEnsureInitialized() {
|
|
|
7391
7145
|
}
|
|
7392
7146
|
if (
|
|
7393
7147
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump() !==
|
|
7394
|
-
|
|
7148
|
+
25451
|
|
7395
7149
|
) {
|
|
7396
7150
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7397
7151
|
"uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump"
|
|
@@ -7399,7 +7153,7 @@ function uniffiEnsureInitialized() {
|
|
|
7399
7153
|
}
|
|
7400
7154
|
if (
|
|
7401
7155
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee() !==
|
|
7402
|
-
|
|
7156
|
+
23202
|
|
7403
7157
|
) {
|
|
7404
7158
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7405
7159
|
"uniffi_bdk_ffi_checksum_method_wallet_calculate_fee"
|
|
@@ -7407,23 +7161,15 @@ function uniffiEnsureInitialized() {
|
|
|
7407
7161
|
}
|
|
7408
7162
|
if (
|
|
7409
7163
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate() !==
|
|
7410
|
-
|
|
7164
|
+
16774
|
|
7411
7165
|
) {
|
|
7412
7166
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7413
7167
|
"uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate"
|
|
7414
7168
|
);
|
|
7415
7169
|
}
|
|
7416
|
-
if (
|
|
7417
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx() !==
|
|
7418
|
-
39828
|
|
7419
|
-
) {
|
|
7420
|
-
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7421
|
-
"uniffi_bdk_ffi_checksum_method_wallet_cancel_tx"
|
|
7422
|
-
);
|
|
7423
|
-
}
|
|
7424
7170
|
if (
|
|
7425
7171
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints() !==
|
|
7426
|
-
|
|
7172
|
+
8565
|
|
7427
7173
|
) {
|
|
7428
7174
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7429
7175
|
"uniffi_bdk_ffi_checksum_method_wallet_checkpoints"
|
|
@@ -7431,7 +7177,7 @@ function uniffiEnsureInitialized() {
|
|
|
7431
7177
|
}
|
|
7432
7178
|
if (
|
|
7433
7179
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_index() !==
|
|
7434
|
-
|
|
7180
|
+
62031
|
|
7435
7181
|
) {
|
|
7436
7182
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7437
7183
|
"uniffi_bdk_ffi_checksum_method_wallet_derivation_index"
|
|
@@ -7439,7 +7185,7 @@ function uniffiEnsureInitialized() {
|
|
|
7439
7185
|
}
|
|
7440
7186
|
if (
|
|
7441
7187
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk() !==
|
|
7442
|
-
|
|
7188
|
+
29681
|
|
7443
7189
|
) {
|
|
7444
7190
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7445
7191
|
"uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk"
|
|
@@ -7447,14 +7193,14 @@ function uniffiEnsureInitialized() {
|
|
|
7447
7193
|
}
|
|
7448
7194
|
if (
|
|
7449
7195
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum() !==
|
|
7450
|
-
|
|
7196
|
+
26508
|
|
7451
7197
|
) {
|
|
7452
7198
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7453
7199
|
"uniffi_bdk_ffi_checksum_method_wallet_descriptor_checksum"
|
|
7454
7200
|
);
|
|
7455
7201
|
}
|
|
7456
7202
|
if (
|
|
7457
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !==
|
|
7203
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain() !== 50687
|
|
7458
7204
|
) {
|
|
7459
7205
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7460
7206
|
"uniffi_bdk_ffi_checksum_method_wallet_drain"
|
|
@@ -7462,7 +7208,7 @@ function uniffiEnsureInitialized() {
|
|
|
7462
7208
|
}
|
|
7463
7209
|
if (
|
|
7464
7210
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum() !==
|
|
7465
|
-
|
|
7211
|
+
47265
|
|
7466
7212
|
) {
|
|
7467
7213
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7468
7214
|
"uniffi_bdk_ffi_checksum_method_wallet_drain_with_electrum"
|
|
@@ -7470,7 +7216,7 @@ function uniffiEnsureInitialized() {
|
|
|
7470
7216
|
}
|
|
7471
7217
|
if (
|
|
7472
7218
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt() !==
|
|
7473
|
-
|
|
7219
|
+
36684
|
|
7474
7220
|
) {
|
|
7475
7221
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7476
7222
|
"uniffi_bdk_ffi_checksum_method_wallet_finalize_psbt"
|
|
@@ -7478,7 +7224,7 @@ function uniffiEnsureInitialized() {
|
|
|
7478
7224
|
}
|
|
7479
7225
|
if (
|
|
7480
7226
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum() !==
|
|
7481
|
-
|
|
7227
|
+
44577
|
|
7482
7228
|
) {
|
|
7483
7229
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7484
7230
|
"uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_electrum"
|
|
@@ -7486,7 +7232,7 @@ function uniffiEnsureInitialized() {
|
|
|
7486
7232
|
}
|
|
7487
7233
|
if (
|
|
7488
7234
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora() !==
|
|
7489
|
-
|
|
7235
|
+
33673
|
|
7490
7236
|
) {
|
|
7491
7237
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7492
7238
|
"uniffi_bdk_ffi_checksum_method_wallet_full_scan_with_esplora"
|
|
@@ -7494,14 +7240,14 @@ function uniffiEnsureInitialized() {
|
|
|
7494
7240
|
}
|
|
7495
7241
|
if (
|
|
7496
7242
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_balance() !==
|
|
7497
|
-
|
|
7243
|
+
15256
|
|
7498
7244
|
) {
|
|
7499
7245
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7500
7246
|
"uniffi_bdk_ffi_checksum_method_wallet_get_balance"
|
|
7501
7247
|
);
|
|
7502
7248
|
}
|
|
7503
7249
|
if (
|
|
7504
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !==
|
|
7250
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_tx() !== 31223
|
|
7505
7251
|
) {
|
|
7506
7252
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7507
7253
|
"uniffi_bdk_ffi_checksum_method_wallet_get_tx"
|
|
@@ -7509,7 +7255,7 @@ function uniffiEnsureInitialized() {
|
|
|
7509
7255
|
}
|
|
7510
7256
|
if (
|
|
7511
7257
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_get_utxo() !==
|
|
7512
|
-
|
|
7258
|
+
32023
|
|
7513
7259
|
) {
|
|
7514
7260
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7515
7261
|
"uniffi_bdk_ffi_checksum_method_wallet_get_utxo"
|
|
@@ -7517,7 +7263,7 @@ function uniffiEnsureInitialized() {
|
|
|
7517
7263
|
}
|
|
7518
7264
|
if (
|
|
7519
7265
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_insert_txout() !==
|
|
7520
|
-
|
|
7266
|
+
21094
|
|
7521
7267
|
) {
|
|
7522
7268
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7523
7269
|
"uniffi_bdk_ffi_checksum_method_wallet_insert_txout"
|
|
@@ -7525,7 +7271,7 @@ function uniffiEnsureInitialized() {
|
|
|
7525
7271
|
}
|
|
7526
7272
|
if (
|
|
7527
7273
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_is_mine() !==
|
|
7528
|
-
|
|
7274
|
+
58183
|
|
7529
7275
|
) {
|
|
7530
7276
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7531
7277
|
"uniffi_bdk_ffi_checksum_method_wallet_is_mine"
|
|
@@ -7533,7 +7279,7 @@ function uniffiEnsureInitialized() {
|
|
|
7533
7279
|
}
|
|
7534
7280
|
if (
|
|
7535
7281
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_keychains() !==
|
|
7536
|
-
|
|
7282
|
+
61350
|
|
7537
7283
|
) {
|
|
7538
7284
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7539
7285
|
"uniffi_bdk_ffi_checksum_method_wallet_keychains"
|
|
@@ -7541,7 +7287,7 @@ function uniffiEnsureInitialized() {
|
|
|
7541
7287
|
}
|
|
7542
7288
|
if (
|
|
7543
7289
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint() !==
|
|
7544
|
-
|
|
7290
|
+
55429
|
|
7545
7291
|
) {
|
|
7546
7292
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7547
7293
|
"uniffi_bdk_ffi_checksum_method_wallet_latest_checkpoint"
|
|
@@ -7549,7 +7295,7 @@ function uniffiEnsureInitialized() {
|
|
|
7549
7295
|
}
|
|
7550
7296
|
if (
|
|
7551
7297
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_output() !==
|
|
7552
|
-
|
|
7298
|
+
56339
|
|
7553
7299
|
) {
|
|
7554
7300
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7555
7301
|
"uniffi_bdk_ffi_checksum_method_wallet_list_output"
|
|
@@ -7557,7 +7303,7 @@ function uniffiEnsureInitialized() {
|
|
|
7557
7303
|
}
|
|
7558
7304
|
if (
|
|
7559
7305
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unspent() !==
|
|
7560
|
-
|
|
7306
|
+
34815
|
|
7561
7307
|
) {
|
|
7562
7308
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7563
7309
|
"uniffi_bdk_ffi_checksum_method_wallet_list_unspent"
|
|
@@ -7565,7 +7311,7 @@ function uniffiEnsureInitialized() {
|
|
|
7565
7311
|
}
|
|
7566
7312
|
if (
|
|
7567
7313
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses() !==
|
|
7568
|
-
|
|
7314
|
+
62327
|
|
7569
7315
|
) {
|
|
7570
7316
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7571
7317
|
"uniffi_bdk_ffi_checksum_method_wallet_list_unused_addresses"
|
|
@@ -7573,7 +7319,7 @@ function uniffiEnsureInitialized() {
|
|
|
7573
7319
|
}
|
|
7574
7320
|
if (
|
|
7575
7321
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_mark_used() !==
|
|
7576
|
-
|
|
7322
|
+
12674
|
|
7577
7323
|
) {
|
|
7578
7324
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7579
7325
|
"uniffi_bdk_ffi_checksum_method_wallet_mark_used"
|
|
@@ -7581,7 +7327,7 @@ function uniffiEnsureInitialized() {
|
|
|
7581
7327
|
}
|
|
7582
7328
|
if (
|
|
7583
7329
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_network() !==
|
|
7584
|
-
|
|
7330
|
+
22441
|
|
7585
7331
|
) {
|
|
7586
7332
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7587
7333
|
"uniffi_bdk_ffi_checksum_method_wallet_network"
|
|
@@ -7589,7 +7335,7 @@ function uniffiEnsureInitialized() {
|
|
|
7589
7335
|
}
|
|
7590
7336
|
if (
|
|
7591
7337
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index() !==
|
|
7592
|
-
|
|
7338
|
+
29788
|
|
7593
7339
|
) {
|
|
7594
7340
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7595
7341
|
"uniffi_bdk_ffi_checksum_method_wallet_next_derivation_index"
|
|
@@ -7597,7 +7343,7 @@ function uniffiEnsureInitialized() {
|
|
|
7597
7343
|
}
|
|
7598
7344
|
if (
|
|
7599
7345
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_next_unused_address() !==
|
|
7600
|
-
|
|
7346
|
+
51509
|
|
7601
7347
|
) {
|
|
7602
7348
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7603
7349
|
"uniffi_bdk_ffi_checksum_method_wallet_next_unused_address"
|
|
@@ -7605,7 +7351,7 @@ function uniffiEnsureInitialized() {
|
|
|
7605
7351
|
}
|
|
7606
7352
|
if (
|
|
7607
7353
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_peek_address() !==
|
|
7608
|
-
|
|
7354
|
+
26911
|
|
7609
7355
|
) {
|
|
7610
7356
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7611
7357
|
"uniffi_bdk_ffi_checksum_method_wallet_peek_address"
|
|
@@ -7613,7 +7359,7 @@ function uniffiEnsureInitialized() {
|
|
|
7613
7359
|
}
|
|
7614
7360
|
if (
|
|
7615
7361
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_persist() !==
|
|
7616
|
-
|
|
7362
|
+
32604
|
|
7617
7363
|
) {
|
|
7618
7364
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7619
7365
|
"uniffi_bdk_ffi_checksum_method_wallet_persist"
|
|
@@ -7621,7 +7367,7 @@ function uniffiEnsureInitialized() {
|
|
|
7621
7367
|
}
|
|
7622
7368
|
if (
|
|
7623
7369
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_policies() !==
|
|
7624
|
-
|
|
7370
|
+
38976
|
|
7625
7371
|
) {
|
|
7626
7372
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7627
7373
|
"uniffi_bdk_ffi_checksum_method_wallet_policies"
|
|
@@ -7629,7 +7375,7 @@ function uniffiEnsureInitialized() {
|
|
|
7629
7375
|
}
|
|
7630
7376
|
if (
|
|
7631
7377
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_public_descriptor() !==
|
|
7632
|
-
|
|
7378
|
+
57701
|
|
7633
7379
|
) {
|
|
7634
7380
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7635
7381
|
"uniffi_bdk_ffi_checksum_method_wallet_public_descriptor"
|
|
@@ -7637,7 +7383,7 @@ function uniffiEnsureInitialized() {
|
|
|
7637
7383
|
}
|
|
7638
7384
|
if (
|
|
7639
7385
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to() !==
|
|
7640
|
-
|
|
7386
|
+
972
|
|
7641
7387
|
) {
|
|
7642
7388
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7643
7389
|
"uniffi_bdk_ffi_checksum_method_wallet_reveal_addresses_to"
|
|
@@ -7645,14 +7391,14 @@ function uniffiEnsureInitialized() {
|
|
|
7645
7391
|
}
|
|
7646
7392
|
if (
|
|
7647
7393
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address() !==
|
|
7648
|
-
|
|
7394
|
+
38695
|
|
7649
7395
|
) {
|
|
7650
7396
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7651
7397
|
"uniffi_bdk_ffi_checksum_method_wallet_reveal_next_address"
|
|
7652
7398
|
);
|
|
7653
7399
|
}
|
|
7654
7400
|
if (
|
|
7655
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !==
|
|
7401
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send() !== 20353
|
|
7656
7402
|
) {
|
|
7657
7403
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7658
7404
|
"uniffi_bdk_ffi_checksum_method_wallet_send"
|
|
@@ -7660,7 +7406,7 @@ function uniffiEnsureInitialized() {
|
|
|
7660
7406
|
}
|
|
7661
7407
|
if (
|
|
7662
7408
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum() !==
|
|
7663
|
-
|
|
7409
|
+
64062
|
|
7664
7410
|
) {
|
|
7665
7411
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7666
7412
|
"uniffi_bdk_ffi_checksum_method_wallet_send_with_electrum"
|
|
@@ -7668,14 +7414,14 @@ function uniffiEnsureInitialized() {
|
|
|
7668
7414
|
}
|
|
7669
7415
|
if (
|
|
7670
7416
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sent_and_received() !==
|
|
7671
|
-
|
|
7417
|
+
49517
|
|
7672
7418
|
) {
|
|
7673
7419
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7674
7420
|
"uniffi_bdk_ffi_checksum_method_wallet_sent_and_received"
|
|
7675
7421
|
);
|
|
7676
7422
|
}
|
|
7677
7423
|
if (
|
|
7678
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !==
|
|
7424
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sign() !== 16037
|
|
7679
7425
|
) {
|
|
7680
7426
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7681
7427
|
"uniffi_bdk_ffi_checksum_method_wallet_sign"
|
|
@@ -7683,7 +7429,7 @@ function uniffiEnsureInitialized() {
|
|
|
7683
7429
|
}
|
|
7684
7430
|
if (
|
|
7685
7431
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum() !==
|
|
7686
|
-
|
|
7432
|
+
9147
|
|
7687
7433
|
) {
|
|
7688
7434
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7689
7435
|
"uniffi_bdk_ffi_checksum_method_wallet_sync_with_electrum"
|
|
@@ -7691,7 +7437,7 @@ function uniffiEnsureInitialized() {
|
|
|
7691
7437
|
}
|
|
7692
7438
|
if (
|
|
7693
7439
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora() !==
|
|
7694
|
-
|
|
7440
|
+
65450
|
|
7695
7441
|
) {
|
|
7696
7442
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7697
7443
|
"uniffi_bdk_ffi_checksum_method_wallet_sync_with_esplora"
|
|
@@ -7699,7 +7445,7 @@ function uniffiEnsureInitialized() {
|
|
|
7699
7445
|
}
|
|
7700
7446
|
if (
|
|
7701
7447
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_transactions() !==
|
|
7702
|
-
|
|
7448
|
+
4241
|
|
7703
7449
|
) {
|
|
7704
7450
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7705
7451
|
"uniffi_bdk_ffi_checksum_method_wallet_transactions"
|
|
@@ -7707,7 +7453,7 @@ function uniffiEnsureInitialized() {
|
|
|
7707
7453
|
}
|
|
7708
7454
|
if (
|
|
7709
7455
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_tx_details() !==
|
|
7710
|
-
|
|
7456
|
+
39307
|
|
7711
7457
|
) {
|
|
7712
7458
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7713
7459
|
"uniffi_bdk_ffi_checksum_method_wallet_tx_details"
|
|
@@ -7715,7 +7461,7 @@ function uniffiEnsureInitialized() {
|
|
|
7715
7461
|
}
|
|
7716
7462
|
if (
|
|
7717
7463
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_method_wallet_unmark_used() !==
|
|
7718
|
-
|
|
7464
|
+
63499
|
|
7719
7465
|
) {
|
|
7720
7466
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7721
7467
|
"uniffi_bdk_ffi_checksum_method_wallet_unmark_used"
|
|
@@ -7723,7 +7469,7 @@ function uniffiEnsureInitialized() {
|
|
|
7723
7469
|
}
|
|
7724
7470
|
if (
|
|
7725
7471
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_electrumclient_new() !==
|
|
7726
|
-
|
|
7472
|
+
62930
|
|
7727
7473
|
) {
|
|
7728
7474
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7729
7475
|
"uniffi_bdk_ffi_checksum_constructor_electrumclient_new"
|
|
@@ -7731,7 +7477,7 @@ function uniffiEnsureInitialized() {
|
|
|
7731
7477
|
}
|
|
7732
7478
|
if (
|
|
7733
7479
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy() !==
|
|
7734
|
-
|
|
7480
|
+
19558
|
|
7735
7481
|
) {
|
|
7736
7482
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7737
7483
|
"uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy"
|
|
@@ -7739,7 +7485,7 @@ function uniffiEnsureInitialized() {
|
|
|
7739
7485
|
}
|
|
7740
7486
|
if (
|
|
7741
7487
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in() !==
|
|
7742
|
-
|
|
7488
|
+
18300
|
|
7743
7489
|
) {
|
|
7744
7490
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7745
7491
|
"uniffi_bdk_ffi_checksum_constructor_mnemonic_from_entropy_in"
|
|
@@ -7747,7 +7493,7 @@ function uniffiEnsureInitialized() {
|
|
|
7747
7493
|
}
|
|
7748
7494
|
if (
|
|
7749
7495
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string() !==
|
|
7750
|
-
|
|
7496
|
+
42146
|
|
7751
7497
|
) {
|
|
7752
7498
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7753
7499
|
"uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string"
|
|
@@ -7755,7 +7501,7 @@ function uniffiEnsureInitialized() {
|
|
|
7755
7501
|
}
|
|
7756
7502
|
if (
|
|
7757
7503
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in() !==
|
|
7758
|
-
|
|
7504
|
+
26390
|
|
7759
7505
|
) {
|
|
7760
7506
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7761
7507
|
"uniffi_bdk_ffi_checksum_constructor_mnemonic_from_string_in"
|
|
@@ -7763,14 +7509,14 @@ function uniffiEnsureInitialized() {
|
|
|
7763
7509
|
}
|
|
7764
7510
|
if (
|
|
7765
7511
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_mnemonic_new() !==
|
|
7766
|
-
|
|
7512
|
+
65002
|
|
7767
7513
|
) {
|
|
7768
7514
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7769
7515
|
"uniffi_bdk_ffi_checksum_constructor_mnemonic_new"
|
|
7770
7516
|
);
|
|
7771
7517
|
}
|
|
7772
7518
|
if (
|
|
7773
|
-
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !==
|
|
7519
|
+
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_psbt_new() !== 45667
|
|
7774
7520
|
) {
|
|
7775
7521
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7776
7522
|
"uniffi_bdk_ffi_checksum_constructor_psbt_new"
|
|
@@ -7778,7 +7524,7 @@ function uniffiEnsureInitialized() {
|
|
|
7778
7524
|
}
|
|
7779
7525
|
if (
|
|
7780
7526
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_txbuilder_new() !==
|
|
7781
|
-
|
|
7527
|
+
63178
|
|
7782
7528
|
) {
|
|
7783
7529
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7784
7530
|
"uniffi_bdk_ffi_checksum_constructor_txbuilder_new"
|
|
@@ -7786,7 +7532,7 @@ function uniffiEnsureInitialized() {
|
|
|
7786
7532
|
}
|
|
7787
7533
|
if (
|
|
7788
7534
|
nativeModule().ubrn_uniffi_bdk_ffi_checksum_constructor_wallet_new() !==
|
|
7789
|
-
|
|
7535
|
+
53332
|
|
7790
7536
|
) {
|
|
7791
7537
|
throw new UniffiInternalError.ApiChecksumMismatch(
|
|
7792
7538
|
"uniffi_bdk_ffi_checksum_constructor_wallet_new"
|
|
@@ -7824,7 +7570,6 @@ export default Object.freeze({
|
|
|
7824
7570
|
FfiConverterTypeTxOut,
|
|
7825
7571
|
FfiConverterTypeTxOutput,
|
|
7826
7572
|
FfiConverterTypeWallet,
|
|
7827
|
-
FfiConverterTypeWalletEvent,
|
|
7828
7573
|
FfiConverterTypeWordCount,
|
|
7829
7574
|
},
|
|
7830
7575
|
});
|