@lightsparkdev/lightspark-sdk 1.1.5 → 1.1.7

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.
@@ -499,6 +499,19 @@ var AccountToChannelsConnection_default = AccountToChannelsConnection;
499
499
  var import_core = require("@lightsparkdev/core");
500
500
  var import_auto_bind5 = __toESM(require("auto-bind"), 1);
501
501
 
502
+ // src/objects/Balances.ts
503
+ var BalancesFromJson = (obj) => {
504
+ return {
505
+ ownedBalance: CurrencyAmountFromJson(obj["balances_owned_balance"]),
506
+ availableToSendBalance: CurrencyAmountFromJson(
507
+ obj["balances_available_to_send_balance"]
508
+ ),
509
+ availableToWithdrawBalance: CurrencyAmountFromJson(
510
+ obj["balances_available_to_withdraw_balance"]
511
+ )
512
+ };
513
+ };
514
+
502
515
  // src/objects/BitcoinNetwork.ts
503
516
  var BitcoinNetwork = /* @__PURE__ */ ((BitcoinNetwork2) => {
504
517
  BitcoinNetwork2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -594,7 +607,7 @@ var SecretFromJson = (obj) => {
594
607
 
595
608
  // src/objects/LightsparkNodeWithOSK.ts
596
609
  var LightsparkNodeWithOSK = class {
597
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, encryptedSigningPrivateKey) {
610
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances, encryptedSigningPrivateKey) {
598
611
  this.id = id;
599
612
  this.createdAt = createdAt;
600
613
  this.updatedAt = updatedAt;
@@ -613,6 +626,7 @@ var LightsparkNodeWithOSK = class {
613
626
  this.localBalance = localBalance;
614
627
  this.remoteBalance = remoteBalance;
615
628
  this.blockchainBalance = blockchainBalance;
629
+ this.balances = balances;
616
630
  this.encryptedSigningPrivateKey = encryptedSigningPrivateKey;
617
631
  (0, import_auto_bind3.default)(this);
618
632
  }
@@ -811,6 +825,7 @@ var LightsparkNodeWithOSKFromJson = (obj) => {
811
825
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
812
826
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
813
827
  ) : void 0,
828
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
814
829
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
815
830
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
816
831
  ) : void 0
@@ -916,6 +931,33 @@ fragment LightsparkNodeWithOSKFragment on LightsparkNodeWithOSK {
916
931
  }
917
932
  }
918
933
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
934
+ lightspark_node_with_o_s_k_balances: balances {
935
+ __typename
936
+ balances_owned_balance: owned_balance {
937
+ __typename
938
+ currency_amount_original_value: original_value
939
+ currency_amount_original_unit: original_unit
940
+ currency_amount_preferred_currency_unit: preferred_currency_unit
941
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
942
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
943
+ }
944
+ balances_available_to_send_balance: available_to_send_balance {
945
+ __typename
946
+ currency_amount_original_value: original_value
947
+ currency_amount_original_unit: original_unit
948
+ currency_amount_preferred_currency_unit: preferred_currency_unit
949
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
950
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
951
+ }
952
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
953
+ __typename
954
+ currency_amount_original_value: original_value
955
+ currency_amount_original_unit: original_unit
956
+ currency_amount_preferred_currency_unit: preferred_currency_unit
957
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
958
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
959
+ }
960
+ }
919
961
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
920
962
  __typename
921
963
  secret_encrypted_value: encrypted_value
@@ -927,7 +969,7 @@ var LightsparkNodeWithOSK_default = LightsparkNodeWithOSK;
927
969
  // src/objects/LightsparkNodeWithRemoteSigning.ts
928
970
  var import_auto_bind4 = __toESM(require("auto-bind"), 1);
929
971
  var LightsparkNodeWithRemoteSigning = class {
930
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance) {
972
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances) {
931
973
  this.id = id;
932
974
  this.createdAt = createdAt;
933
975
  this.updatedAt = updatedAt;
@@ -946,6 +988,7 @@ var LightsparkNodeWithRemoteSigning = class {
946
988
  this.localBalance = localBalance;
947
989
  this.remoteBalance = remoteBalance;
948
990
  this.blockchainBalance = blockchainBalance;
991
+ this.balances = balances;
949
992
  (0, import_auto_bind4.default)(this);
950
993
  }
951
994
  async getAddresses(client, first = void 0, types = void 0) {
@@ -1148,7 +1191,8 @@ var LightsparkNodeWithRemoteSigningFromJson = (obj) => {
1148
1191
  ) : void 0,
1149
1192
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1150
1193
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1151
- ) : void 0
1194
+ ) : void 0,
1195
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1152
1196
  );
1153
1197
  };
