@privy-io/js-sdk-core 0.48.2 → 0.49.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.
@@ -1,7 +1,7 @@
1
1
  import { Chain, RpcConfig } from '@privy-io/chains';
2
2
  export * from '@privy-io/chains';
3
3
  import * as _privy_io_public_api from '@privy-io/public-api';
4
- import { PasskeyAuthenticateInputType, PrivyEmbeddedWalletAccount, PrivyEthereumEmbeddedWalletAccount, PrivySolanaEmbeddedWalletAccount, PrivyUser, PrivySmartWalletConfigurationResponse, PrivyAuthenticatedUser, OAuthProviderType, SmartWalletType, CoinbaseOnRampInitInput, PrivyMoonpayOnRampSignInput, MfaPasskeyInitInputType, MfaSmsInitInputType, Route, PrivyBitcoinSegwitEmbeddedWalletAccount as PrivyBitcoinSegwitEmbeddedWalletAccount$1, PrivyBitcoinTaprootEmbeddedWalletAccount as PrivyBitcoinTaprootEmbeddedWalletAccount$1, PrivySmartWalletAccount, PrivyCoinbaseOnRampInitResponse, PrivyCoinbaseOnRampInitInput, WalletApiCreateResponseType, WalletApiCreateInputType, WalletApiRpcResponseType, WalletApiRpcInputType } from '@privy-io/public-api';
4
+ import { PasskeyAuthenticateInputType, PrivyEmbeddedWalletAccount, PrivyEthereumEmbeddedWalletAccount, PrivySolanaEmbeddedWalletAccount, PrivyUser, PrivySmartWalletConfigurationResponse, PrivyAuthenticatedUser, OAuthProviderType, SmartWalletType, CoinbaseOnRampInitInput, PrivyMoonpayOnRampSignInput, MfaPasskeyInitInputType, MfaSmsInitInputType, Route, PrivyBitcoinSegwitEmbeddedWalletAccount as PrivyBitcoinSegwitEmbeddedWalletAccount$1, PrivyBitcoinTaprootEmbeddedWalletAccount as PrivyBitcoinTaprootEmbeddedWalletAccount$1, PrivySmartWalletAccount, PrivyCoinbaseOnRampInitResponse, PrivyCoinbaseOnRampInitInput, WalletResponseType, WalletApiCreateInputType, WalletApiRpcResponseType, WalletApiRpcInputType, WalletUpdateInputType, PrivyUnifiedWalletAccount } from '@privy-io/public-api';
5
5
  export { BICONOMY, COINBASE_SMART_WALLET, KERNEL, LIGHT_ACCOUNT, OAuthProviderType, SAFE, SmartWalletType, THIRDWEB } from '@privy-io/public-api';
6
6
  import EventEmitter from 'eventemitter3';
7
7
  import { PrivyErrorCode } from '@privy-io/api-base';
