@privy-io/api-types 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/client.d.mts +19 -19
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -19
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/internal/utils/env.js +2 -2
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs +2 -2
- package/internal/utils/env.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +16 -2
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +16 -2
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +14 -14
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +14 -14
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +50 -50
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +50 -50
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/index.d.mts +11 -11
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -11
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +2 -2
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +2 -2
- package/resources/intents.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +52 -1
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +52 -1
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/policies.d.mts +223 -112
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +223 -112
- package/resources/policies.d.ts.map +1 -1
- package/resources/swaps.d.mts +3 -3
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +3 -3
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +10 -20
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +10 -20
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +199 -199
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +199 -199
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +255 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +255 -3
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/balance.d.mts +2 -1
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +2 -1
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +10 -30
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +10 -30
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +222 -116
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +222 -116
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +6 -5
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +6 -5
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +798 -93
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +798 -93
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +163 -35
- package/src/internal/utils/env.ts +2 -2
- package/src/resources/apps.ts +24 -1
- package/src/resources/client-auth.ts +17 -17
- package/src/resources/embedded-wallets.ts +59 -59
- package/src/resources/index.ts +92 -31
- package/src/resources/intents.ts +2 -2
- package/src/resources/kraken-embed.ts +105 -0
- package/src/resources/policies.ts +310 -181
- package/src/resources/swaps.ts +4 -4
- package/src/resources/transactions.ts +11 -38
- package/src/resources/users.ts +724 -724
- package/src/resources/wallet-actions.ts +324 -2
- package/src/resources/wallets/balance.ts +2 -1
- package/src/resources/wallets/index.ts +13 -2
- package/src/resources/wallets/transactions.ts +10 -88
- package/src/resources/wallets/wallets.ts +319 -136
- package/src/resources/webhooks.ts +1021 -141
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2,6 +2,7 @@ import { APIResource } from "../../core/resource.mjs";
|
|
|
2
2
|
import * as WalletsAPI from "./wallets.mjs";
|
|
3
3
|
import * as AppsAPI from "../apps.mjs";
|
|
4
4
|
import * as SharedAPI from "../shared.mjs";
|
|
5
|
+
import * as UsersAPI from "../users.mjs";
|
|
5
6
|
import * as BalanceAPI from "./balance.mjs";
|
|
6
7
|
import { Balance, BalanceGetParams, BalanceGetResponse } from "./balance.mjs";
|
|
7
8
|
import * as TransactionsAPI from "./transactions.mjs";
|
|
@@ -40,14 +41,15 @@ export declare class Wallets extends APIResource {
|
|
|
40
41
|
*
|
|
41
42
|
* @example
|
|
42
43
|
* ```ts
|
|
43
|
-
* const
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
44
|
+
* const walletExportResponseBody =
|
|
45
|
+
* await client.wallets._export('wallet_id', {
|
|
46
|
+
* encryption_type: 'HPKE',
|
|
47
|
+
* recipient_public_key:
|
|
48
|
+
* 'BDAZLOIdTaPycEYkgG0MvCzbIKJLli/yWkAV5yCa9yOsZ4JsrLweA5MnP8YIiY4k/RRzC+APhhO+P+Hoz/rt7Go=',
|
|
49
|
+
* });
|
|
48
50
|
* ```
|
|
49
51
|
*/
|
|
50
|
-
_export(walletID: string, params: WalletExportParams, options?: RequestOptions): APIPromise<
|
|
52
|
+
_export(walletID: string, params: WalletExportParams, options?: RequestOptions): APIPromise<WalletExportResponseBody>;
|
|
51
53
|
/**
|
|
52
54
|
* Initialize a wallet import. Complete by submitting the import.
|
|
53
55
|
*
|
|
@@ -172,11 +174,11 @@ export interface WalletRevokeResponse {
|
|
|
172
174
|
/**
|
|
173
175
|
* The wallet chain types that support curve-based signing.
|
|
174
176
|
*/
|
|
175
|
-
export type CurveSigningChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet';
|
|
177
|
+
export type CurveSigningChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'bitcoin-taproot' | 'near' | 'ton' | 'starknet';
|
|
176
178
|
/**
|
|
177
179
|
* The wallet chain types that are not first class chains.
|
|
178
180
|
*/
|
|
179
|
-
export type ExtendedChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet' | 'spark';
|
|
181
|
+
export type ExtendedChainType = 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'bitcoin-taproot' | 'near' | 'ton' | 'starknet' | 'spark';
|
|
180
182
|
/**
|
|
181
183
|
* The wallet chain types that offer first class support.
|
|
182
184
|
*/
|
|
@@ -184,7 +186,7 @@ export type FirstClassChainType = 'ethereum' | 'solana';
|
|
|
184
186
|
/**
|
|
185
187
|
* The wallet chain types.
|
|
186
188
|
*/
|
|
187
|
-
export type WalletChainType = 'ethereum' | 'solana' | 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'near' | 'ton' | 'starknet' | 'spark';
|
|
189
|
+
export type WalletChainType = 'ethereum' | 'solana' | 'cosmos' | 'stellar' | 'sui' | 'aptos' | 'movement' | 'tron' | 'bitcoin-segwit' | 'bitcoin-taproot' | 'near' | 'ton' | 'starknet' | 'spark';
|
|
188
190
|
/**
|
|
189
191
|
* The role of an authorization key, controlling what actions it can authorize on a
|
|
190
192
|
* wallet.
|
|
@@ -409,6 +411,7 @@ export interface WalletImportInitResponse {
|
|
|
409
411
|
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
410
412
|
*/
|
|
411
413
|
encryption_type: HpkeEncryption;
|
|
414
|
+
import_id?: string;
|
|
412
415
|
}
|
|
413
416
|
/**
|
|
414
417
|
* The AEAD algorithm used for HPKE encryption.
|
|
@@ -446,7 +449,7 @@ export type HDPath = string;
|
|
|
446
449
|
/**
|
|
447
450
|
* The signing algorithm used by the wallet.
|
|
448
451
|
*/
|
|
449
|
-
export type SigningAlgorithm = 'ECDSA' | 'EdDSA';
|
|
452
|
+
export type SigningAlgorithm = 'ECDSA' | 'EdDSA' | 'Schnorr';
|
|
450
453
|
/**
|
|
451
454
|
* A hex-encoded string prefixed with '0x'.
|
|
452
455
|
*/
|
|
@@ -1934,6 +1937,158 @@ export interface WalletAuthenticateRequestBody {
|
|
|
1934
1937
|
*/
|
|
1935
1938
|
user_jwt: string;
|
|
1936
1939
|
}
|
|
1940
|
+
/**
|
|
1941
|
+
* The input for private key wallets.
|
|
1942
|
+
*/
|
|
1943
|
+
export interface PrivateKeyInitInput {
|
|
1944
|
+
/**
|
|
1945
|
+
* The address of the wallet to import.
|
|
1946
|
+
*/
|
|
1947
|
+
address: string;
|
|
1948
|
+
/**
|
|
1949
|
+
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
1950
|
+
* `solana`.
|
|
1951
|
+
*/
|
|
1952
|
+
chain_type: WalletImportSupportedChains;
|
|
1953
|
+
/**
|
|
1954
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
1955
|
+
*/
|
|
1956
|
+
encryption_type: HpkeEncryption;
|
|
1957
|
+
entropy_type: 'private-key';
|
|
1958
|
+
}
|
|
1959
|
+
/**
|
|
1960
|
+
* The input for HD wallets.
|
|
1961
|
+
*/
|
|
1962
|
+
export interface HDInitInput {
|
|
1963
|
+
/**
|
|
1964
|
+
* The address of the wallet to import.
|
|
1965
|
+
*/
|
|
1966
|
+
address: string;
|
|
1967
|
+
/**
|
|
1968
|
+
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
1969
|
+
* `solana`.
|
|
1970
|
+
*/
|
|
1971
|
+
chain_type: WalletImportSupportedChains;
|
|
1972
|
+
/**
|
|
1973
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
1974
|
+
*/
|
|
1975
|
+
encryption_type: HpkeEncryption;
|
|
1976
|
+
/**
|
|
1977
|
+
* The entropy type of the wallet to import.
|
|
1978
|
+
*/
|
|
1979
|
+
entropy_type: 'hd';
|
|
1980
|
+
/**
|
|
1981
|
+
* The index of the wallet to import.
|
|
1982
|
+
*/
|
|
1983
|
+
index: number;
|
|
1984
|
+
}
|
|
1985
|
+
/**
|
|
1986
|
+
* The submission input for importing a private key wallet.
|
|
1987
|
+
*/
|
|
1988
|
+
export interface PrivateKeySubmitInput {
|
|
1989
|
+
/**
|
|
1990
|
+
* The address of the wallet to import.
|
|
1991
|
+
*/
|
|
1992
|
+
address: string;
|
|
1993
|
+
/**
|
|
1994
|
+
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
1995
|
+
* `solana`.
|
|
1996
|
+
*/
|
|
1997
|
+
chain_type: WalletImportSupportedChains;
|
|
1998
|
+
/**
|
|
1999
|
+
* The encrypted entropy of the wallet to import.
|
|
2000
|
+
*/
|
|
2001
|
+
ciphertext: string;
|
|
2002
|
+
/**
|
|
2003
|
+
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
2004
|
+
* use during decryption inside the TEE.
|
|
2005
|
+
*/
|
|
2006
|
+
encapsulated_key: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
2009
|
+
*/
|
|
2010
|
+
encryption_type: HpkeEncryption;
|
|
2011
|
+
entropy_type: 'private-key';
|
|
2012
|
+
/**
|
|
2013
|
+
* Optional HPKE configuration for wallet import decryption. These parameters allow
|
|
2014
|
+
* importing wallets encrypted by external providers that use different HPKE
|
|
2015
|
+
* configurations.
|
|
2016
|
+
*/
|
|
2017
|
+
hpke_config?: HpkeImportConfig;
|
|
2018
|
+
}
|
|
2019
|
+
/**
|
|
2020
|
+
* The submission input for importing an HD wallet.
|
|
2021
|
+
*/
|
|
2022
|
+
export interface HDSubmitInput {
|
|
2023
|
+
/**
|
|
2024
|
+
* The address of the wallet to import.
|
|
2025
|
+
*/
|
|
2026
|
+
address: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
2029
|
+
* `solana`.
|
|
2030
|
+
*/
|
|
2031
|
+
chain_type: WalletImportSupportedChains;
|
|
2032
|
+
/**
|
|
2033
|
+
* The encrypted entropy of the wallet to import.
|
|
2034
|
+
*/
|
|
2035
|
+
ciphertext: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
2038
|
+
* use during decryption inside the TEE.
|
|
2039
|
+
*/
|
|
2040
|
+
encapsulated_key: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
2043
|
+
*/
|
|
2044
|
+
encryption_type: HpkeEncryption;
|
|
2045
|
+
/**
|
|
2046
|
+
* The entropy type of the wallet to import.
|
|
2047
|
+
*/
|
|
2048
|
+
entropy_type: 'hd';
|
|
2049
|
+
/**
|
|
2050
|
+
* The index of the wallet to import.
|
|
2051
|
+
*/
|
|
2052
|
+
index: number;
|
|
2053
|
+
/**
|
|
2054
|
+
* Optional HPKE configuration for wallet import decryption. These parameters allow
|
|
2055
|
+
* importing wallets encrypted by external providers that use different HPKE
|
|
2056
|
+
* configurations.
|
|
2057
|
+
*/
|
|
2058
|
+
hpke_config?: HpkeImportConfig;
|
|
2059
|
+
}
|
|
2060
|
+
/**
|
|
2061
|
+
* Request body for exporting a wallet private key.
|
|
2062
|
+
*/
|
|
2063
|
+
export interface WalletExportRequestBody {
|
|
2064
|
+
/**
|
|
2065
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
2066
|
+
*/
|
|
2067
|
+
encryption_type: HpkeEncryption;
|
|
2068
|
+
/**
|
|
2069
|
+
* The base64-encoded encryption public key to encrypt the wallet private key with.
|
|
2070
|
+
*/
|
|
2071
|
+
recipient_public_key: string;
|
|
2072
|
+
export_seed_phrase?: boolean;
|
|
2073
|
+
}
|
|
2074
|
+
/**
|
|
2075
|
+
* Response body containing the encrypted wallet private key.
|
|
2076
|
+
*/
|
|
2077
|
+
export interface WalletExportResponseBody {
|
|
2078
|
+
/**
|
|
2079
|
+
* The encrypted private key.
|
|
2080
|
+
*/
|
|
2081
|
+
ciphertext: string;
|
|
2082
|
+
/**
|
|
2083
|
+
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
2084
|
+
* use during decryption.
|
|
2085
|
+
*/
|
|
2086
|
+
encapsulated_key: string;
|
|
2087
|
+
/**
|
|
2088
|
+
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
2089
|
+
*/
|
|
2090
|
+
encryption_type: HpkeEncryption;
|
|
2091
|
+
}
|
|
1937
2092
|
/**
|
|
1938
2093
|
* The source asset, amount, and chain for a token transfer.
|
|
1939
2094
|
*/
|
|
@@ -1968,7 +2123,7 @@ export interface TokenTransferDestination {
|
|
|
1968
2123
|
/**
|
|
1969
2124
|
* Request body for initiating a sponsored token transfer from an embedded wallet.
|
|
1970
2125
|
*/
|
|
1971
|
-
export interface
|
|
2126
|
+
export interface TransferRequestBody {
|
|
1972
2127
|
/**
|
|
1973
2128
|
* The destination address for a token transfer.
|
|
1974
2129
|
*/
|
|
@@ -1982,6 +2137,56 @@ export interface CreateTokenTransferRequest {
|
|
|
1982
2137
|
* SUI transaction commands allowlist for raw_sign endpoint policy evaluation
|
|
1983
2138
|
*/
|
|
1984
2139
|
export type SuiCommandName = 'TransferObjects' | 'SplitCoins' | 'MergeCoins';
|
|
2140
|
+
/**
|
|
2141
|
+
* A named asset on Ethereum-compatible chains.
|
|
2142
|
+
*/
|
|
2143
|
+
export type WalletEthereumAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb';
|
|
2144
|
+
/**
|
|
2145
|
+
* A named asset on Solana.
|
|
2146
|
+
*/
|
|
2147
|
+
export type WalletSolanaAsset = 'sol' | 'usdc' | 'eurc' | 'usdb';
|
|
2148
|
+
/**
|
|
2149
|
+
* A named asset supported across all chains.
|
|
2150
|
+
*/
|
|
2151
|
+
export type WalletAsset = 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol';
|
|
2152
|
+
/**
|
|
2153
|
+
* Details for a sent transfer transaction.
|
|
2154
|
+
*/
|
|
2155
|
+
export interface TransferSentTransactionDetail {
|
|
2156
|
+
asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
|
|
2157
|
+
chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
|
|
2158
|
+
display_values: {
|
|
2159
|
+
[key: string]: string;
|
|
2160
|
+
};
|
|
2161
|
+
raw_value: string;
|
|
2162
|
+
raw_value_decimals: number;
|
|
2163
|
+
recipient: string;
|
|
2164
|
+
recipient_privy_user_id: string | null;
|
|
2165
|
+
sender: string;
|
|
2166
|
+
sender_privy_user_id: string | null;
|
|
2167
|
+
type: 'transfer_sent';
|
|
2168
|
+
}
|
|
2169
|
+
/**
|
|
2170
|
+
* Details for a received transfer transaction.
|
|
2171
|
+
*/
|
|
2172
|
+
export interface TransferReceivedTransactionDetail {
|
|
2173
|
+
asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | (string & {});
|
|
2174
|
+
chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'zksync_era' | 'sepolia' | 'arbitrum_sepolia' | 'base_sepolia' | 'linea_testnet' | 'optimism_sepolia' | 'polygon_amoy' | 'solana_devnet' | 'solana_testnet';
|
|
2175
|
+
display_values: {
|
|
2176
|
+
[key: string]: string;
|
|
2177
|
+
};
|
|
2178
|
+
raw_value: string;
|
|
2179
|
+
raw_value_decimals: number;
|
|
2180
|
+
recipient: string;
|
|
2181
|
+
recipient_privy_user_id: string | null;
|
|
2182
|
+
sender: string;
|
|
2183
|
+
sender_privy_user_id: string | null;
|
|
2184
|
+
type: 'transfer_received';
|
|
2185
|
+
}
|
|
2186
|
+
/**
|
|
2187
|
+
* Details of a wallet transaction, varying by transaction type.
|
|
2188
|
+
*/
|
|
2189
|
+
export type TransactionDetail = TransferSentTransactionDetail | TransferReceivedTransactionDetail;
|
|
1985
2190
|
/**
|
|
1986
2191
|
* Input for registering or updating an application public signing key for
|
|
1987
2192
|
* API-based wallet actions.
|
|
@@ -2044,21 +2249,6 @@ export interface WalletAuthorizationHeaders {
|
|
|
2044
2249
|
*/
|
|
2045
2250
|
'privy-request-expiry'?: string;
|
|
2046
2251
|
}
|
|
2047
|
-
export interface WalletExportResponse {
|
|
2048
|
-
/**
|
|
2049
|
-
* The encrypted private key.
|
|
2050
|
-
*/
|
|
2051
|
-
ciphertext: string;
|
|
2052
|
-
/**
|
|
2053
|
-
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
2054
|
-
* use during decryption.
|
|
2055
|
-
*/
|
|
2056
|
-
encapsulated_key: string;
|
|
2057
|
-
/**
|
|
2058
|
-
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
2059
|
-
*/
|
|
2060
|
-
encryption_type: HpkeEncryption;
|
|
2061
|
-
}
|
|
2062
2252
|
export interface WalletInitImportResponse {
|
|
2063
2253
|
/**
|
|
2064
2254
|
* The base64-encoded encryption public key to encrypt the wallet entropy with.
|
|
@@ -3029,7 +3219,10 @@ export declare namespace WalletRpcParams {
|
|
|
3029
3219
|
}
|
|
3030
3220
|
}
|
|
3031
3221
|
export interface WalletSubmitImportParams {
|
|
3032
|
-
|
|
3222
|
+
/**
|
|
3223
|
+
* The submission input for importing an HD wallet.
|
|
3224
|
+
*/
|
|
3225
|
+
wallet: HDSubmitInput | PrivateKeySubmitInput;
|
|
3033
3226
|
/**
|
|
3034
3227
|
* Additional signers for the wallet.
|
|
3035
3228
|
*/
|
|
@@ -3059,77 +3252,6 @@ export interface WalletSubmitImportParams {
|
|
|
3059
3252
|
*/
|
|
3060
3253
|
policy_ids?: PolicyInput;
|
|
3061
3254
|
}
|
|
3062
|
-
export declare namespace WalletSubmitImportParams {
|
|
3063
|
-
interface HDSubmitInput {
|
|
3064
|
-
/**
|
|
3065
|
-
* The address of the wallet to import.
|
|
3066
|
-
*/
|
|
3067
|
-
address: string;
|
|
3068
|
-
/**
|
|
3069
|
-
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
3070
|
-
* `solana`.
|
|
3071
|
-
*/
|
|
3072
|
-
chain_type: WalletsAPI.WalletImportSupportedChains;
|
|
3073
|
-
/**
|
|
3074
|
-
* The encrypted entropy of the wallet to import.
|
|
3075
|
-
*/
|
|
3076
|
-
ciphertext: string;
|
|
3077
|
-
/**
|
|
3078
|
-
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
3079
|
-
* use during decryption inside the TEE.
|
|
3080
|
-
*/
|
|
3081
|
-
encapsulated_key: string;
|
|
3082
|
-
/**
|
|
3083
|
-
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
3084
|
-
*/
|
|
3085
|
-
encryption_type: WalletsAPI.HpkeEncryption;
|
|
3086
|
-
/**
|
|
3087
|
-
* The entropy type of the wallet to import.
|
|
3088
|
-
*/
|
|
3089
|
-
entropy_type: 'hd';
|
|
3090
|
-
/**
|
|
3091
|
-
* The index of the wallet to import.
|
|
3092
|
-
*/
|
|
3093
|
-
index: number;
|
|
3094
|
-
/**
|
|
3095
|
-
* Optional HPKE configuration for wallet import decryption. These parameters allow
|
|
3096
|
-
* importing wallets encrypted by external providers that use different HPKE
|
|
3097
|
-
* configurations.
|
|
3098
|
-
*/
|
|
3099
|
-
hpke_config?: WalletsAPI.HpkeImportConfig;
|
|
3100
|
-
}
|
|
3101
|
-
interface PrivateKeySubmitInput {
|
|
3102
|
-
/**
|
|
3103
|
-
* The address of the wallet to import.
|
|
3104
|
-
*/
|
|
3105
|
-
address: string;
|
|
3106
|
-
/**
|
|
3107
|
-
* The chain type of the wallet to import. Currently supports `ethereum` and
|
|
3108
|
-
* `solana`.
|
|
3109
|
-
*/
|
|
3110
|
-
chain_type: WalletsAPI.WalletImportSupportedChains;
|
|
3111
|
-
/**
|
|
3112
|
-
* The encrypted entropy of the wallet to import.
|
|
3113
|
-
*/
|
|
3114
|
-
ciphertext: string;
|
|
3115
|
-
/**
|
|
3116
|
-
* The base64-encoded encapsulated key that was generated during encryption, for
|
|
3117
|
-
* use during decryption inside the TEE.
|
|
3118
|
-
*/
|
|
3119
|
-
encapsulated_key: string;
|
|
3120
|
-
/**
|
|
3121
|
-
* The encryption type of the wallet to import. Currently only supports `HPKE`.
|
|
3122
|
-
*/
|
|
3123
|
-
encryption_type: WalletsAPI.HpkeEncryption;
|
|
3124
|
-
entropy_type: 'private-key';
|
|
3125
|
-
/**
|
|
3126
|
-
* Optional HPKE configuration for wallet import decryption. These parameters allow
|
|
3127
|
-
* importing wallets encrypted by external providers that use different HPKE
|
|
3128
|
-
* configurations.
|
|
3129
|
-
*/
|
|
3130
|
-
hpke_config?: WalletsAPI.HpkeImportConfig;
|
|
3131
|
-
}
|
|
3132
|
-
}
|
|
3133
3255
|
export interface WalletUpdateParams {
|
|
3134
3256
|
/**
|
|
3135
3257
|
* Body param: Additional signers for the wallet.
|
|
@@ -3194,23 +3316,7 @@ export declare namespace WalletCreateWalletsWithRecoveryParams {
|
|
|
3194
3316
|
subject_id: string;
|
|
3195
3317
|
}
|
|
3196
3318
|
interface RecoveryUser {
|
|
3197
|
-
linked_accounts: Array<
|
|
3198
|
-
}
|
|
3199
|
-
namespace RecoveryUser {
|
|
3200
|
-
interface UnionMember0 {
|
|
3201
|
-
/**
|
|
3202
|
-
* The email address of the user.
|
|
3203
|
-
*/
|
|
3204
|
-
address: string;
|
|
3205
|
-
type: 'email';
|
|
3206
|
-
}
|
|
3207
|
-
interface UnionMember1 {
|
|
3208
|
-
/**
|
|
3209
|
-
* The JWT subject ID of the user.
|
|
3210
|
-
*/
|
|
3211
|
-
custom_user_id: string;
|
|
3212
|
-
type: 'custom_auth';
|
|
3213
|
-
}
|
|
3319
|
+
linked_accounts: Array<UsersAPI.LinkedAccountEmailInput | UsersAPI.LinkedAccountCustomJwtInput>;
|
|
3214
3320
|
}
|
|
3215
3321
|
interface Wallet {
|
|
3216
3322
|
/**
|
|
@@ -3234,7 +3340,7 @@ export declare namespace WalletCreateWalletsWithRecoveryParams {
|
|
|
3234
3340
|
}
|
|
3235
3341
|
}
|
|
3236
3342
|
export declare namespace Wallets {
|
|
3237
|
-
export { type WalletRevokeResponse as WalletRevokeResponse, type CurveSigningChainType as CurveSigningChainType, type ExtendedChainType as ExtendedChainType, type FirstClassChainType as FirstClassChainType, type WalletChainType as WalletChainType, type AuthorizationKeyRole as AuthorizationKeyRole, type WalletEntropyType as WalletEntropyType, type SolanaWalletDerivationStrategy as SolanaWalletDerivationStrategy, type PolicyInput as PolicyInput, type AdditionalSignerItemInput as AdditionalSignerItemInput, type AdditionalSignerInput as AdditionalSignerInput, type WalletAdditionalSignerItem as WalletAdditionalSignerItem, type WalletAdditionalSigner as WalletAdditionalSigner, type Address as Address, type WalletCustodian as WalletCustodian, type CustodialWalletProvider as CustodialWalletProvider, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWallet as CustodialWallet, type HpkeEncryption as HpkeEncryption, type RecipientPublicKey as RecipientPublicKey, type ExportType as ExportType, type PrivateKeyExportInput as PrivateKeyExportInput, type PrivateKeyExportResponse as PrivateKeyExportResponse, type SeedPhraseExportInput as SeedPhraseExportInput, type SeedPhraseExportResponse as SeedPhraseExportResponse, type WalletImportSupportedChains as WalletImportSupportedChains, type WalletImportSupportedEntropyTypes as WalletImportSupportedEntropyTypes, type WalletImportInitResponse as WalletImportInitResponse, type HpkeAeadAlgorithm as HpkeAeadAlgorithm, type HpkeImportConfig as HpkeImportConfig, type CurveType as CurveType, type HDPath as HDPath, type SigningAlgorithm as SigningAlgorithm, type Hex as Hex, type Quantity as Quantity, type ExportPrivateKeyRpcInput as ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse as ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput as ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse, type RawSignHashParams as RawSignHashParams, type RawSignBytesEncoding as RawSignBytesEncoding, type RawSignBytesHashFunction as RawSignBytesHashFunction, type RawSignBytesParams as RawSignBytesParams, type RawSignInputParams as RawSignInputParams, type RawSignInput as RawSignInput, type RawSignResponseData as RawSignResponseData, type RawSignResponse as RawSignResponse, type EthereumSign7702Authorization as EthereumSign7702Authorization, type UnsignedEthereumTransaction as UnsignedEthereumTransaction, type UserOperationInput as UserOperationInput, type TypedDataDomainInputParams as TypedDataDomainInputParams, type TypedDataTypeFieldInput as TypedDataTypeFieldInput, type TypedDataTypesInputParams as TypedDataTypesInputParams, type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInputParams as EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInputParams as EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumTypedDataInput as EthereumTypedDataInput, type EthereumSignTypedDataRpcInputParams as EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSecp256k1SignRpcInputParams as EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type EthereumSign7702AuthorizationRpcInputParams as EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSignUserOperationRpcInputParams as EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSendCallsCall as EthereumSendCallsCall, type EthereumSendCallsRpcInputParams as EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcInput as EthereumSendCallsRpcInput, type EthereumRpcInput as EthereumRpcInput, type EthereumPersonalSignRpcResponseData as EthereumPersonalSignRpcResponseData, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumSignTransactionRpcResponseData as EthereumSignTransactionRpcResponseData, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponseData as EthereumSendTransactionRpcResponseData, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumSignTypedDataRpcResponseData as EthereumSignTypedDataRpcResponseData, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSecp256k1SignRpcResponseData as EthereumSecp256k1SignRpcResponseData, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type EthereumSign7702AuthorizationRpcResponseData as EthereumSign7702AuthorizationRpcResponseData, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSignUserOperationRpcResponseData as EthereumSignUserOperationRpcResponseData, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSendCallsRpcResponseData as EthereumSendCallsRpcResponseData, type EthereumSendCallsRpcResponse as EthereumSendCallsRpcResponse, type EthereumRpcResponse as EthereumRpcResponse, type SolanaSignTransactionRpcInputParams as SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams as SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInputParams as SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type SolanaRpcInput as SolanaRpcInput, type SolanaSignTransactionRpcResponseData as SolanaSignTransactionRpcResponseData, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData as SolanaSignAndSendTransactionRpcResponseData, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponseData as SolanaSignMessageRpcResponseData, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type SolanaRpcResponse as SolanaRpcResponse, type SparkNetwork as SparkNetwork, type SparkSigningKeyshare as SparkSigningKeyshare, type SparkWalletLeaf as SparkWalletLeaf, type SparkTransferLeaf as SparkTransferLeaf, type SparkTransfer as SparkTransfer, type SparkUserTokenMetadata as SparkUserTokenMetadata, type SparkTokenBalance as SparkTokenBalance, type SparkBalance as SparkBalance, type TokenOutput as TokenOutput, type OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, type SparkLightningFee as SparkLightningFee, type SparkLightningReceiveRequest as SparkLightningReceiveRequest, type SparkLightningSendRequest as SparkLightningSendRequest, type SparkTransferRpcInputParams as SparkTransferRpcInputParams, type SparkTransferRpcInput as SparkTransferRpcInput, type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput, type SparkOutputSelectionStrategy as SparkOutputSelectionStrategy, type SparkTransferTokensRpcInputParams as SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcInput as SparkTransferTokensRpcInput, type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams as SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput, type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcInput as SparkClaimStaticDepositRpcInput, type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams as SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcInput as SparkPayLightningInvoiceRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams as SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcInput as SparkSignMessageWithIdentityKeyRpcInput, type SparkRpcInput as SparkRpcInput, type SparkTransferRpcResponse as SparkTransferRpcResponse, type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse, type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData, type SparkTransferTokensRpcResponse as SparkTransferTokensRpcResponse, type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData, type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData as SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetClaimStaticDepositQuoteRpcResponse as SparkGetClaimStaticDepositQuoteRpcResponse, type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData, type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse, type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse, type SparkPayLightningInvoiceRpcResponse as SparkPayLightningInvoiceRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData as SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSignMessageWithIdentityKeyRpcResponse as SparkSignMessageWithIdentityKeyRpcResponse, type SparkRpcResponse as SparkRpcResponse, type Wallet as Wallet, type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody, type WalletUpdateRequestBody as WalletUpdateRequestBody, type WalletBatchItemInput as WalletBatchItemInput, type WalletBatchCreateInput as WalletBatchCreateInput, type WalletBatchCreateResult as WalletBatchCreateResult, type WalletBatchCreateResponse as WalletBatchCreateResponse, type WalletRpcRequestBody as WalletRpcRequestBody, type WalletRpcResponse as WalletRpcResponse, type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody, type TokenTransferSource as TokenTransferSource, type TokenTransferDestination as TokenTransferDestination, type CreateTokenTransferRequest as CreateTokenTransferRequest, type SuiCommandName as SuiCommandName, type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput, type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse as AuthorizationKeyResponse, type WalletAuthorizationHeaders as WalletAuthorizationHeaders, type WalletExportResponse as WalletExportResponse, type WalletInitImportResponse as WalletInitImportResponse, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletInitImportParams as WalletInitImportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, type WalletSubmitImportParams as WalletSubmitImportParams, type WalletUpdateParams as WalletUpdateParams, type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams, };
|
|
3343
|
+
export { type WalletRevokeResponse as WalletRevokeResponse, type CurveSigningChainType as CurveSigningChainType, type ExtendedChainType as ExtendedChainType, type FirstClassChainType as FirstClassChainType, type WalletChainType as WalletChainType, type AuthorizationKeyRole as AuthorizationKeyRole, type WalletEntropyType as WalletEntropyType, type SolanaWalletDerivationStrategy as SolanaWalletDerivationStrategy, type PolicyInput as PolicyInput, type AdditionalSignerItemInput as AdditionalSignerItemInput, type AdditionalSignerInput as AdditionalSignerInput, type WalletAdditionalSignerItem as WalletAdditionalSignerItem, type WalletAdditionalSigner as WalletAdditionalSigner, type Address as Address, type WalletCustodian as WalletCustodian, type CustodialWalletProvider as CustodialWalletProvider, type CustodialWalletChainType as CustodialWalletChainType, type CustodialWalletCreateInput as CustodialWalletCreateInput, type CustodialWallet as CustodialWallet, type HpkeEncryption as HpkeEncryption, type RecipientPublicKey as RecipientPublicKey, type ExportType as ExportType, type PrivateKeyExportInput as PrivateKeyExportInput, type PrivateKeyExportResponse as PrivateKeyExportResponse, type SeedPhraseExportInput as SeedPhraseExportInput, type SeedPhraseExportResponse as SeedPhraseExportResponse, type WalletImportSupportedChains as WalletImportSupportedChains, type WalletImportSupportedEntropyTypes as WalletImportSupportedEntropyTypes, type WalletImportInitResponse as WalletImportInitResponse, type HpkeAeadAlgorithm as HpkeAeadAlgorithm, type HpkeImportConfig as HpkeImportConfig, type CurveType as CurveType, type HDPath as HDPath, type SigningAlgorithm as SigningAlgorithm, type Hex as Hex, type Quantity as Quantity, type ExportPrivateKeyRpcInput as ExportPrivateKeyRpcInput, type ExportPrivateKeyRpcResponse as ExportPrivateKeyRpcResponse, type ExportSeedPhraseRpcInput as ExportSeedPhraseRpcInput, type ExportSeedPhraseRpcResponse as ExportSeedPhraseRpcResponse, type RawSignHashParams as RawSignHashParams, type RawSignBytesEncoding as RawSignBytesEncoding, type RawSignBytesHashFunction as RawSignBytesHashFunction, type RawSignBytesParams as RawSignBytesParams, type RawSignInputParams as RawSignInputParams, type RawSignInput as RawSignInput, type RawSignResponseData as RawSignResponseData, type RawSignResponse as RawSignResponse, type EthereumSign7702Authorization as EthereumSign7702Authorization, type UnsignedEthereumTransaction as UnsignedEthereumTransaction, type UserOperationInput as UserOperationInput, type TypedDataDomainInputParams as TypedDataDomainInputParams, type TypedDataTypeFieldInput as TypedDataTypeFieldInput, type TypedDataTypesInputParams as TypedDataTypesInputParams, type EthereumPersonalSignRpcInputParams as EthereumPersonalSignRpcInputParams, type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput, type EthereumSignTransactionRpcInputParams as EthereumSignTransactionRpcInputParams, type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput, type EthereumSendTransactionRpcInputParams as EthereumSendTransactionRpcInputParams, type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput, type EthereumTypedDataInput as EthereumTypedDataInput, type EthereumSignTypedDataRpcInputParams as EthereumSignTypedDataRpcInputParams, type EthereumSignTypedDataRpcInput as EthereumSignTypedDataRpcInput, type EthereumSecp256k1SignRpcInputParams as EthereumSecp256k1SignRpcInputParams, type EthereumSecp256k1SignRpcInput as EthereumSecp256k1SignRpcInput, type EthereumSign7702AuthorizationRpcInputParams as EthereumSign7702AuthorizationRpcInputParams, type EthereumSign7702AuthorizationRpcInput as EthereumSign7702AuthorizationRpcInput, type EthereumSignUserOperationRpcInputParams as EthereumSignUserOperationRpcInputParams, type EthereumSignUserOperationRpcInput as EthereumSignUserOperationRpcInput, type EthereumSendCallsCall as EthereumSendCallsCall, type EthereumSendCallsRpcInputParams as EthereumSendCallsRpcInputParams, type EthereumSendCallsRpcInput as EthereumSendCallsRpcInput, type EthereumRpcInput as EthereumRpcInput, type EthereumPersonalSignRpcResponseData as EthereumPersonalSignRpcResponseData, type EthereumPersonalSignRpcResponse as EthereumPersonalSignRpcResponse, type EthereumSignTransactionRpcResponseData as EthereumSignTransactionRpcResponseData, type EthereumSignTransactionRpcResponse as EthereumSignTransactionRpcResponse, type EthereumSendTransactionRpcResponseData as EthereumSendTransactionRpcResponseData, type EthereumSendTransactionRpcResponse as EthereumSendTransactionRpcResponse, type EthereumSignTypedDataRpcResponseData as EthereumSignTypedDataRpcResponseData, type EthereumSignTypedDataRpcResponse as EthereumSignTypedDataRpcResponse, type EthereumSecp256k1SignRpcResponseData as EthereumSecp256k1SignRpcResponseData, type EthereumSecp256k1SignRpcResponse as EthereumSecp256k1SignRpcResponse, type EthereumSign7702AuthorizationRpcResponseData as EthereumSign7702AuthorizationRpcResponseData, type EthereumSign7702AuthorizationRpcResponse as EthereumSign7702AuthorizationRpcResponse, type EthereumSignUserOperationRpcResponseData as EthereumSignUserOperationRpcResponseData, type EthereumSignUserOperationRpcResponse as EthereumSignUserOperationRpcResponse, type EthereumSendCallsRpcResponseData as EthereumSendCallsRpcResponseData, type EthereumSendCallsRpcResponse as EthereumSendCallsRpcResponse, type EthereumRpcResponse as EthereumRpcResponse, type SolanaSignTransactionRpcInputParams as SolanaSignTransactionRpcInputParams, type SolanaSignTransactionRpcInput as SolanaSignTransactionRpcInput, type SolanaSignAndSendTransactionRpcInputParams as SolanaSignAndSendTransactionRpcInputParams, type SolanaSignAndSendTransactionRpcInput as SolanaSignAndSendTransactionRpcInput, type SolanaSignMessageRpcInputParams as SolanaSignMessageRpcInputParams, type SolanaSignMessageRpcInput as SolanaSignMessageRpcInput, type SolanaRpcInput as SolanaRpcInput, type SolanaSignTransactionRpcResponseData as SolanaSignTransactionRpcResponseData, type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse, type SolanaSignAndSendTransactionRpcResponseData as SolanaSignAndSendTransactionRpcResponseData, type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse, type SolanaSignMessageRpcResponseData as SolanaSignMessageRpcResponseData, type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse, type SolanaRpcResponse as SolanaRpcResponse, type SparkNetwork as SparkNetwork, type SparkSigningKeyshare as SparkSigningKeyshare, type SparkWalletLeaf as SparkWalletLeaf, type SparkTransferLeaf as SparkTransferLeaf, type SparkTransfer as SparkTransfer, type SparkUserTokenMetadata as SparkUserTokenMetadata, type SparkTokenBalance as SparkTokenBalance, type SparkBalance as SparkBalance, type TokenOutput as TokenOutput, type OutputWithPreviousTransactionData as OutputWithPreviousTransactionData, type SparkLightningFee as SparkLightningFee, type SparkLightningReceiveRequest as SparkLightningReceiveRequest, type SparkLightningSendRequest as SparkLightningSendRequest, type SparkTransferRpcInputParams as SparkTransferRpcInputParams, type SparkTransferRpcInput as SparkTransferRpcInput, type SparkGetBalanceRpcInput as SparkGetBalanceRpcInput, type SparkOutputSelectionStrategy as SparkOutputSelectionStrategy, type SparkTransferTokensRpcInputParams as SparkTransferTokensRpcInputParams, type SparkTransferTokensRpcInput as SparkTransferTokensRpcInput, type SparkGetStaticDepositAddressRpcInput as SparkGetStaticDepositAddressRpcInput, type SparkGetClaimStaticDepositQuoteRpcInputParams as SparkGetClaimStaticDepositQuoteRpcInputParams, type SparkGetClaimStaticDepositQuoteRpcInput as SparkGetClaimStaticDepositQuoteRpcInput, type SparkClaimStaticDepositRpcInputParams as SparkClaimStaticDepositRpcInputParams, type SparkClaimStaticDepositRpcInput as SparkClaimStaticDepositRpcInput, type SparkCreateLightningInvoiceRpcInputParams as SparkCreateLightningInvoiceRpcInputParams, type SparkCreateLightningInvoiceRpcInput as SparkCreateLightningInvoiceRpcInput, type SparkPayLightningInvoiceRpcInputParams as SparkPayLightningInvoiceRpcInputParams, type SparkPayLightningInvoiceRpcInput as SparkPayLightningInvoiceRpcInput, type SparkSignMessageWithIdentityKeyRpcInputParams as SparkSignMessageWithIdentityKeyRpcInputParams, type SparkSignMessageWithIdentityKeyRpcInput as SparkSignMessageWithIdentityKeyRpcInput, type SparkRpcInput as SparkRpcInput, type SparkTransferRpcResponse as SparkTransferRpcResponse, type SparkGetBalanceRpcResponse as SparkGetBalanceRpcResponse, type SparkTransferTokensRpcResponseData as SparkTransferTokensRpcResponseData, type SparkTransferTokensRpcResponse as SparkTransferTokensRpcResponse, type SparkGetStaticDepositAddressRpcResponseData as SparkGetStaticDepositAddressRpcResponseData, type SparkGetStaticDepositAddressRpcResponse as SparkGetStaticDepositAddressRpcResponse, type SparkGetClaimStaticDepositQuoteRpcResponseData as SparkGetClaimStaticDepositQuoteRpcResponseData, type SparkGetClaimStaticDepositQuoteRpcResponse as SparkGetClaimStaticDepositQuoteRpcResponse, type SparkClaimStaticDepositRpcResponseData as SparkClaimStaticDepositRpcResponseData, type SparkClaimStaticDepositRpcResponse as SparkClaimStaticDepositRpcResponse, type SparkCreateLightningInvoiceRpcResponse as SparkCreateLightningInvoiceRpcResponse, type SparkPayLightningInvoiceRpcResponse as SparkPayLightningInvoiceRpcResponse, type SparkSignMessageWithIdentityKeyRpcResponseData as SparkSignMessageWithIdentityKeyRpcResponseData, type SparkSignMessageWithIdentityKeyRpcResponse as SparkSignMessageWithIdentityKeyRpcResponse, type SparkRpcResponse as SparkRpcResponse, type Wallet as Wallet, type GetByWalletAddressRequestBody as GetByWalletAddressRequestBody, type WalletUpdateRequestBody as WalletUpdateRequestBody, type WalletBatchItemInput as WalletBatchItemInput, type WalletBatchCreateInput as WalletBatchCreateInput, type WalletBatchCreateResult as WalletBatchCreateResult, type WalletBatchCreateResponse as WalletBatchCreateResponse, type WalletRpcRequestBody as WalletRpcRequestBody, type WalletRpcResponse as WalletRpcResponse, type WalletAuthenticateRequestBody as WalletAuthenticateRequestBody, type PrivateKeyInitInput as PrivateKeyInitInput, type HDInitInput as HDInitInput, type PrivateKeySubmitInput as PrivateKeySubmitInput, type HDSubmitInput as HDSubmitInput, type WalletExportRequestBody as WalletExportRequestBody, type WalletExportResponseBody as WalletExportResponseBody, type TokenTransferSource as TokenTransferSource, type TokenTransferDestination as TokenTransferDestination, type TransferRequestBody as TransferRequestBody, type SuiCommandName as SuiCommandName, type WalletEthereumAsset as WalletEthereumAsset, type WalletSolanaAsset as WalletSolanaAsset, type WalletAsset as WalletAsset, type TransferSentTransactionDetail as TransferSentTransactionDetail, type TransferReceivedTransactionDetail as TransferReceivedTransactionDetail, type TransactionDetail as TransactionDetail, type WalletAPIRegisterAuthorizationKeyInput as WalletAPIRegisterAuthorizationKeyInput, type WalletAPIRevokeAuthorizationKeyInput as WalletAPIRevokeAuthorizationKeyInput, type AuthorizationKeyDashboardResponse as AuthorizationKeyDashboardResponse, type AuthorizationKeyResponse as AuthorizationKeyResponse, type WalletAuthorizationHeaders as WalletAuthorizationHeaders, type WalletInitImportResponse as WalletInitImportResponse, type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse, type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse, type WalletsCursor as WalletsCursor, type WalletCreateParams as WalletCreateParams, type WalletListParams as WalletListParams, type WalletExportParams as WalletExportParams, type WalletInitImportParams as WalletInitImportParams, type WalletRawSignParams as WalletRawSignParams, type WalletRpcParams as WalletRpcParams, type WalletSubmitImportParams as WalletSubmitImportParams, type WalletUpdateParams as WalletUpdateParams, type WalletAuthenticateWithJwtParams as WalletAuthenticateWithJwtParams, type WalletCreateWalletsWithRecoveryParams as WalletCreateWalletsWithRecoveryParams, };
|
|
3238
3344
|
export { Transactions as Transactions, type TransactionGetResponse as TransactionGetResponse, type TransactionGetParams as TransactionGetParams, };
|
|
3239
3345
|
export { Balance as Balance, type BalanceGetResponse as BalanceGetResponse, type BalanceGetParams as BalanceGetParams, };
|
|
3240
3346
|
}
|