1154
1198
  var FRAGMENT4 = `
@@ -1251,12 +1295,39 @@ fragment LightsparkNodeWithRemoteSigningFragment on LightsparkNodeWithRemoteSign
1251
1295
  }
1252
1296
  }
1253
1297
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
1298
+ lightspark_node_with_remote_signing_balances: balances {
1299
+ __typename
1300
+ balances_owned_balance: owned_balance {
1301
+ __typename
1302
+ currency_amount_original_value: original_value
1303
+ currency_amount_original_unit: original_unit
1304
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1305
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1306
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1307
+ }
1308
+ balances_available_to_send_balance: available_to_send_balance {
1309
+ __typename
1310
+ currency_amount_original_value: original_value
1311
+ currency_amount_original_unit: original_unit
1312
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1313
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1314
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1315
+ }
1316
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1317
+ __typename
1318
+ currency_amount_original_value: original_value
1319
+ currency_amount_original_unit: original_unit
1320
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1321
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1322
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1323
+ }
1324
+ }
1254
1325
  }`;
1255
1326
  var LightsparkNodeWithRemoteSigning_default = LightsparkNodeWithRemoteSigning;
1256
1327
 
1257
1328
  // src/objects/LightsparkNode.ts
1258
1329
  var LightsparkNode = class {
1259
- constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance) {
1330
+ constructor(id, createdAt, updatedAt, bitcoinNetwork, displayName, ownerId, umaPrescreeningUtxos, typename, alias, color, conductivity, publicKey, status, totalBalance, totalLocalBalance, localBalance, remoteBalance, blockchainBalance, balances) {
1260
1331
  this.id = id;
1261
1332
  this.createdAt = createdAt;
1262
1333
  this.updatedAt = updatedAt;
@@ -1275,6 +1346,7 @@ var LightsparkNode = class {
1275
1346
  this.localBalance = localBalance;
1276
1347
  this.remoteBalance = remoteBalance;
1277
1348
  this.blockchainBalance = blockchainBalance;
1349
+ this.balances = balances;
1278
1350
  (0, import_auto_bind5.default)(this);
1279
1351
  }
1280
1352
  async getAddresses(client, first = void 0, types = void 0) {
@@ -1479,6 +1551,7 @@ var LightsparkNodeFromJson = (obj) => {
1479
1551
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
1480
1552
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
1481
1553
  ) : void 0,
1554
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
1482
1555
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
1483
1556
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
1484
1557
  ) : void 0
@@ -1513,7 +1586,8 @@ var LightsparkNodeFromJson = (obj) => {
1513
1586
  ) : void 0,
1514
1587
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1515
1588
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1516
- ) : void 0
1589
+ ) : void 0,
1590
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1517
1591
  );
1518
1592
  }
1519
1593
  throw new import_core.LightsparkException(
@@ -1623,6 +1697,33 @@ fragment LightsparkNodeFragment on LightsparkNode {
1623
1697
  }
1624
1698
  }
1625
1699
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
1700
+ lightspark_node_with_o_s_k_balances: balances {
1701
+ __typename
1702
+ balances_owned_balance: owned_balance {
1703
+ __typename
1704
+ currency_amount_original_value: original_value
1705
+ currency_amount_original_unit: original_unit
1706
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1707
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1708
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1709
+ }
1710
+ balances_available_to_send_balance: available_to_send_balance {
1711
+ __typename
1712
+ currency_amount_original_value: original_value
1713
+ currency_amount_original_unit: original_unit
1714
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1715
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1716
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1717
+ }
1718
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1719
+ __typename
1720
+ currency_amount_original_value: original_value
1721
+ currency_amount_original_unit: original_unit
1722
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1723
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1724
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1725
+ }
1726
+ }
1626
1727
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
1627
1728
  __typename
1628
1729
  secret_encrypted_value: encrypted_value
@@ -1728,6 +1829,33 @@ fragment LightsparkNodeFragment on LightsparkNode {
1728
1829
  }
1729
1830
  }
1730
1831
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
1832
+ lightspark_node_with_remote_signing_balances: balances {
1833
+ __typename
1834
+ balances_owned_balance: owned_balance {
1835
+ __typename
1836
+ currency_amount_original_value: original_value
1837
+ currency_amount_original_unit: original_unit
1838
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1839
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1840
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1841
+ }
1842
+ balances_available_to_send_balance: available_to_send_balance {
1843
+ __typename
1844
+ currency_amount_original_value: original_value
1845
+ currency_amount_original_unit: original_unit
1846
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1847
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1848
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1849
+ }
1850
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
1851
+ __typename
1852
+ currency_amount_original_value: original_value
1853
+ currency_amount_original_unit: original_unit
1854
+ currency_amount_preferred_currency_unit: preferred_currency_unit
1855
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
1856
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
1857
+ }
1858
+ }
1731
1859
  }
