@rhinestone/sdk 2.0.0-beta.41 → 2.0.0-beta.43
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/dist/src/errors/index.d.ts +4 -4
- package/dist/src/errors/index.d.ts.map +1 -1
- package/dist/src/errors/index.js +2 -2
- package/dist/src/execution/index.d.ts +1 -0
- package/dist/src/execution/index.d.ts.map +1 -1
- package/dist/src/execution/index.js +3 -3
- package/dist/src/execution/utils.d.ts +1 -1
- package/dist/src/execution/utils.d.ts.map +1 -1
- package/dist/src/execution/utils.js +8 -3
- package/dist/src/orchestrator/consts.d.ts +1 -1
- package/dist/src/orchestrator/consts.js +1 -1
- package/dist/src/orchestrator/error.d.ts +67 -2
- package/dist/src/orchestrator/error.d.ts.map +1 -1
- package/dist/src/orchestrator/error.js +123 -6
- package/dist/src/orchestrator/index.d.ts +4 -4
- package/dist/src/orchestrator/index.d.ts.map +1 -1
- package/dist/src/orchestrator/index.js +2 -2
- package/dist/src/orchestrator/types.d.ts +6 -0
- package/dist/src/orchestrator/types.d.ts.map +1 -1
- package/dist/src/orchestrator/wire.gen.d.ts +1486 -27
- package/dist/src/orchestrator/wire.gen.d.ts.map +1 -1
- package/dist/src/types.d.ts +10 -0
- package/dist/src/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -167,6 +167,50 @@ export interface paths {
|
|
|
167
167
|
patch?: never;
|
|
168
168
|
trace?: never;
|
|
169
169
|
};
|
|
170
|
+
"/app-fees/withdrawals": {
|
|
171
|
+
parameters: {
|
|
172
|
+
query?: never;
|
|
173
|
+
header?: never;
|
|
174
|
+
path?: never;
|
|
175
|
+
cookie?: never;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* List App-Fee Withdrawals
|
|
179
|
+
* @description The authenticated project's app-fee withdrawals (newest first) with each withdrawal's status and USD value paid out.
|
|
180
|
+
*/
|
|
181
|
+
get: operations["listAppFeeWithdrawals"];
|
|
182
|
+
put?: never;
|
|
183
|
+
/**
|
|
184
|
+
* Create App-Fee Withdrawal
|
|
185
|
+
* @description Withdraw the authenticated project's full app-fee balance to a whitelisted stablecoin on the chosen chain, paid to the project's registered payout address.
|
|
186
|
+
*/
|
|
187
|
+
post: operations["createAppFeeWithdrawal"];
|
|
188
|
+
delete?: never;
|
|
189
|
+
options?: never;
|
|
190
|
+
head?: never;
|
|
191
|
+
patch?: never;
|
|
192
|
+
trace?: never;
|
|
193
|
+
};
|
|
194
|
+
"/app-fees/withdrawals/{nonce}": {
|
|
195
|
+
parameters: {
|
|
196
|
+
query?: never;
|
|
197
|
+
header?: never;
|
|
198
|
+
path?: never;
|
|
199
|
+
cookie?: never;
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* Get App-Fee Withdrawal
|
|
203
|
+
* @description A single app-fee withdrawal owned by the authenticated project, with its status and USD value paid out.
|
|
204
|
+
*/
|
|
205
|
+
get: operations["getAppFeeWithdrawal"];
|
|
206
|
+
put?: never;
|
|
207
|
+
post?: never;
|
|
208
|
+
delete?: never;
|
|
209
|
+
options?: never;
|
|
210
|
+
head?: never;
|
|
211
|
+
patch?: never;
|
|
212
|
+
trace?: never;
|
|
213
|
+
};
|
|
170
214
|
}
|
|
171
215
|
export type webhooks = Record<string, never>;
|
|
172
216
|
export interface components {
|
|
@@ -306,7 +350,7 @@ export interface operations {
|
|
|
306
350
|
}[];
|
|
307
351
|
} | {
|
|
308
352
|
/** @enum {string} */
|
|
309
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
353
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
310
354
|
/**
|
|
311
355
|
* @description Human-readable error message
|
|
312
356
|
* @example Invalid input
|
|
@@ -461,7 +505,7 @@ export interface operations {
|
|
|
461
505
|
}[];
|
|
462
506
|
} | {
|
|
463
507
|
/** @enum {string} */
|
|
464
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
508
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
465
509
|
/**
|
|
466
510
|
* @description Human-readable error message
|
|
467
511
|
* @example Invalid input
|
|
@@ -561,7 +605,7 @@ export interface operations {
|
|
|
561
605
|
}[];
|
|
562
606
|
} | {
|
|
563
607
|
/** @enum {string} */
|
|
564
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
608
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
565
609
|
/**
|
|
566
610
|
* @description Human-readable error message
|
|
567
611
|
* @example Invalid input
|
|
@@ -661,7 +705,7 @@ export interface operations {
|
|
|
661
705
|
}[];
|
|
662
706
|
} | {
|
|
663
707
|
/** @enum {string} */
|
|
664
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
708
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
665
709
|
/**
|
|
666
710
|
* @description Human-readable error message
|
|
667
711
|
* @example Invalid input
|
|
@@ -992,7 +1036,7 @@ export interface operations {
|
|
|
992
1036
|
}[];
|
|
993
1037
|
} | {
|
|
994
1038
|
/** @enum {string} */
|
|
995
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1039
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
996
1040
|
/**
|
|
997
1041
|
* @description Human-readable error message
|
|
998
1042
|
* @example Invalid input
|
|
@@ -1092,7 +1136,7 @@ export interface operations {
|
|
|
1092
1136
|
}[];
|
|
1093
1137
|
} | {
|
|
1094
1138
|
/** @enum {string} */
|
|
1095
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1139
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1096
1140
|
/**
|
|
1097
1141
|
* @description Human-readable error message
|
|
1098
1142
|
* @example Invalid input
|
|
@@ -1192,7 +1236,7 @@ export interface operations {
|
|
|
1192
1236
|
}[];
|
|
1193
1237
|
} | {
|
|
1194
1238
|
/** @enum {string} */
|
|
1195
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1239
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1196
1240
|
/**
|
|
1197
1241
|
* @description Human-readable error message
|
|
1198
1242
|
* @example Invalid input
|
|
@@ -1292,7 +1336,7 @@ export interface operations {
|
|
|
1292
1336
|
}[];
|
|
1293
1337
|
} | {
|
|
1294
1338
|
/** @enum {string} */
|
|
1295
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1339
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1296
1340
|
/**
|
|
1297
1341
|
* @description Human-readable error message
|
|
1298
1342
|
* @example Invalid input
|
|
@@ -1456,7 +1500,7 @@ export interface operations {
|
|
|
1456
1500
|
}[];
|
|
1457
1501
|
} | {
|
|
1458
1502
|
/** @enum {string} */
|
|
1459
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1503
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1460
1504
|
/**
|
|
1461
1505
|
* @description Human-readable error message
|
|
1462
1506
|
* @example Invalid input
|
|
@@ -1556,7 +1600,7 @@ export interface operations {
|
|
|
1556
1600
|
}[];
|
|
1557
1601
|
} | {
|
|
1558
1602
|
/** @enum {string} */
|
|
1559
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1603
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1560
1604
|
/**
|
|
1561
1605
|
* @description Human-readable error message
|
|
1562
1606
|
* @example Invalid input
|
|
@@ -1656,7 +1700,7 @@ export interface operations {
|
|
|
1656
1700
|
}[];
|
|
1657
1701
|
} | {
|
|
1658
1702
|
/** @enum {string} */
|
|
1659
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1703
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1660
1704
|
/**
|
|
1661
1705
|
* @description Human-readable error message
|
|
1662
1706
|
* @example Invalid input
|
|
@@ -1844,7 +1888,7 @@ export interface operations {
|
|
|
1844
1888
|
}[];
|
|
1845
1889
|
} | {
|
|
1846
1890
|
/** @enum {string} */
|
|
1847
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1891
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1848
1892
|
/**
|
|
1849
1893
|
* @description Human-readable error message
|
|
1850
1894
|
* @example Invalid input
|
|
@@ -1944,7 +1988,7 @@ export interface operations {
|
|
|
1944
1988
|
}[];
|
|
1945
1989
|
} | {
|
|
1946
1990
|
/** @enum {string} */
|
|
1947
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1991
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
1948
1992
|
/**
|
|
1949
1993
|
* @description Human-readable error message
|
|
1950
1994
|
* @example Invalid input
|
|
@@ -2044,7 +2088,7 @@ export interface operations {
|
|
|
2044
2088
|
}[];
|
|
2045
2089
|
} | {
|
|
2046
2090
|
/** @enum {string} */
|
|
2047
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2091
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2048
2092
|
/**
|
|
2049
2093
|
* @description Human-readable error message
|
|
2050
2094
|
* @example Invalid input
|
|
@@ -2269,7 +2313,7 @@ export interface operations {
|
|
|
2269
2313
|
}[];
|
|
2270
2314
|
} | {
|
|
2271
2315
|
/** @enum {string} */
|
|
2272
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2316
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2273
2317
|
/**
|
|
2274
2318
|
* @description Human-readable error message
|
|
2275
2319
|
* @example Invalid input
|
|
@@ -2369,7 +2413,7 @@ export interface operations {
|
|
|
2369
2413
|
}[];
|
|
2370
2414
|
} | {
|
|
2371
2415
|
/** @enum {string} */
|
|
2372
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2416
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2373
2417
|
/**
|
|
2374
2418
|
* @description Human-readable error message
|
|
2375
2419
|
* @example Invalid input
|
|
@@ -2469,7 +2513,7 @@ export interface operations {
|
|
|
2469
2513
|
}[];
|
|
2470
2514
|
} | {
|
|
2471
2515
|
/** @enum {string} */
|
|
2472
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2516
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2473
2517
|
/**
|
|
2474
2518
|
* @description Human-readable error message
|
|
2475
2519
|
* @example Invalid input
|
|
@@ -2569,7 +2613,7 @@ export interface operations {
|
|
|
2569
2613
|
}[];
|
|
2570
2614
|
} | {
|
|
2571
2615
|
/** @enum {string} */
|
|
2572
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2616
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2573
2617
|
/**
|
|
2574
2618
|
* @description Human-readable error message
|
|
2575
2619
|
* @example Invalid input
|
|
@@ -2744,7 +2788,7 @@ export interface operations {
|
|
|
2744
2788
|
}[];
|
|
2745
2789
|
} | {
|
|
2746
2790
|
/** @enum {string} */
|
|
2747
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2791
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2748
2792
|
/**
|
|
2749
2793
|
* @description Human-readable error message
|
|
2750
2794
|
* @example Invalid input
|
|
@@ -2844,7 +2888,7 @@ export interface operations {
|
|
|
2844
2888
|
}[];
|
|
2845
2889
|
} | {
|
|
2846
2890
|
/** @enum {string} */
|
|
2847
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2891
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2848
2892
|
/**
|
|
2849
2893
|
* @description Human-readable error message
|
|
2850
2894
|
* @example Invalid input
|
|
@@ -2972,7 +3016,7 @@ export interface operations {
|
|
|
2972
3016
|
}[];
|
|
2973
3017
|
} | {
|
|
2974
3018
|
/** @enum {string} */
|
|
2975
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3019
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
2976
3020
|
/**
|
|
2977
3021
|
* @description Human-readable error message
|
|
2978
3022
|
* @example Invalid input
|
|
@@ -3277,6 +3321,11 @@ export interface operations {
|
|
|
3277
3321
|
* @enum {string}
|
|
3278
3322
|
*/
|
|
3279
3323
|
selectionStrategy?: "cheapest" | "fastest" | "best";
|
|
3324
|
+
/**
|
|
3325
|
+
* @description Absolute unix timestamp (seconds) overriding the on-chain fill deadline. **TOKENLESS intents only** — ignored on every other route. Must be between `now + 120s` and `now + 86400s`. The bundle claim/nonce expiry and the response `expiresAt` track this value automatically.
|
|
3326
|
+
* @example 1893456000
|
|
3327
|
+
*/
|
|
3328
|
+
customDeadline?: number;
|
|
3280
3329
|
};
|
|
3281
3330
|
};
|
|
3282
3331
|
};
|
|
@@ -3747,7 +3796,7 @@ export interface operations {
|
|
|
3747
3796
|
}[];
|
|
3748
3797
|
} | {
|
|
3749
3798
|
/** @enum {string} */
|
|
3750
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3799
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3751
3800
|
/**
|
|
3752
3801
|
* @description Human-readable error message
|
|
3753
3802
|
* @example Invalid input
|
|
@@ -3847,7 +3896,7 @@ export interface operations {
|
|
|
3847
3896
|
}[];
|
|
3848
3897
|
} | {
|
|
3849
3898
|
/** @enum {string} */
|
|
3850
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3899
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3851
3900
|
/**
|
|
3852
3901
|
* @description Human-readable error message
|
|
3853
3902
|
* @example Invalid input
|
|
@@ -3947,7 +3996,7 @@ export interface operations {
|
|
|
3947
3996
|
}[];
|
|
3948
3997
|
} | {
|
|
3949
3998
|
/** @enum {string} */
|
|
3950
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3999
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
3951
4000
|
/**
|
|
3952
4001
|
* @description Human-readable error message
|
|
3953
4002
|
* @example Invalid input
|
|
@@ -4075,7 +4124,7 @@ export interface operations {
|
|
|
4075
4124
|
}[];
|
|
4076
4125
|
} | {
|
|
4077
4126
|
/** @enum {string} */
|
|
4078
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4127
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4079
4128
|
/**
|
|
4080
4129
|
* @description Human-readable error message
|
|
4081
4130
|
* @example Invalid input
|
|
@@ -4175,7 +4224,1417 @@ export interface operations {
|
|
|
4175
4224
|
}[];
|
|
4176
4225
|
} | {
|
|
4177
4226
|
/** @enum {string} */
|
|
4178
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4227
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4228
|
+
/**
|
|
4229
|
+
* @description Human-readable error message
|
|
4230
|
+
* @example Invalid input
|
|
4231
|
+
*/
|
|
4232
|
+
message: string;
|
|
4233
|
+
};
|
|
4234
|
+
};
|
|
4235
|
+
};
|
|
4236
|
+
/** @description Server error */
|
|
4237
|
+
500: {
|
|
4238
|
+
headers: {
|
|
4239
|
+
[name: string]: unknown;
|
|
4240
|
+
};
|
|
4241
|
+
content: {
|
|
4242
|
+
"application/json": {
|
|
4243
|
+
/** @enum {string} */
|
|
4244
|
+
code: "VALIDATION_ERROR";
|
|
4245
|
+
/**
|
|
4246
|
+
* @description Human-readable error message
|
|
4247
|
+
* @example Invalid input
|
|
4248
|
+
*/
|
|
4249
|
+
message: string;
|
|
4250
|
+
/** @description Per-field validation issues */
|
|
4251
|
+
details?: {
|
|
4252
|
+
/** @description Human-readable issue description */
|
|
4253
|
+
message: string;
|
|
4254
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4255
|
+
context?: {
|
|
4256
|
+
[key: string]: unknown;
|
|
4257
|
+
};
|
|
4258
|
+
}[];
|
|
4259
|
+
} | {
|
|
4260
|
+
/** @enum {string} */
|
|
4261
|
+
code: "SIMULATION_FAILED";
|
|
4262
|
+
/**
|
|
4263
|
+
* @description Human-readable error message
|
|
4264
|
+
* @example Invalid input
|
|
4265
|
+
*/
|
|
4266
|
+
message: string;
|
|
4267
|
+
/** @description Classified on-chain simulation failure details */
|
|
4268
|
+
details?: {
|
|
4269
|
+
nonce?: string;
|
|
4270
|
+
category: string;
|
|
4271
|
+
errorSelector: string;
|
|
4272
|
+
errorName: string;
|
|
4273
|
+
errorArgs?: {
|
|
4274
|
+
[key: string]: string;
|
|
4275
|
+
};
|
|
4276
|
+
retryable: boolean;
|
|
4277
|
+
/** @enum {string} */
|
|
4278
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4279
|
+
simulations?: unknown;
|
|
4280
|
+
} & {
|
|
4281
|
+
[key: string]: unknown;
|
|
4282
|
+
};
|
|
4283
|
+
} | {
|
|
4284
|
+
/** @enum {string} */
|
|
4285
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4286
|
+
/**
|
|
4287
|
+
* @description Human-readable error message
|
|
4288
|
+
* @example Invalid input
|
|
4289
|
+
*/
|
|
4290
|
+
message: string;
|
|
4291
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4292
|
+
details?: {
|
|
4293
|
+
/** @description Intents fillable with current liquidity */
|
|
4294
|
+
availableIntents: {
|
|
4295
|
+
[key: string]: string;
|
|
4296
|
+
}[];
|
|
4297
|
+
/** @description Token amounts that cannot be filled */
|
|
4298
|
+
unfillable: {
|
|
4299
|
+
[key: string]: string;
|
|
4300
|
+
};
|
|
4301
|
+
};
|
|
4302
|
+
} | {
|
|
4303
|
+
/** @enum {string} */
|
|
4304
|
+
code: "KEY_SCOPE_DENIED";
|
|
4305
|
+
/**
|
|
4306
|
+
* @description Human-readable error message
|
|
4307
|
+
* @example Invalid input
|
|
4308
|
+
*/
|
|
4309
|
+
message: string;
|
|
4310
|
+
/** @description Single-element list describing the failing scope */
|
|
4311
|
+
details?: {
|
|
4312
|
+
message: string;
|
|
4313
|
+
context: {
|
|
4314
|
+
/**
|
|
4315
|
+
* @description Which scope rejected the request
|
|
4316
|
+
* @enum {string}
|
|
4317
|
+
*/
|
|
4318
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4319
|
+
/** @description Minimum level the endpoint demands */
|
|
4320
|
+
required: boolean | ("read" | "write");
|
|
4321
|
+
/** @description Level resolved on the key */
|
|
4322
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4323
|
+
};
|
|
4324
|
+
}[];
|
|
4325
|
+
} | {
|
|
4326
|
+
/** @enum {string} */
|
|
4327
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4328
|
+
/**
|
|
4329
|
+
* @description Human-readable error message
|
|
4330
|
+
* @example Invalid input
|
|
4331
|
+
*/
|
|
4332
|
+
message: string;
|
|
4333
|
+
};
|
|
4334
|
+
};
|
|
4335
|
+
};
|
|
4336
|
+
};
|
|
4337
|
+
};
|
|
4338
|
+
listAppFeeWithdrawals: {
|
|
4339
|
+
parameters: {
|
|
4340
|
+
query?: never;
|
|
4341
|
+
header: {
|
|
4342
|
+
/** @description API version. Required; pinned to this document. */
|
|
4343
|
+
"x-api-version": "2026-04.blanc";
|
|
4344
|
+
/** @description API key. */
|
|
4345
|
+
"x-api-key": string;
|
|
4346
|
+
};
|
|
4347
|
+
path?: never;
|
|
4348
|
+
cookie?: never;
|
|
4349
|
+
};
|
|
4350
|
+
requestBody?: never;
|
|
4351
|
+
responses: {
|
|
4352
|
+
/** @description OK */
|
|
4353
|
+
200: {
|
|
4354
|
+
headers: {
|
|
4355
|
+
[name: string]: unknown;
|
|
4356
|
+
};
|
|
4357
|
+
content: {
|
|
4358
|
+
"application/json": {
|
|
4359
|
+
withdrawals: {
|
|
4360
|
+
requestNonce: string;
|
|
4361
|
+
/** @enum {string} */
|
|
4362
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
4363
|
+
payoutUsd: number;
|
|
4364
|
+
targetChainId: number;
|
|
4365
|
+
targetToken: string;
|
|
4366
|
+
targetAmount: string;
|
|
4367
|
+
payoutAddress: string;
|
|
4368
|
+
txHash: string | null;
|
|
4369
|
+
createdAt: string;
|
|
4370
|
+
}[];
|
|
4371
|
+
};
|
|
4372
|
+
};
|
|
4373
|
+
};
|
|
4374
|
+
/** @description Validation error */
|
|
4375
|
+
400: {
|
|
4376
|
+
headers: {
|
|
4377
|
+
[name: string]: unknown;
|
|
4378
|
+
};
|
|
4379
|
+
content: {
|
|
4380
|
+
"application/json": {
|
|
4381
|
+
/** @enum {string} */
|
|
4382
|
+
code: "VALIDATION_ERROR";
|
|
4383
|
+
/**
|
|
4384
|
+
* @description Human-readable error message
|
|
4385
|
+
* @example Invalid input
|
|
4386
|
+
*/
|
|
4387
|
+
message: string;
|
|
4388
|
+
/** @description Per-field validation issues */
|
|
4389
|
+
details?: {
|
|
4390
|
+
/** @description Human-readable issue description */
|
|
4391
|
+
message: string;
|
|
4392
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4393
|
+
context?: {
|
|
4394
|
+
[key: string]: unknown;
|
|
4395
|
+
};
|
|
4396
|
+
}[];
|
|
4397
|
+
} | {
|
|
4398
|
+
/** @enum {string} */
|
|
4399
|
+
code: "SIMULATION_FAILED";
|
|
4400
|
+
/**
|
|
4401
|
+
* @description Human-readable error message
|
|
4402
|
+
* @example Invalid input
|
|
4403
|
+
*/
|
|
4404
|
+
message: string;
|
|
4405
|
+
/** @description Classified on-chain simulation failure details */
|
|
4406
|
+
details?: {
|
|
4407
|
+
nonce?: string;
|
|
4408
|
+
category: string;
|
|
4409
|
+
errorSelector: string;
|
|
4410
|
+
errorName: string;
|
|
4411
|
+
errorArgs?: {
|
|
4412
|
+
[key: string]: string;
|
|
4413
|
+
};
|
|
4414
|
+
retryable: boolean;
|
|
4415
|
+
/** @enum {string} */
|
|
4416
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4417
|
+
simulations?: unknown;
|
|
4418
|
+
} & {
|
|
4419
|
+
[key: string]: unknown;
|
|
4420
|
+
};
|
|
4421
|
+
} | {
|
|
4422
|
+
/** @enum {string} */
|
|
4423
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4424
|
+
/**
|
|
4425
|
+
* @description Human-readable error message
|
|
4426
|
+
* @example Invalid input
|
|
4427
|
+
*/
|
|
4428
|
+
message: string;
|
|
4429
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4430
|
+
details?: {
|
|
4431
|
+
/** @description Intents fillable with current liquidity */
|
|
4432
|
+
availableIntents: {
|
|
4433
|
+
[key: string]: string;
|
|
4434
|
+
}[];
|
|
4435
|
+
/** @description Token amounts that cannot be filled */
|
|
4436
|
+
unfillable: {
|
|
4437
|
+
[key: string]: string;
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4440
|
+
} | {
|
|
4441
|
+
/** @enum {string} */
|
|
4442
|
+
code: "KEY_SCOPE_DENIED";
|
|
4443
|
+
/**
|
|
4444
|
+
* @description Human-readable error message
|
|
4445
|
+
* @example Invalid input
|
|
4446
|
+
*/
|
|
4447
|
+
message: string;
|
|
4448
|
+
/** @description Single-element list describing the failing scope */
|
|
4449
|
+
details?: {
|
|
4450
|
+
message: string;
|
|
4451
|
+
context: {
|
|
4452
|
+
/**
|
|
4453
|
+
* @description Which scope rejected the request
|
|
4454
|
+
* @enum {string}
|
|
4455
|
+
*/
|
|
4456
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4457
|
+
/** @description Minimum level the endpoint demands */
|
|
4458
|
+
required: boolean | ("read" | "write");
|
|
4459
|
+
/** @description Level resolved on the key */
|
|
4460
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4461
|
+
};
|
|
4462
|
+
}[];
|
|
4463
|
+
} | {
|
|
4464
|
+
/** @enum {string} */
|
|
4465
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4466
|
+
/**
|
|
4467
|
+
* @description Human-readable error message
|
|
4468
|
+
* @example Invalid input
|
|
4469
|
+
*/
|
|
4470
|
+
message: string;
|
|
4471
|
+
};
|
|
4472
|
+
};
|
|
4473
|
+
};
|
|
4474
|
+
/** @description Missing or invalid API key */
|
|
4475
|
+
401: {
|
|
4476
|
+
headers: {
|
|
4477
|
+
[name: string]: unknown;
|
|
4478
|
+
};
|
|
4479
|
+
content: {
|
|
4480
|
+
"application/json": {
|
|
4481
|
+
/** @enum {string} */
|
|
4482
|
+
code: "VALIDATION_ERROR";
|
|
4483
|
+
/**
|
|
4484
|
+
* @description Human-readable error message
|
|
4485
|
+
* @example Invalid input
|
|
4486
|
+
*/
|
|
4487
|
+
message: string;
|
|
4488
|
+
/** @description Per-field validation issues */
|
|
4489
|
+
details?: {
|
|
4490
|
+
/** @description Human-readable issue description */
|
|
4491
|
+
message: string;
|
|
4492
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4493
|
+
context?: {
|
|
4494
|
+
[key: string]: unknown;
|
|
4495
|
+
};
|
|
4496
|
+
}[];
|
|
4497
|
+
} | {
|
|
4498
|
+
/** @enum {string} */
|
|
4499
|
+
code: "SIMULATION_FAILED";
|
|
4500
|
+
/**
|
|
4501
|
+
* @description Human-readable error message
|
|
4502
|
+
* @example Invalid input
|
|
4503
|
+
*/
|
|
4504
|
+
message: string;
|
|
4505
|
+
/** @description Classified on-chain simulation failure details */
|
|
4506
|
+
details?: {
|
|
4507
|
+
nonce?: string;
|
|
4508
|
+
category: string;
|
|
4509
|
+
errorSelector: string;
|
|
4510
|
+
errorName: string;
|
|
4511
|
+
errorArgs?: {
|
|
4512
|
+
[key: string]: string;
|
|
4513
|
+
};
|
|
4514
|
+
retryable: boolean;
|
|
4515
|
+
/** @enum {string} */
|
|
4516
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4517
|
+
simulations?: unknown;
|
|
4518
|
+
} & {
|
|
4519
|
+
[key: string]: unknown;
|
|
4520
|
+
};
|
|
4521
|
+
} | {
|
|
4522
|
+
/** @enum {string} */
|
|
4523
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4524
|
+
/**
|
|
4525
|
+
* @description Human-readable error message
|
|
4526
|
+
* @example Invalid input
|
|
4527
|
+
*/
|
|
4528
|
+
message: string;
|
|
4529
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4530
|
+
details?: {
|
|
4531
|
+
/** @description Intents fillable with current liquidity */
|
|
4532
|
+
availableIntents: {
|
|
4533
|
+
[key: string]: string;
|
|
4534
|
+
}[];
|
|
4535
|
+
/** @description Token amounts that cannot be filled */
|
|
4536
|
+
unfillable: {
|
|
4537
|
+
[key: string]: string;
|
|
4538
|
+
};
|
|
4539
|
+
};
|
|
4540
|
+
} | {
|
|
4541
|
+
/** @enum {string} */
|
|
4542
|
+
code: "KEY_SCOPE_DENIED";
|
|
4543
|
+
/**
|
|
4544
|
+
* @description Human-readable error message
|
|
4545
|
+
* @example Invalid input
|
|
4546
|
+
*/
|
|
4547
|
+
message: string;
|
|
4548
|
+
/** @description Single-element list describing the failing scope */
|
|
4549
|
+
details?: {
|
|
4550
|
+
message: string;
|
|
4551
|
+
context: {
|
|
4552
|
+
/**
|
|
4553
|
+
* @description Which scope rejected the request
|
|
4554
|
+
* @enum {string}
|
|
4555
|
+
*/
|
|
4556
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4557
|
+
/** @description Minimum level the endpoint demands */
|
|
4558
|
+
required: boolean | ("read" | "write");
|
|
4559
|
+
/** @description Level resolved on the key */
|
|
4560
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4561
|
+
};
|
|
4562
|
+
}[];
|
|
4563
|
+
} | {
|
|
4564
|
+
/** @enum {string} */
|
|
4565
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4566
|
+
/**
|
|
4567
|
+
* @description Human-readable error message
|
|
4568
|
+
* @example Invalid input
|
|
4569
|
+
*/
|
|
4570
|
+
message: string;
|
|
4571
|
+
};
|
|
4572
|
+
};
|
|
4573
|
+
};
|
|
4574
|
+
/** @description API key scope denied */
|
|
4575
|
+
403: {
|
|
4576
|
+
headers: {
|
|
4577
|
+
[name: string]: unknown;
|
|
4578
|
+
};
|
|
4579
|
+
content: {
|
|
4580
|
+
"application/json": {
|
|
4581
|
+
/** @enum {string} */
|
|
4582
|
+
code: "VALIDATION_ERROR";
|
|
4583
|
+
/**
|
|
4584
|
+
* @description Human-readable error message
|
|
4585
|
+
* @example Invalid input
|
|
4586
|
+
*/
|
|
4587
|
+
message: string;
|
|
4588
|
+
/** @description Per-field validation issues */
|
|
4589
|
+
details?: {
|
|
4590
|
+
/** @description Human-readable issue description */
|
|
4591
|
+
message: string;
|
|
4592
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4593
|
+
context?: {
|
|
4594
|
+
[key: string]: unknown;
|
|
4595
|
+
};
|
|
4596
|
+
}[];
|
|
4597
|
+
} | {
|
|
4598
|
+
/** @enum {string} */
|
|
4599
|
+
code: "SIMULATION_FAILED";
|
|
4600
|
+
/**
|
|
4601
|
+
* @description Human-readable error message
|
|
4602
|
+
* @example Invalid input
|
|
4603
|
+
*/
|
|
4604
|
+
message: string;
|
|
4605
|
+
/** @description Classified on-chain simulation failure details */
|
|
4606
|
+
details?: {
|
|
4607
|
+
nonce?: string;
|
|
4608
|
+
category: string;
|
|
4609
|
+
errorSelector: string;
|
|
4610
|
+
errorName: string;
|
|
4611
|
+
errorArgs?: {
|
|
4612
|
+
[key: string]: string;
|
|
4613
|
+
};
|
|
4614
|
+
retryable: boolean;
|
|
4615
|
+
/** @enum {string} */
|
|
4616
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4617
|
+
simulations?: unknown;
|
|
4618
|
+
} & {
|
|
4619
|
+
[key: string]: unknown;
|
|
4620
|
+
};
|
|
4621
|
+
} | {
|
|
4622
|
+
/** @enum {string} */
|
|
4623
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4624
|
+
/**
|
|
4625
|
+
* @description Human-readable error message
|
|
4626
|
+
* @example Invalid input
|
|
4627
|
+
*/
|
|
4628
|
+
message: string;
|
|
4629
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4630
|
+
details?: {
|
|
4631
|
+
/** @description Intents fillable with current liquidity */
|
|
4632
|
+
availableIntents: {
|
|
4633
|
+
[key: string]: string;
|
|
4634
|
+
}[];
|
|
4635
|
+
/** @description Token amounts that cannot be filled */
|
|
4636
|
+
unfillable: {
|
|
4637
|
+
[key: string]: string;
|
|
4638
|
+
};
|
|
4639
|
+
};
|
|
4640
|
+
} | {
|
|
4641
|
+
/** @enum {string} */
|
|
4642
|
+
code: "KEY_SCOPE_DENIED";
|
|
4643
|
+
/**
|
|
4644
|
+
* @description Human-readable error message
|
|
4645
|
+
* @example Invalid input
|
|
4646
|
+
*/
|
|
4647
|
+
message: string;
|
|
4648
|
+
/** @description Single-element list describing the failing scope */
|
|
4649
|
+
details?: {
|
|
4650
|
+
message: string;
|
|
4651
|
+
context: {
|
|
4652
|
+
/**
|
|
4653
|
+
* @description Which scope rejected the request
|
|
4654
|
+
* @enum {string}
|
|
4655
|
+
*/
|
|
4656
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4657
|
+
/** @description Minimum level the endpoint demands */
|
|
4658
|
+
required: boolean | ("read" | "write");
|
|
4659
|
+
/** @description Level resolved on the key */
|
|
4660
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4661
|
+
};
|
|
4662
|
+
}[];
|
|
4663
|
+
} | {
|
|
4664
|
+
/** @enum {string} */
|
|
4665
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4666
|
+
/**
|
|
4667
|
+
* @description Human-readable error message
|
|
4668
|
+
* @example Invalid input
|
|
4669
|
+
*/
|
|
4670
|
+
message: string;
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
};
|
|
4674
|
+
/** @description Server error */
|
|
4675
|
+
500: {
|
|
4676
|
+
headers: {
|
|
4677
|
+
[name: string]: unknown;
|
|
4678
|
+
};
|
|
4679
|
+
content: {
|
|
4680
|
+
"application/json": {
|
|
4681
|
+
/** @enum {string} */
|
|
4682
|
+
code: "VALIDATION_ERROR";
|
|
4683
|
+
/**
|
|
4684
|
+
* @description Human-readable error message
|
|
4685
|
+
* @example Invalid input
|
|
4686
|
+
*/
|
|
4687
|
+
message: string;
|
|
4688
|
+
/** @description Per-field validation issues */
|
|
4689
|
+
details?: {
|
|
4690
|
+
/** @description Human-readable issue description */
|
|
4691
|
+
message: string;
|
|
4692
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4693
|
+
context?: {
|
|
4694
|
+
[key: string]: unknown;
|
|
4695
|
+
};
|
|
4696
|
+
}[];
|
|
4697
|
+
} | {
|
|
4698
|
+
/** @enum {string} */
|
|
4699
|
+
code: "SIMULATION_FAILED";
|
|
4700
|
+
/**
|
|
4701
|
+
* @description Human-readable error message
|
|
4702
|
+
* @example Invalid input
|
|
4703
|
+
*/
|
|
4704
|
+
message: string;
|
|
4705
|
+
/** @description Classified on-chain simulation failure details */
|
|
4706
|
+
details?: {
|
|
4707
|
+
nonce?: string;
|
|
4708
|
+
category: string;
|
|
4709
|
+
errorSelector: string;
|
|
4710
|
+
errorName: string;
|
|
4711
|
+
errorArgs?: {
|
|
4712
|
+
[key: string]: string;
|
|
4713
|
+
};
|
|
4714
|
+
retryable: boolean;
|
|
4715
|
+
/** @enum {string} */
|
|
4716
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4717
|
+
simulations?: unknown;
|
|
4718
|
+
} & {
|
|
4719
|
+
[key: string]: unknown;
|
|
4720
|
+
};
|
|
4721
|
+
} | {
|
|
4722
|
+
/** @enum {string} */
|
|
4723
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4724
|
+
/**
|
|
4725
|
+
* @description Human-readable error message
|
|
4726
|
+
* @example Invalid input
|
|
4727
|
+
*/
|
|
4728
|
+
message: string;
|
|
4729
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4730
|
+
details?: {
|
|
4731
|
+
/** @description Intents fillable with current liquidity */
|
|
4732
|
+
availableIntents: {
|
|
4733
|
+
[key: string]: string;
|
|
4734
|
+
}[];
|
|
4735
|
+
/** @description Token amounts that cannot be filled */
|
|
4736
|
+
unfillable: {
|
|
4737
|
+
[key: string]: string;
|
|
4738
|
+
};
|
|
4739
|
+
};
|
|
4740
|
+
} | {
|
|
4741
|
+
/** @enum {string} */
|
|
4742
|
+
code: "KEY_SCOPE_DENIED";
|
|
4743
|
+
/**
|
|
4744
|
+
* @description Human-readable error message
|
|
4745
|
+
* @example Invalid input
|
|
4746
|
+
*/
|
|
4747
|
+
message: string;
|
|
4748
|
+
/** @description Single-element list describing the failing scope */
|
|
4749
|
+
details?: {
|
|
4750
|
+
message: string;
|
|
4751
|
+
context: {
|
|
4752
|
+
/**
|
|
4753
|
+
* @description Which scope rejected the request
|
|
4754
|
+
* @enum {string}
|
|
4755
|
+
*/
|
|
4756
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4757
|
+
/** @description Minimum level the endpoint demands */
|
|
4758
|
+
required: boolean | ("read" | "write");
|
|
4759
|
+
/** @description Level resolved on the key */
|
|
4760
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4761
|
+
};
|
|
4762
|
+
}[];
|
|
4763
|
+
} | {
|
|
4764
|
+
/** @enum {string} */
|
|
4765
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4766
|
+
/**
|
|
4767
|
+
* @description Human-readable error message
|
|
4768
|
+
* @example Invalid input
|
|
4769
|
+
*/
|
|
4770
|
+
message: string;
|
|
4771
|
+
};
|
|
4772
|
+
};
|
|
4773
|
+
};
|
|
4774
|
+
};
|
|
4775
|
+
};
|
|
4776
|
+
createAppFeeWithdrawal: {
|
|
4777
|
+
parameters: {
|
|
4778
|
+
query?: never;
|
|
4779
|
+
header: {
|
|
4780
|
+
/** @description API version. Required; pinned to this document. */
|
|
4781
|
+
"x-api-version": "2026-04.blanc";
|
|
4782
|
+
/** @description API key. */
|
|
4783
|
+
"x-api-key": string;
|
|
4784
|
+
};
|
|
4785
|
+
path?: never;
|
|
4786
|
+
cookie?: never;
|
|
4787
|
+
};
|
|
4788
|
+
requestBody: {
|
|
4789
|
+
content: {
|
|
4790
|
+
"application/json": {
|
|
4791
|
+
targetChainId: number;
|
|
4792
|
+
targetToken: string;
|
|
4793
|
+
};
|
|
4794
|
+
};
|
|
4795
|
+
};
|
|
4796
|
+
responses: {
|
|
4797
|
+
/** @description OK */
|
|
4798
|
+
202: {
|
|
4799
|
+
headers: {
|
|
4800
|
+
[name: string]: unknown;
|
|
4801
|
+
};
|
|
4802
|
+
content: {
|
|
4803
|
+
"application/json": {
|
|
4804
|
+
requestNonce: string;
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4808
|
+
/** @description No payout address, nothing to withdraw, or invalid target */
|
|
4809
|
+
400: {
|
|
4810
|
+
headers: {
|
|
4811
|
+
[name: string]: unknown;
|
|
4812
|
+
};
|
|
4813
|
+
content: {
|
|
4814
|
+
"application/json": {
|
|
4815
|
+
/** @enum {string} */
|
|
4816
|
+
code: "VALIDATION_ERROR";
|
|
4817
|
+
/**
|
|
4818
|
+
* @description Human-readable error message
|
|
4819
|
+
* @example Invalid input
|
|
4820
|
+
*/
|
|
4821
|
+
message: string;
|
|
4822
|
+
/** @description Per-field validation issues */
|
|
4823
|
+
details?: {
|
|
4824
|
+
/** @description Human-readable issue description */
|
|
4825
|
+
message: string;
|
|
4826
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4827
|
+
context?: {
|
|
4828
|
+
[key: string]: unknown;
|
|
4829
|
+
};
|
|
4830
|
+
}[];
|
|
4831
|
+
} | {
|
|
4832
|
+
/** @enum {string} */
|
|
4833
|
+
code: "SIMULATION_FAILED";
|
|
4834
|
+
/**
|
|
4835
|
+
* @description Human-readable error message
|
|
4836
|
+
* @example Invalid input
|
|
4837
|
+
*/
|
|
4838
|
+
message: string;
|
|
4839
|
+
/** @description Classified on-chain simulation failure details */
|
|
4840
|
+
details?: {
|
|
4841
|
+
nonce?: string;
|
|
4842
|
+
category: string;
|
|
4843
|
+
errorSelector: string;
|
|
4844
|
+
errorName: string;
|
|
4845
|
+
errorArgs?: {
|
|
4846
|
+
[key: string]: string;
|
|
4847
|
+
};
|
|
4848
|
+
retryable: boolean;
|
|
4849
|
+
/** @enum {string} */
|
|
4850
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4851
|
+
simulations?: unknown;
|
|
4852
|
+
} & {
|
|
4853
|
+
[key: string]: unknown;
|
|
4854
|
+
};
|
|
4855
|
+
} | {
|
|
4856
|
+
/** @enum {string} */
|
|
4857
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4858
|
+
/**
|
|
4859
|
+
* @description Human-readable error message
|
|
4860
|
+
* @example Invalid input
|
|
4861
|
+
*/
|
|
4862
|
+
message: string;
|
|
4863
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4864
|
+
details?: {
|
|
4865
|
+
/** @description Intents fillable with current liquidity */
|
|
4866
|
+
availableIntents: {
|
|
4867
|
+
[key: string]: string;
|
|
4868
|
+
}[];
|
|
4869
|
+
/** @description Token amounts that cannot be filled */
|
|
4870
|
+
unfillable: {
|
|
4871
|
+
[key: string]: string;
|
|
4872
|
+
};
|
|
4873
|
+
};
|
|
4874
|
+
} | {
|
|
4875
|
+
/** @enum {string} */
|
|
4876
|
+
code: "KEY_SCOPE_DENIED";
|
|
4877
|
+
/**
|
|
4878
|
+
* @description Human-readable error message
|
|
4879
|
+
* @example Invalid input
|
|
4880
|
+
*/
|
|
4881
|
+
message: string;
|
|
4882
|
+
/** @description Single-element list describing the failing scope */
|
|
4883
|
+
details?: {
|
|
4884
|
+
message: string;
|
|
4885
|
+
context: {
|
|
4886
|
+
/**
|
|
4887
|
+
* @description Which scope rejected the request
|
|
4888
|
+
* @enum {string}
|
|
4889
|
+
*/
|
|
4890
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4891
|
+
/** @description Minimum level the endpoint demands */
|
|
4892
|
+
required: boolean | ("read" | "write");
|
|
4893
|
+
/** @description Level resolved on the key */
|
|
4894
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4895
|
+
};
|
|
4896
|
+
}[];
|
|
4897
|
+
} | {
|
|
4898
|
+
/** @enum {string} */
|
|
4899
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4900
|
+
/**
|
|
4901
|
+
* @description Human-readable error message
|
|
4902
|
+
* @example Invalid input
|
|
4903
|
+
*/
|
|
4904
|
+
message: string;
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
};
|
|
4908
|
+
/** @description Missing or invalid API key */
|
|
4909
|
+
401: {
|
|
4910
|
+
headers: {
|
|
4911
|
+
[name: string]: unknown;
|
|
4912
|
+
};
|
|
4913
|
+
content: {
|
|
4914
|
+
"application/json": {
|
|
4915
|
+
/** @enum {string} */
|
|
4916
|
+
code: "VALIDATION_ERROR";
|
|
4917
|
+
/**
|
|
4918
|
+
* @description Human-readable error message
|
|
4919
|
+
* @example Invalid input
|
|
4920
|
+
*/
|
|
4921
|
+
message: string;
|
|
4922
|
+
/** @description Per-field validation issues */
|
|
4923
|
+
details?: {
|
|
4924
|
+
/** @description Human-readable issue description */
|
|
4925
|
+
message: string;
|
|
4926
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
4927
|
+
context?: {
|
|
4928
|
+
[key: string]: unknown;
|
|
4929
|
+
};
|
|
4930
|
+
}[];
|
|
4931
|
+
} | {
|
|
4932
|
+
/** @enum {string} */
|
|
4933
|
+
code: "SIMULATION_FAILED";
|
|
4934
|
+
/**
|
|
4935
|
+
* @description Human-readable error message
|
|
4936
|
+
* @example Invalid input
|
|
4937
|
+
*/
|
|
4938
|
+
message: string;
|
|
4939
|
+
/** @description Classified on-chain simulation failure details */
|
|
4940
|
+
details?: {
|
|
4941
|
+
nonce?: string;
|
|
4942
|
+
category: string;
|
|
4943
|
+
errorSelector: string;
|
|
4944
|
+
errorName: string;
|
|
4945
|
+
errorArgs?: {
|
|
4946
|
+
[key: string]: string;
|
|
4947
|
+
};
|
|
4948
|
+
retryable: boolean;
|
|
4949
|
+
/** @enum {string} */
|
|
4950
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
4951
|
+
simulations?: unknown;
|
|
4952
|
+
} & {
|
|
4953
|
+
[key: string]: unknown;
|
|
4954
|
+
};
|
|
4955
|
+
} | {
|
|
4956
|
+
/** @enum {string} */
|
|
4957
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
4958
|
+
/**
|
|
4959
|
+
* @description Human-readable error message
|
|
4960
|
+
* @example Invalid input
|
|
4961
|
+
*/
|
|
4962
|
+
message: string;
|
|
4963
|
+
/** @description Fillable subset and unfillable remainder */
|
|
4964
|
+
details?: {
|
|
4965
|
+
/** @description Intents fillable with current liquidity */
|
|
4966
|
+
availableIntents: {
|
|
4967
|
+
[key: string]: string;
|
|
4968
|
+
}[];
|
|
4969
|
+
/** @description Token amounts that cannot be filled */
|
|
4970
|
+
unfillable: {
|
|
4971
|
+
[key: string]: string;
|
|
4972
|
+
};
|
|
4973
|
+
};
|
|
4974
|
+
} | {
|
|
4975
|
+
/** @enum {string} */
|
|
4976
|
+
code: "KEY_SCOPE_DENIED";
|
|
4977
|
+
/**
|
|
4978
|
+
* @description Human-readable error message
|
|
4979
|
+
* @example Invalid input
|
|
4980
|
+
*/
|
|
4981
|
+
message: string;
|
|
4982
|
+
/** @description Single-element list describing the failing scope */
|
|
4983
|
+
details?: {
|
|
4984
|
+
message: string;
|
|
4985
|
+
context: {
|
|
4986
|
+
/**
|
|
4987
|
+
* @description Which scope rejected the request
|
|
4988
|
+
* @enum {string}
|
|
4989
|
+
*/
|
|
4990
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
4991
|
+
/** @description Minimum level the endpoint demands */
|
|
4992
|
+
required: boolean | ("read" | "write");
|
|
4993
|
+
/** @description Level resolved on the key */
|
|
4994
|
+
actual: boolean | ("none" | "read" | "write");
|
|
4995
|
+
};
|
|
4996
|
+
}[];
|
|
4997
|
+
} | {
|
|
4998
|
+
/** @enum {string} */
|
|
4999
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5000
|
+
/**
|
|
5001
|
+
* @description Human-readable error message
|
|
5002
|
+
* @example Invalid input
|
|
5003
|
+
*/
|
|
5004
|
+
message: string;
|
|
5005
|
+
};
|
|
5006
|
+
};
|
|
5007
|
+
};
|
|
5008
|
+
/** @description A withdrawal is in progress or failed delivery is awaiting finalization */
|
|
5009
|
+
409: {
|
|
5010
|
+
headers: {
|
|
5011
|
+
[name: string]: unknown;
|
|
5012
|
+
};
|
|
5013
|
+
content: {
|
|
5014
|
+
"application/json": {
|
|
5015
|
+
/** @enum {string} */
|
|
5016
|
+
code: "VALIDATION_ERROR";
|
|
5017
|
+
/**
|
|
5018
|
+
* @description Human-readable error message
|
|
5019
|
+
* @example Invalid input
|
|
5020
|
+
*/
|
|
5021
|
+
message: string;
|
|
5022
|
+
/** @description Per-field validation issues */
|
|
5023
|
+
details?: {
|
|
5024
|
+
/** @description Human-readable issue description */
|
|
5025
|
+
message: string;
|
|
5026
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5027
|
+
context?: {
|
|
5028
|
+
[key: string]: unknown;
|
|
5029
|
+
};
|
|
5030
|
+
}[];
|
|
5031
|
+
} | {
|
|
5032
|
+
/** @enum {string} */
|
|
5033
|
+
code: "SIMULATION_FAILED";
|
|
5034
|
+
/**
|
|
5035
|
+
* @description Human-readable error message
|
|
5036
|
+
* @example Invalid input
|
|
5037
|
+
*/
|
|
5038
|
+
message: string;
|
|
5039
|
+
/** @description Classified on-chain simulation failure details */
|
|
5040
|
+
details?: {
|
|
5041
|
+
nonce?: string;
|
|
5042
|
+
category: string;
|
|
5043
|
+
errorSelector: string;
|
|
5044
|
+
errorName: string;
|
|
5045
|
+
errorArgs?: {
|
|
5046
|
+
[key: string]: string;
|
|
5047
|
+
};
|
|
5048
|
+
retryable: boolean;
|
|
5049
|
+
/** @enum {string} */
|
|
5050
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5051
|
+
simulations?: unknown;
|
|
5052
|
+
} & {
|
|
5053
|
+
[key: string]: unknown;
|
|
5054
|
+
};
|
|
5055
|
+
} | {
|
|
5056
|
+
/** @enum {string} */
|
|
5057
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5058
|
+
/**
|
|
5059
|
+
* @description Human-readable error message
|
|
5060
|
+
* @example Invalid input
|
|
5061
|
+
*/
|
|
5062
|
+
message: string;
|
|
5063
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5064
|
+
details?: {
|
|
5065
|
+
/** @description Intents fillable with current liquidity */
|
|
5066
|
+
availableIntents: {
|
|
5067
|
+
[key: string]: string;
|
|
5068
|
+
}[];
|
|
5069
|
+
/** @description Token amounts that cannot be filled */
|
|
5070
|
+
unfillable: {
|
|
5071
|
+
[key: string]: string;
|
|
5072
|
+
};
|
|
5073
|
+
};
|
|
5074
|
+
} | {
|
|
5075
|
+
/** @enum {string} */
|
|
5076
|
+
code: "KEY_SCOPE_DENIED";
|
|
5077
|
+
/**
|
|
5078
|
+
* @description Human-readable error message
|
|
5079
|
+
* @example Invalid input
|
|
5080
|
+
*/
|
|
5081
|
+
message: string;
|
|
5082
|
+
/** @description Single-element list describing the failing scope */
|
|
5083
|
+
details?: {
|
|
5084
|
+
message: string;
|
|
5085
|
+
context: {
|
|
5086
|
+
/**
|
|
5087
|
+
* @description Which scope rejected the request
|
|
5088
|
+
* @enum {string}
|
|
5089
|
+
*/
|
|
5090
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5091
|
+
/** @description Minimum level the endpoint demands */
|
|
5092
|
+
required: boolean | ("read" | "write");
|
|
5093
|
+
/** @description Level resolved on the key */
|
|
5094
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5095
|
+
};
|
|
5096
|
+
}[];
|
|
5097
|
+
} | {
|
|
5098
|
+
/** @enum {string} */
|
|
5099
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5100
|
+
/**
|
|
5101
|
+
* @description Human-readable error message
|
|
5102
|
+
* @example Invalid input
|
|
5103
|
+
*/
|
|
5104
|
+
message: string;
|
|
5105
|
+
};
|
|
5106
|
+
};
|
|
5107
|
+
};
|
|
5108
|
+
/** @description Server error */
|
|
5109
|
+
500: {
|
|
5110
|
+
headers: {
|
|
5111
|
+
[name: string]: unknown;
|
|
5112
|
+
};
|
|
5113
|
+
content: {
|
|
5114
|
+
"application/json": {
|
|
5115
|
+
/** @enum {string} */
|
|
5116
|
+
code: "VALIDATION_ERROR";
|
|
5117
|
+
/**
|
|
5118
|
+
* @description Human-readable error message
|
|
5119
|
+
* @example Invalid input
|
|
5120
|
+
*/
|
|
5121
|
+
message: string;
|
|
5122
|
+
/** @description Per-field validation issues */
|
|
5123
|
+
details?: {
|
|
5124
|
+
/** @description Human-readable issue description */
|
|
5125
|
+
message: string;
|
|
5126
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5127
|
+
context?: {
|
|
5128
|
+
[key: string]: unknown;
|
|
5129
|
+
};
|
|
5130
|
+
}[];
|
|
5131
|
+
} | {
|
|
5132
|
+
/** @enum {string} */
|
|
5133
|
+
code: "SIMULATION_FAILED";
|
|
5134
|
+
/**
|
|
5135
|
+
* @description Human-readable error message
|
|
5136
|
+
* @example Invalid input
|
|
5137
|
+
*/
|
|
5138
|
+
message: string;
|
|
5139
|
+
/** @description Classified on-chain simulation failure details */
|
|
5140
|
+
details?: {
|
|
5141
|
+
nonce?: string;
|
|
5142
|
+
category: string;
|
|
5143
|
+
errorSelector: string;
|
|
5144
|
+
errorName: string;
|
|
5145
|
+
errorArgs?: {
|
|
5146
|
+
[key: string]: string;
|
|
5147
|
+
};
|
|
5148
|
+
retryable: boolean;
|
|
5149
|
+
/** @enum {string} */
|
|
5150
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5151
|
+
simulations?: unknown;
|
|
5152
|
+
} & {
|
|
5153
|
+
[key: string]: unknown;
|
|
5154
|
+
};
|
|
5155
|
+
} | {
|
|
5156
|
+
/** @enum {string} */
|
|
5157
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5158
|
+
/**
|
|
5159
|
+
* @description Human-readable error message
|
|
5160
|
+
* @example Invalid input
|
|
5161
|
+
*/
|
|
5162
|
+
message: string;
|
|
5163
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5164
|
+
details?: {
|
|
5165
|
+
/** @description Intents fillable with current liquidity */
|
|
5166
|
+
availableIntents: {
|
|
5167
|
+
[key: string]: string;
|
|
5168
|
+
}[];
|
|
5169
|
+
/** @description Token amounts that cannot be filled */
|
|
5170
|
+
unfillable: {
|
|
5171
|
+
[key: string]: string;
|
|
5172
|
+
};
|
|
5173
|
+
};
|
|
5174
|
+
} | {
|
|
5175
|
+
/** @enum {string} */
|
|
5176
|
+
code: "KEY_SCOPE_DENIED";
|
|
5177
|
+
/**
|
|
5178
|
+
* @description Human-readable error message
|
|
5179
|
+
* @example Invalid input
|
|
5180
|
+
*/
|
|
5181
|
+
message: string;
|
|
5182
|
+
/** @description Single-element list describing the failing scope */
|
|
5183
|
+
details?: {
|
|
5184
|
+
message: string;
|
|
5185
|
+
context: {
|
|
5186
|
+
/**
|
|
5187
|
+
* @description Which scope rejected the request
|
|
5188
|
+
* @enum {string}
|
|
5189
|
+
*/
|
|
5190
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5191
|
+
/** @description Minimum level the endpoint demands */
|
|
5192
|
+
required: boolean | ("read" | "write");
|
|
5193
|
+
/** @description Level resolved on the key */
|
|
5194
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5195
|
+
};
|
|
5196
|
+
}[];
|
|
5197
|
+
} | {
|
|
5198
|
+
/** @enum {string} */
|
|
5199
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5200
|
+
/**
|
|
5201
|
+
* @description Human-readable error message
|
|
5202
|
+
* @example Invalid input
|
|
5203
|
+
*/
|
|
5204
|
+
message: string;
|
|
5205
|
+
};
|
|
5206
|
+
};
|
|
5207
|
+
};
|
|
5208
|
+
};
|
|
5209
|
+
};
|
|
5210
|
+
getAppFeeWithdrawal: {
|
|
5211
|
+
parameters: {
|
|
5212
|
+
query?: never;
|
|
5213
|
+
header: {
|
|
5214
|
+
/** @description API version. Required; pinned to this document. */
|
|
5215
|
+
"x-api-version": "2026-04.blanc";
|
|
5216
|
+
/** @description API key. */
|
|
5217
|
+
"x-api-key": string;
|
|
5218
|
+
};
|
|
5219
|
+
path: {
|
|
5220
|
+
nonce: string;
|
|
5221
|
+
};
|
|
5222
|
+
cookie?: never;
|
|
5223
|
+
};
|
|
5224
|
+
requestBody?: never;
|
|
5225
|
+
responses: {
|
|
5226
|
+
/** @description OK */
|
|
5227
|
+
200: {
|
|
5228
|
+
headers: {
|
|
5229
|
+
[name: string]: unknown;
|
|
5230
|
+
};
|
|
5231
|
+
content: {
|
|
5232
|
+
"application/json": {
|
|
5233
|
+
requestNonce: string;
|
|
5234
|
+
/** @enum {string} */
|
|
5235
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
5236
|
+
payoutUsd: number;
|
|
5237
|
+
targetChainId: number;
|
|
5238
|
+
targetToken: string;
|
|
5239
|
+
targetAmount: string;
|
|
5240
|
+
payoutAddress: string;
|
|
5241
|
+
txHash: string | null;
|
|
5242
|
+
createdAt: string;
|
|
5243
|
+
};
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
/** @description Validation error */
|
|
5247
|
+
400: {
|
|
5248
|
+
headers: {
|
|
5249
|
+
[name: string]: unknown;
|
|
5250
|
+
};
|
|
5251
|
+
content: {
|
|
5252
|
+
"application/json": {
|
|
5253
|
+
/** @enum {string} */
|
|
5254
|
+
code: "VALIDATION_ERROR";
|
|
5255
|
+
/**
|
|
5256
|
+
* @description Human-readable error message
|
|
5257
|
+
* @example Invalid input
|
|
5258
|
+
*/
|
|
5259
|
+
message: string;
|
|
5260
|
+
/** @description Per-field validation issues */
|
|
5261
|
+
details?: {
|
|
5262
|
+
/** @description Human-readable issue description */
|
|
5263
|
+
message: string;
|
|
5264
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5265
|
+
context?: {
|
|
5266
|
+
[key: string]: unknown;
|
|
5267
|
+
};
|
|
5268
|
+
}[];
|
|
5269
|
+
} | {
|
|
5270
|
+
/** @enum {string} */
|
|
5271
|
+
code: "SIMULATION_FAILED";
|
|
5272
|
+
/**
|
|
5273
|
+
* @description Human-readable error message
|
|
5274
|
+
* @example Invalid input
|
|
5275
|
+
*/
|
|
5276
|
+
message: string;
|
|
5277
|
+
/** @description Classified on-chain simulation failure details */
|
|
5278
|
+
details?: {
|
|
5279
|
+
nonce?: string;
|
|
5280
|
+
category: string;
|
|
5281
|
+
errorSelector: string;
|
|
5282
|
+
errorName: string;
|
|
5283
|
+
errorArgs?: {
|
|
5284
|
+
[key: string]: string;
|
|
5285
|
+
};
|
|
5286
|
+
retryable: boolean;
|
|
5287
|
+
/** @enum {string} */
|
|
5288
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5289
|
+
simulations?: unknown;
|
|
5290
|
+
} & {
|
|
5291
|
+
[key: string]: unknown;
|
|
5292
|
+
};
|
|
5293
|
+
} | {
|
|
5294
|
+
/** @enum {string} */
|
|
5295
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5296
|
+
/**
|
|
5297
|
+
* @description Human-readable error message
|
|
5298
|
+
* @example Invalid input
|
|
5299
|
+
*/
|
|
5300
|
+
message: string;
|
|
5301
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5302
|
+
details?: {
|
|
5303
|
+
/** @description Intents fillable with current liquidity */
|
|
5304
|
+
availableIntents: {
|
|
5305
|
+
[key: string]: string;
|
|
5306
|
+
}[];
|
|
5307
|
+
/** @description Token amounts that cannot be filled */
|
|
5308
|
+
unfillable: {
|
|
5309
|
+
[key: string]: string;
|
|
5310
|
+
};
|
|
5311
|
+
};
|
|
5312
|
+
} | {
|
|
5313
|
+
/** @enum {string} */
|
|
5314
|
+
code: "KEY_SCOPE_DENIED";
|
|
5315
|
+
/**
|
|
5316
|
+
* @description Human-readable error message
|
|
5317
|
+
* @example Invalid input
|
|
5318
|
+
*/
|
|
5319
|
+
message: string;
|
|
5320
|
+
/** @description Single-element list describing the failing scope */
|
|
5321
|
+
details?: {
|
|
5322
|
+
message: string;
|
|
5323
|
+
context: {
|
|
5324
|
+
/**
|
|
5325
|
+
* @description Which scope rejected the request
|
|
5326
|
+
* @enum {string}
|
|
5327
|
+
*/
|
|
5328
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5329
|
+
/** @description Minimum level the endpoint demands */
|
|
5330
|
+
required: boolean | ("read" | "write");
|
|
5331
|
+
/** @description Level resolved on the key */
|
|
5332
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5333
|
+
};
|
|
5334
|
+
}[];
|
|
5335
|
+
} | {
|
|
5336
|
+
/** @enum {string} */
|
|
5337
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5338
|
+
/**
|
|
5339
|
+
* @description Human-readable error message
|
|
5340
|
+
* @example Invalid input
|
|
5341
|
+
*/
|
|
5342
|
+
message: string;
|
|
5343
|
+
};
|
|
5344
|
+
};
|
|
5345
|
+
};
|
|
5346
|
+
/** @description Missing or invalid API key */
|
|
5347
|
+
401: {
|
|
5348
|
+
headers: {
|
|
5349
|
+
[name: string]: unknown;
|
|
5350
|
+
};
|
|
5351
|
+
content: {
|
|
5352
|
+
"application/json": {
|
|
5353
|
+
/** @enum {string} */
|
|
5354
|
+
code: "VALIDATION_ERROR";
|
|
5355
|
+
/**
|
|
5356
|
+
* @description Human-readable error message
|
|
5357
|
+
* @example Invalid input
|
|
5358
|
+
*/
|
|
5359
|
+
message: string;
|
|
5360
|
+
/** @description Per-field validation issues */
|
|
5361
|
+
details?: {
|
|
5362
|
+
/** @description Human-readable issue description */
|
|
5363
|
+
message: string;
|
|
5364
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5365
|
+
context?: {
|
|
5366
|
+
[key: string]: unknown;
|
|
5367
|
+
};
|
|
5368
|
+
}[];
|
|
5369
|
+
} | {
|
|
5370
|
+
/** @enum {string} */
|
|
5371
|
+
code: "SIMULATION_FAILED";
|
|
5372
|
+
/**
|
|
5373
|
+
* @description Human-readable error message
|
|
5374
|
+
* @example Invalid input
|
|
5375
|
+
*/
|
|
5376
|
+
message: string;
|
|
5377
|
+
/** @description Classified on-chain simulation failure details */
|
|
5378
|
+
details?: {
|
|
5379
|
+
nonce?: string;
|
|
5380
|
+
category: string;
|
|
5381
|
+
errorSelector: string;
|
|
5382
|
+
errorName: string;
|
|
5383
|
+
errorArgs?: {
|
|
5384
|
+
[key: string]: string;
|
|
5385
|
+
};
|
|
5386
|
+
retryable: boolean;
|
|
5387
|
+
/** @enum {string} */
|
|
5388
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5389
|
+
simulations?: unknown;
|
|
5390
|
+
} & {
|
|
5391
|
+
[key: string]: unknown;
|
|
5392
|
+
};
|
|
5393
|
+
} | {
|
|
5394
|
+
/** @enum {string} */
|
|
5395
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5396
|
+
/**
|
|
5397
|
+
* @description Human-readable error message
|
|
5398
|
+
* @example Invalid input
|
|
5399
|
+
*/
|
|
5400
|
+
message: string;
|
|
5401
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5402
|
+
details?: {
|
|
5403
|
+
/** @description Intents fillable with current liquidity */
|
|
5404
|
+
availableIntents: {
|
|
5405
|
+
[key: string]: string;
|
|
5406
|
+
}[];
|
|
5407
|
+
/** @description Token amounts that cannot be filled */
|
|
5408
|
+
unfillable: {
|
|
5409
|
+
[key: string]: string;
|
|
5410
|
+
};
|
|
5411
|
+
};
|
|
5412
|
+
} | {
|
|
5413
|
+
/** @enum {string} */
|
|
5414
|
+
code: "KEY_SCOPE_DENIED";
|
|
5415
|
+
/**
|
|
5416
|
+
* @description Human-readable error message
|
|
5417
|
+
* @example Invalid input
|
|
5418
|
+
*/
|
|
5419
|
+
message: string;
|
|
5420
|
+
/** @description Single-element list describing the failing scope */
|
|
5421
|
+
details?: {
|
|
5422
|
+
message: string;
|
|
5423
|
+
context: {
|
|
5424
|
+
/**
|
|
5425
|
+
* @description Which scope rejected the request
|
|
5426
|
+
* @enum {string}
|
|
5427
|
+
*/
|
|
5428
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5429
|
+
/** @description Minimum level the endpoint demands */
|
|
5430
|
+
required: boolean | ("read" | "write");
|
|
5431
|
+
/** @description Level resolved on the key */
|
|
5432
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5433
|
+
};
|
|
5434
|
+
}[];
|
|
5435
|
+
} | {
|
|
5436
|
+
/** @enum {string} */
|
|
5437
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5438
|
+
/**
|
|
5439
|
+
* @description Human-readable error message
|
|
5440
|
+
* @example Invalid input
|
|
5441
|
+
*/
|
|
5442
|
+
message: string;
|
|
5443
|
+
};
|
|
5444
|
+
};
|
|
5445
|
+
};
|
|
5446
|
+
/** @description API key scope denied */
|
|
5447
|
+
403: {
|
|
5448
|
+
headers: {
|
|
5449
|
+
[name: string]: unknown;
|
|
5450
|
+
};
|
|
5451
|
+
content: {
|
|
5452
|
+
"application/json": {
|
|
5453
|
+
/** @enum {string} */
|
|
5454
|
+
code: "VALIDATION_ERROR";
|
|
5455
|
+
/**
|
|
5456
|
+
* @description Human-readable error message
|
|
5457
|
+
* @example Invalid input
|
|
5458
|
+
*/
|
|
5459
|
+
message: string;
|
|
5460
|
+
/** @description Per-field validation issues */
|
|
5461
|
+
details?: {
|
|
5462
|
+
/** @description Human-readable issue description */
|
|
5463
|
+
message: string;
|
|
5464
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5465
|
+
context?: {
|
|
5466
|
+
[key: string]: unknown;
|
|
5467
|
+
};
|
|
5468
|
+
}[];
|
|
5469
|
+
} | {
|
|
5470
|
+
/** @enum {string} */
|
|
5471
|
+
code: "SIMULATION_FAILED";
|
|
5472
|
+
/**
|
|
5473
|
+
* @description Human-readable error message
|
|
5474
|
+
* @example Invalid input
|
|
5475
|
+
*/
|
|
5476
|
+
message: string;
|
|
5477
|
+
/** @description Classified on-chain simulation failure details */
|
|
5478
|
+
details?: {
|
|
5479
|
+
nonce?: string;
|
|
5480
|
+
category: string;
|
|
5481
|
+
errorSelector: string;
|
|
5482
|
+
errorName: string;
|
|
5483
|
+
errorArgs?: {
|
|
5484
|
+
[key: string]: string;
|
|
5485
|
+
};
|
|
5486
|
+
retryable: boolean;
|
|
5487
|
+
/** @enum {string} */
|
|
5488
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5489
|
+
simulations?: unknown;
|
|
5490
|
+
} & {
|
|
5491
|
+
[key: string]: unknown;
|
|
5492
|
+
};
|
|
5493
|
+
} | {
|
|
5494
|
+
/** @enum {string} */
|
|
5495
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5496
|
+
/**
|
|
5497
|
+
* @description Human-readable error message
|
|
5498
|
+
* @example Invalid input
|
|
5499
|
+
*/
|
|
5500
|
+
message: string;
|
|
5501
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5502
|
+
details?: {
|
|
5503
|
+
/** @description Intents fillable with current liquidity */
|
|
5504
|
+
availableIntents: {
|
|
5505
|
+
[key: string]: string;
|
|
5506
|
+
}[];
|
|
5507
|
+
/** @description Token amounts that cannot be filled */
|
|
5508
|
+
unfillable: {
|
|
5509
|
+
[key: string]: string;
|
|
5510
|
+
};
|
|
5511
|
+
};
|
|
5512
|
+
} | {
|
|
5513
|
+
/** @enum {string} */
|
|
5514
|
+
code: "KEY_SCOPE_DENIED";
|
|
5515
|
+
/**
|
|
5516
|
+
* @description Human-readable error message
|
|
5517
|
+
* @example Invalid input
|
|
5518
|
+
*/
|
|
5519
|
+
message: string;
|
|
5520
|
+
/** @description Single-element list describing the failing scope */
|
|
5521
|
+
details?: {
|
|
5522
|
+
message: string;
|
|
5523
|
+
context: {
|
|
5524
|
+
/**
|
|
5525
|
+
* @description Which scope rejected the request
|
|
5526
|
+
* @enum {string}
|
|
5527
|
+
*/
|
|
5528
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5529
|
+
/** @description Minimum level the endpoint demands */
|
|
5530
|
+
required: boolean | ("read" | "write");
|
|
5531
|
+
/** @description Level resolved on the key */
|
|
5532
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5533
|
+
};
|
|
5534
|
+
}[];
|
|
5535
|
+
} | {
|
|
5536
|
+
/** @enum {string} */
|
|
5537
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5538
|
+
/**
|
|
5539
|
+
* @description Human-readable error message
|
|
5540
|
+
* @example Invalid input
|
|
5541
|
+
*/
|
|
5542
|
+
message: string;
|
|
5543
|
+
};
|
|
5544
|
+
};
|
|
5545
|
+
};
|
|
5546
|
+
/** @description Withdrawal not found */
|
|
5547
|
+
404: {
|
|
5548
|
+
headers: {
|
|
5549
|
+
[name: string]: unknown;
|
|
5550
|
+
};
|
|
5551
|
+
content: {
|
|
5552
|
+
"application/json": {
|
|
5553
|
+
/** @enum {string} */
|
|
5554
|
+
code: "VALIDATION_ERROR";
|
|
5555
|
+
/**
|
|
5556
|
+
* @description Human-readable error message
|
|
5557
|
+
* @example Invalid input
|
|
5558
|
+
*/
|
|
5559
|
+
message: string;
|
|
5560
|
+
/** @description Per-field validation issues */
|
|
5561
|
+
details?: {
|
|
5562
|
+
/** @description Human-readable issue description */
|
|
5563
|
+
message: string;
|
|
5564
|
+
/** @description Structured issue context (e.g. `{ path: "body.accountAddress" }`) */
|
|
5565
|
+
context?: {
|
|
5566
|
+
[key: string]: unknown;
|
|
5567
|
+
};
|
|
5568
|
+
}[];
|
|
5569
|
+
} | {
|
|
5570
|
+
/** @enum {string} */
|
|
5571
|
+
code: "SIMULATION_FAILED";
|
|
5572
|
+
/**
|
|
5573
|
+
* @description Human-readable error message
|
|
5574
|
+
* @example Invalid input
|
|
5575
|
+
*/
|
|
5576
|
+
message: string;
|
|
5577
|
+
/** @description Classified on-chain simulation failure details */
|
|
5578
|
+
details?: {
|
|
5579
|
+
nonce?: string;
|
|
5580
|
+
category: string;
|
|
5581
|
+
errorSelector: string;
|
|
5582
|
+
errorName: string;
|
|
5583
|
+
errorArgs?: {
|
|
5584
|
+
[key: string]: string;
|
|
5585
|
+
};
|
|
5586
|
+
retryable: boolean;
|
|
5587
|
+
/** @enum {string} */
|
|
5588
|
+
retryHint?: "RE_PREPARE" | "RETRY_LATER";
|
|
5589
|
+
simulations?: unknown;
|
|
5590
|
+
} & {
|
|
5591
|
+
[key: string]: unknown;
|
|
5592
|
+
};
|
|
5593
|
+
} | {
|
|
5594
|
+
/** @enum {string} */
|
|
5595
|
+
code: "INSUFFICIENT_LIQUIDITY";
|
|
5596
|
+
/**
|
|
5597
|
+
* @description Human-readable error message
|
|
5598
|
+
* @example Invalid input
|
|
5599
|
+
*/
|
|
5600
|
+
message: string;
|
|
5601
|
+
/** @description Fillable subset and unfillable remainder */
|
|
5602
|
+
details?: {
|
|
5603
|
+
/** @description Intents fillable with current liquidity */
|
|
5604
|
+
availableIntents: {
|
|
5605
|
+
[key: string]: string;
|
|
5606
|
+
}[];
|
|
5607
|
+
/** @description Token amounts that cannot be filled */
|
|
5608
|
+
unfillable: {
|
|
5609
|
+
[key: string]: string;
|
|
5610
|
+
};
|
|
5611
|
+
};
|
|
5612
|
+
} | {
|
|
5613
|
+
/** @enum {string} */
|
|
5614
|
+
code: "KEY_SCOPE_DENIED";
|
|
5615
|
+
/**
|
|
5616
|
+
* @description Human-readable error message
|
|
5617
|
+
* @example Invalid input
|
|
5618
|
+
*/
|
|
5619
|
+
message: string;
|
|
5620
|
+
/** @description Single-element list describing the failing scope */
|
|
5621
|
+
details?: {
|
|
5622
|
+
message: string;
|
|
5623
|
+
context: {
|
|
5624
|
+
/**
|
|
5625
|
+
* @description Which scope rejected the request
|
|
5626
|
+
* @enum {string}
|
|
5627
|
+
*/
|
|
5628
|
+
scope: "allowMainnet" | "intents" | "deposits";
|
|
5629
|
+
/** @description Minimum level the endpoint demands */
|
|
5630
|
+
required: boolean | ("read" | "write");
|
|
5631
|
+
/** @description Level resolved on the key */
|
|
5632
|
+
actual: boolean | ("none" | "read" | "write");
|
|
5633
|
+
};
|
|
5634
|
+
}[];
|
|
5635
|
+
} | {
|
|
5636
|
+
/** @enum {string} */
|
|
5637
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4179
5638
|
/**
|
|
4180
5639
|
* @description Human-readable error message
|
|
4181
5640
|
* @example Invalid input
|
|
@@ -4275,7 +5734,7 @@ export interface operations {
|
|
|
4275
5734
|
}[];
|
|
4276
5735
|
} | {
|
|
4277
5736
|
/** @enum {string} */
|
|
4278
|
-
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
5737
|
+
code: "NOT_FOUND" | "UNAUTHORIZED" | "FORBIDDEN" | "CONFLICT" | "WITHDRAWAL_IN_PROGRESS" | "WITHDRAWAL_FINALIZATION_PENDING" | "UNPROCESSABLE_CONTENT" | "TOO_MANY_REQUESTS" | "SETTLEMENT_QUOTE_ERROR" | "SETTLEMENT_EXECUTION_ERROR" | "EXTERNAL_SERVICE_TIMEOUT" | "RELAYER_MARKET_UNAVAILABLE" | "INTERNAL_ERROR";
|
|
4279
5738
|
/**
|
|
4280
5739
|
* @description Human-readable error message
|
|
4281
5740
|
* @example Invalid input
|