@@ -1021,10 +1021,10 @@ declare class EmbeddedWalletApi {
1021
1021
  } | {
1022
1022
  type: "wallet";
1023
1023
  address: string;
1024
- chain_type: "ethereum";
1025
1024
  verified_at: number;
1026
1025
  first_verified_at: number | null;
1027
1026
  latest_verified_at: number | null;
1027
+ chain_type: "ethereum";
1028
1028
  wallet_client: "unknown";
1029
1029
  chain_id?: string | undefined;
1030
1030
  wallet_client_type?: string | undefined;
@@ -1039,10 +1039,10 @@ declare class EmbeddedWalletApi {
1039
1039
  } | {
1040
1040
  type: "wallet";
1041
1041
  address: string;
1042
- chain_type: "solana";
1043
1042
  verified_at: number;
1044
1043
  first_verified_at: number | null;
1045
1044
  latest_verified_at: number | null;
1045
+ chain_type: "solana";
1046
1046
  wallet_client: "unknown";
1047
1047
  wallet_client_type?: string | undefined;
1048
1048
  connector_type?: string | undefined;
@@ -1087,68 +1087,68 @@ declare class EmbeddedWalletApi {
1087
1087
  type: "wallet";
1088
1088
  id: string | null;
1089
1089
  address: string;
1090
- chain_type: "ethereum";
1091
- wallet_index: number;
1092
1090
  chain_id: string;
1093
1091
  verified_at: number;
1094
1092
  first_verified_at: number | null;
1095
1093
  latest_verified_at: number | null;
1094
+ chain_type: "ethereum";
1096
1095
  wallet_client: "privy";
1097
1096
  wallet_client_type: "privy";
1098
1097
  connector_type: "embedded";
1099
1098
  imported: boolean;
1100
1099
  delegated: boolean;
1100
+ wallet_index: number;
1101
1101
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1102
1102
  } | {
1103
1103
  type: "wallet";
1104
1104
  id: string | null;
1105
1105
  address: string;
1106
- chain_type: "solana";
1107
- wallet_index: number;
1108
1106
  public_key: string;
1109
1107
  chain_id: string;
1110
1108
  verified_at: number;
1111
1109
  first_verified_at: number | null;
1112
1110
  latest_verified_at: number | null;
1111
+ chain_type: "solana";
1113
1112
  wallet_client: "privy";
1114
1113
  wallet_client_type: "privy";
1115
1114
  connector_type: "embedded";
1116
1115
  imported: boolean;
1117
1116
  delegated: boolean;
1117
+ wallet_index: number;
1118
1118
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1119
1119
  } | {
1120
1120
  type: "wallet";
1121
1121
  id: string | null;
1122
1122
  address: string;
1123
- chain_type: "bitcoin-segwit";
1124
- wallet_index: number;
1125
1123
  public_key: string;
1126
1124
  chain_id: string;
1127
1125
  verified_at: number;
1128
1126
  first_verified_at: number | null;
1129
1127
  latest_verified_at: number | null;
1128
+ chain_type: "bitcoin-segwit";
1130
1129
  wallet_client: "privy";
1131
1130
  wallet_client_type: "privy";
1132
1131
  connector_type: "embedded";
1133
1132
  imported: boolean;
1134
1133
  delegated: boolean;
1134
+ wallet_index: number;
1135
1135
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1136
1136
  } | {
1137
1137
  type: "wallet";
1138
1138
  id: string | null;
1139
1139
  address: string;
1140
- chain_type: "bitcoin-taproot";
1141
- wallet_index: number;
1142
1140
  public_key: string;
1143
1141
  chain_id: string;
1144
1142
  verified_at: number;
1145
1143
  first_verified_at: number | null;
1146
1144
  latest_verified_at: number | null;
1145
+ chain_type: "bitcoin-taproot";
1147
1146
  wallet_client: "privy";
1148
1147
  wallet_client_type: "privy";
1149
1148
  connector_type: "embedded";
1150
1149
  imported: boolean;
1151
1150
  delegated: boolean;
1151
+ wallet_index: number;
1152
1152
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1153
1153
  } | {
1154
1154
  type: "google_oauth";
@@ -1433,10 +1433,10 @@ declare class UserApi {
1433
1433
  } | {
1434
1434
  type: "wallet";
1435
1435
  address: string;
1436
- chain_type: "ethereum";
1437
1436
  verified_at: number;
1438
1437
  first_verified_at: number | null;
1439
1438
  latest_verified_at: number | null;
1439
+ chain_type: "ethereum";
1440
1440
  wallet_client: "unknown";
1441
1441
  chain_id?: string | undefined;
1442
1442
  wallet_client_type?: string | undefined;
@@ -1451,10 +1451,10 @@ declare class UserApi {
1451
1451
  } | {
1452
1452
  type: "wallet";
1453
1453
  address: string;
1454
- chain_type: "solana";
1455
1454
  verified_at: number;
1456
1455
  first_verified_at: number | null;
1457
1456
  latest_verified_at: number | null;
1457
+ chain_type: "solana";
1458
1458
  wallet_client: "unknown";
1459
1459
  wallet_client_type?: string | undefined;
1460
1460
  connector_type?: string | undefined;
@@ -1499,68 +1499,68 @@ declare class UserApi {
1499
1499
  type: "wallet";
1500
1500
  id: string | null;
1501
1501
  address: string;
1502
- chain_type: "ethereum";
1503
- wallet_index: number;
1504
1502
  chain_id: string;
1505
1503
  verified_at: number;
1506
1504
  first_verified_at: number | null;
1507
1505
  latest_verified_at: number | null;
1506
+ chain_type: "ethereum";
1508
1507
  wallet_client: "privy";
1509
1508
  wallet_client_type: "privy";
1510
1509
  connector_type: "embedded";
1511
1510
  imported: boolean;
1512
1511
  delegated: boolean;
1512
+ wallet_index: number;
1513
1513
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1514
1514
  } | {
1515
1515
  type: "wallet";
1516
1516
  id: string | null;
1517
1517
  address: string;
1518
- chain_type: "solana";
1519
- wallet_index: number;
1520
1518
  public_key: string;
1521
1519
  chain_id: string;
1522
1520
  verified_at: number;
1523
1521
  first_verified_at: number | null;
1524
1522
  latest_verified_at: number | null;
1523
+ chain_type: "solana";
1525
1524
  wallet_client: "privy";
1526
1525
  wallet_client_type: "privy";
1527
1526
  connector_type: "embedded";
1528
1527
  imported: boolean;
1529
1528
  delegated: boolean;
1529
+ wallet_index: number;
1530
1530
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1531
1531
  } | {
1532
1532
  type: "wallet";
1533
1533
  id: string | null;
1534
1534
  address: string;
1535
- chain_type: "bitcoin-segwit";
1536
- wallet_index: number;
1537
1535
  public_key: string;
1538
1536
  chain_id: string;
1539
1537
  verified_at: number;
1540
1538
  first_verified_at: number | null;
1541
1539
  latest_verified_at: number | null;
1540
+ chain_type: "bitcoin-segwit";
1542
1541
  wallet_client: "privy";
1543
1542
  wallet_client_type: "privy";
1544
1543
  connector_type: "embedded";
1545
1544
  imported: boolean;
1546
1545
  delegated: boolean;
1546
+ wallet_index: number;
1547
1547
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1548
1548
  } | {
1549
1549
  type: "wallet";
1550
1550
  id: string | null;
1551
1551
  address: string;
1552
- chain_type: "bitcoin-taproot";
1553
- wallet_index: number;
1554
1552
  public_key: string;
1555
1553
  chain_id: string;
1556
1554
  verified_at: number;
1557
1555
  first_verified_at: number | null;
1558
1556
  latest_verified_at: number | null;
1557
+ chain_type: "bitcoin-taproot";
1559
1558
  wallet_client: "privy";
1560
1559
  wallet_client_type: "privy";
1561
1560
  connector_type: "embedded";
1562
1561
  imported: boolean;
1563
1562
  delegated: boolean;
1563
+ wallet_index: number;
1564
1564
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1565
1565
  } | {
1566
1566
  type: "google_oauth";
@@ -1742,10 +1742,10 @@ declare class EmailApi {
1742
1742
  } | {
1743
1743
  type: "wallet";
1744
1744
  address: string;
1745
- chain_type: "ethereum";
1746
1745
  verified_at: number;
1747
1746
  first_verified_at: number | null;
1748
1747
  latest_verified_at: number | null;
1748
+ chain_type: "ethereum";
1749
1749
  wallet_client: "unknown";
1750
1750
  chain_id?: string | undefined;
1751
1751
  wallet_client_type?: string | undefined;
@@ -1760,10 +1760,10 @@ declare class EmailApi {
1760
1760
  } | {
1761
1761
  type: "wallet";
1762
1762
  address: string;
1763
- chain_type: "solana";
1764
1763
  verified_at: number;
1765
1764
  first_verified_at: number | null;
1766
1765
  latest_verified_at: number | null;
1766
+ chain_type: "solana";
1767
1767
  wallet_client: "unknown";
1768
1768
  wallet_client_type?: string | undefined;
1769
1769
  connector_type?: string | undefined;
@@ -1808,68 +1808,68 @@ declare class EmailApi {
1808
1808
  type: "wallet";
1809
1809
  id: string | null;
1810
1810
  address: string;
1811
- chain_type: "ethereum";
1812
- wallet_index: number;
1813
1811
  chain_id: string;
1814
1812
  verified_at: number;
1815
1813
  first_verified_at: number | null;
1816
1814
  latest_verified_at: number | null;
1815
+ chain_type: "ethereum";
1817
1816
  wallet_client: "privy";
1818
1817
  wallet_client_type: "privy";
1819
1818
  connector_type: "embedded";
1820
1819
  imported: boolean;
1821
1820
  delegated: boolean;
1821
+ wallet_index: number;
1822
1822
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1823
1823
  } | {
1824
1824
  type: "wallet";
1825
1825
  id: string | null;
1826
1826
  address: string;
1827
- chain_type: "solana";
1828
- wallet_index: number;
1829
1827
  public_key: string;
1830
1828
  chain_id: string;
1831
1829
  verified_at: number;
1832
1830
  first_verified_at: number | null;
1833
1831
  latest_verified_at: number | null;
1832
+ chain_type: "solana";
1834
1833
  wallet_client: "privy";
1835
1834
  wallet_client_type: "privy";
1836
1835
  connector_type: "embedded";
1837
1836
  imported: boolean;
1838
1837
  delegated: boolean;
1838
+ wallet_index: number;
1839
1839
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1840
1840
  } | {
1841
1841
  type: "wallet";
1842
1842
  id: string | null;
1843
1843
  address: string;
1844
- chain_type: "bitcoin-segwit";
1845
- wallet_index: number;
1846
1844
  public_key: string;
1847
1845
  chain_id: string;
1848
1846
  verified_at: number;
1849
1847
  first_verified_at: number | null;
1850
1848
  latest_verified_at: number | null;
1849
+ chain_type: "bitcoin-segwit";
1851
1850
  wallet_client: "privy";
1852
1851
  wallet_client_type: "privy";
1853
1852
  connector_type: "embedded";
1854
1853
  imported: boolean;
1855
1854
  delegated: boolean;
1855
+ wallet_index: number;
1856
1856
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1857
1857
  } | {
1858
1858
  type: "wallet";
1859
1859
  id: string | null;
1860
1860
  address: string;
1861
- chain_type: "bitcoin-taproot";
1862
- wallet_index: number;
1863
1861
  public_key: string;
1864
1862
  chain_id: string;
1865
1863
  verified_at: number;
1866
1864
  first_verified_at: number | null;
1867
1865
  latest_verified_at: number | null;
1866
+ chain_type: "bitcoin-taproot";
1868
1867
  wallet_client: "privy";
1869
1868
  wallet_client_type: "privy";
1870
1869
  connector_type: "embedded";
1871
1870
  imported: boolean;
1872
1871
  delegated: boolean;
1872
+ wallet_index: number;
1873
1873
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
1874
1874
  } | {
1875
1875
  type: "google_oauth";
@@ -2016,10 +2016,10 @@ declare class EmailApi {
2016
2016
  } | {
2017
2017
  type: "wallet";
2018
2018
  address: string;
2019
- chain_type: "ethereum";
2020
2019
  verified_at: number;
2021
2020
  first_verified_at: number | null;
2022
2021
  latest_verified_at: number | null;
2022
+ chain_type: "ethereum";
2023
2023
  wallet_client: "unknown";
2024
2024
  chain_id?: string | undefined;
2025
2025
  wallet_client_type?: string | undefined;
@@ -2034,10 +2034,10 @@ declare class EmailApi {
2034
2034
  } | {
2035
2035
  type: "wallet";
2036
2036
  address: string;
2037
- chain_type: "solana";
2038
2037
  verified_at: number;
2039
2038
  first_verified_at: number | null;
2040
2039
  latest_verified_at: number | null;
2040
+ chain_type: "solana";
2041
2041
  wallet_client: "unknown";
2042
2042
  wallet_client_type?: string | undefined;
2043
2043
  connector_type?: string | undefined;
@@ -2082,68 +2082,68 @@ declare class EmailApi {
2082
2082
  type: "wallet";
2083
2083
  id: string | null;
2084
2084
  address: string;
2085
- chain_type: "ethereum";
2086
- wallet_index: number;
2087
2085
  chain_id: string;
2088
2086
  verified_at: number;
2089
2087
  first_verified_at: number | null;
2090
2088
  latest_verified_at: number | null;
2089
+ chain_type: "ethereum";
2091
2090
  wallet_client: "privy";
2092
2091
  wallet_client_type: "privy";
2093
2092
  connector_type: "embedded";
2094
2093
  imported: boolean;
2095
2094
  delegated: boolean;
2095
+ wallet_index: number;
2096
2096
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2097
2097
  } | {
2098
2098
  type: "wallet";
2099
2099
  id: string | null;
2100
2100
  address: string;
2101
- chain_type: "solana";
2102
- wallet_index: number;
2103
2101
  public_key: string;
2104
2102
  chain_id: string;
2105
2103
  verified_at: number;
2106
2104
  first_verified_at: number | null;
2107
2105
  latest_verified_at: number | null;
2106
+ chain_type: "solana";
2108
2107
  wallet_client: "privy";
2109
2108
  wallet_client_type: "privy";
2110
2109
  connector_type: "embedded";
2111
2110
  imported: boolean;
2112
2111
  delegated: boolean;
2112
+ wallet_index: number;
2113
2113
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2114
2114
  } | {
2115
2115
  type: "wallet";
2116
2116
  id: string | null;
2117
2117
  address: string;
2118
- chain_type: "bitcoin-segwit";
2119
- wallet_index: number;
2120
2118
  public_key: string;
2121
2119
  chain_id: string;
2122
2120
  verified_at: number;
2123
2121
  first_verified_at: number | null;
2124
2122
  latest_verified_at: number | null;
2123
+ chain_type: "bitcoin-segwit";
2125
2124
  wallet_client: "privy";
2126
2125
  wallet_client_type: "privy";
2127
2126
  connector_type: "embedded";
2128
2127
  imported: boolean;
2129
2128
  delegated: boolean;
2129
+ wallet_index: number;
2130
2130
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2131
2131
  } | {
2132
2132
  type: "wallet";
2133
2133
  id: string | null;
2134
2134
  address: string;
2135
- chain_type: "bitcoin-taproot";
2136
- wallet_index: number;
2137
2135
  public_key: string;
2138
2136
  chain_id: string;
2139
2137
  verified_at: number;
2140
2138
  first_verified_at: number | null;
2141
2139
  latest_verified_at: number | null;
2140
+ chain_type: "bitcoin-taproot";
2142
2141
  wallet_client: "privy";
2143
2142
  wallet_client_type: "privy";
2144
2143
  connector_type: "embedded";
2145
2144
  imported: boolean;
2146
2145
  delegated: boolean;
2146
+ wallet_index: number;
2147
2147
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2148
2148
  } | {
2149
2149
  type: "google_oauth";
@@ -2279,10 +2279,10 @@ declare class EmailApi {
2279
2279
  } | {
2280
2280
  type: "wallet";
2281
2281
  address: string;
2282
- chain_type: "ethereum";
2283
2282
  verified_at: number;
2284
2283
  first_verified_at: number | null;
2285
2284
  latest_verified_at: number | null;
2285
+ chain_type: "ethereum";
2286
2286
  wallet_client: "unknown";
2287
2287
  chain_id?: string | undefined;
2288
2288
  wallet_client_type?: string | undefined;
@@ -2297,10 +2297,10 @@ declare class EmailApi {
2297
2297
  } | {
2298
2298
  type: "wallet";
2299
2299
  address: string;
2300
- chain_type: "solana";
2301
2300
  verified_at: number;
2302
2301
  first_verified_at: number | null;
2303
2302
  latest_verified_at: number | null;
2303
+ chain_type: "solana";
2304
2304
  wallet_client: "unknown";
2305
2305
  wallet_client_type?: string | undefined;
2306
2306
  connector_type?: string | undefined;
@@ -2345,68 +2345,68 @@ declare class EmailApi {
2345
2345
  type: "wallet";
2346
2346
  id: string | null;
2347
2347
  address: string;
2348
- chain_type: "ethereum";
2349
- wallet_index: number;
2350
2348
  chain_id: string;
2351
2349
  verified_at: number;
2352
2350
  first_verified_at: number | null;
2353
2351
  latest_verified_at: number | null;
2352
+ chain_type: "ethereum";
2354
2353
  wallet_client: "privy";
2355
2354
  wallet_client_type: "privy";
2356
2355
  connector_type: "embedded";
2357
2356
  imported: boolean;
2358
2357
  delegated: boolean;
2358
+ wallet_index: number;
2359
2359
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2360
2360
  } | {
2361
2361
  type: "wallet";
2362
2362
  id: string | null;
2363
2363
  address: string;
2364
- chain_type: "solana";
2365
- wallet_index: number;
2366
2364
  public_key: string;
2367
2365
  chain_id: string;
2368
2366
  verified_at: number;
2369
2367
  first_verified_at: number | null;
2370
2368
  latest_verified_at: number | null;
2369
+ chain_type: "solana";
2371
2370
  wallet_client: "privy";
2372
2371
  wallet_client_type: "privy";
2373
2372
  connector_type: "embedded";
2374
2373
  imported: boolean;
2375
2374
  delegated: boolean;
2375
+ wallet_index: number;
2376
2376
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2377
2377
  } | {
2378
2378
  type: "wallet";
2379
2379
  id: string | null;
2380
2380
  address: string;
2381
- chain_type: "bitcoin-segwit";
2382
- wallet_index: number;
2383
2381
  public_key: string;
2384
2382
  chain_id: string;
2385
2383
  verified_at: number;
2386
2384
  first_verified_at: number | null;
2387
2385
  latest_verified_at: number | null;
2386
+ chain_type: "bitcoin-segwit";
2388
2387
  wallet_client: "privy";
2389
2388
  wallet_client_type: "privy";
2390
2389
  connector_type: "embedded";
2391
2390
  imported: boolean;
2392
2391
  delegated: boolean;
2392
+ wallet_index: number;
2393
2393
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2394
2394
  } | {
2395
2395
  type: "wallet";
2396
2396
  id: string | null;
2397
2397
  address: string;
2398
- chain_type: "bitcoin-taproot";
2399
- wallet_index: number;
2400
2398
  public_key: string;
2401
2399
  chain_id: string;
2402
2400
  verified_at: number;
2403
2401
  first_verified_at: number | null;
2404
2402
  latest_verified_at: number | null;
2403
+ chain_type: "bitcoin-taproot";
2405
2404
  wallet_client: "privy";
2406
2405
  wallet_client_type: "privy";
2407
2406
  connector_type: "embedded";
2408
2407
  imported: boolean;
2409
2408
  delegated: boolean;
2409
+ wallet_index: number;
2410
2410
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2411
2411
  } | {
2412
2412
  type: "google_oauth";
@@ -2577,10 +2577,10 @@ declare class FarcasterApi {
2577
2577
  } | {
2578
2578
  type: "wallet";
2579
2579
  address: string;
2580
- chain_type: "ethereum";
2581
2580
  verified_at: number;
2582
2581
  first_verified_at: number | null;
2583
2582
  latest_verified_at: number | null;
2583
+ chain_type: "ethereum";
2584
2584
  wallet_client: "unknown";
2585
2585
  chain_id?: string | undefined;
2586
2586
  wallet_client_type?: string | undefined;
@@ -2595,10 +2595,10 @@ declare class FarcasterApi {
2595
2595
  } | {
2596
2596
  type: "wallet";
2597
2597
  address: string;
2598
- chain_type: "solana";
2599
2598
  verified_at: number;
2600
2599
  first_verified_at: number | null;
2601
2600
  latest_verified_at: number | null;
2601
+ chain_type: "solana";
2602
2602
  wallet_client: "unknown";
2603
2603
  wallet_client_type?: string | undefined;
2604
2604
  connector_type?: string | undefined;
@@ -2643,68 +2643,68 @@ declare class FarcasterApi {
2643
2643
  type: "wallet";
2644
2644
  id: string | null;
2645
2645
  address: string;
2646
- chain_type: "ethereum";
2647
- wallet_index: number;
2648
2646
  chain_id: string;
2649
2647
  verified_at: number;
2650
2648
  first_verified_at: number | null;
2651
2649
  latest_verified_at: number | null;
2650
+ chain_type: "ethereum";
2652
2651
  wallet_client: "privy";
2653
2652
  wallet_client_type: "privy";
2654
2653
  connector_type: "embedded";
2655
2654
  imported: boolean;
2656
2655
  delegated: boolean;
2656
+ wallet_index: number;
2657
2657
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2658
2658
  } | {
2659
2659
  type: "wallet";
2660
2660
  id: string | null;
2661
2661
  address: string;
2662
- chain_type: "solana";
2663
- wallet_index: number;
2664
2662
  public_key: string;
2665
2663
  chain_id: string;
2666
2664
  verified_at: number;
2667
2665
  first_verified_at: number | null;
2668
2666
  latest_verified_at: number | null;
2667
+ chain_type: "solana";
2669
2668
  wallet_client: "privy";
2670
2669
  wallet_client_type: "privy";
2671
2670
  connector_type: "embedded";
2672
2671
  imported: boolean;
2673
2672
  delegated: boolean;
2673
+ wallet_index: number;
2674
2674
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2675
2675
  } | {
2676
2676
  type: "wallet";
2677
2677
  id: string | null;
2678
2678
  address: string;
2679
- chain_type: "bitcoin-segwit";
2680
- wallet_index: number;
2681
2679
  public_key: string;
2682
2680
  chain_id: string;
2683
2681
  verified_at: number;
2684
2682
  first_verified_at: number | null;
2685
2683
  latest_verified_at: number | null;
2684
+ chain_type: "bitcoin-segwit";
2686
2685
  wallet_client: "privy";
2687
2686
  wallet_client_type: "privy";
2688
2687
  connector_type: "embedded";
2689
2688
  imported: boolean;
2690
2689
  delegated: boolean;
2690
+ wallet_index: number;
2691
2691
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2692
2692
  } | {
2693
2693
  type: "wallet";
2694
2694
  id: string | null;
2695
2695
  address: string;
2696
- chain_type: "bitcoin-taproot";
2697
- wallet_index: number;
2698
2696
  public_key: string;
2699
2697
  chain_id: string;
2700
2698
  verified_at: number;
2701
2699
  first_verified_at: number | null;
2702
2700
  latest_verified_at: number | null;
2701
+ chain_type: "bitcoin-taproot";
2703
2702
  wallet_client: "privy";
2704
2703
  wallet_client_type: "privy";
2705
2704
  connector_type: "embedded";
2706
2705
  imported: boolean;
2707
2706
  delegated: boolean;
2707
+ wallet_index: number;
2708
2708
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2709
2709
  } | {
2710
2710
  type: "google_oauth";
@@ -2845,10 +2845,10 @@ declare class FarcasterApi {
2845
2845
  } | {
2846
2846
  type: "wallet";
2847
2847
  address: string;
2848
- chain_type: "ethereum";
2849
2848
  verified_at: number;
2850
2849
  first_verified_at: number | null;
2851
2850
  latest_verified_at: number | null;
2851
+ chain_type: "ethereum";
2852
2852
  wallet_client: "unknown";
2853
2853
  chain_id?: string | undefined;
2854
2854
  wallet_client_type?: string | undefined;
@@ -2863,10 +2863,10 @@ declare class FarcasterApi {
2863
2863
  } | {
2864
2864
  type: "wallet";
2865
2865
  address: string;
2866
- chain_type: "solana";
2867
2866
  verified_at: number;
2868
2867
  first_verified_at: number | null;
2869
2868
  latest_verified_at: number | null;
2869
+ chain_type: "solana";
2870
2870
  wallet_client: "unknown";
2871
2871
  wallet_client_type?: string | undefined;
2872
2872
  connector_type?: string | undefined;
@@ -2911,68 +2911,68 @@ declare class FarcasterApi {
2911
2911
  type: "wallet";
2912
2912
  id: string | null;
2913
2913
  address: string;
2914
- chain_type: "ethereum";
2915
- wallet_index: number;
2916
2914
  chain_id: string;
2917
2915
  verified_at: number;
2918
2916
  first_verified_at: number | null;
2919
2917
  latest_verified_at: number | null;
2918
+ chain_type: "ethereum";
2920
2919
  wallet_client: "privy";
2921
2920
  wallet_client_type: "privy";
2922
2921
  connector_type: "embedded";
2923
2922
  imported: boolean;
2924
2923
  delegated: boolean;
2924
+ wallet_index: number;
2925
2925
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2926
2926
  } | {
2927
2927
  type: "wallet";
2928
2928
  id: string | null;
2929
2929
  address: string;
2930
- chain_type: "solana";
2931
- wallet_index: number;
2932
2930
  public_key: string;
2933
2931
  chain_id: string;
2934
2932
  verified_at: number;
2935
2933
  first_verified_at: number | null;
2936
2934
  latest_verified_at: number | null;
2935
+ chain_type: "solana";
2937
2936
  wallet_client: "privy";
2938
2937
  wallet_client_type: "privy";
2939
2938
  connector_type: "embedded";
2940
2939
  imported: boolean;
2941
2940
  delegated: boolean;
2941
+ wallet_index: number;
2942
2942
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2943
2943
  } | {
2944
2944
  type: "wallet";
2945
2945
  id: string | null;
2946
2946
  address: string;
2947
- chain_type: "bitcoin-segwit";
2948
- wallet_index: number;
2949
2947
  public_key: string;
2950
2948
  chain_id: string;
2951
2949
  verified_at: number;
2952
2950
  first_verified_at: number | null;
2953
2951
  latest_verified_at: number | null;
2952
+ chain_type: "bitcoin-segwit";
2954
2953
  wallet_client: "privy";
2955
2954
  wallet_client_type: "privy";
2956
2955
  connector_type: "embedded";
2957
2956
  imported: boolean;
2958
2957
  delegated: boolean;
2958
+ wallet_index: number;
2959
2959
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2960
2960
  } | {
2961
2961
  type: "wallet";
2962
2962
  id: string | null;
2963
2963
  address: string;
2964
- chain_type: "bitcoin-taproot";
2965
- wallet_index: number;
2966
2964
  public_key: string;
2967
2965
  chain_id: string;
2968
2966
  verified_at: number;
2969
2967
  first_verified_at: number | null;
2970
2968
  latest_verified_at: number | null;
2969
+ chain_type: "bitcoin-taproot";
2971
2970
  wallet_client: "privy";
2972
2971
  wallet_client_type: "privy";
2973
2972
  connector_type: "embedded";
2974
2973
  imported: boolean;
2975
2974
  delegated: boolean;
2975
+ wallet_index: number;
2976
2976
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
2977
2977
  } | {
2978
2978
  type: "google_oauth";
@@ -3161,10 +3161,10 @@ declare class OAuthApi {
3161
3161
  } | {
3162
3162
  type: "wallet";
3163
3163
  address: string;
3164
- chain_type: "ethereum";
3165
3164
  verified_at: number;
3166
3165
  first_verified_at: number | null;
3167
3166
  latest_verified_at: number | null;
3167
+ chain_type: "ethereum";
3168
3168
  wallet_client: "unknown";
3169
3169
  chain_id?: string | undefined;
3170
3170
  wallet_client_type?: string | undefined;
@@ -3179,10 +3179,10 @@ declare class OAuthApi {
3179
3179
  } | {
3180
3180
  type: "wallet";
3181
3181
  address: string;
3182
- chain_type: "solana";
3183
3182
  verified_at: number;
3184
3183
  first_verified_at: number | null;
3185
3184
  latest_verified_at: number | null;
3185
+ chain_type: "solana";
3186
3186
  wallet_client: "unknown";
3187
3187
  wallet_client_type?: string | undefined;
3188
3188
  connector_type?: string | undefined;
@@ -3227,68 +3227,68 @@ declare class OAuthApi {
3227
3227
  type: "wallet";
3228
3228
  id: string | null;
3229
3229
  address: string;
3230
- chain_type: "ethereum";
3231
- wallet_index: number;
3232
3230
  chain_id: string;
3233
3231
  verified_at: number;
3234
3232
  first_verified_at: number | null;
3235
3233
  latest_verified_at: number | null;
3234
+ chain_type: "ethereum";
3236
3235
  wallet_client: "privy";
3237
3236
  wallet_client_type: "privy";
3238
3237
  connector_type: "embedded";
3239
3238
  imported: boolean;
3240
3239
  delegated: boolean;
3240
+ wallet_index: number;
3241
3241
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3242
3242
  } | {
3243
3243
  type: "wallet";
3244
3244
  id: string | null;
3245
3245
  address: string;
3246
- chain_type: "solana";
3247
- wallet_index: number;
3248
3246
  public_key: string;
3249
3247
  chain_id: string;
3250
3248
  verified_at: number;
3251
3249
  first_verified_at: number | null;
3252
3250
  latest_verified_at: number | null;
3251
+ chain_type: "solana";
3253
3252
  wallet_client: "privy";
3254
3253
  wallet_client_type: "privy";
3255
3254
  connector_type: "embedded";
3256
3255
  imported: boolean;
3257
3256
  delegated: boolean;
3257
+ wallet_index: number;
3258
3258
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3259
3259
  } | {
3260
3260
  type: "wallet";
3261
3261
  id: string | null;
3262
3262
  address: string;
3263
- chain_type: "bitcoin-segwit";
3264
- wallet_index: number;
3265
3263
  public_key: string;
3266
3264
  chain_id: string;
3267
3265
  verified_at: number;
3268
3266
  first_verified_at: number | null;
3269
3267
  latest_verified_at: number | null;
3268
+ chain_type: "bitcoin-segwit";
3270
3269
  wallet_client: "privy";
3271
3270
  wallet_client_type: "privy";
3272
3271
  connector_type: "embedded";
3273
3272
  imported: boolean;
3274
3273
  delegated: boolean;
3274
+ wallet_index: number;
3275
3275
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3276
3276
  } | {
3277
3277
  type: "wallet";
3278
3278
  id: string | null;
3279
3279
  address: string;
3280
- chain_type: "bitcoin-taproot";
3281
- wallet_index: number;
3282
3280
  public_key: string;
3283
3281
  chain_id: string;
3284
3282
  verified_at: number;
3285
3283
  first_verified_at: number | null;
3286
3284
  latest_verified_at: number | null;
3285
+ chain_type: "bitcoin-taproot";
3287
3286
  wallet_client: "privy";
3288
3287
  wallet_client_type: "privy";
3289
3288
  connector_type: "embedded";
3290
3289
  imported: boolean;
3291
3290
  delegated: boolean;
3291
+ wallet_index: number;
3292
3292
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3293
3293
  } | {
3294
3294
  type: "google_oauth";
@@ -3430,10 +3430,10 @@ declare class OAuthApi {
3430
3430
  } | {
3431
3431
  type: "wallet";
3432
3432
  address: string;
3433
- chain_type: "ethereum";
3434
3433
  verified_at: number;
3435
3434
  first_verified_at: number | null;
3436
3435
  latest_verified_at: number | null;
3436
+ chain_type: "ethereum";
3437
3437
  wallet_client: "unknown";
3438
3438
  chain_id?: string | undefined;
3439
3439
  wallet_client_type?: string | undefined;
@@ -3448,10 +3448,10 @@ declare class OAuthApi {
3448
3448
  } | {
3449
3449
  type: "wallet";
3450
3450
  address: string;
3451
- chain_type: "solana";
3452
3451
  verified_at: number;
3453
3452
  first_verified_at: number | null;
3454
3453
  latest_verified_at: number | null;
3454
+ chain_type: "solana";
3455
3455
  wallet_client: "unknown";
3456
3456
  wallet_client_type?: string | undefined;
3457
3457
  connector_type?: string | undefined;
@@ -3496,68 +3496,68 @@ declare class OAuthApi {
3496
3496
  type: "wallet";
3497
3497
  id: string | null;
3498
3498
  address: string;
3499
- chain_type: "ethereum";
3500
- wallet_index: number;
3501
3499
  chain_id: string;
3502
3500
  verified_at: number;
3503
3501
  first_verified_at: number | null;
3504
3502
  latest_verified_at: number | null;
3503
+ chain_type: "ethereum";
3505
3504
  wallet_client: "privy";
3506
3505
  wallet_client_type: "privy";
3507
3506
  connector_type: "embedded";
3508
3507
  imported: boolean;
3509
3508
  delegated: boolean;
3509
+ wallet_index: number;
3510
3510
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3511
3511
  } | {
3512
3512
  type: "wallet";
3513
3513
  id: string | null;
3514
3514
  address: string;
3515
- chain_type: "solana";
3516
- wallet_index: number;
3517
3515
  public_key: string;
3518
3516
  chain_id: string;
3519
3517
  verified_at: number;
3520
3518
  first_verified_at: number | null;
3521
3519
  latest_verified_at: number | null;
3520
+ chain_type: "solana";
3522
3521
  wallet_client: "privy";
3523
3522
  wallet_client_type: "privy";
3524
3523
  connector_type: "embedded";
3525
3524
  imported: boolean;
3526
3525
  delegated: boolean;
3526
+ wallet_index: number;
3527
3527
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3528
3528
  } | {
3529
3529
  type: "wallet";
3530
3530
  id: string | null;
3531
3531
  address: string;
3532
- chain_type: "bitcoin-segwit";
3533
- wallet_index: number;
3534
3532
  public_key: string;
3535
3533
  chain_id: string;
3536
3534
  verified_at: number;
3537
3535
  first_verified_at: number | null;
3538
3536
  latest_verified_at: number | null;
3537
+ chain_type: "bitcoin-segwit";
3539
3538
  wallet_client: "privy";
3540
3539
  wallet_client_type: "privy";
3541
3540
  connector_type: "embedded";
3542
3541
  imported: boolean;
3543
3542
  delegated: boolean;
3543
+ wallet_index: number;
3544
3544
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3545
3545
  } | {
3546
3546
  type: "wallet";
3547
3547
  id: string | null;
3548
3548
  address: string;
3549
- chain_type: "bitcoin-taproot";
3550
- wallet_index: number;
3551
3549
  public_key: string;
3552
3550
  chain_id: string;
3553
3551
  verified_at: number;
3554
3552
  first_verified_at: number | null;
3555
3553
  latest_verified_at: number | null;
3554
+ chain_type: "bitcoin-taproot";
3556
3555
  wallet_client: "privy";
3557
3556
  wallet_client_type: "privy";
3558
3557
  connector_type: "embedded";
3559
3558
  imported: boolean;
3560
3559
  delegated: boolean;
3560
+ wallet_index: number;
3561
3561
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3562
3562
  } | {
3563
3563
  type: "google_oauth";
@@ -3819,10 +3819,10 @@ declare class PasskeyApi {
3819
3819
  } | {
3820
3820
  type: "wallet";
3821
3821
  address: string;
3822
- chain_type: "ethereum";
3823
3822
  verified_at: number;
3824
3823
  first_verified_at: number | null;
3825
3824
  latest_verified_at: number | null;
3825
+ chain_type: "ethereum";
3826
3826
  wallet_client: "unknown";
3827
3827
  chain_id?: string | undefined;
3828
3828
  wallet_client_type?: string | undefined;
@@ -3837,10 +3837,10 @@ declare class PasskeyApi {
3837
3837
  } | {
3838
3838
  type: "wallet";
3839
3839
  address: string;
3840
- chain_type: "solana";
3841
3840
  verified_at: number;
3842
3841
  first_verified_at: number | null;
3843
3842
  latest_verified_at: number | null;
3843
+ chain_type: "solana";
3844
3844
  wallet_client: "unknown";
3845
3845
  wallet_client_type?: string | undefined;
3846
3846
  connector_type?: string | undefined;
@@ -3885,68 +3885,68 @@ declare class PasskeyApi {
3885
3885
  type: "wallet";
3886
3886
  id: string | null;
3887
3887
  address: string;
3888
- chain_type: "ethereum";
3889
- wallet_index: number;
3890
3888
  chain_id: string;
3891
3889
  verified_at: number;
3892
3890
  first_verified_at: number | null;
3893
3891
  latest_verified_at: number | null;
3892
+ chain_type: "ethereum";
3894
3893
  wallet_client: "privy";
3895
3894
  wallet_client_type: "privy";
3896
3895
  connector_type: "embedded";
3897
3896
  imported: boolean;
3898
3897
  delegated: boolean;
3898
+ wallet_index: number;
3899
3899
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3900
3900
  } | {
3901
3901
  type: "wallet";
3902
3902
  id: string | null;
3903
3903
  address: string;
3904
- chain_type: "solana";
3905
- wallet_index: number;
3906
3904
  public_key: string;
3907
3905
  chain_id: string;
3908
3906
  verified_at: number;
3909
3907
  first_verified_at: number | null;
3910
3908
  latest_verified_at: number | null;
3909
+ chain_type: "solana";
3911
3910
  wallet_client: "privy";
3912
3911
  wallet_client_type: "privy";
3913
3912
  connector_type: "embedded";
3914
3913
  imported: boolean;
3915
3914
  delegated: boolean;
3915
+ wallet_index: number;
3916
3916
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3917
3917
  } | {
3918
3918
  type: "wallet";
3919
3919
  id: string | null;
3920
3920
  address: string;
3921
- chain_type: "bitcoin-segwit";
3922
- wallet_index: number;
3923
3921
  public_key: string;
3924
3922
  chain_id: string;
3925
3923
  verified_at: number;
3926
3924
  first_verified_at: number | null;
3927
3925
  latest_verified_at: number | null;
3926
+ chain_type: "bitcoin-segwit";
3928
3927
  wallet_client: "privy";
3929
3928
  wallet_client_type: "privy";
3930
3929
  connector_type: "embedded";
3931
3930
  imported: boolean;
3932
3931
  delegated: boolean;
3932
+ wallet_index: number;
3933
3933
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3934
3934
  } | {
3935
3935
  type: "wallet";
3936
3936
  id: string | null;
3937
3937
  address: string;
3938
- chain_type: "bitcoin-taproot";
3939
- wallet_index: number;
3940
3938
  public_key: string;
3941
3939
  chain_id: string;
3942
3940
  verified_at: number;
3943
3941
  first_verified_at: number | null;
3944
3942
  latest_verified_at: number | null;
3943
+ chain_type: "bitcoin-taproot";
3945
3944
  wallet_client: "privy";
3946
3945
  wallet_client_type: "privy";
3947
3946
  connector_type: "embedded";
3948
3947
  imported: boolean;
3949
3948
  delegated: boolean;
3949
+ wallet_index: number;
3950
3950
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
3951
3951
  } | {
3952
3952
  type: "google_oauth";
@@ -4108,10 +4108,10 @@ declare class PhoneApi {
4108
4108
  } | {
4109
4109
  type: "wallet";
4110
4110
  address: string;
4111
- chain_type: "ethereum";
4112
4111
  verified_at: number;
4113
4112
  first_verified_at: number | null;
4114
4113
  latest_verified_at: number | null;
4114
+ chain_type: "ethereum";
4115
4115
  wallet_client: "unknown";
4116
4116
  chain_id?: string | undefined;
4117
4117
  wallet_client_type?: string | undefined;
@@ -4126,10 +4126,10 @@ declare class PhoneApi {
4126
4126
  } | {
4127
4127
  type: "wallet";
4128
4128
  address: string;
4129
- chain_type: "solana";
4130
4129
  verified_at: number;
4131
4130
  first_verified_at: number | null;
4132
4131
  latest_verified_at: number | null;
4132
+ chain_type: "solana";
4133
4133
  wallet_client: "unknown";
4134
4134
  wallet_client_type?: string | undefined;
4135
4135
  connector_type?: string | undefined;
@@ -4174,68 +4174,68 @@ declare class PhoneApi {
4174
4174
  type: "wallet";
4175
4175
  id: string | null;
4176
4176
  address: string;
4177
- chain_type: "ethereum";
4178
- wallet_index: number;
4179
4177
  chain_id: string;
4180
4178
  verified_at: number;
4181
4179
  first_verified_at: number | null;
4182
4180
  latest_verified_at: number | null;
4181
+ chain_type: "ethereum";
4183
4182
  wallet_client: "privy";
4184
4183
  wallet_client_type: "privy";
4185
4184
  connector_type: "embedded";
4186
4185
  imported: boolean;
4187
4186
  delegated: boolean;
4187
+ wallet_index: number;
4188
4188
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4189
4189
  } | {
4190
4190
  type: "wallet";
4191
4191
  id: string | null;
4192
4192
  address: string;
4193
- chain_type: "solana";
4194
- wallet_index: number;
4195
4193
  public_key: string;
4196
4194
  chain_id: string;
4197
4195
  verified_at: number;
4198
4196
  first_verified_at: number | null;
4199
4197
  latest_verified_at: number | null;
4198
+ chain_type: "solana";
4200
4199
  wallet_client: "privy";
4201
4200
  wallet_client_type: "privy";
4202
4201
  connector_type: "embedded";
4203
4202
  imported: boolean;
4204
4203
  delegated: boolean;
4204
+ wallet_index: number;
4205
4205
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4206
4206
  } | {
4207
4207
  type: "wallet";
4208
4208
  id: string | null;
4209
4209
  address: string;
4210
- chain_type: "bitcoin-segwit";
4211
- wallet_index: number;
4212
4210
  public_key: string;
4213
4211
  chain_id: string;
4214
4212
  verified_at: number;
4215
4213
  first_verified_at: number | null;
4216
4214
  latest_verified_at: number | null;
4215
+ chain_type: "bitcoin-segwit";
4217
4216
  wallet_client: "privy";
4218
4217
  wallet_client_type: "privy";
4219
4218
  connector_type: "embedded";
4220
4219
  imported: boolean;
4221
4220
  delegated: boolean;
4221
+ wallet_index: number;
4222
4222
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4223
4223
  } | {
4224
4224
  type: "wallet";
4225
4225
  id: string | null;
4226
4226
  address: string;
4227
- chain_type: "bitcoin-taproot";
4228
- wallet_index: number;
4229
4227
  public_key: string;
4230
4228
  chain_id: string;
4231
4229
  verified_at: number;
4232
4230
  first_verified_at: number | null;
4233
4231
  latest_verified_at: number | null;
4232
+ chain_type: "bitcoin-taproot";
4234
4233
  wallet_client: "privy";
4235
4234
  wallet_client_type: "privy";
4236
4235
  connector_type: "embedded";
4237
4236
  imported: boolean;
4238
4237
  delegated: boolean;
4238
+ wallet_index: number;
4239
4239
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4240
4240
  } | {
4241
4241
  type: "google_oauth";
@@ -4382,10 +4382,10 @@ declare class PhoneApi {
4382
4382
  } | {
4383
4383
  type: "wallet";
4384
4384
  address: string;
4385
- chain_type: "ethereum";
4386
4385
  verified_at: number;
4387
4386
  first_verified_at: number | null;
4388
4387
  latest_verified_at: number | null;
4388
+ chain_type: "ethereum";
4389
4389
  wallet_client: "unknown";
4390
4390
  chain_id?: string | undefined;
4391
4391
  wallet_client_type?: string | undefined;
@@ -4400,10 +4400,10 @@ declare class PhoneApi {
4400
4400
  } | {
4401
4401
  type: "wallet";
4402
4402
  address: string;
4403
- chain_type: "solana";
4404
4403
  verified_at: number;
4405
4404
  first_verified_at: number | null;
4406
4405
  latest_verified_at: number | null;
4406
+ chain_type: "solana";
4407
4407
  wallet_client: "unknown";
4408
4408
  wallet_client_type?: string | undefined;
4409
4409
  connector_type?: string | undefined;
@@ -4448,68 +4448,68 @@ declare class PhoneApi {
4448
4448
  type: "wallet";
4449
4449
  id: string | null;
4450
4450
  address: string;
4451
- chain_type: "ethereum";
4452
- wallet_index: number;
4453
4451
  chain_id: string;
4454
4452
  verified_at: number;
4455
4453
  first_verified_at: number | null;
4456
4454
  latest_verified_at: number | null;
4455
+ chain_type: "ethereum";
4457
4456
  wallet_client: "privy";
4458
4457
  wallet_client_type: "privy";
4459
4458
  connector_type: "embedded";
4460
4459
  imported: boolean;
4461
4460
  delegated: boolean;
4461
+ wallet_index: number;
4462
4462
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4463
4463
  } | {
4464
4464
  type: "wallet";
4465
4465
  id: string | null;
4466
4466
  address: string;
4467
- chain_type: "solana";
4468
- wallet_index: number;
4469
4467
  public_key: string;
4470
4468
  chain_id: string;
4471
4469
  verified_at: number;
4472
4470
  first_verified_at: number | null;
4473
4471
  latest_verified_at: number | null;
4472
+ chain_type: "solana";
4474
4473
  wallet_client: "privy";
4475
4474
  wallet_client_type: "privy";
4476
4475
  connector_type: "embedded";
4477
4476
  imported: boolean;
4478
4477
  delegated: boolean;
4478
+ wallet_index: number;
4479
4479
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4480
4480
  } | {
4481
4481
  type: "wallet";
4482
4482
  id: string | null;
4483
4483
  address: string;
4484
- chain_type: "bitcoin-segwit";
4485
- wallet_index: number;
4486
4484
  public_key: string;
4487
4485
  chain_id: string;
4488
4486
  verified_at: number;
4489
4487
  first_verified_at: number | null;
4490
4488
  latest_verified_at: number | null;
4489
+ chain_type: "bitcoin-segwit";
4491
4490
  wallet_client: "privy";
4492
4491
  wallet_client_type: "privy";
4493
4492
  connector_type: "embedded";
4494
4493
  imported: boolean;
4495
4494
  delegated: boolean;
4495
+ wallet_index: number;
4496
4496
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4497
4497
  } | {
4498
4498
  type: "wallet";
4499
4499
  id: string | null;
4500
4500
  address: string;
4501
- chain_type: "bitcoin-taproot";
4502
- wallet_index: number;
4503
4501
  public_key: string;
4504
4502
  chain_id: string;
4505
4503
  verified_at: number;
4506
4504
  first_verified_at: number | null;
4507
4505
  latest_verified_at: number | null;
4506
+ chain_type: "bitcoin-taproot";
4508
4507
  wallet_client: "privy";
4509
4508
  wallet_client_type: "privy";
4510
4509
  connector_type: "embedded";
4511
4510
  imported: boolean;
4512
4511
  delegated: boolean;
4512
+ wallet_index: number;
4513
4513
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4514
4514
  } | {
4515
4515
  type: "google_oauth";
@@ -4645,10 +4645,10 @@ declare class PhoneApi {
4645
4645
  } | {
4646
4646
  type: "wallet";
4647
4647
  address: string;
4648
- chain_type: "ethereum";
4649
4648
  verified_at: number;
4650
4649
  first_verified_at: number | null;
4651
4650
  latest_verified_at: number | null;
4651
+ chain_type: "ethereum";
4652
4652
  wallet_client: "unknown";
4653
4653
  chain_id?: string | undefined;
4654
4654
  wallet_client_type?: string | undefined;
@@ -4663,10 +4663,10 @@ declare class PhoneApi {
4663
4663
  } | {
4664
4664
  type: "wallet";
4665
4665
  address: string;
4666
- chain_type: "solana";
4667
4666
  verified_at: number;
4668
4667
  first_verified_at: number | null;
4669
4668
  latest_verified_at: number | null;
4669
+ chain_type: "solana";
4670
4670
  wallet_client: "unknown";
4671
4671
  wallet_client_type?: string | undefined;
4672
4672
  connector_type?: string | undefined;
@@ -4711,68 +4711,68 @@ declare class PhoneApi {
4711
4711
  type: "wallet";
4712
4712
  id: string | null;
4713
4713
  address: string;
4714
- chain_type: "ethereum";
4715
- wallet_index: number;
4716
4714
  chain_id: string;
4717
4715
  verified_at: number;
4718
4716
  first_verified_at: number | null;
4719
4717
  latest_verified_at: number | null;
4718
+ chain_type: "ethereum";
4720
4719
  wallet_client: "privy";
4721
4720
  wallet_client_type: "privy";
4722
4721
  connector_type: "embedded";
4723
4722
  imported: boolean;
4724
4723
  delegated: boolean;
4724
+ wallet_index: number;
4725
4725
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4726
4726
  } | {
4727
4727
  type: "wallet";
4728
4728
  id: string | null;
4729
4729
  address: string;
4730
- chain_type: "solana";
4731
- wallet_index: number;
4732
4730
  public_key: string;
4733
4731
  chain_id: string;
4734
4732
  verified_at: number;
4735
4733
  first_verified_at: number | null;
4736
4734
  latest_verified_at: number | null;
4735
+ chain_type: "solana";
4737
4736
  wallet_client: "privy";
4738
4737
  wallet_client_type: "privy";
4739
4738
  connector_type: "embedded";
4740
4739
  imported: boolean;
4741
4740
  delegated: boolean;
4741
+ wallet_index: number;
4742
4742
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4743
4743
  } | {
4744
4744
  type: "wallet";
4745
4745
  id: string | null;
4746
4746
  address: string;
4747
- chain_type: "bitcoin-segwit";
4748
- wallet_index: number;
4749
4747
  public_key: string;
4750
4748
  chain_id: string;
4751
4749
  verified_at: number;
4752
4750
  first_verified_at: number | null;
4753
4751
  latest_verified_at: number | null;
4752
+ chain_type: "bitcoin-segwit";
4754
4753
  wallet_client: "privy";
4755
4754
  wallet_client_type: "privy";
4756
4755
  connector_type: "embedded";
4757
4756
  imported: boolean;
4758
4757
  delegated: boolean;
4758
+ wallet_index: number;
4759
4759
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4760
4760
  } | {
4761
4761
  type: "wallet";
4762
4762
  id: string | null;
4763
4763
  address: string;
4764
- chain_type: "bitcoin-taproot";
4765
- wallet_index: number;
4766
4764
  public_key: string;
4767
4765
  chain_id: string;
4768
4766
  verified_at: number;
4769
4767
  first_verified_at: number | null;
4770
4768
  latest_verified_at: number | null;
4769
+ chain_type: "bitcoin-taproot";
4771
4770
  wallet_client: "privy";
4772
4771
  wallet_client_type: "privy";
4773
4772
  connector_type: "embedded";
4774
4773
  imported: boolean;
4775
4774
  delegated: boolean;
4775
+ wallet_index: number;
4776
4776
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
4777
4777
  } | {
4778
4778
  type: "google_oauth";
@@ -4979,10 +4979,10 @@ declare class SiweApi {
4979
4979
  } | {
4980
4980
  type: "wallet";
4981
4981
  address: string;
4982
- chain_type: "ethereum";
4983
4982
  verified_at: number;
4984
4983
  first_verified_at: number | null;
4985
4984
  latest_verified_at: number | null;
4985
+ chain_type: "ethereum";
4986
4986
  wallet_client: "unknown";
4987
4987
  chain_id?: string | undefined;
4988
4988
  wallet_client_type?: string | undefined;
@@ -4997,10 +4997,10 @@ declare class SiweApi {
4997
4997
  } | {
4998
4998
  type: "wallet";
4999
4999
  address: string;
5000
- chain_type: "solana";
5001
5000
  verified_at: number;
5002
5001
  first_verified_at: number | null;
5003
5002
  latest_verified_at: number | null;
5003
+ chain_type: "solana";
5004
5004
  wallet_client: "unknown";
5005
5005
  wallet_client_type?: string | undefined;
5006
5006
  connector_type?: string | undefined;
@@ -5045,68 +5045,68 @@ declare class SiweApi {
5045
5045
  type: "wallet";
5046
5046
  id: string | null;
5047
5047
  address: string;
5048
- chain_type: "ethereum";
5049
- wallet_index: number;
5050
5048
  chain_id: string;
5051
5049
  verified_at: number;
5052
5050
  first_verified_at: number | null;
5053
5051
  latest_verified_at: number | null;
5052
+ chain_type: "ethereum";
5054
5053
  wallet_client: "privy";
5055
5054
  wallet_client_type: "privy";
5056
5055
  connector_type: "embedded";
5057
5056
  imported: boolean;
5058
5057
  delegated: boolean;
5058
+ wallet_index: number;
5059
5059
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5060
5060
  } | {
5061
5061
  type: "wallet";
5062
5062
  id: string | null;
5063
5063
  address: string;
5064
- chain_type: "solana";
5065
- wallet_index: number;
5066
5064
  public_key: string;
5067
5065
  chain_id: string;
5068
5066
  verified_at: number;
5069
5067
  first_verified_at: number | null;
5070
5068
  latest_verified_at: number | null;
5069
+ chain_type: "solana";
5071
5070
  wallet_client: "privy";
5072
5071
  wallet_client_type: "privy";
5073
5072
  connector_type: "embedded";
5074
5073
  imported: boolean;
5075
5074
  delegated: boolean;
5075
+ wallet_index: number;
5076
5076
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5077
5077
  } | {
5078
5078
  type: "wallet";
5079
5079
  id: string | null;
5080
5080
  address: string;
5081
- chain_type: "bitcoin-segwit";
5082
- wallet_index: number;
5083
5081
  public_key: string;
5084
5082
  chain_id: string;
5085
5083
  verified_at: number;
5086
5084
  first_verified_at: number | null;
5087
5085
  latest_verified_at: number | null;
5086
+ chain_type: "bitcoin-segwit";
5088
5087
  wallet_client: "privy";
5089
5088
  wallet_client_type: "privy";
5090
5089
  connector_type: "embedded";
5091
5090
  imported: boolean;
5092
5091
  delegated: boolean;
5092
+ wallet_index: number;
5093
5093
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5094
5094
  } | {
5095
5095
  type: "wallet";
5096
5096
  id: string | null;
5097
5097
  address: string;
5098
- chain_type: "bitcoin-taproot";
5099
- wallet_index: number;
5100
5098
  public_key: string;
5101
5099
  chain_id: string;
5102
5100
  verified_at: number;
5103
5101
  first_verified_at: number | null;
5104
5102
  latest_verified_at: number | null;
5103
+ chain_type: "bitcoin-taproot";
5105
5104
  wallet_client: "privy";
5106
5105
  wallet_client_type: "privy";
5107
5106
  connector_type: "embedded";
5108
5107
  imported: boolean;
5109
5108
  delegated: boolean;
5109
+ wallet_index: number;
5110
5110
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5111
5111
  } | {
5112
5112
  type: "google_oauth";
@@ -5259,10 +5259,10 @@ declare class SiweApi {
5259
5259
  } | {
5260
5260
  type: "wallet";
5261
5261
  address: string;
5262
- chain_type: "ethereum";
5263
5262
  verified_at: number;
5264
5263
  first_verified_at: number | null;
5265
5264
  latest_verified_at: number | null;
5265
+ chain_type: "ethereum";
5266
5266
  wallet_client: "unknown";
5267
5267
  chain_id?: string | undefined;
5268
5268
  wallet_client_type?: string | undefined;
@@ -5277,10 +5277,10 @@ declare class SiweApi {
5277
5277
  } | {
5278
5278
  type: "wallet";
5279
5279
  address: string;
5280
- chain_type: "solana";
5281
5280
  verified_at: number;
5282
5281
  first_verified_at: number | null;
5283
5282
  latest_verified_at: number | null;
5283
+ chain_type: "solana";
5284
5284
  wallet_client: "unknown";
5285
5285
  wallet_client_type?: string | undefined;
5286
5286
  connector_type?: string | undefined;
@@ -5325,68 +5325,68 @@ declare class SiweApi {
5325
5325
  type: "wallet";
5326
5326
  id: string | null;
5327
5327
  address: string;
5328
- chain_type: "ethereum";
5329
- wallet_index: number;
5330
5328
  chain_id: string;
5331
5329
  verified_at: number;
5332
5330
  first_verified_at: number | null;
5333
5331
  latest_verified_at: number | null;
5332
+ chain_type: "ethereum";
5334
5333
  wallet_client: "privy";
5335
5334
  wallet_client_type: "privy";
5336
5335
  connector_type: "embedded";
5337
5336
  imported: boolean;
5338
5337
  delegated: boolean;
5338
+ wallet_index: number;
5339
5339
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5340
5340
  } | {
5341
5341
  type: "wallet";
5342
5342
  id: string | null;
5343
5343
  address: string;
5344
- chain_type: "solana";
5345
- wallet_index: number;
5346
5344
  public_key: string;
5347
5345
  chain_id: string;
5348
5346
  verified_at: number;
5349
5347
  first_verified_at: number | null;
5350
5348
  latest_verified_at: number | null;
5349
+ chain_type: "solana";
5351
5350
  wallet_client: "privy";
5352
5351
  wallet_client_type: "privy";
5353
5352
  connector_type: "embedded";
5354
5353
  imported: boolean;
5355
5354
  delegated: boolean;
5355
+ wallet_index: number;
5356
5356
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5357
5357
  } | {
5358
5358
  type: "wallet";
5359
5359
  id: string | null;
5360
5360
  address: string;
5361
- chain_type: "bitcoin-segwit";
5362
- wallet_index: number;
5363
5361
  public_key: string;
5364
5362
  chain_id: string;
5365
5363
  verified_at: number;
5366
5364
  first_verified_at: number | null;
5367
5365
  latest_verified_at: number | null;
5366
+ chain_type: "bitcoin-segwit";
5368
5367
  wallet_client: "privy";
5369
5368
  wallet_client_type: "privy";
5370
5369
  connector_type: "embedded";
5371
5370
  imported: boolean;
5372
5371
  delegated: boolean;
5372
+ wallet_index: number;
5373
5373
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5374
5374
  } | {
5375
5375
  type: "wallet";
5376
5376
  id: string | null;
5377
5377
  address: string;
5378
- chain_type: "bitcoin-taproot";
5379
- wallet_index: number;
5380
5378
  public_key: string;
5381
5379
  chain_id: string;
5382
5380
  verified_at: number;
5383
5381
  first_verified_at: number | null;
5384
5382
  latest_verified_at: number | null;
5383
+ chain_type: "bitcoin-taproot";
5385
5384
  wallet_client: "privy";
5386
5385
  wallet_client_type: "privy";
5387
5386
  connector_type: "embedded";
5388
5387
  imported: boolean;
5389
5388
  delegated: boolean;
5389
+ wallet_index: number;
5390
5390
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5391
5391
  } | {
5392
5392
  type: "google_oauth";
@@ -5572,10 +5572,10 @@ declare class SiwsApi {
5572
5572
  } | {
5573
5573
  type: "wallet";
5574
5574
  address: string;
5575
- chain_type: "ethereum";
5576
5575
  verified_at: number;
5577
5576
  first_verified_at: number | null;
5578
5577
  latest_verified_at: number | null;
5578
+ chain_type: "ethereum";
5579
5579
  wallet_client: "unknown";
5580
5580
  chain_id?: string | undefined;
5581
5581
  wallet_client_type?: string | undefined;
@@ -5590,10 +5590,10 @@ declare class SiwsApi {
5590
5590
  } | {
5591
5591
  type: "wallet";
5592
5592
  address: string;
5593
- chain_type: "solana";
5594
5593
  verified_at: number;
5595
5594
  first_verified_at: number | null;
5596
5595
  latest_verified_at: number | null;
5596
+ chain_type: "solana";
5597
5597
  wallet_client: "unknown";
5598
5598
  wallet_client_type?: string | undefined;
5599
5599
  connector_type?: string | undefined;
@@ -5638,68 +5638,68 @@ declare class SiwsApi {
5638
5638
  type: "wallet";
5639
5639
  id: string | null;
5640
5640
  address: string;
5641
- chain_type: "ethereum";
5642
- wallet_index: number;
5643
5641
  chain_id: string;
5644
5642
  verified_at: number;
5645
5643
  first_verified_at: number | null;
5646
5644
  latest_verified_at: number | null;
5645
+ chain_type: "ethereum";
5647
5646
  wallet_client: "privy";
5648
5647
  wallet_client_type: "privy";
5649
5648
  connector_type: "embedded";
5650
5649
  imported: boolean;
5651
5650
  delegated: boolean;
5651
+ wallet_index: number;
5652
5652
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5653
5653
  } | {
5654
5654
  type: "wallet";
5655
5655
  id: string | null;
5656
5656
  address: string;
5657
- chain_type: "solana";
5658
- wallet_index: number;
5659
5657
  public_key: string;
5660
5658
  chain_id: string;
5661
5659
  verified_at: number;
5662
5660
  first_verified_at: number | null;
5663
5661
  latest_verified_at: number | null;
5662
+ chain_type: "solana";
5664
5663
  wallet_client: "privy";
5665
5664
  wallet_client_type: "privy";
5666
5665
  connector_type: "embedded";
5667
5666
  imported: boolean;
5668
5667
  delegated: boolean;
5668
+ wallet_index: number;
5669
5669
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5670
5670
  } | {
5671
5671
  type: "wallet";
5672
5672
  id: string | null;
5673
5673
  address: string;
5674
- chain_type: "bitcoin-segwit";
5675
- wallet_index: number;
5676
5674
  public_key: string;
5677
5675
  chain_id: string;
5678
5676
  verified_at: number;
5679
5677
  first_verified_at: number | null;
5680
5678
  latest_verified_at: number | null;
5679
+ chain_type: "bitcoin-segwit";
5681
5680
  wallet_client: "privy";
5682
5681
  wallet_client_type: "privy";
5683
5682
  connector_type: "embedded";
5684
5683
  imported: boolean;
5685
5684
  delegated: boolean;
5685
+ wallet_index: number;
5686
5686
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5687
5687
  } | {
5688
5688
  type: "wallet";
5689
5689
  id: string | null;
5690
5690
  address: string;
5691
- chain_type: "bitcoin-taproot";
5692
- wallet_index: number;
5693
5691
  public_key: string;
5694
5692
  chain_id: string;
5695
5693
  verified_at: number;
5696
5694
  first_verified_at: number | null;
5697
5695
  latest_verified_at: number | null;
5696
+ chain_type: "bitcoin-taproot";
5698
5697
  wallet_client: "privy";
5699
5698
  wallet_client_type: "privy";
5700
5699
  connector_type: "embedded";
5701
5700
  imported: boolean;
5702
5701
  delegated: boolean;
5702
+ wallet_index: number;
5703
5703
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5704
5704
  } | {
5705
5705
  type: "google_oauth";
@@ -5857,10 +5857,10 @@ declare class SiwsApi {
5857
5857
  } | {
5858
5858
  type: "wallet";
5859
5859
  address: string;
5860
- chain_type: "ethereum";
5861
5860
  verified_at: number;
5862
5861
  first_verified_at: number | null;
5863
5862
  latest_verified_at: number | null;
5863
+ chain_type: "ethereum";
5864
5864
  wallet_client: "unknown";
5865
5865
  chain_id?: string | undefined;
5866
5866
  wallet_client_type?: string | undefined;
@@ -5875,10 +5875,10 @@ declare class SiwsApi {
5875
5875
  } | {
5876
5876
  type: "wallet";
5877
5877
  address: string;
5878
- chain_type: "solana";
5879
5878
  verified_at: number;
5880
5879
  first_verified_at: number | null;
5881
5880
  latest_verified_at: number | null;
5881
+ chain_type: "solana";
5882
5882
  wallet_client: "unknown";
5883
5883
  wallet_client_type?: string | undefined;
5884
5884
  connector_type?: string | undefined;
@@ -5923,68 +5923,68 @@ declare class SiwsApi {
5923
5923
  type: "wallet";
5924
5924
  id: string | null;
5925
5925
  address: string;
5926
- chain_type: "ethereum";
5927
- wallet_index: number;
5928
5926
  chain_id: string;
5929
5927
  verified_at: number;
5930
5928
  first_verified_at: number | null;
5931
5929
  latest_verified_at: number | null;
5930
+ chain_type: "ethereum";
5932
5931
  wallet_client: "privy";
5933
5932
  wallet_client_type: "privy";
5934
5933
  connector_type: "embedded";
5935
5934
  imported: boolean;
5936
5935
  delegated: boolean;
5936
+ wallet_index: number;
5937
5937
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5938
5938
  } | {
5939
5939
  type: "wallet";
5940
5940
  id: string | null;
5941
5941
  address: string;
5942
- chain_type: "solana";
5943
- wallet_index: number;
5944
5942
  public_key: string;
5945
5943
  chain_id: string;
5946
5944
  verified_at: number;
5947
5945
  first_verified_at: number | null;
5948
5946
  latest_verified_at: number | null;
5947
+ chain_type: "solana";
5949
5948
  wallet_client: "privy";
5950
5949
  wallet_client_type: "privy";
5951
5950
  connector_type: "embedded";
5952
5951
  imported: boolean;
5953
5952
  delegated: boolean;
5953
+ wallet_index: number;
5954
5954
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5955
5955
  } | {
5956
5956
  type: "wallet";
5957
5957
  id: string | null;
5958
5958
  address: string;
5959
- chain_type: "bitcoin-segwit";
5960
- wallet_index: number;
5961
5959
  public_key: string;
5962
5960
  chain_id: string;
5963
5961
  verified_at: number;
5964
5962
  first_verified_at: number | null;
5965
5963
  latest_verified_at: number | null;
5964
+ chain_type: "bitcoin-segwit";
5966
5965
  wallet_client: "privy";
5967
5966
  wallet_client_type: "privy";
5968
5967
  connector_type: "embedded";
5969
5968
  imported: boolean;
5970
5969
  delegated: boolean;
5970
+ wallet_index: number;
5971
5971
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5972
5972
  } | {
5973
5973
  type: "wallet";
5974
5974
  id: string | null;
5975
5975
  address: string;
5976
- chain_type: "bitcoin-taproot";
5977
- wallet_index: number;
5978
5976
  public_key: string;
5979
5977
  chain_id: string;
5980
5978
  verified_at: number;
5981
5979
  first_verified_at: number | null;
5982
5980
  latest_verified_at: number | null;
5981
+ chain_type: "bitcoin-taproot";
5983
5982
  wallet_client: "privy";
5984
5983
  wallet_client_type: "privy";
5985
5984
  connector_type: "embedded";
5986
5985
  imported: boolean;
5987
5986
  delegated: boolean;
5987
+ wallet_index: number;
5988
5988
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
5989
5989
  } | {
5990
5990
  type: "google_oauth";
@@ -6177,10 +6177,10 @@ declare class SmartWalletApi {
6177
6177
  } | {
6178
6178
  type: "wallet";
6179
6179
  address: string;
6180
- chain_type: "ethereum";
6181
6180
  verified_at: number;
6182
6181
  first_verified_at: number | null;
6183
6182
  latest_verified_at: number | null;
6183
+ chain_type: "ethereum";
6184
6184
  wallet_client: "unknown";
6185
6185
  chain_id?: string | undefined;
6186
6186
  wallet_client_type?: string | undefined;
@@ -6195,10 +6195,10 @@ declare class SmartWalletApi {
6195
6195
  } | {
6196
6196
  type: "wallet";
6197
6197
  address: string;
6198
- chain_type: "solana";
6199
6198
  verified_at: number;
6200
6199
  first_verified_at: number | null;
6201
6200
  latest_verified_at: number | null;
6201
+ chain_type: "solana";
6202
6202
  wallet_client: "unknown";
6203
6203
  wallet_client_type?: string | undefined;
6204
6204
  connector_type?: string | undefined;
@@ -6243,68 +6243,68 @@ declare class SmartWalletApi {
6243
6243
  type: "wallet";
6244
6244
  id: string | null;
6245
6245
  address: string;
6246
- chain_type: "ethereum";
6247
- wallet_index: number;
6248
6246
  chain_id: string;
6249
6247
  verified_at: number;
6250
6248
  first_verified_at: number | null;
6251
6249
  latest_verified_at: number | null;
6250
+ chain_type: "ethereum";
6252
6251
  wallet_client: "privy";
6253
6252
  wallet_client_type: "privy";
6254
6253
  connector_type: "embedded";
6255
6254
  imported: boolean;
6256
6255
  delegated: boolean;
6256
+ wallet_index: number;
6257
6257
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
6258
6258
  } | {
6259
6259
  type: "wallet";
6260
6260
  id: string | null;
6261
6261
  address: string;
6262
- chain_type: "solana";
6263
- wallet_index: number;
6264
6262
  public_key: string;
6265
6263
  chain_id: string;
6266
6264
  verified_at: number;
6267
6265
  first_verified_at: number | null;
6268
6266
  latest_verified_at: number | null;
6267
+ chain_type: "solana";
6269
6268
  wallet_client: "privy";
6270
6269
  wallet_client_type: "privy";
6271
6270
  connector_type: "embedded";
6272
6271
  imported: boolean;
6273
6272
  delegated: boolean;
6273
+ wallet_index: number;
6274
6274
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
6275
6275
  } | {
6276
6276
  type: "wallet";
6277
6277
  id: string | null;
6278
6278
  address: string;
6279
- chain_type: "bitcoin-segwit";
6280
- wallet_index: number;
6281
6279
  public_key: string;
6282
6280
  chain_id: string;
6283
6281
  verified_at: number;
6284
6282
  first_verified_at: number | null;
6285
6283
  latest_verified_at: number | null;
6284
+ chain_type: "bitcoin-segwit";
6286
6285
  wallet_client: "privy";
6287
6286
  wallet_client_type: "privy";
6288
6287
  connector_type: "embedded";
6289
6288
  imported: boolean;
6290
6289
  delegated: boolean;
6290
+ wallet_index: number;
6291
6291
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
6292
6292
  } | {
6293
6293
  type: "wallet";
6294
6294
  id: string | null;
6295
6295
  address: string;
6296
- chain_type: "bitcoin-taproot";
6297
- wallet_index: number;
6298
6296
  public_key: string;
6299
6297
  chain_id: string;
6300
6298
  verified_at: number;
6301
6299
  first_verified_at: number | null;
6302
6300
  latest_verified_at: number | null;
6301
+ chain_type: "bitcoin-taproot";
6303
6302
  wallet_client: "privy";
6304
6303
  wallet_client_type: "privy";
6305
6304
  connector_type: "embedded";
6306
6305
  imported: boolean;
6307
6306
  delegated: boolean;
6307
+ wallet_index: number;
6308
6308
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
6309
6309
  } | {
6310
6310
  type: "google_oauth";
@@ -7174,10 +7174,10 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
7174
7174
  } | {
7175
7175
  type: "wallet";
7176
7176
  address: string;
7177
- chain_type: "ethereum";
7178
7177
  verified_at: number;
7179
7178
  first_verified_at: number | null;
7180
7179
  latest_verified_at: number | null;
7180
+ chain_type: "ethereum";
7181
7181
  wallet_client: "unknown";
7182
7182
  chain_id?: string | undefined;
7183
7183
  wallet_client_type?: string | undefined;
@@ -7192,10 +7192,10 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
7192
7192
  } | {
7193
7193
  type: "wallet";
7194
7194
  address: string;
7195
- chain_type: "solana";
7196
7195
  verified_at: number;
7197
7196
  first_verified_at: number | null;
7198
7197
  latest_verified_at: number | null;
7198
+ chain_type: "solana";
7199
7199
  wallet_client: "unknown";
7200
7200
  wallet_client_type?: string | undefined;
7201
7201
  connector_type?: string | undefined;
@@ -7240,68 +7240,68 @@ declare const delegateWallet: (client: Privy) => ({ address, chainType }: Delega
7240
7240
  type: "wallet";
7241
7241
  id: string | null;
7242
7242
  address: string;
7243
- chain_type: "ethereum";
7244
- wallet_index: number;
7245
7243
  chain_id: string;
7246
7244
  verified_at: number;
7247
7245
  first_verified_at: number | null;
7248
7246
  latest_verified_at: number | null;
7247
+ chain_type: "ethereum";
7249
7248
  wallet_client: "privy";
7250
7249
  wallet_client_type: "privy";
7251
7250
  connector_type: "embedded";
7252
7251
  imported: boolean;
7253
7252
  delegated: boolean;
7253
+ wallet_index: number;
7254
7254
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7255
7255
  } | {
7256
7256
  type: "wallet";
7257
7257
  id: string | null;
7258
7258
  address: string;
7259
- chain_type: "solana";
7260
- wallet_index: number;
7261
7259
  public_key: string;
7262
7260
  chain_id: string;
7263
7261
  verified_at: number;
7264
7262
  first_verified_at: number | null;
7265
7263
  latest_verified_at: number | null;
7264
+ chain_type: "solana";
7266
7265
  wallet_client: "privy";
7267
7266
  wallet_client_type: "privy";
7268
7267
  connector_type: "embedded";
7269
7268
  imported: boolean;
7270
7269
  delegated: boolean;
7270
+ wallet_index: number;
7271
7271
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7272
7272
  } | {
7273
7273
  type: "wallet";
7274
7274
  id: string | null;
7275
7275
  address: string;
7276
- chain_type: "bitcoin-segwit";
7277
- wallet_index: number;
7278
7276
  public_key: string;
7279
7277
  chain_id: string;
7280
7278
  verified_at: number;
7281
7279
  first_verified_at: number | null;
7282
7280
  latest_verified_at: number | null;
7281
+ chain_type: "bitcoin-segwit";
7283
7282
  wallet_client: "privy";
7284
7283
  wallet_client_type: "privy";
7285
7284
  connector_type: "embedded";
7286
7285
  imported: boolean;
7287
7286
  delegated: boolean;
7287
+ wallet_index: number;
7288
7288
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7289
7289
  } | {
7290
7290
  type: "wallet";
7291
7291
  id: string | null;
7292
7292
  address: string;
7293
- chain_type: "bitcoin-taproot";
7294
- wallet_index: number;
7295
7293
  public_key: string;
7296
7294
  chain_id: string;
7297
7295
  verified_at: number;
7298
7296
  first_verified_at: number | null;
7299
7297
  latest_verified_at: number | null;
7298
+ chain_type: "bitcoin-taproot";
7300
7299
  wallet_client: "privy";
7301
7300
  wallet_client_type: "privy";
7302
7301
  connector_type: "embedded";
7303
7302
  imported: boolean;
7304
7303
  delegated: boolean;
7304
+ wallet_index: number;
7305
7305
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7306
7306
  } | {
7307
7307
  type: "google_oauth";
@@ -7445,10 +7445,10 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
7445
7445
  } | {
7446
7446
  type: "wallet";
7447
7447
  address: string;
7448
- chain_type: "ethereum";
7449
7448
  verified_at: number;
7450
7449
  first_verified_at: number | null;
7451
7450
  latest_verified_at: number | null;
7451
+ chain_type: "ethereum";
7452
7452
  wallet_client: "unknown";
7453
7453
  chain_id?: string | undefined;
7454
7454
  wallet_client_type?: string | undefined;
@@ -7463,10 +7463,10 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
7463
7463
  } | {
7464
7464
  type: "wallet";
7465
7465
  address: string;
7466
- chain_type: "solana";
7467
7466
  verified_at: number;
7468
7467
  first_verified_at: number | null;
7469
7468
  latest_verified_at: number | null;
7469
+ chain_type: "solana";
7470
7470
  wallet_client: "unknown";
7471
7471
  wallet_client_type?: string | undefined;
7472
7472
  connector_type?: string | undefined;
@@ -7511,68 +7511,68 @@ declare const revokeWallets: (client: Privy) => () => Promise<{
7511
7511
  type: "wallet";
7512
7512
  id: string | null;
7513
7513
  address: string;
7514
- chain_type: "ethereum";
7515
- wallet_index: number;
7516
7514
  chain_id: string;
7517
7515
  verified_at: number;
7518
7516
  first_verified_at: number | null;
7519
7517
  latest_verified_at: number | null;
7518
+ chain_type: "ethereum";
7520
7519
  wallet_client: "privy";
7521
7520
  wallet_client_type: "privy";
7522
7521
  connector_type: "embedded";
7523
7522
  imported: boolean;
7524
7523
  delegated: boolean;
7524
+ wallet_index: number;
7525
7525
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7526
7526
  } | {
7527
7527
  type: "wallet";
7528
7528
  id: string | null;
7529
7529
  address: string;
7530
- chain_type: "solana";
7531
- wallet_index: number;
7532
7530
  public_key: string;
7533
7531
  chain_id: string;
7534
7532
  verified_at: number;
7535
7533
  first_verified_at: number | null;
7536
7534
  latest_verified_at: number | null;
7535
+ chain_type: "solana";
7537
7536
  wallet_client: "privy";
7538
7537
  wallet_client_type: "privy";
7539
7538
  connector_type: "embedded";
7540
7539
  imported: boolean;
7541
7540
  delegated: boolean;
7541
+ wallet_index: number;
7542
7542
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7543
7543
  } | {
7544
7544
  type: "wallet";
7545
7545
  id: string | null;
7546
7546
  address: string;
7547
- chain_type: "bitcoin-segwit";
7548
- wallet_index: number;
7549
7547
  public_key: string;
7550
7548
  chain_id: string;
7551
7549
  verified_at: number;
7552
7550
  first_verified_at: number | null;
7553
7551
  latest_verified_at: number | null;
7552
+ chain_type: "bitcoin-segwit";
7554
7553
  wallet_client: "privy";
7555
7554
  wallet_client_type: "privy";
7556
7555
  connector_type: "embedded";
7557
7556
  imported: boolean;
7558
7557
  delegated: boolean;
7558
+ wallet_index: number;
7559
7559
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7560
7560
  } | {
7561
7561
  type: "wallet";
7562
7562
  id: string | null;
7563
7563
  address: string;
7564
- chain_type: "bitcoin-taproot";
7565
- wallet_index: number;
7566
7564
  public_key: string;
7567
7565
  chain_id: string;
7568
7566
  verified_at: number;
7569
7567
  first_verified_at: number | null;
7570
7568
  latest_verified_at: number | null;
7569
+ chain_type: "bitcoin-taproot";
7571
7570
  wallet_client: "privy";
7572
7571
  wallet_client_type: "privy";
7573
7572
  connector_type: "embedded";
7574
7573
  imported: boolean;
7575
7574
  delegated: boolean;
7575
+ wallet_index: number;
7576
7576
  recovery_method: "user-passcode" | "google-drive" | "icloud" | "privy" | "recovery-encryption-key" | "privy-v2";
7577
7577
  } | {
7578
7578
  type: "google_oauth";
@@ -7819,32 +7819,81 @@ declare namespace index {
7819
7819
  export { type index_LinkWithCrossAppAuthDependencies as LinkWithCrossAppAuthDependencies, type index_LinkWithCrossAppAuthInput as LinkWithCrossAppAuthInput, type index_LinkWithCrossAppAuthOutput as LinkWithCrossAppAuthOutput, type index_LoginWithCrossAppAuthDependencies as LoginWithCrossAppAuthDependencies, type index_LoginWithCrossAppAuthInput as LoginWithCrossAppAuthInput, type index_LoginWithCrossAppAuthOutput as LoginWithCrossAppAuthOutput, index_linkWithCrossAppAuth as linkWithCrossAppAuth, index_loginWithCrossAppAuth as loginWithCrossAppAuth, index$1 as wallet };
7820
7820
  }
7821
7821
 
7822
- type Input$1 = {
7822
+ type Input$2 = {
7823
7823
  request: WalletApiCreateInputType & {
7824
7824
  owner_id: string;
7825
7825
  };
7826
7826
  };
7827
- declare function create(
7828
- /** A instance of the Privy client */
7829
- client: Privy,
7830
- /** Request input */
7831
- { request }: Input$1): Promise<WalletApiCreateResponseType>;
7827
+ /**
7828
+ * Creates a new wallet through the Wallet API.
7829
+ *
7830
+ * @param client An instance of the Privy client
7831
+ * @param request The input to the Wallet API create request
7832
+ * @returns The Response from the Wallet API create request
7833
+ */
7834
+ declare function create(client: Privy, { request }: Input$2): Promise<WalletResponseType>;
7832
7835
 
7833
- type Input = WalletApiRpcInputType & {
7836
+ interface SignWalletRequestInput {
7837
+ /**
7838
+ * The base64 encoded payload to sign.
7839
+ */
7840
+ message: string;
7841
+ }
7842
+ interface SignWalletRequestOutput {
7843
+ /**
7844
+ * The base64 encoded signature of the input message.
7845
+ */
7846
+ signature: string;
7847
+ }
7848
+ /**
7849
+ * Signs a wallets API request for authorization.
7850
+ */
7851
+ type SignWalletRequest = (input: SignWalletRequestInput) => Promise<SignWalletRequestOutput>;
7852
+
7853
+ type Input$1 = WalletApiRpcInputType & {
7834
7854
  wallet_id: string;
7835
7855
  };
7836
7856
  /**
7837
- * TODO: docs for this. Privy Wallet API rpc request logic.
7857
+ * Executes a Wallet API RPC request.
7838
7858
  *
7839
- * @param client
7840
- * @param sign
7841
- * @param param2
7842
- * @returns
7859
+ * @param client An instance of the Privy client
7860
+ * @param sign A function that signs a wallet request
7861
+ * @param input The input to the Wallet API RPC request
7862
+ * @returns The response from the Wallet API RPC request
7843
7863
  */
7844
- declare function rpc(client: Privy, sign: (o: {
7845
- message: string;
7846
- }) => Promise<{
7847
- signature: string;
7848
- }>, { wallet_id, ...request }: Input): Promise<WalletApiRpcResponseType>;
7864
+ declare function rpc(client: Privy, sign: SignWalletRequest, { wallet_id, ...request }: Input$1): Promise<WalletApiRpcResponseType>;
7865
+
7866
+ /**
7867
+ * Fetches a wallet through the Wallet API.
7868
+ *
7869
+ * @param client An instance of the Privy client
7870
+ * @param wallet_id The ID of the wallet to fetch
7871
+ * @returns The response from the Wallet API get request
7872
+ */
7873
+ declare function getWallet(client: Privy, { wallet_id }: {
7874
+ wallet_id: string;
7875
+ }): Promise<WalletResponseType>;
7876
+
7877
+ type Input = Pick<WalletUpdateInputType, 'additional_signers'>;
7878
+ /**
7879
+ * Updates a wallet through the Wallet API.
7880
+ *
7881
+ * @param client An instance of the Privy client
7882
+ * @param wallet_id The ID of the wallet to update
7883
+ * @param sign A function that signs a wallet request
7884
+ * @param input The input to the Wallet API update request
7885
+ * @returns The response from the Wallet API update request
7886
+ */
7887
+ declare function updateWallet(client: Privy, { wallet_id }: {
7888
+ wallet_id: string;
7889
+ }, sign: SignWalletRequest, input: Input): Promise<WalletResponseType>;
7890
+
7891
+ /**
7892
+ * Determines if a given wallet account is built on the unified stack.
7893
+ *
7894
+ * @param account an embedded wallet account linked to the user
7895
+ * @returns whether the wallet is a user-owned server wallet
7896
+ */
7897
+ declare const isUnifiedWallet: (account: PrivyEmbeddedWalletAccount) => account is PrivyUnifiedWalletAccount;
7849
7898
 
7850
- export { ALL_WALLET_CLIENT_TYPES, type Cluster, type CoinbaseAssetId, type CoinbaseWalletClientType, type ConnectorType, type CreateSiwsMessageOpts, type EIP1193Provider, EmbeddedBitcoinWalletProvider, EmbeddedProviderError, type EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, type ExternalWallet, type ExternalWalletMetadata, type FundingMethod, type FundingProvider, InMemoryCache, type InjectedWalletClientType, LocalStorage, type LogLevel, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, type OnNeedsRecovery, type PaymentOption, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, type PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, type PrivyEmbeddedWalletProvider, PrivyProviderRpcError, ProviderErrors, type Quantity, QuantityToBigNumber, SUPPORTED_CONNECTOR_TYPES, type SetRecoveryInput, SolanaClient, type SolanaCluster, SolanaUsdcAddressMap, type Storage, type UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WalletBranding, type WalletClientType, type WalletConnectWalletClientType, calculateTotalGasEstimate, chainToMoonpayCurrency, convertBigNumberish, countryCodesAndNumbers, create, createErrorFormatter, createSiwsMessage, index as crossApp, Privy as default, index$2 as delegatedActions, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, lastFourDigits, phoneNumberTypingFormatter, populateTransactionRequest, rpc, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toEthersUnsignedTransaction, toObjectKeys, validatePhoneNumber };
7899
+ export { ALL_WALLET_CLIENT_TYPES, type Cluster, type CoinbaseAssetId, type CoinbaseWalletClientType, type ConnectorType, type CreateSiwsMessageOpts, type EIP1193Provider, EmbeddedBitcoinWalletProvider, EmbeddedProviderError, type EmbeddedWalletClientType, type EmbeddedWalletConfig, type EmbeddedWalletRecoveryOptions, type EntropyIdVerifier, type ErrorMessageMap, type ExternalWallet, type ExternalWalletMetadata, type FundingMethod, type FundingProvider, InMemoryCache, type InjectedWalletClientType, LocalStorage, type LogLevel, type MfaMethod, type MfaPromise, type MfaSubmitArgs, type MfaSubmitPromise, MoonpayApiError, type MoonpayTransactionStatus, type MoonpayTransactionStatusResponse, type OnNeedsRecovery, type PaymentOption, type PreparedTransactionRequest, PrivyApiError, PrivyClientError, PrivyConnectorError, type PrivyEmbeddedSolanaWalletProvider, PrivyEmbeddedWalletErrorCode, type PrivyEmbeddedWalletProvider, PrivyProviderRpcError, ProviderErrors, type Quantity, QuantityToBigNumber, SUPPORTED_CONNECTOR_TYPES, type SetRecoveryInput, SolanaClient, type SolanaCluster, SolanaUsdcAddressMap, type Storage, type UnknownWalletClientType, type UnsignedTransactionRequest, type UnsignedTransactionRequestWithChainId, UsdcAddressMap, type WalletBranding, type WalletClientType, type WalletConnectWalletClientType, calculateTotalGasEstimate, chainToMoonpayCurrency, convertBigNumberish, countryCodesAndNumbers, create, createErrorFormatter, createSiwsMessage, index as crossApp, Privy as default, index$2 as delegatedActions, errorIndicatesMaxMfaRetries, errorIndicatesMfaCanceled, errorIndicatesMfaRateLimit, errorIndicatesMfaTimeout, errorIndicatesMfaVerificationFailed, errorIndicatesRecoveryIsNeeded, formatLamportsAmount, formatPhoneNumber, formatTokenAmount, formatWalletAddress, formatWeiAmount, fundingMethodToMoonpayPaymentMethod, getAllUserEmbeddedBitcoinWallets, getAllUserEmbeddedEthereumWallets, getAllUserEmbeddedSolanaWallets, getCoinbaseOnRampUrl, getEntropyDetailsFromAccount, getEntropyDetailsFromUser, getIsTokenUsdc, getJsonRpcEndpointFromChain, getPhoneCountryCodeAndNumber, getPlaceholderPhoneNumber, getSolanaClusterDisplayName, getSolanaRpcEndpointForCluster, getSolanaUsdcMintAddressForCluster, getUserEmbeddedEthereumWallet, getUserEmbeddedSolanaWallet, getUserEmbeddedWallet, getUserSmartWallet, getWallet, isSupportedChainIdForCoinbaseOnramp, isSupportedChainIdForMoonpay, isUnifiedWallet, lastFourDigits, phoneNumberTypingFormatter, populateTransactionRequest, rpc, throwIfInvalidRecoveryUpgradePath, toCoinbaseAssetId, toCoinbaseBlockchainFromChainId, toEthersUnsignedTransaction, toObjectKeys, updateWallet, validatePhoneNumber };