1732
1860
  }`;
1733
1861
  var LightsparkNode_default = LightsparkNode;
@@ -1944,6 +2072,7 @@ var NodeFromJson = (obj) => {
1944
2072
  !!obj["lightspark_node_with_o_s_k_blockchain_balance"] ? BlockchainBalanceFromJson(
1945
2073
  obj["lightspark_node_with_o_s_k_blockchain_balance"]
1946
2074
  ) : void 0,
2075
+ !!obj["lightspark_node_with_o_s_k_balances"] ? BalancesFromJson(obj["lightspark_node_with_o_s_k_balances"]) : void 0,
1947
2076
  !!obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"] ? SecretFromJson(
1948
2077
  obj["lightspark_node_with_o_s_k_encrypted_signing_private_key"]
1949
2078
  ) : void 0
@@ -1978,7 +2107,8 @@ var NodeFromJson = (obj) => {
1978
2107
  ) : void 0,
1979
2108
  !!obj["lightspark_node_with_remote_signing_blockchain_balance"] ? BlockchainBalanceFromJson(
1980
2109
  obj["lightspark_node_with_remote_signing_blockchain_balance"]
1981
- ) : void 0
2110
+ ) : void 0,
2111
+ !!obj["lightspark_node_with_remote_signing_balances"] ? BalancesFromJson(obj["lightspark_node_with_remote_signing_balances"]) : void 0
1982
2112
  );
1983
2113
  }
1984
2114
  throw new import_core2.LightsparkException(
@@ -2100,6 +2230,33 @@ fragment NodeFragment on Node {
2100
2230
  }
2101
2231
  }
2102
2232
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
2233
+ lightspark_node_with_o_s_k_balances: balances {
2234
+ __typename
2235
+ balances_owned_balance: owned_balance {
2236
+ __typename
2237
+ currency_amount_original_value: original_value
2238
+ currency_amount_original_unit: original_unit
2239
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2240
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2241
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2242
+ }
2243
+ balances_available_to_send_balance: available_to_send_balance {
2244
+ __typename
2245
+ currency_amount_original_value: original_value
2246
+ currency_amount_original_unit: original_unit
2247
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2248
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2249
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2250
+ }
2251
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2252
+ __typename
2253
+ currency_amount_original_value: original_value
2254
+ currency_amount_original_unit: original_unit
2255
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2256
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2257
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2258
+ }
2259
+ }
2103
2260
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
2104
2261
  __typename
2105
2262
  secret_encrypted_value: encrypted_value
@@ -2205,6 +2362,33 @@ fragment NodeFragment on Node {
2205
2362
  }
2206
2363
  }
2207
2364
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
2365
+ lightspark_node_with_remote_signing_balances: balances {
2366
+ __typename
2367
+ balances_owned_balance: owned_balance {
2368
+ __typename
2369
+ currency_amount_original_value: original_value
2370
+ currency_amount_original_unit: original_unit
2371
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2372
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2373
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2374
+ }
2375
+ balances_available_to_send_balance: available_to_send_balance {
2376
+ __typename
2377
+ currency_amount_original_value: original_value
2378
+ currency_amount_original_unit: original_unit
2379
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2380
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2381
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2382
+ }
2383
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2384
+ __typename
2385
+ currency_amount_original_value: original_value
2386
+ currency_amount_original_unit: original_unit
2387
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2388
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2389
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2390
+ }
2391
+ }
2208
2392
  }
2209
2393
  }`;
2210
2394
  var Node_default = Node;
@@ -2388,6 +2572,33 @@ fragment PaymentRequestFragment on PaymentRequest {
2388
2572
  }
2389
2573
  }
2390
2574
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
2575
+ lightspark_node_with_o_s_k_balances: balances {
2576
+ __typename
2577
+ balances_owned_balance: owned_balance {
2578
+ __typename
2579
+ currency_amount_original_value: original_value
2580
+ currency_amount_original_unit: original_unit
2581
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2582
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2583
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2584
+ }
2585
+ balances_available_to_send_balance: available_to_send_balance {
2586
+ __typename
2587
+ currency_amount_original_value: original_value
2588
+ currency_amount_original_unit: original_unit
2589
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2590
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2591
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2592
+ }
2593
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2594
+ __typename
2595
+ currency_amount_original_value: original_value
2596
+ currency_amount_original_unit: original_unit
2597
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2598
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2599
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2600
+ }
2601
+ }
2391
2602
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
2392
2603
  __typename
2393
2604
  secret_encrypted_value: encrypted_value
@@ -2493,6 +2704,33 @@ fragment PaymentRequestFragment on PaymentRequest {
2493
2704
  }
2494
2705
  }
2495
2706
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
2707
+ lightspark_node_with_remote_signing_balances: balances {
2708
+ __typename
2709
+ balances_owned_balance: owned_balance {
2710
+ __typename
2711
+ currency_amount_original_value: original_value
2712
+ currency_amount_original_unit: original_unit
2713
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2714
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2715
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2716
+ }
2717
+ balances_available_to_send_balance: available_to_send_balance {
2718
+ __typename
2719
+ currency_amount_original_value: original_value
2720
+ currency_amount_original_unit: original_unit
2721
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2722
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2723
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2724
+ }
2725
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
2726
+ __typename
2727
+ currency_amount_original_value: original_value
2728
+ currency_amount_original_unit: original_unit
2729
+ currency_amount_preferred_currency_unit: preferred_currency_unit
2730
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
2731
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
2732
+ }
2733
+ }
2496
2734
  }
2497
2735
  }
2498
2736
  }
@@ -2792,9 +3030,13 @@ var import_auto_bind9 = __toESM(require("auto-bind"), 1);
2792
3030
  // src/objects/ChannelSnapshot.ts
