@privy-io/api-types 0.10.0 → 0.12.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 +27 -0
- package/client.d.mts +22 -28
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -28
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +7 -13
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +5 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +496 -514
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +496 -514
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts +5 -0
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +5 -0
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +10 -10
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +10 -10
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/fiat.d.mts +110 -0
- package/resources/fiat.d.mts.map +1 -0
- package/resources/fiat.d.ts +110 -0
- package/resources/fiat.d.ts.map +1 -0
- package/resources/fiat.js +9 -0
- package/resources/fiat.js.map +1 -0
- package/resources/fiat.mjs +5 -0
- package/resources/fiat.mjs.map +1 -0
- package/resources/funding.d.mts +46 -46
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +46 -46
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +11 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -10
- 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/key-quorums.d.mts +1 -132
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +1 -132
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +0 -92
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +0 -92
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/policies.d.mts +2 -312
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +2 -312
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +0 -229
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +0 -229
- package/resources/policies.mjs.map +1 -1
- package/resources/swaps.d.mts +54 -26
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +54 -26
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +28 -44
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +28 -44
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +0 -17
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +0 -17
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +1 -345
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -345
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +0 -272
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +0 -272
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +22 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +22 -3
- 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 +6 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +6 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +184 -342
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +184 -342
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +41 -102
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +41 -102
- package/resources/wallets/wallets.mjs.map +1 -1
- package/src/client.ts +122 -153
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +6 -0
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/cross-app.ts +6 -0
- package/src/resources/embedded-wallets.ts +16 -15
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +97 -107
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -495
- package/src/resources/swaps.ts +59 -25
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallet-actions.ts +38 -2
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/transactions.ts +6 -2
- package/src/resources/wallets/wallets.ts +236 -450
- 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
package/resources/policies.mjs
CHANGED
|
@@ -1,234 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../internal/headers.mjs";
|
|
4
|
-
import { path } from "../internal/utils/path.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* Operations related to policies
|
|
7
|
-
*/
|
|
8
3
|
export class Policies extends APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* Create a new policy.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```ts
|
|
14
|
-
* const policy = await client.policies.create({
|
|
15
|
-
* chain_type: 'ethereum',
|
|
16
|
-
* name: 'x',
|
|
17
|
-
* rules: [
|
|
18
|
-
* {
|
|
19
|
-
* action: 'ALLOW',
|
|
20
|
-
* conditions: [
|
|
21
|
-
* {
|
|
22
|
-
* field: 'to',
|
|
23
|
-
* field_source: 'ethereum_transaction',
|
|
24
|
-
* operator: 'eq',
|
|
25
|
-
* value: 'string',
|
|
26
|
-
* },
|
|
27
|
-
* ],
|
|
28
|
-
* method: 'eth_sendTransaction',
|
|
29
|
-
* name: 'x',
|
|
30
|
-
* },
|
|
31
|
-
* ],
|
|
32
|
-
* version: '1.0',
|
|
33
|
-
* });
|
|
34
|
-
* ```
|
|
35
|
-
*/
|
|
36
|
-
create(params, options) {
|
|
37
|
-
const { 'privy-idempotency-key': privyIdempotencyKey, ...body } = params;
|
|
38
|
-
return this._client.post('/v1/policies', {
|
|
39
|
-
body,
|
|
40
|
-
...options,
|
|
41
|
-
headers: buildHeaders([
|
|
42
|
-
{ ...(privyIdempotencyKey != null ? { 'privy-idempotency-key': privyIdempotencyKey } : undefined) },
|
|
43
|
-
options?.headers,
|
|
44
|
-
]),
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Create a new rule for a policy.
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* ```ts
|
|
52
|
-
* const policyRuleResponse =
|
|
53
|
-
* await client.policies._createRule(
|
|
54
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
55
|
-
* {
|
|
56
|
-
* action: 'ALLOW',
|
|
57
|
-
* conditions: [
|
|
58
|
-
* {
|
|
59
|
-
* field: 'to',
|
|
60
|
-
* field_source: 'ethereum_transaction',
|
|
61
|
-
* operator: 'eq',
|
|
62
|
-
* value: 'string',
|
|
63
|
-
* },
|
|
64
|
-
* ],
|
|
65
|
-
* method: 'eth_sendTransaction',
|
|
66
|
-
* name: 'x',
|
|
67
|
-
* },
|
|
68
|
-
* );
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
_createRule(policyID, params, options) {
|
|
72
|
-
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
73
|
-
return this._client.post(path `/v1/policies/${policyID}/rules`, {
|
|
74
|
-
body,
|
|
75
|
-
...options,
|
|
76
|
-
headers: buildHeaders([
|
|
77
|
-
{
|
|
78
|
-
...(privyAuthorizationSignature != null ?
|
|
79
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
80
|
-
: undefined),
|
|
81
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
82
|
-
},
|
|
83
|
-
options?.headers,
|
|
84
|
-
]),
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Delete a policy by policy ID.
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* ```ts
|
|
92
|
-
* const successResponse = await client.policies._delete(
|
|
93
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
94
|
-
* );
|
|
95
|
-
* ```
|
|
96
|
-
*/
|
|
97
|
-
_delete(policyID, params = {}, options) {
|
|
98
|
-
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, } = params ?? {};
|
|
99
|
-
return this._client.delete(path `/v1/policies/${policyID}`, {
|
|
100
|
-
...options,
|
|
101
|
-
headers: buildHeaders([
|
|
102
|
-
{
|
|
103
|
-
...(privyAuthorizationSignature != null ?
|
|
104
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
105
|
-
: undefined),
|
|
106
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
107
|
-
},
|
|
108
|
-
options?.headers,
|
|
109
|
-
]),
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
* Delete a rule by policy ID and rule ID.
|
|
114
|
-
*
|
|
115
|
-
* @example
|
|
116
|
-
* ```ts
|
|
117
|
-
* const successResponse = await client.policies._deleteRule(
|
|
118
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
119
|
-
* { policy_id: 'xxxxxxxxxxxxxxxxxxxxxxxx' },
|
|
120
|
-
* );
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
_deleteRule(ruleID, params, options) {
|
|
124
|
-
const { policy_id, 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, } = params;
|
|
125
|
-
return this._client.delete(path `/v1/policies/${policy_id}/rules/${ruleID}`, {
|
|
126
|
-
...options,
|
|
127
|
-
headers: buildHeaders([
|
|
128
|
-
{
|
|
129
|
-
...(privyAuthorizationSignature != null ?
|
|
130
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
131
|
-
: undefined),
|
|
132
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
133
|
-
},
|
|
134
|
-
options?.headers,
|
|
135
|
-
]),
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Update a policy by policy ID.
|
|
140
|
-
*
|
|
141
|
-
* @example
|
|
142
|
-
* ```ts
|
|
143
|
-
* const policy = await client.policies._update(
|
|
144
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
145
|
-
* );
|
|
146
|
-
* ```
|
|
147
|
-
*/
|
|
148
|
-
_update(policyID, params, options) {
|
|
149
|
-
const { 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
150
|
-
return this._client.patch(path `/v1/policies/${policyID}`, {
|
|
151
|
-
body,
|
|
152
|
-
...options,
|
|
153
|
-
headers: buildHeaders([
|
|
154
|
-
{
|
|
155
|
-
...(privyAuthorizationSignature != null ?
|
|
156
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
157
|
-
: undefined),
|
|
158
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
159
|
-
},
|
|
160
|
-
options?.headers,
|
|
161
|
-
]),
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Update a rule by policy ID and rule ID.
|
|
166
|
-
*
|
|
167
|
-
* @example
|
|
168
|
-
* ```ts
|
|
169
|
-
* const policyRuleResponse =
|
|
170
|
-
* await client.policies._updateRule(
|
|
171
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
172
|
-
* {
|
|
173
|
-
* policy_id: 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
174
|
-
* action: 'ALLOW',
|
|
175
|
-
* conditions: [
|
|
176
|
-
* {
|
|
177
|
-
* field: 'to',
|
|
178
|
-
* field_source: 'ethereum_transaction',
|
|
179
|
-
* operator: 'eq',
|
|
180
|
-
* value: 'string',
|
|
181
|
-
* },
|
|
182
|
-
* ],
|
|
183
|
-
* method: 'eth_sendTransaction',
|
|
184
|
-
* name: 'x',
|
|
185
|
-
* },
|
|
186
|
-
* );
|
|
187
|
-
* ```
|
|
188
|
-
*/
|
|
189
|
-
_updateRule(ruleID, params, options) {
|
|
190
|
-
const { policy_id, 'privy-authorization-signature': privyAuthorizationSignature, 'privy-request-expiry': privyRequestExpiry, ...body } = params;
|
|
191
|
-
return this._client.patch(path `/v1/policies/${policy_id}/rules/${ruleID}`, {
|
|
192
|
-
body,
|
|
193
|
-
...options,
|
|
194
|
-
headers: buildHeaders([
|
|
195
|
-
{
|
|
196
|
-
...(privyAuthorizationSignature != null ?
|
|
197
|
-
{ 'privy-authorization-signature': privyAuthorizationSignature }
|
|
198
|
-
: undefined),
|
|
199
|
-
...(privyRequestExpiry != null ? { 'privy-request-expiry': privyRequestExpiry } : undefined),
|
|
200
|
-
},
|
|
201
|
-
options?.headers,
|
|
202
|
-
]),
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Get a policy by policy ID.
|
|
207
|
-
*
|
|
208
|
-
* @example
|
|
209
|
-
* ```ts
|
|
210
|
-
* const policy = await client.policies.get(
|
|
211
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
212
|
-
* );
|
|
213
|
-
* ```
|
|
214
|
-
*/
|
|
215
|
-
get(policyID, options) {
|
|
216
|
-
return this._client.get(path `/v1/policies/${policyID}`, options);
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* Get a rule by policy ID and rule ID.
|
|
220
|
-
*
|
|
221
|
-
* @example
|
|
222
|
-
* ```ts
|
|
223
|
-
* const policyRuleResponse = await client.policies.getRule(
|
|
224
|
-
* 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
|
225
|
-
* { policy_id: 'xxxxxxxxxxxxxxxxxxxxxxxx' },
|
|
226
|
-
* );
|
|
227
|
-
* ```
|
|
228
|
-
*/
|
|
229
|
-
getRule(ruleID, params, options) {
|
|
230
|
-
const { policy_id } = params;
|
|
231
|
-
return this._client.get(path `/v1/policies/${policy_id}/rules/${ruleID}`, options);
|
|
232
|
-
}
|
|
233
4
|
}
|
|
234
5
|
//# sourceMappingURL=policies.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.mjs","sourceRoot":"","sources":["../src/resources/policies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"policies.mjs","sourceRoot":"","sources":["../src/resources/policies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,QAAS,SAAQ,WAAW;CAAG"}
|
package/resources/swaps.d.mts
CHANGED
|
@@ -3,25 +3,49 @@ import * as WalletsAPI from "./wallets/wallets.mjs";
|
|
|
3
3
|
export declare class Swaps extends APIResource {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* The output side of a swap execution request.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SwapDestination {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Token contract address to buy, or "native" for the chain's native token.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
asset_address: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* CAIP-2 chain identifier for the destination. Must match source chain —
|
|
15
|
+
* cross-chain swaps are not yet supported. Defaults to source chain if omitted.
|
|
15
16
|
*/
|
|
16
|
-
caip2
|
|
17
|
+
caip2?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The output side of a swap quote request.
|
|
21
|
+
*/
|
|
22
|
+
export interface SwapQuoteDestination {
|
|
17
23
|
/**
|
|
18
|
-
* Token address to
|
|
24
|
+
* Token contract address to buy, or "native" for the chain's native token.
|
|
19
25
|
*/
|
|
20
|
-
|
|
26
|
+
asset_address: string;
|
|
21
27
|
/**
|
|
22
|
-
*
|
|
28
|
+
* CAIP-2 chain identifier for the destination. Must match source chain —
|
|
29
|
+
* cross-chain swaps are not yet supported. Defaults to source chain if omitted.
|
|
23
30
|
*/
|
|
24
|
-
|
|
31
|
+
caip2?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Input for requesting a token swap quote.
|
|
35
|
+
*/
|
|
36
|
+
export interface SwapQuoteRequestBody {
|
|
37
|
+
/**
|
|
38
|
+
* Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
|
|
39
|
+
*/
|
|
40
|
+
base_amount: string;
|
|
41
|
+
/**
|
|
42
|
+
* The output side of a swap quote request.
|
|
43
|
+
*/
|
|
44
|
+
destination: SwapQuoteDestination;
|
|
45
|
+
/**
|
|
46
|
+
* The input side of a swap request, including token and chain.
|
|
47
|
+
*/
|
|
48
|
+
source: SwapSource;
|
|
25
49
|
/**
|
|
26
50
|
* Whether the amount refers to the input token or output token.
|
|
27
51
|
*/
|
|
@@ -70,36 +94,40 @@ export interface SwapQuoteResponse {
|
|
|
70
94
|
*/
|
|
71
95
|
export interface SwapRequestBody {
|
|
72
96
|
/**
|
|
73
|
-
* Amount in base units (e.g., wei for ETH).
|
|
97
|
+
* Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
|
|
74
98
|
*/
|
|
75
|
-
|
|
99
|
+
base_amount: string;
|
|
76
100
|
/**
|
|
77
|
-
*
|
|
101
|
+
* The output side of a swap execution request.
|
|
78
102
|
*/
|
|
79
|
-
|
|
103
|
+
destination: SwapDestination;
|
|
80
104
|
/**
|
|
81
|
-
*
|
|
105
|
+
* The input side of a swap request, including token and chain.
|
|
82
106
|
*/
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Token address to buy, or "native" for the chain's native token.
|
|
86
|
-
*/
|
|
87
|
-
output_token: string;
|
|
107
|
+
source: SwapSource;
|
|
88
108
|
/**
|
|
89
109
|
* Whether the amount refers to the input token or output token.
|
|
90
110
|
*/
|
|
91
111
|
amount_type?: WalletsAPI.AmountType;
|
|
92
|
-
/**
|
|
93
|
-
* Address to receive the output tokens. Defaults to the wallet address if not
|
|
94
|
-
* specified.
|
|
95
|
-
*/
|
|
96
|
-
recipient?: string;
|
|
97
112
|
/**
|
|
98
113
|
* Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
|
|
99
114
|
*/
|
|
100
115
|
slippage_bps?: number;
|
|
101
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* The input side of a swap request, including token and chain.
|
|
119
|
+
*/
|
|
120
|
+
export interface SwapSource {
|
|
121
|
+
/**
|
|
122
|
+
* Token contract address to sell, or "native" for the chain's native token.
|
|
123
|
+
*/
|
|
124
|
+
asset_address: string;
|
|
125
|
+
/**
|
|
126
|
+
* CAIP-2 chain identifier (e.g., "eip155:1").
|
|
127
|
+
*/
|
|
128
|
+
caip2: string;
|
|
129
|
+
}
|
|
102
130
|
export declare namespace Swaps {
|
|
103
|
-
export { type SwapQuoteRequestBody as SwapQuoteRequestBody, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequestBody as SwapRequestBody, };
|
|
131
|
+
export { type SwapDestination as SwapDestination, type SwapQuoteDestination as SwapQuoteDestination, type SwapQuoteRequestBody as SwapQuoteRequestBody, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequestBody as SwapRequestBody, type SwapSource as SwapSource, };
|
|
104
132
|
}
|
|
105
133
|
//# sourceMappingURL=swaps.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swaps.d.mts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"swaps.d.mts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAEpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,eAAe,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAEpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,UAAU,IAAI,UAAU,GAC9B,CAAC;CACH"}
|
package/resources/swaps.d.ts
CHANGED
|
@@ -3,25 +3,49 @@ import * as WalletsAPI from "./wallets/wallets.js";
|
|
|
3
3
|
export declare class Swaps extends APIResource {
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* The output side of a swap execution request.
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface SwapDestination {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Token contract address to buy, or "native" for the chain's native token.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
asset_address: string;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* CAIP-2 chain identifier for the destination. Must match source chain —
|
|
15
|
+
* cross-chain swaps are not yet supported. Defaults to source chain if omitted.
|
|
15
16
|
*/
|
|
16
|
-
caip2
|
|
17
|
+
caip2?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The output side of a swap quote request.
|
|
21
|
+
*/
|
|
22
|
+
export interface SwapQuoteDestination {
|
|
17
23
|
/**
|
|
18
|
-
* Token address to
|
|
24
|
+
* Token contract address to buy, or "native" for the chain's native token.
|
|
19
25
|
*/
|
|
20
|
-
|
|
26
|
+
asset_address: string;
|
|
21
27
|
/**
|
|
22
|
-
*
|
|
28
|
+
* CAIP-2 chain identifier for the destination. Must match source chain —
|
|
29
|
+
* cross-chain swaps are not yet supported. Defaults to source chain if omitted.
|
|
23
30
|
*/
|
|
24
|
-
|
|
31
|
+
caip2?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Input for requesting a token swap quote.
|
|
35
|
+
*/
|
|
36
|
+
export interface SwapQuoteRequestBody {
|
|
37
|
+
/**
|
|
38
|
+
* Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
|
|
39
|
+
*/
|
|
40
|
+
base_amount: string;
|
|
41
|
+
/**
|
|
42
|
+
* The output side of a swap quote request.
|
|
43
|
+
*/
|
|
44
|
+
destination: SwapQuoteDestination;
|
|
45
|
+
/**
|
|
46
|
+
* The input side of a swap request, including token and chain.
|
|
47
|
+
*/
|
|
48
|
+
source: SwapSource;
|
|
25
49
|
/**
|
|
26
50
|
* Whether the amount refers to the input token or output token.
|
|
27
51
|
*/
|
|
@@ -70,36 +94,40 @@ export interface SwapQuoteResponse {
|
|
|
70
94
|
*/
|
|
71
95
|
export interface SwapRequestBody {
|
|
72
96
|
/**
|
|
73
|
-
* Amount in base units (e.g., wei for ETH).
|
|
97
|
+
* Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
|
|
74
98
|
*/
|
|
75
|
-
|
|
99
|
+
base_amount: string;
|
|
76
100
|
/**
|
|
77
|
-
*
|
|
101
|
+
* The output side of a swap execution request.
|
|
78
102
|
*/
|
|
79
|
-
|
|
103
|
+
destination: SwapDestination;
|
|
80
104
|
/**
|
|
81
|
-
*
|
|
105
|
+
* The input side of a swap request, including token and chain.
|
|
82
106
|
*/
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Token address to buy, or "native" for the chain's native token.
|
|
86
|
-
*/
|
|
87
|
-
output_token: string;
|
|
107
|
+
source: SwapSource;
|
|
88
108
|
/**
|
|
89
109
|
* Whether the amount refers to the input token or output token.
|
|
90
110
|
*/
|
|
91
111
|
amount_type?: WalletsAPI.AmountType;
|
|
92
|
-
/**
|
|
93
|
-
* Address to receive the output tokens. Defaults to the wallet address if not
|
|
94
|
-
* specified.
|
|
95
|
-
*/
|
|
96
|
-
recipient?: string;
|
|
97
112
|
/**
|
|
98
113
|
* Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
|
|
99
114
|
*/
|
|
100
115
|
slippage_bps?: number;
|
|
101
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* The input side of a swap request, including token and chain.
|
|
119
|
+
*/
|
|
120
|
+
export interface SwapSource {
|
|
121
|
+
/**
|
|
122
|
+
* Token contract address to sell, or "native" for the chain's native token.
|
|
123
|
+
*/
|
|
124
|
+
asset_address: string;
|
|
125
|
+
/**
|
|
126
|
+
* CAIP-2 chain identifier (e.g., "eip155:1").
|
|
127
|
+
*/
|
|
128
|
+
caip2: string;
|
|
129
|
+
}
|
|
102
130
|
export declare namespace Swaps {
|
|
103
|
-
export { type SwapQuoteRequestBody as SwapQuoteRequestBody, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequestBody as SwapRequestBody, };
|
|
131
|
+
export { type SwapDestination as SwapDestination, type SwapQuoteDestination as SwapQuoteDestination, type SwapQuoteRequestBody as SwapQuoteRequestBody, type SwapQuoteResponse as SwapQuoteResponse, type SwapRequestBody as SwapRequestBody, type SwapSource as SwapSource, };
|
|
104
132
|
}
|
|
105
133
|
//# sourceMappingURL=swaps.d.ts.map
|
package/resources/swaps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swaps.d.ts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"swaps.d.ts","sourceRoot":"","sources":["../src/resources/swaps.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG;AAEzC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAEpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,eAAe,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC;IAEpC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,UAAU,IAAI,UAAU,GAC9B,CAAC;CACH"}
|
|
@@ -1,48 +1,5 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Operations related to transactions
|
|
6
|
-
*/
|
|
7
2
|
export declare class Transactions extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get a transaction by transaction ID.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```ts
|
|
13
|
-
* const transaction = await client.transactions.get(
|
|
14
|
-
* 'transaction_id',
|
|
15
|
-
* );
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
get(transactionID: string, options?: RequestOptions): APIPromise<Transaction>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* The request body for scanning a transaction.
|
|
22
|
-
*/
|
|
23
|
-
export interface TransactionScanningRequestBody {
|
|
24
|
-
chain_id: string;
|
|
25
|
-
/**
|
|
26
|
-
* Additional information for Blockaid to validate against.
|
|
27
|
-
*/
|
|
28
|
-
metadata: TransactionScanningMetadata;
|
|
29
|
-
/**
|
|
30
|
-
* Raw RPC request to execute with the wallet.
|
|
31
|
-
*/
|
|
32
|
-
request: TransactionScanningRpcRequest;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* The response from scanning a transaction.
|
|
36
|
-
*/
|
|
37
|
-
export interface TransactionScanningResponseBody {
|
|
38
|
-
/**
|
|
39
|
-
* The simulation result from a transaction scan.
|
|
40
|
-
*/
|
|
41
|
-
simulation: TransactionScanningSimulationResult;
|
|
42
|
-
/**
|
|
43
|
-
* The validation result from a transaction scan.
|
|
44
|
-
*/
|
|
45
|
-
validation: TransactionScanningValidationResult;
|
|
46
3
|
}
|
|
47
4
|
/**
|
|
48
5
|
* A transaction from a Privy wallet.
|
|
@@ -135,6 +92,33 @@ export interface TransactionScanningParams {
|
|
|
135
92
|
to?: string;
|
|
136
93
|
value?: string;
|
|
137
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* The request body for scanning a transaction.
|
|
97
|
+
*/
|
|
98
|
+
export interface TransactionScanningRequestBody {
|
|
99
|
+
chain_id: string;
|
|
100
|
+
/**
|
|
101
|
+
* Additional information for Blockaid to validate against.
|
|
102
|
+
*/
|
|
103
|
+
metadata: TransactionScanningMetadata;
|
|
104
|
+
/**
|
|
105
|
+
* Raw RPC request to execute with the wallet.
|
|
106
|
+
*/
|
|
107
|
+
request: TransactionScanningRpcRequest;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* The response from scanning a transaction.
|
|
111
|
+
*/
|
|
112
|
+
export interface TransactionScanningResponseBody {
|
|
113
|
+
/**
|
|
114
|
+
* The simulation result from a transaction scan.
|
|
115
|
+
*/
|
|
116
|
+
simulation: TransactionScanningSimulationResult;
|
|
117
|
+
/**
|
|
118
|
+
* The validation result from a transaction scan.
|
|
119
|
+
*/
|
|
120
|
+
validation: TransactionScanningValidationResult;
|
|
121
|
+
}
|
|
138
122
|
/**
|
|
139
123
|
* Raw RPC request to execute with the wallet.
|
|
140
124
|
*/
|
|
@@ -184,6 +168,6 @@ export interface TransactionScanningValidationSuccessResult {
|
|
|
184
168
|
status: 'Success';
|
|
185
169
|
}
|
|
186
170
|
export declare namespace Transactions {
|
|
187
|
-
export { type
|
|
171
|
+
export { type Transaction as Transaction, type TransactionList as TransactionList, type TransactionScanningAssetDiff as TransactionScanningAssetDiff, type TransactionScanningAssetInfo as TransactionScanningAssetInfo, type TransactionScanningAssetValue as TransactionScanningAssetValue, type TransactionScanningCalldata as TransactionScanningCalldata, type TransactionScanningExposure as TransactionScanningExposure, type TransactionScanningMetadata as TransactionScanningMetadata, type TransactionScanningParams as TransactionScanningParams, type TransactionScanningRequestBody as TransactionScanningRequestBody, type TransactionScanningResponseBody as TransactionScanningResponseBody, type TransactionScanningRpcRequest as TransactionScanningRpcRequest, type TransactionScanningSimulationErrorResult as TransactionScanningSimulationErrorResult, type TransactionScanningSimulationResult as TransactionScanningSimulationResult, type TransactionScanningSimulationSuccessResult as TransactionScanningSimulationSuccessResult, type TransactionScanningValidationErrorResult as TransactionScanningValidationErrorResult, type TransactionScanningValidationResult as TransactionScanningValidationResult, type TransactionScanningValidationSuccessResult as TransactionScanningValidationSuccessResult, };
|
|
188
172
|
}
|
|
189
173
|
//# sourceMappingURL=transactions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"transactions.d.mts","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,YAAa,SAAQ,WAAW;CAAG;AAEhD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,CAAC;IAEd,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,EACF,aAAa,GACb,WAAW,GACX,oBAAoB,GACpB,QAAQ,GACR,UAAU,GACV,WAAW,GACX,gBAAgB,GAChB,SAAS,CAAC;IAEd,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,SAAS,EAAE,MAAM,CAAC;IAElB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,KAAK,EAAE,4BAA4B,CAAC;IAEpC,EAAE,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAEzC,GAAG,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,MAAM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