@privy-io/api-types 0.9.0 → 0.10.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 +38 -0
- package/client.d.mts +33 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -30
- package/client.d.ts.map +1 -1
- package/client.js +22 -8
- package/client.js.map +1 -1
- package/client.mjs +23 -9
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +128 -86
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +128 -86
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +43 -43
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +43 -43
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +169 -135
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +169 -135
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +646 -644
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +646 -644
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +114 -114
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +114 -114
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/funding.d.mts +42 -42
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +42 -42
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +19 -18
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +19 -18
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +269 -265
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +269 -265
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +20 -20
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +20 -20
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +12 -20
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +12 -20
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/organizations.d.mts +65 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +65 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +9 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +5 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/policies.d.mts +258 -240
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +258 -240
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +28 -28
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -28
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +6 -9
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +6 -9
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.js.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts +53 -53
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +53 -53
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +468 -459
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +468 -459
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +302 -145
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +302 -145
- package/resources/wallet-actions.d.ts.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 +7 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +7 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +1 -1
- package/resources/wallets/transactions.mjs +1 -1
- package/resources/wallets/wallets.d.mts +1424 -1227
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +1424 -1227
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +4 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +4 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +935 -877
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +935 -877
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +157 -157
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +157 -157
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +594 -516
- package/src/internal/types.ts +6 -8
- package/src/resources/accounts.ts +157 -103
- package/src/resources/aggregations.ts +55 -55
- package/src/resources/apps.ts +221 -178
- package/src/resources/client-auth.ts +887 -887
- package/src/resources/embedded-wallets.ts +150 -150
- package/src/resources/funding.ts +66 -66
- package/src/resources/index.ts +504 -475
- package/src/resources/intents.ts +326 -322
- package/src/resources/key-quorums.ts +23 -23
- package/src/resources/kraken-embed.ts +14 -22
- package/src/resources/organizations.ts +82 -0
- package/src/resources/policies.ts +379 -352
- package/src/resources/shared.ts +34 -34
- package/src/resources/swaps.ts +5 -10
- package/src/resources/transactions.ts +86 -86
- package/src/resources/users.ts +707 -696
- package/src/resources/wallet-actions.ts +392 -185
- package/src/resources/wallets/index.ts +157 -148
- package/src/resources/wallets/transactions.ts +18 -3
- package/src/resources/wallets/wallets.ts +1937 -1686
- package/src/resources/webhooks.ts +1172 -1100
- package/src/resources/yield.ts +188 -188
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -5,186 +5,195 @@ export { Transactions, type TransactionGetResponse, type TransactionGetParams }
|
|
|
5
5
|
export {
|
|
6
6
|
Wallets,
|
|
7
7
|
type WalletRevokeResponse,
|
|
8
|
-
type CurveSigningChainType,
|
|
9
|
-
type ExtendedChainType,
|
|
10
|
-
type FirstClassChainType,
|
|
11
|
-
type WalletChainType,
|
|
12
|
-
type AuthorizationKeyRole,
|
|
13
|
-
type WalletEntropyType,
|
|
14
|
-
type SolanaWalletDerivationStrategy,
|
|
15
|
-
type PolicyInput,
|
|
16
|
-
type AdditionalSignerItemInput,
|
|
17
8
|
type AdditionalSignerInput,
|
|
18
|
-
type
|
|
19
|
-
type WalletAdditionalSigner,
|
|
9
|
+
type AdditionalSignerItemInput,
|
|
20
10
|
type Address,
|
|
21
|
-
type
|
|
22
|
-
type
|
|
11
|
+
type AmountType,
|
|
12
|
+
type AuthorizationKeyDashboardResponse,
|
|
13
|
+
type AuthorizationKeyResponse,
|
|
14
|
+
type AuthorizationKeyRole,
|
|
15
|
+
type CurveSigningChainType,
|
|
16
|
+
type CurveType,
|
|
17
|
+
type CustodialWallet,
|
|
23
18
|
type CustodialWalletChainType,
|
|
24
19
|
type CustodialWalletCreateInput,
|
|
25
|
-
type
|
|
26
|
-
type
|
|
27
|
-
type
|
|
20
|
+
type CustodialWalletProvider,
|
|
21
|
+
type CustomTokenTransferSource,
|
|
22
|
+
type EthereumPersonalSignRpcInput,
|
|
23
|
+
type EthereumPersonalSignRpcInputParams,
|
|
24
|
+
type EthereumPersonalSignRpcResponse,
|
|
25
|
+
type EthereumPersonalSignRpcResponseData,
|
|
26
|
+
type EthereumRpcInput,
|
|
27
|
+
type EthereumRpcResponse,
|
|
28
|
+
type EthereumSecp256k1SignRpcInput,
|
|
29
|
+
type EthereumSecp256k1SignRpcInputParams,
|
|
30
|
+
type EthereumSecp256k1SignRpcResponse,
|
|
31
|
+
type EthereumSecp256k1SignRpcResponseData,
|
|
32
|
+
type EthereumSendCallsCall,
|
|
33
|
+
type EthereumSendCallsRpcInput,
|
|
34
|
+
type EthereumSendCallsRpcInputParams,
|
|
35
|
+
type EthereumSendCallsRpcResponse,
|
|
36
|
+
type EthereumSendCallsRpcResponseData,
|
|
37
|
+
type EthereumSendTransactionRpcInput,
|
|
38
|
+
type EthereumSendTransactionRpcInputParams,
|
|
39
|
+
type EthereumSendTransactionRpcResponse,
|
|
40
|
+
type EthereumSendTransactionRpcResponseData,
|
|
41
|
+
type EthereumSign7702Authorization,
|
|
42
|
+
type EthereumSign7702AuthorizationRpcInput,
|
|
43
|
+
type EthereumSign7702AuthorizationRpcInputParams,
|
|
44
|
+
type EthereumSign7702AuthorizationRpcResponse,
|
|
45
|
+
type EthereumSign7702AuthorizationRpcResponseData,
|
|
46
|
+
type EthereumSignTransactionRpcInput,
|
|
47
|
+
type EthereumSignTransactionRpcInputParams,
|
|
48
|
+
type EthereumSignTransactionRpcResponse,
|
|
49
|
+
type EthereumSignTransactionRpcResponseData,
|
|
50
|
+
type EthereumSignTypedDataRpcInput,
|
|
51
|
+
type EthereumSignTypedDataRpcInputParams,
|
|
52
|
+
type EthereumSignTypedDataRpcResponse,
|
|
53
|
+
type EthereumSignTypedDataRpcResponseData,
|
|
54
|
+
type EthereumSignUserOperationRpcInput,
|
|
55
|
+
type EthereumSignUserOperationRpcInputParams,
|
|
56
|
+
type EthereumSignUserOperationRpcResponse,
|
|
57
|
+
type EthereumSignUserOperationRpcResponseData,
|
|
58
|
+
type EthereumTypedDataInput,
|
|
59
|
+
type ExportPrivateKeyRpcInput,
|
|
60
|
+
type ExportPrivateKeyRpcResponse,
|
|
61
|
+
type ExportSeedPhraseRpcInput,
|
|
62
|
+
type ExportSeedPhraseRpcResponse,
|
|
28
63
|
type ExportType,
|
|
29
|
-
type
|
|
30
|
-
type
|
|
31
|
-
type
|
|
32
|
-
type
|
|
33
|
-
type
|
|
34
|
-
type
|
|
35
|
-
type WalletImportInitResponse,
|
|
64
|
+
type ExtendedChainType,
|
|
65
|
+
type FirstClassChainType,
|
|
66
|
+
type GetByWalletAddressRequestBody,
|
|
67
|
+
type HDInitInput,
|
|
68
|
+
type HDPath,
|
|
69
|
+
type HDSubmitInput,
|
|
36
70
|
type HpkeAeadAlgorithm,
|
|
71
|
+
type HpkeEncryption,
|
|
37
72
|
type HpkeImportConfig,
|
|
38
|
-
type CurveType,
|
|
39
|
-
type HDPath,
|
|
40
|
-
type SigningAlgorithm,
|
|
41
73
|
type Hex,
|
|
74
|
+
type NamedTokenTransferSource,
|
|
75
|
+
type OutputWithPreviousTransactionData,
|
|
76
|
+
type PolicyInput,
|
|
77
|
+
type PrivateKeyExportInput,
|
|
78
|
+
type PrivateKeyExportResponse,
|
|
79
|
+
type PrivateKeyInitInput,
|
|
80
|
+
type PrivateKeySubmitInput,
|
|
42
81
|
type Quantity,
|
|
43
|
-
type ExportPrivateKeyRpcInput,
|
|
44
|
-
type ExportPrivateKeyRpcResponse,
|
|
45
|
-
type ExportSeedPhraseRpcInput,
|
|
46
|
-
type ExportSeedPhraseRpcResponse,
|
|
47
|
-
type RawSignHashParams,
|
|
48
82
|
type RawSignBytesEncoding,
|
|
49
83
|
type RawSignBytesHashFunction,
|
|
50
84
|
type RawSignBytesParams,
|
|
51
|
-
type
|
|
85
|
+
type RawSignHashParams,
|
|
52
86
|
type RawSignInput,
|
|
53
|
-
type
|
|
87
|
+
type RawSignInputParams,
|
|
54
88
|
type RawSignResponse,
|
|
55
|
-
type
|
|
56
|
-
type
|
|
57
|
-
type
|
|
58
|
-
type
|
|
59
|
-
type
|
|
60
|
-
type TypedDataTypesInputParams,
|
|
61
|
-
type EthereumPersonalSignRpcInputParams,
|
|
62
|
-
type EthereumPersonalSignRpcInput,
|
|
63
|
-
type EthereumSignTransactionRpcInputParams,
|
|
64
|
-
type EthereumSignTransactionRpcInput,
|
|
65
|
-
type EthereumSendTransactionRpcInputParams,
|
|
66
|
-
type EthereumSendTransactionRpcInput,
|
|
67
|
-
type EthereumTypedDataInput,
|
|
68
|
-
type EthereumSignTypedDataRpcInputParams,
|
|
69
|
-
type EthereumSignTypedDataRpcInput,
|
|
70
|
-
type EthereumSecp256k1SignRpcInputParams,
|
|
71
|
-
type EthereumSecp256k1SignRpcInput,
|
|
72
|
-
type EthereumSign7702AuthorizationRpcInputParams,
|
|
73
|
-
type EthereumSign7702AuthorizationRpcInput,
|
|
74
|
-
type EthereumSignUserOperationRpcInputParams,
|
|
75
|
-
type EthereumSignUserOperationRpcInput,
|
|
76
|
-
type EthereumSendCallsCall,
|
|
77
|
-
type EthereumSendCallsRpcInputParams,
|
|
78
|
-
type EthereumSendCallsRpcInput,
|
|
79
|
-
type EthereumRpcInput,
|
|
80
|
-
type EthereumPersonalSignRpcResponseData,
|
|
81
|
-
type EthereumPersonalSignRpcResponse,
|
|
82
|
-
type EthereumSignTransactionRpcResponseData,
|
|
83
|
-
type EthereumSignTransactionRpcResponse,
|
|
84
|
-
type EthereumSendTransactionRpcResponseData,
|
|
85
|
-
type EthereumSendTransactionRpcResponse,
|
|
86
|
-
type EthereumSignTypedDataRpcResponseData,
|
|
87
|
-
type EthereumSignTypedDataRpcResponse,
|
|
88
|
-
type EthereumSecp256k1SignRpcResponseData,
|
|
89
|
-
type EthereumSecp256k1SignRpcResponse,
|
|
90
|
-
type EthereumSign7702AuthorizationRpcResponseData,
|
|
91
|
-
type EthereumSign7702AuthorizationRpcResponse,
|
|
92
|
-
type EthereumSignUserOperationRpcResponseData,
|
|
93
|
-
type EthereumSignUserOperationRpcResponse,
|
|
94
|
-
type EthereumSendCallsRpcResponseData,
|
|
95
|
-
type EthereumSendCallsRpcResponse,
|
|
96
|
-
type EthereumRpcResponse,
|
|
97
|
-
type SolanaSignTransactionRpcInputParams,
|
|
98
|
-
type SolanaSignTransactionRpcInput,
|
|
99
|
-
type SolanaSignAndSendTransactionRpcInputParams,
|
|
100
|
-
type SolanaSignAndSendTransactionRpcInput,
|
|
101
|
-
type SolanaSignMessageRpcInputParams,
|
|
102
|
-
type SolanaSignMessageRpcInput,
|
|
89
|
+
type RawSignResponseData,
|
|
90
|
+
type RecipientPublicKey,
|
|
91
|
+
type SeedPhraseExportInput,
|
|
92
|
+
type SeedPhraseExportResponse,
|
|
93
|
+
type SigningAlgorithm,
|
|
103
94
|
type SolanaRpcInput,
|
|
104
|
-
type
|
|
105
|
-
type
|
|
106
|
-
type
|
|
95
|
+
type SolanaRpcResponse,
|
|
96
|
+
type SolanaSignAndSendTransactionRpcInput,
|
|
97
|
+
type SolanaSignAndSendTransactionRpcInputParams,
|
|
107
98
|
type SolanaSignAndSendTransactionRpcResponse,
|
|
108
|
-
type
|
|
99
|
+
type SolanaSignAndSendTransactionRpcResponseData,
|
|
100
|
+
type SolanaSignMessageRpcInput,
|
|
101
|
+
type SolanaSignMessageRpcInputParams,
|
|
109
102
|
type SolanaSignMessageRpcResponse,
|
|
110
|
-
type
|
|
111
|
-
type
|
|
112
|
-
type
|
|
113
|
-
type
|
|
114
|
-
type
|
|
115
|
-
type
|
|
116
|
-
type SparkUserTokenMetadata,
|
|
117
|
-
type SparkTokenBalance,
|
|
103
|
+
type SolanaSignMessageRpcResponseData,
|
|
104
|
+
type SolanaSignTransactionRpcInput,
|
|
105
|
+
type SolanaSignTransactionRpcInputParams,
|
|
106
|
+
type SolanaSignTransactionRpcResponse,
|
|
107
|
+
type SolanaSignTransactionRpcResponseData,
|
|
108
|
+
type SolanaWalletDerivationStrategy,
|
|
118
109
|
type SparkBalance,
|
|
119
|
-
type
|
|
120
|
-
type
|
|
110
|
+
type SparkClaimStaticDepositRpcInput,
|
|
111
|
+
type SparkClaimStaticDepositRpcInputParams,
|
|
112
|
+
type SparkClaimStaticDepositRpcResponse,
|
|
113
|
+
type SparkClaimStaticDepositRpcResponseData,
|
|
114
|
+
type SparkCreateLightningInvoiceRpcInput,
|
|
115
|
+
type SparkCreateLightningInvoiceRpcInputParams,
|
|
116
|
+
type SparkCreateLightningInvoiceRpcResponse,
|
|
117
|
+
type SparkGetBalanceRpcInput,
|
|
118
|
+
type SparkGetBalanceRpcResponse,
|
|
119
|
+
type SparkGetClaimStaticDepositQuoteRpcInput,
|
|
120
|
+
type SparkGetClaimStaticDepositQuoteRpcInputParams,
|
|
121
|
+
type SparkGetClaimStaticDepositQuoteRpcResponse,
|
|
122
|
+
type SparkGetClaimStaticDepositQuoteRpcResponseData,
|
|
123
|
+
type SparkGetStaticDepositAddressRpcInput,
|
|
124
|
+
type SparkGetStaticDepositAddressRpcResponse,
|
|
125
|
+
type SparkGetStaticDepositAddressRpcResponseData,
|
|
121
126
|
type SparkLightningFee,
|
|
122
127
|
type SparkLightningReceiveRequest,
|
|
123
128
|
type SparkLightningSendRequest,
|
|
124
|
-
type
|
|
125
|
-
type SparkTransferRpcInput,
|
|
126
|
-
type SparkGetBalanceRpcInput,
|
|
129
|
+
type SparkNetwork,
|
|
127
130
|
type SparkOutputSelectionStrategy,
|
|
128
|
-
type SparkTransferTokensRpcInputParams,
|
|
129
|
-
type SparkTransferTokensRpcInput,
|
|
130
|
-
type SparkGetStaticDepositAddressRpcInput,
|
|
131
|
-
type SparkGetClaimStaticDepositQuoteRpcInputParams,
|
|
132
|
-
type SparkGetClaimStaticDepositQuoteRpcInput,
|
|
133
|
-
type SparkClaimStaticDepositRpcInputParams,
|
|
134
|
-
type SparkClaimStaticDepositRpcInput,
|
|
135
|
-
type SparkCreateLightningInvoiceRpcInputParams,
|
|
136
|
-
type SparkCreateLightningInvoiceRpcInput,
|
|
137
|
-
type SparkPayLightningInvoiceRpcInputParams,
|
|
138
131
|
type SparkPayLightningInvoiceRpcInput,
|
|
139
|
-
type
|
|
140
|
-
type
|
|
132
|
+
type SparkPayLightningInvoiceRpcInputParams,
|
|
133
|
+
type SparkPayLightningInvoiceRpcResponse,
|
|
141
134
|
type SparkRpcInput,
|
|
135
|
+
type SparkRpcResponse,
|
|
136
|
+
type SparkSignMessageWithIdentityKeyRpcInput,
|
|
137
|
+
type SparkSignMessageWithIdentityKeyRpcInputParams,
|
|
138
|
+
type SparkSignMessageWithIdentityKeyRpcResponse,
|
|
139
|
+
type SparkSignMessageWithIdentityKeyRpcResponseData,
|
|
140
|
+
type SparkSigningKeyshare,
|
|
141
|
+
type SparkTokenBalance,
|
|
142
|
+
type SparkTransfer,
|
|
143
|
+
type SparkTransferLeaf,
|
|
144
|
+
type SparkTransferRpcInput,
|
|
145
|
+
type SparkTransferRpcInputParams,
|
|
142
146
|
type SparkTransferRpcResponse,
|
|
143
|
-
type
|
|
144
|
-
type
|
|
147
|
+
type SparkTransferTokensRpcInput,
|
|
148
|
+
type SparkTransferTokensRpcInputParams,
|
|
145
149
|
type SparkTransferTokensRpcResponse,
|
|
146
|
-
type
|
|
147
|
-
type
|
|
148
|
-
type
|
|
149
|
-
type
|
|
150
|
-
type
|
|
151
|
-
type
|
|
152
|
-
type
|
|
153
|
-
type
|
|
154
|
-
type SparkSignMessageWithIdentityKeyRpcResponseData,
|
|
155
|
-
type SparkSignMessageWithIdentityKeyRpcResponse,
|
|
156
|
-
type SparkRpcResponse,
|
|
157
|
-
type Wallet,
|
|
158
|
-
type GetByWalletAddressRequestBody,
|
|
159
|
-
type WalletUpdateRequestBody,
|
|
160
|
-
type WalletBatchItemInput,
|
|
161
|
-
type WalletBatchCreateInput,
|
|
162
|
-
type WalletBatchCreateResult,
|
|
163
|
-
type WalletBatchCreateResponse,
|
|
164
|
-
type WalletRpcRequestBody,
|
|
165
|
-
type WalletRpcResponse,
|
|
166
|
-
type WalletAuthenticateRequestBody,
|
|
167
|
-
type PrivateKeyInitInput,
|
|
168
|
-
type HDInitInput,
|
|
169
|
-
type PrivateKeySubmitInput,
|
|
170
|
-
type HDSubmitInput,
|
|
171
|
-
type WalletExportRequestBody,
|
|
172
|
-
type WalletExportResponseBody,
|
|
173
|
-
type TokenTransferSource,
|
|
150
|
+
type SparkTransferTokensRpcResponseData,
|
|
151
|
+
type SparkUserTokenMetadata,
|
|
152
|
+
type SparkWalletLeaf,
|
|
153
|
+
type SuiCommandName,
|
|
154
|
+
type TempoAaAuthorization,
|
|
155
|
+
type TempoCall,
|
|
156
|
+
type TempoFeePayerSignature,
|
|
157
|
+
type TokenOutput,
|
|
174
158
|
type TokenTransferDestination,
|
|
159
|
+
type TokenTransferSource,
|
|
160
|
+
type TransactionDetail,
|
|
161
|
+
type TransactionTokenAddressInput,
|
|
162
|
+
type TransferReceivedTransactionDetail,
|
|
175
163
|
type TransferRequestBody,
|
|
176
|
-
type SuiCommandName,
|
|
177
|
-
type WalletEthereumAsset,
|
|
178
|
-
type WalletSolanaAsset,
|
|
179
|
-
type WalletAsset,
|
|
180
164
|
type TransferSentTransactionDetail,
|
|
181
|
-
type
|
|
182
|
-
type
|
|
165
|
+
type TypedDataDomainInputParams,
|
|
166
|
+
type TypedDataTypeFieldInput,
|
|
167
|
+
type TypedDataTypesInputParams,
|
|
168
|
+
type UnsignedEthereumTransaction,
|
|
169
|
+
type UnsignedStandardEthereumTransaction,
|
|
170
|
+
type UnsignedTempoTransaction,
|
|
171
|
+
type UserOperationInput,
|
|
172
|
+
type Wallet,
|
|
173
|
+
type WalletAdditionalSigner,
|
|
174
|
+
type WalletAdditionalSignerItem,
|
|
183
175
|
type WalletAPIRegisterAuthorizationKeyInput,
|
|
184
176
|
type WalletAPIRevokeAuthorizationKeyInput,
|
|
185
|
-
type
|
|
186
|
-
type
|
|
177
|
+
type WalletAsset,
|
|
178
|
+
type WalletAuthenticateRequestBody,
|
|
187
179
|
type WalletAuthorizationHeaders,
|
|
180
|
+
type WalletBatchCreateInput,
|
|
181
|
+
type WalletBatchCreateResponse,
|
|
182
|
+
type WalletBatchCreateResult,
|
|
183
|
+
type WalletBatchItemInput,
|
|
184
|
+
type WalletChainType,
|
|
185
|
+
type WalletCustodian,
|
|
186
|
+
type WalletEntropyType,
|
|
187
|
+
type WalletEthereumAsset,
|
|
188
|
+
type WalletExportRequestBody,
|
|
189
|
+
type WalletExportResponseBody,
|
|
190
|
+
type WalletImportInitResponse,
|
|
191
|
+
type WalletImportSupportedChains,
|
|
192
|
+
type WalletImportSupportedEntropyTypes,
|
|
193
|
+
type WalletRpcRequestBody,
|
|
194
|
+
type WalletRpcResponse,
|
|
195
|
+
type WalletSolanaAsset,
|
|
196
|
+
type WalletUpdateRequestBody,
|
|
188
197
|
type WalletInitImportResponse,
|
|
189
198
|
type WalletAuthenticateWithJwtResponse,
|
|
190
199
|
type WalletCreateWalletsWithRecoveryResponse,
|
|
@@ -17,7 +17,7 @@ export class Transactions extends APIResource {
|
|
|
17
17
|
* ```ts
|
|
18
18
|
* const transaction = await client.wallets.transactions.get(
|
|
19
19
|
* 'wallet_id',
|
|
20
|
-
* {
|
|
20
|
+
* { chain: 'ethereum' },
|
|
21
21
|
* );
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
@@ -77,10 +77,25 @@ export namespace TransactionGetResponse {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface TransactionGetParams {
|
|
80
|
-
asset: 'usdc' | 'usdc.e' | 'eth' | 'pol' | 'usdt' | 'eurc' | 'usdb' | 'sol' | Array<WalletsAPI.WalletAsset>;
|
|
81
|
-
|
|
82
80
|
chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
|
|
83
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Token contract address (EVM: 0x-prefixed hex) or mint address (Solana: base58),
|
|
84
|
+
* used to filter wallet transactions.
|
|
85
|
+
*/
|
|
86
|
+
token?: WalletsAPI.TransactionTokenAddressInput | Array<WalletsAPI.TransactionTokenAddressInput>;
|
|
87
|
+
|
|
88
|
+
asset?:
|
|
89
|
+
| 'usdc'
|
|
90
|
+
| 'usdc.e'
|
|
91
|
+
| 'eth'
|
|
92
|
+
| 'pol'
|
|
93
|
+
| 'usdt'
|
|
94
|
+
| 'eurc'
|
|
95
|
+
| 'usdb'
|
|
96
|
+
| 'sol'
|
|
97
|
+
| Array<WalletsAPI.WalletAsset>;
|
|
98
|
+
|
|
84
99
|
cursor?: string;
|
|
85
100
|
|
|
86
101
|
limit?: number | null;
|