2793
3031
  var ChannelSnapshotFromJson = (obj) => {
2794
3032
  return {
3033
+ channelId: obj["channel_snapshot_channel"].id,
3034
+ timestamp: obj["channel_snapshot_timestamp"],
2795
3035
  localBalance: !!obj["channel_snapshot_local_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_balance"]) : void 0,
2796
3036
  localUnsettledBalance: !!obj["channel_snapshot_local_unsettled_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_unsettled_balance"]) : void 0,
2797
- localChannelReserve: !!obj["channel_snapshot_local_channel_reserve"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_channel_reserve"]) : void 0
3037
+ localChannelReserve: !!obj["channel_snapshot_local_channel_reserve"] ? CurrencyAmountFromJson(obj["channel_snapshot_local_channel_reserve"]) : void 0,
3038
+ remoteBalance: !!obj["channel_snapshot_remote_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_remote_balance"]) : void 0,
3039
+ remoteUnsettledBalance: !!obj["channel_snapshot_remote_unsettled_balance"] ? CurrencyAmountFromJson(obj["channel_snapshot_remote_unsettled_balance"]) : void 0
2798
3040
  };
2799
3041
  };
2800
3042
 
@@ -2825,6 +3067,7 @@ var HtlcAttemptFailureCode = /* @__PURE__ */ ((HtlcAttemptFailureCode2) => {
2825
3067
  HtlcAttemptFailureCode2["EXPIRY_TOO_FAR"] = "EXPIRY_TOO_FAR";
2826
3068
  HtlcAttemptFailureCode2["MPP_TIMEOUT"] = "MPP_TIMEOUT";
2827
3069
  HtlcAttemptFailureCode2["INVALID_ONION_PAYLOAD"] = "INVALID_ONION_PAYLOAD";
3070
+ HtlcAttemptFailureCode2["INVALID_ONION_BLINDING"] = "INVALID_ONION_BLINDING";
2828
3071
  HtlcAttemptFailureCode2["INTERNAL_FAILURE"] = "INTERNAL_FAILURE";
2829
3072
  HtlcAttemptFailureCode2["UNKNOWN_FAILURE"] = "UNKNOWN_FAILURE";
2830
3073
  HtlcAttemptFailureCode2["UNREADABLE_FAILURE"] = "UNREADABLE_FAILURE";
@@ -3058,6 +3301,10 @@ fragment OutgoingPaymentAttemptFragment on OutgoingPaymentAttempt {
3058
3301
  }
3059
3302
  outgoing_payment_attempt_channel_snapshot: channel_snapshot {
3060
3303
  __typename
3304
+ channel_snapshot_channel: channel {
3305
+ id
3306
+ }
3307
+ channel_snapshot_timestamp: timestamp
3061
3308
  channel_snapshot_local_balance: local_balance {
3062
3309
  __typename
3063
3310
  currency_amount_original_value: original_value
@@ -3082,6 +3329,22 @@ fragment OutgoingPaymentAttemptFragment on OutgoingPaymentAttempt {
3082
3329
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3083
3330
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3084
3331
  }
3332
+ channel_snapshot_remote_balance: remote_balance {
3333
+ __typename
3334
+ currency_amount_original_value: original_value
3335
+ currency_amount_original_unit: original_unit
3336
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3337
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3338
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3339
+ }
3340
+ channel_snapshot_remote_unsettled_balance: remote_unsettled_balance {
3341
+ __typename
3342
+ currency_amount_original_value: original_value
3343
+ currency_amount_original_unit: original_unit
3344
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3345
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3346
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3347
+ }
3085
3348
  }
3086
3349
  }`;
3087
3350
  var OutgoingPaymentAttempt_default = OutgoingPaymentAttempt;
@@ -3213,6 +3476,10 @@ query FetchOutgoingPaymentToAttemptsConnection($entity_id: ID!, $first: Int, $af
3213
3476
  }
3214
3477
  outgoing_payment_attempt_channel_snapshot: channel_snapshot {
3215
3478
  __typename
3479
+ channel_snapshot_channel: channel {
3480
+ id
3481
+ }
3482
+ channel_snapshot_timestamp: timestamp
3216
3483
  channel_snapshot_local_balance: local_balance {
3217
3484
  __typename
3218
3485
  currency_amount_original_value: original_value
@@ -3237,6 +3504,22 @@ query FetchOutgoingPaymentToAttemptsConnection($entity_id: ID!, $first: Int, $af
3237
3504
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3238
3505
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3239
3506
  }
3507
+ channel_snapshot_remote_balance: remote_balance {
3508
+ __typename
3509
+ currency_amount_original_value: original_value
3510
+ currency_amount_original_unit: original_unit
3511
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3512
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3513
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3514
+ }
3515
+ channel_snapshot_remote_unsettled_balance: remote_unsettled_balance {
3516
+ __typename
3517
+ currency_amount_original_value: original_value
3518
+ currency_amount_original_unit: original_unit
3519
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3520
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3521
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3522
+ }
3240
3523
  }
3241
3524
  }
3242
3525
  }
@@ -3453,6 +3736,33 @@ fragment OutgoingPaymentFragment on OutgoingPayment {
3453
3736
  }
3454
3737
  }
3455
3738
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
3739
+ lightspark_node_with_o_s_k_balances: balances {
3740
+ __typename
3741
+ balances_owned_balance: owned_balance {
3742
+ __typename
3743
+ currency_amount_original_value: original_value
3744
+ currency_amount_original_unit: original_unit
3745
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3746
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3747
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3748
+ }
3749
+ balances_available_to_send_balance: available_to_send_balance {
3750
+ __typename
3751
+ currency_amount_original_value: original_value
3752
+ currency_amount_original_unit: original_unit
3753
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3754
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3755
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3756
+ }
3757
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
3758
+ __typename
3759
+ currency_amount_original_value: original_value
3760
+ currency_amount_original_unit: original_unit
3761
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3762
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3763
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3764
+ }
3765
+ }
3456
3766
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
3457
3767
  __typename
3458
3768
  secret_encrypted_value: encrypted_value
@@ -3558,6 +3868,33 @@ fragment OutgoingPaymentFragment on OutgoingPayment {
3558
3868
  }
3559
3869
  }
3560
3870
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
3871
+ lightspark_node_with_remote_signing_balances: balances {
3872
+ __typename
3873
+ balances_owned_balance: owned_balance {
3874
+ __typename
3875
+ currency_amount_original_value: original_value
3876
+ currency_amount_original_unit: original_unit
3877
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3878
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3879
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3880
+ }
3881
+ balances_available_to_send_balance: available_to_send_balance {
3882
+ __typename
3883
+ currency_amount_original_value: original_value
3884
+ currency_amount_original_unit: original_unit
3885
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3886
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3887
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3888
+ }
3889
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
3890
+ __typename
3891
+ currency_amount_original_value: original_value
3892
+ currency_amount_original_unit: original_unit
3893
+ currency_amount_preferred_currency_unit: preferred_currency_unit
3894
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
3895
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
3896
+ }
3897
+ }
3561
3898
  }
3562
3899
  }
3563
3900
  }
@@ -4025,6 +4362,33 @@ fragment TransactionFragment on Transaction {
4025
4362
  }
4026
4363
  }
4027
4364
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
4365
+ lightspark_node_with_o_s_k_balances: balances {
4366
+ __typename
4367
+ balances_owned_balance: owned_balance {
4368
+ __typename
4369
+ currency_amount_original_value: original_value
4370
+ currency_amount_original_unit: original_unit
4371
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4372
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4373
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4374
+ }
4375
+ balances_available_to_send_balance: available_to_send_balance {
4376
+ __typename
4377
+ currency_amount_original_value: original_value
4378
+ currency_amount_original_unit: original_unit
4379
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4380
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4381
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4382
+ }
4383
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
4384
+ __typename
4385
+ currency_amount_original_value: original_value
4386
+ currency_amount_original_unit: original_unit
4387
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4388
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4389
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4390
+ }
4391
+ }
4028
4392
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
4029
4393
  __typename
4030
4394
  secret_encrypted_value: encrypted_value
@@ -4130,6 +4494,33 @@ fragment TransactionFragment on Transaction {
4130
4494
  }
4131
4495
  }
4132
4496
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
4497
+ lightspark_node_with_remote_signing_balances: balances {
4498
+ __typename
4499
+ balances_owned_balance: owned_balance {
4500
+ __typename
4501
+ currency_amount_original_value: original_value
4502
+ currency_amount_original_unit: original_unit
4503
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4504
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4505
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4506
+ }
4507
+ balances_available_to_send_balance: available_to_send_balance {
4508
+ __typename
4509
+ currency_amount_original_value: original_value
4510
+ currency_amount_original_unit: original_unit
4511
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4512
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4513
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4514
+ }
4515
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
4516
+ __typename
4517
+ currency_amount_original_value: original_value
4518
+ currency_amount_original_unit: original_unit
4519
+ currency_amount_preferred_currency_unit: preferred_currency_unit
4520
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4521
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
4522
+ }
4523
+ }
4133
4524
  }
4134
4525
  }
4135
4526
  }
@@ -4266,19 +4657,6 @@ var AccountToTransactionsConnectionFromJson = (obj) => {
4266
4657
  // src/objects/Wallet.ts
4267
4658
  var import_auto_bind11 = __toESM(require("auto-bind"), 1);
4268
4659
 
4269
- // src/objects/Balances.ts
4270
- var BalancesFromJson = (obj) => {
4271
- return {
4272
- ownedBalance: CurrencyAmountFromJson(obj["balances_owned_balance"]),
4273
- availableToSendBalance: CurrencyAmountFromJson(
4274
- obj["balances_available_to_send_balance"]
4275
- ),
4276
- availableToWithdrawBalance: CurrencyAmountFromJson(
4277
- obj["balances_available_to_withdraw_balance"]
4278
- )
4279
- };
4280
- };
4281
-
4282
4660
  // src/objects/WalletStatus.ts
4283
4661
  var WalletStatus = /* @__PURE__ */ ((WalletStatus2) => {
4284
4662
  WalletStatus2["FUTURE_VALUE"] = "FUTURE_VALUE";
@@ -4647,6 +5025,33 @@ query FetchWalletToTransactionsConnection($entity_id: ID!, $first: Int, $after:
4647
5025
  }
4648
5026
  }
4649
5027
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5028
+ lightspark_node_with_o_s_k_balances: balances {
5029
+ __typename
5030
+ balances_owned_balance: owned_balance {
5031
+ __typename
5032
+ currency_amount_original_value: original_value
5033
+ currency_amount_original_unit: original_unit
5034
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5035
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5036
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5037
+ }
5038
+ balances_available_to_send_balance: available_to_send_balance {
5039
+ __typename
5040
+ currency_amount_original_value: original_value
5041
+ currency_amount_original_unit: original_unit
5042
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5043
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5044
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5045
+ }
5046
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5047
+ __typename
5048
+ currency_amount_original_value: original_value
5049
+ currency_amount_original_unit: original_unit
5050
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5051
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5052
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5053
+ }
5054
+ }
4650
5055
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
4651
5056
  __typename
4652
5057
  secret_encrypted_value: encrypted_value
@@ -4752,6 +5157,33 @@ query FetchWalletToTransactionsConnection($entity_id: ID!, $first: Int, $after:
4752
5157
  }
4753
5158
  }
4754
5159
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
5160
+ lightspark_node_with_remote_signing_balances: balances {
5161
+ __typename
5162
+ balances_owned_balance: owned_balance {
5163
+ __typename
5164
+ currency_amount_original_value: original_value
5165
+ currency_amount_original_unit: original_unit
5166
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5167
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5168
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5169
+ }
5170
+ balances_available_to_send_balance: available_to_send_balance {
5171
+ __typename
5172
+ currency_amount_original_value: original_value
5173
+ currency_amount_original_unit: original_unit
5174
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5175
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5176
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5177
+ }
5178
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5179
+ __typename
5180
+ currency_amount_original_value: original_value
5181
+ currency_amount_original_unit: original_unit
5182
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5183
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5184
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5185
+ }
5186
+ }
4755
5187
  }
4756
5188
  }
4757
5189
  }
@@ -4998,7 +5430,35 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
4998
5430
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
4999
5431
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5000
5432
  }
5001
- blockchain_balance_required_reserve: required_reserve {
5433
+ blockchain_balance_required_reserve: required_reserve {
5434
+ __typename
5435
+ currency_amount_original_value: original_value
5436
+ currency_amount_original_unit: original_unit
5437
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5438
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5439
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5440
+ }
5441
+ blockchain_balance_available_balance: available_balance {
5442
+ __typename
5443
+ currency_amount_original_value: original_value
5444
+ currency_amount_original_unit: original_unit
5445
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5446
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5447
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5448
+ }
5449
+ }
5450
+ lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5451
+ lightspark_node_with_o_s_k_balances: balances {
5452
+ __typename
5453
+ balances_owned_balance: owned_balance {
5454
+ __typename
5455
+ currency_amount_original_value: original_value
5456
+ currency_amount_original_unit: original_unit
5457
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5458
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5459
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5460
+ }
5461
+ balances_available_to_send_balance: available_to_send_balance {
5002
5462
  __typename
5003
5463
  currency_amount_original_value: original_value
5004
5464
  currency_amount_original_unit: original_unit
@@ -5006,7 +5466,7 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5006
5466
  currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5007
5467
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5008
5468
  }
5009
- blockchain_balance_available_balance: available_balance {
5469
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5010
5470
  __typename
5011
5471
  currency_amount_original_value: original_value
5012
5472
  currency_amount_original_unit: original_unit
@@ -5015,7 +5475,6 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5015
5475
  currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5016
5476
  }
5017
5477
  }
5018
- lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
5019
5478
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
5020
5479
  __typename
5021
5480
  secret_encrypted_value: encrypted_value
@@ -5121,6 +5580,33 @@ query FetchWalletToPaymentRequestsConnection($entity_id: ID!, $first: Int, $afte
5121
5580
  }
5122
5581
  }
5123
5582
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
5583
+ lightspark_node_with_remote_signing_balances: balances {
5584
+ __typename
5585
+ balances_owned_balance: owned_balance {
5586
+ __typename
5587
+ currency_amount_original_value: original_value
5588
+ currency_amount_original_unit: original_unit
5589
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5590
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5591
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5592
+ }
5593
+ balances_available_to_send_balance: available_to_send_balance {
5594
+ __typename
5595
+ currency_amount_original_value: original_value
5596
+ currency_amount_original_unit: original_unit
5597
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5598
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5599
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5600
+ }
5601
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
5602
+ __typename
5603
+ currency_amount_original_value: original_value
5604
+ currency_amount_original_unit: original_unit
5605
+ currency_amount_preferred_currency_unit: preferred_currency_unit
5606
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
5607
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
5608
+ }
5609
+ }
5124
5610
  }
5125
5611
  }
5126
5612
  }
@@ -5571,6 +6057,33 @@ query FetchAccountToNodesConnection($first: Int, $bitcoin_networks: [BitcoinNetw
5571
6057
  }
5572
6058
  }
5573
6059
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
6060
+ lightspark_node_with_o_s_k_balances: balances {
6061
+ __typename
6062
+ balances_owned_balance: owned_balance {
6063
+ __typename
6064
+ currency_amount_original_value: original_value
6065
+ currency_amount_original_unit: original_unit
6066
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6067
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6068
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6069
+ }
6070
+ balances_available_to_send_balance: available_to_send_balance {
6071
+ __typename
6072
+ currency_amount_original_value: original_value
6073
+ currency_amount_original_unit: original_unit
6074
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6075
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6076
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6077
+ }
6078
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6079
+ __typename
6080
+ currency_amount_original_value: original_value
6081
+ currency_amount_original_unit: original_unit
6082
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6083
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6084
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6085
+ }
6086
+ }
5574
6087
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
5575
6088
  __typename
5576
6089
  secret_encrypted_value: encrypted_value
@@ -5676,6 +6189,33 @@ query FetchAccountToNodesConnection($first: Int, $bitcoin_networks: [BitcoinNetw
5676
6189
  }
5677
6190
  }
5678
6191
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
6192
+ lightspark_node_with_remote_signing_balances: balances {
6193
+ __typename
6194
+ balances_owned_balance: owned_balance {
6195
+ __typename
6196
+ currency_amount_original_value: original_value
6197
+ currency_amount_original_unit: original_unit
6198
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6199
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6200
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6201
+ }
6202
+ balances_available_to_send_balance: available_to_send_balance {
6203
+ __typename
6204
+ currency_amount_original_value: original_value
6205
+ currency_amount_original_unit: original_unit
6206
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6207
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6208
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6209
+ }
6210
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6211
+ __typename
6212
+ currency_amount_original_value: original_value
6213
+ currency_amount_original_unit: original_unit
6214
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6215
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6216
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6217
+ }
6218
+ }
5679
6219
  }
5680
6220
  }
5681
6221
  }
@@ -6198,6 +6738,33 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
6198
6738
  }
6199
6739
  }
6200
6740
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
6741
+ lightspark_node_with_o_s_k_balances: balances {
6742
+ __typename
6743
+ balances_owned_balance: owned_balance {
6744
+ __typename
6745
+ currency_amount_original_value: original_value
6746
+ currency_amount_original_unit: original_unit
6747
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6748
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6749
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6750
+ }
6751
+ balances_available_to_send_balance: available_to_send_balance {
6752
+ __typename
6753
+ currency_amount_original_value: original_value
6754
+ currency_amount_original_unit: original_unit
6755
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6756
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6757
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6758
+ }
6759
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6760
+ __typename
6761
+ currency_amount_original_value: original_value
6762
+ currency_amount_original_unit: original_unit
6763
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6764
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6765
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6766
+ }
6767
+ }
6201
6768
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
6202
6769
  __typename
6203
6770
  secret_encrypted_value: encrypted_value
@@ -6303,6 +6870,33 @@ query FetchAccountToTransactionsConnection($first: Int, $after: String, $types:
6303
6870
  }
6304
6871
  }
6305
6872
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
6873
+ lightspark_node_with_remote_signing_balances: balances {
6874
+ __typename
6875
+ balances_owned_balance: owned_balance {
6876
+ __typename
6877
+ currency_amount_original_value: original_value
6878
+ currency_amount_original_unit: original_unit
6879
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6880
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6881
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6882
+ }
6883
+ balances_available_to_send_balance: available_to_send_balance {
6884
+ __typename
6885
+ currency_amount_original_value: original_value
6886
+ currency_amount_original_unit: original_unit
6887
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6888
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6889
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6890
+ }
6891
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
6892
+ __typename
6893
+ currency_amount_original_value: original_value
6894
+ currency_amount_original_unit: original_unit
6895
+ currency_amount_preferred_currency_unit: preferred_currency_unit
6896
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
6897
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
6898
+ }
6899
+ }
6306
6900
  }
6307
6901
  }
6308
6902
  }
@@ -6569,6 +7163,33 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
6569
7163
  }
6570
7164
  }
6571
7165
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
7166
+ lightspark_node_with_o_s_k_balances: balances {
7167
+ __typename
7168
+ balances_owned_balance: owned_balance {
7169
+ __typename
7170
+ currency_amount_original_value: original_value
7171
+ currency_amount_original_unit: original_unit
7172
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7173
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7174
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7175
+ }
7176
+ balances_available_to_send_balance: available_to_send_balance {
7177
+ __typename
7178
+ currency_amount_original_value: original_value
7179
+ currency_amount_original_unit: original_unit
7180
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7181
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7182
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7183
+ }
7184
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7185
+ __typename
7186
+ currency_amount_original_value: original_value
7187
+ currency_amount_original_unit: original_unit
7188
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7189
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7190
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7191
+ }
7192
+ }
6572
7193
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
6573
7194
  __typename
6574
7195
  secret_encrypted_value: encrypted_value
@@ -6674,6 +7295,33 @@ query FetchAccountToPaymentRequestsConnection($first: Int, $after: String, $afte
6674
7295
  }
6675
7296
  }
6676
7297
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
7298
+ lightspark_node_with_remote_signing_balances: balances {
7299
+ __typename
7300
+ balances_owned_balance: owned_balance {
7301
+ __typename
7302
+ currency_amount_original_value: original_value
7303
+ currency_amount_original_unit: original_unit
7304
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7305
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7306
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7307
+ }
7308
+ balances_available_to_send_balance: available_to_send_balance {
7309
+ __typename
7310
+ currency_amount_original_value: original_value
7311
+ currency_amount_original_unit: original_unit
7312
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7313
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7314
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7315
+ }
7316
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7317
+ __typename
7318
+ currency_amount_original_value: original_value
7319
+ currency_amount_original_unit: original_unit
7320
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7321
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7322
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7323
+ }
7324
+ }
6677
7325
  }
6678
7326
  }
6679
7327
  }
@@ -7247,6 +7895,33 @@ fragment InvoiceFragment on Invoice {
7247
7895
  }
7248
7896
  }
7249
7897
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
7898
+ lightspark_node_with_o_s_k_balances: balances {
7899
+ __typename
7900
+ balances_owned_balance: owned_balance {
7901
+ __typename
7902
+ currency_amount_original_value: original_value
7903
+ currency_amount_original_unit: original_unit
7904
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7905
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7906
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7907
+ }
7908
+ balances_available_to_send_balance: available_to_send_balance {
7909
+ __typename
7910
+ currency_amount_original_value: original_value
7911
+ currency_amount_original_unit: original_unit
7912
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7913
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7914
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7915
+ }
7916
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
7917
+ __typename
7918
+ currency_amount_original_value: original_value
7919
+ currency_amount_original_unit: original_unit
7920
+ currency_amount_preferred_currency_unit: preferred_currency_unit
7921
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
7922
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
7923
+ }
7924
+ }
7250
7925
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
7251
7926
  __typename
7252
7927
  secret_encrypted_value: encrypted_value
@@ -7352,6 +8027,33 @@ fragment InvoiceFragment on Invoice {
7352
8027
  }
7353
8028
  }
7354
8029
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
8030
+ lightspark_node_with_remote_signing_balances: balances {
8031
+ __typename
8032
+ balances_owned_balance: owned_balance {
8033
+ __typename
8034
+ currency_amount_original_value: original_value
8035
+ currency_amount_original_unit: original_unit
8036
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8037
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8038
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8039
+ }
8040
+ balances_available_to_send_balance: available_to_send_balance {
8041
+ __typename
8042
+ currency_amount_original_value: original_value
8043
+ currency_amount_original_unit: original_unit
8044
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8045
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8046
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8047
+ }
8048
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8049
+ __typename
8050
+ currency_amount_original_value: original_value
8051
+ currency_amount_original_unit: original_unit
8052
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8053
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8054
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8055
+ }
8056
+ }
7355
8057
  }
7356
8058
  }
7357
8059
  }
@@ -7648,6 +8350,33 @@ fragment LightningTransactionFragment on LightningTransaction {
7648
8350
  }
7649
8351
  }
7650
8352
  lightspark_node_with_o_s_k_uma_prescreening_utxos: uma_prescreening_utxos
8353
+ lightspark_node_with_o_s_k_balances: balances {
8354
+ __typename
8355
+ balances_owned_balance: owned_balance {
8356
+ __typename
8357
+ currency_amount_original_value: original_value
8358
+ currency_amount_original_unit: original_unit
8359
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8360
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8361
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8362
+ }
8363
+ balances_available_to_send_balance: available_to_send_balance {
8364
+ __typename
8365
+ currency_amount_original_value: original_value
8366
+ currency_amount_original_unit: original_unit
8367
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8368
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8369
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8370
+ }
8371
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8372
+ __typename
8373
+ currency_amount_original_value: original_value
8374
+ currency_amount_original_unit: original_unit
8375
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8376
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8377
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8378
+ }
8379
+ }
7651
8380
  lightspark_node_with_o_s_k_encrypted_signing_private_key: encrypted_signing_private_key {
7652
8381
  __typename
7653
8382
  secret_encrypted_value: encrypted_value
@@ -7753,6 +8482,33 @@ fragment LightningTransactionFragment on LightningTransaction {
7753
8482
  }
7754
8483
  }
7755
8484
  lightspark_node_with_remote_signing_uma_prescreening_utxos: uma_prescreening_utxos
8485
+ lightspark_node_with_remote_signing_balances: balances {
8486
+ __typename
8487
+ balances_owned_balance: owned_balance {
8488
+ __typename
8489
+ currency_amount_original_value: original_value
8490
+ currency_amount_original_unit: original_unit
8491
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8492
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8493
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8494
+ }
8495
+ balances_available_to_send_balance: available_to_send_balance {
8496
+ __typename
8497
+ currency_amount_original_value: original_value
8498
+ currency_amount_original_unit: original_unit
8499
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8500
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8501
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8502
+ }
8503
+ balances_available_to_withdraw_balance: available_to_withdraw_balance {
8504
+ __typename
8505
+ currency_amount_original_value: original_value
8506
+ currency_amount_original_unit: original_unit
8507
+ currency_amount_preferred_currency_unit: preferred_currency_unit
8508
+ currency_amount_preferred_currency_value_rounded: preferred_currency_value_rounded
8509
+ currency_amount_preferred_currency_value_approx: preferred_currency_value_approx
8510
+ }
8511
+ }
7756
8512
  }
7757
8513
  }
7758
8514
  }