tapimo 0.15.0 → 0.15.1

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.
Files changed (91) hide show
  1. package/dist/App.d.ts +26 -26
  2. package/dist/admin/App.d.ts +3 -0
  3. package/dist/admin/App.d.ts.map +1 -1
  4. package/dist/admin/apps/api-keys.d.ts +41 -41
  5. package/dist/admin/apps/routes.d.ts +64 -64
  6. package/dist/admin/apps/verified-tokens.d.ts +161 -155
  7. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  8. package/dist/admin/apps/verified-tokens.js +24 -4
  9. package/dist/admin/apps/verified-tokens.js.map +1 -1
  10. package/dist/admin/ui.generated.d.ts +1 -1
  11. package/dist/admin/ui.generated.d.ts.map +1 -1
  12. package/dist/admin/ui.generated.js +201 -209
  13. package/dist/admin/ui.generated.js.map +1 -1
  14. package/dist/apps/data/routes/activities.d.ts +357 -357
  15. package/dist/apps/data/routes/blocks.d.ts +125 -125
  16. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  17. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  18. package/dist/apps/data/routes/fee-amm.js +10 -2
  19. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  20. package/dist/apps/data/routes/indexer.d.ts +43 -43
  21. package/dist/apps/data/routes/receipts.d.ts +235 -235
  22. package/dist/apps/data/routes/rpc.js +45 -11
  23. package/dist/apps/data/routes/rpc.js.map +1 -1
  24. package/dist/apps/data/routes/transfers.d.ts +81 -81
  25. package/dist/apps/data/routes/valuation.d.ts +32 -32
  26. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  27. package/dist/apps/data/routes/webhooks.d.ts +1 -1
  28. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  29. package/dist/apps/data/routes/webhooks.js +17 -10
  30. package/dist/apps/data/routes/webhooks.js.map +1 -1
  31. package/dist/apps/data/routes/zones.d.ts +31 -31
  32. package/dist/apps/management/App.d.ts +26 -26
  33. package/dist/apps/management/routes/api-keys.d.ts +246 -246
  34. package/dist/apps/management/routes/invitations.d.ts +138 -138
  35. package/dist/apps/management/routes/invite-links.d.ts +168 -168
  36. package/dist/apps/management/routes/orgs.d.ts +98 -98
  37. package/dist/apps/management/routes/projects.d.ts +125 -125
  38. package/dist/apps/management/routes/verified-token-requests.d.ts +95 -95
  39. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  40. package/dist/apps/management/routes/verified-token-requests.js +7 -9
  41. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  42. package/dist/apps/management/routes/webhooks.d.ts +423 -423
  43. package/dist/apps/mcp.d.ts.map +1 -1
  44. package/dist/apps/mcp.js +16 -3
  45. package/dist/apps/mcp.js.map +1 -1
  46. package/dist/apps/mpp/App.d.ts +44 -44
  47. package/dist/apps/routes/routes/chains.d.ts +25 -25
  48. package/dist/apps/routes/routes/quotes.d.ts +87 -87
  49. package/dist/apps/routes/routes/transfers.d.ts +438 -438
  50. package/dist/db/Db.d.ts.map +1 -1
  51. package/dist/db/Db.js +5 -0
  52. package/dist/db/Db.js.map +1 -1
  53. package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
  54. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
  55. package/dist/db/tables/verifiedTokenRequests.js +65 -44
  56. package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
  57. package/dist/internal/Auth.d.ts +16 -0
  58. package/dist/internal/Auth.d.ts.map +1 -1
  59. package/dist/internal/Auth.js +31 -8
  60. package/dist/internal/Auth.js.map +1 -1
  61. package/dist/internal/routes/providers/relay.d.ts +1 -1
  62. package/dist/internal/routes/providers/relay.js +1 -1
  63. package/dist/internal/routes/providers/relay.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/admin/apps/verified-tokens.test.ts +32 -0
  66. package/src/admin/apps/verified-tokens.ts +30 -4
  67. package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
  68. package/src/admin/ui/src/routes/__root.tsx +1 -1
  69. package/src/admin/ui/src/routes/organizations.tsx +34 -4
  70. package/src/admin/ui/src/routes/verified-tokens.tsx +64 -20
  71. package/src/admin/ui.generated.ts +202 -263
  72. package/src/apps/data/App.test.ts +26 -0
  73. package/src/apps/data/routes/fee-amm.test.ts +19 -0
  74. package/src/apps/data/routes/fee-amm.ts +10 -2
  75. package/src/apps/data/routes/rpc.test.ts +32 -0
  76. package/src/apps/data/routes/rpc.ts +47 -10
  77. package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
  78. package/src/apps/data/routes/webhooks.test.ts +6 -0
  79. package/src/apps/data/routes/webhooks.ts +25 -12
  80. package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
  81. package/src/apps/management/routes/verified-token-requests.ts +7 -10
  82. package/src/apps/mcp.test.ts +108 -25
  83. package/src/apps/mcp.ts +15 -3
  84. package/src/db/Db.ts +9 -0
  85. package/src/db/tables/routesDeposits.test.ts +72 -0
  86. package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
  87. package/src/db/tables/verifiedTokenRequests.ts +80 -44
  88. package/src/internal/Auth.test.ts +92 -0
  89. package/src/internal/Auth.ts +51 -9
  90. package/src/internal/routes/providers/relay.test.ts +59 -0
  91. package/src/internal/routes/providers/relay.ts +1 -1
@@ -970,139 +970,6 @@ export declare namespace schema {
970
970
  export declare function transfers(options?: transfers.Options): import("hono/hono-base").HonoBase<App.Environment, {
971
971
  "/v1/routes/transfers": {
972
972
  $get: {
973
- output: {
974
- error: {
975
- code: "api_key_malformed";
976
- details?: readonly Response.error.Detail[] | undefined;
977
- message: string;
978
- };
979
- requestId: string;
980
- };
981
- outputFormat: "json";
982
- status: 400;
983
- input: {
984
- query?: {
985
- cursor?: string | string[];
986
- include?: string | string[];
987
- limit?: string | string[];
988
- status?: string | string[];
989
- } | undefined;
990
- };
991
- } | {
992
- output: {
993
- error: {
994
- code: "api_key_invalid" | "api_key_missing";
995
- details?: readonly Response.error.Detail[] | undefined;
996
- message: string;
997
- };
998
- requestId: string;
999
- };
1000
- outputFormat: "json";
1001
- status: 401;
1002
- input: {
1003
- query?: {
1004
- cursor?: string | string[];
1005
- include?: string | string[];
1006
- limit?: string | string[];
1007
- status?: string | string[];
1008
- } | undefined;
1009
- };
1010
- } | {
1011
- output: {
1012
- error: {
1013
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1014
- details?: readonly Response.error.Detail[] | undefined;
1015
- message: string;
1016
- };
1017
- requestId: string;
1018
- };
1019
- outputFormat: "json";
1020
- status: 403;
1021
- input: {
1022
- query?: {
1023
- cursor?: string | string[];
1024
- include?: string | string[];
1025
- limit?: string | string[];
1026
- status?: string | string[];
1027
- } | undefined;
1028
- };
1029
- } | {
1030
- output: {
1031
- error: {
1032
- code: "payment_required" | "rate_limit_exceeded";
1033
- details?: readonly Response.error.Detail[] | undefined;
1034
- message: string;
1035
- };
1036
- requestId: string;
1037
- };
1038
- outputFormat: "json";
1039
- status: 429;
1040
- input: {
1041
- query?: {
1042
- cursor?: string | string[];
1043
- include?: string | string[];
1044
- limit?: string | string[];
1045
- status?: string | string[];
1046
- } | undefined;
1047
- };
1048
- } | {
1049
- output: {
1050
- error: {
1051
- code: "query_invalid";
1052
- details?: readonly Response.error.Detail[] | undefined;
1053
- message: string;
1054
- };
1055
- requestId: string;
1056
- };
1057
- outputFormat: "json";
1058
- status: 400;
1059
- input: {
1060
- query?: {
1061
- cursor?: string | string[];
1062
- include?: string | string[];
1063
- limit?: string | string[];
1064
- status?: string | string[];
1065
- } | undefined;
1066
- };
1067
- } | {
1068
- output: {
1069
- error: {
1070
- code: "upstream_error";
1071
- details?: readonly Response.error.Detail[] | undefined;
1072
- message: string;
1073
- };
1074
- requestId: string;
1075
- };
1076
- outputFormat: "json";
1077
- status: 502;
1078
- input: {
1079
- query?: {
1080
- cursor?: string | string[];
1081
- include?: string | string[];
1082
- limit?: string | string[];
1083
- status?: string | string[];
1084
- } | undefined;
1085
- };
1086
- } | {
1087
- output: {
1088
- error: {
1089
- code: "unauthorized";
1090
- details?: readonly Response.error.Detail[] | undefined;
1091
- message: string;
1092
- };
1093
- requestId: string;
1094
- };
1095
- outputFormat: "json";
1096
- status: 401;
1097
- input: {
1098
- query?: {
1099
- cursor?: string | string[];
1100
- include?: string | string[];
1101
- limit?: string | string[];
1102
- status?: string | string[];
1103
- } | undefined;
1104
- };
1105
- } | {
1106
973
  output: {
1107
974
  data: {
1108
975
  createdAt: string;
@@ -1236,11 +1103,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1236
1103
  status?: string | string[];
1237
1104
  } | undefined;
1238
1105
  };
1239
- };
1240
- };
1241
- } & {
1242
- "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}": {
1243
- $get: {
1106
+ } | {
1244
1107
  output: {
1245
1108
  error: {
1246
1109
  code: "api_key_malformed";
@@ -1252,123 +1115,132 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1252
1115
  outputFormat: "json";
1253
1116
  status: 400;
1254
1117
  input: {
1255
- param: {
1256
- id: string;
1257
- };
1258
- };
1259
- } | {
1260
- output: {
1261
- error: {
1262
- code: "api_key_invalid" | "api_key_missing";
1263
- details?: readonly Response.error.Detail[] | undefined;
1264
- message: string;
1265
- };
1266
- requestId: string;
1267
- };
1268
- outputFormat: "json";
1269
- status: 401;
1270
- input: {
1271
- param: {
1272
- id: string;
1273
- };
1118
+ query?: {
1119
+ cursor?: string | string[];
1120
+ include?: string | string[];
1121
+ limit?: string | string[];
1122
+ status?: string | string[];
1123
+ } | undefined;
1274
1124
  };
1275
1125
  } | {
1276
1126
  output: {
1277
1127
  error: {
1278
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1128
+ code: "query_invalid";
1279
1129
  details?: readonly Response.error.Detail[] | undefined;
1280
1130
  message: string;
1281
1131
  };
1282
1132
  requestId: string;
1283
1133
  };
1284
1134
  outputFormat: "json";
1285
- status: 403;
1135
+ status: 400;
1286
1136
  input: {
1287
- param: {
1288
- id: string;
1289
- };
1137
+ query?: {
1138
+ cursor?: string | string[];
1139
+ include?: string | string[];
1140
+ limit?: string | string[];
1141
+ status?: string | string[];
1142
+ } | undefined;
1290
1143
  };
1291
1144
  } | {
1292
1145
  output: {
1293
1146
  error: {
1294
- code: "payment_required" | "rate_limit_exceeded";
1147
+ code: "api_key_invalid" | "api_key_missing";
1295
1148
  details?: readonly Response.error.Detail[] | undefined;
1296
1149
  message: string;
1297
1150
  };
1298
1151
  requestId: string;
1299
1152
  };
1300
1153
  outputFormat: "json";
1301
- status: 429;
1154
+ status: 401;
1302
1155
  input: {
1303
- param: {
1304
- id: string;
1305
- };
1156
+ query?: {
1157
+ cursor?: string | string[];
1158
+ include?: string | string[];
1159
+ limit?: string | string[];
1160
+ status?: string | string[];
1161
+ } | undefined;
1306
1162
  };
1307
1163
  } | {
1308
1164
  output: {
1309
1165
  error: {
1310
- code: "upstream_error";
1166
+ code: "unauthorized";
1311
1167
  details?: readonly Response.error.Detail[] | undefined;
1312
1168
  message: string;
1313
1169
  };
1314
1170
  requestId: string;
1315
1171
  };
1316
1172
  outputFormat: "json";
1317
- status: 502;
1173
+ status: 401;
1318
1174
  input: {
1319
- param: {
1320
- id: string;
1321
- };
1175
+ query?: {
1176
+ cursor?: string | string[];
1177
+ include?: string | string[];
1178
+ limit?: string | string[];
1179
+ status?: string | string[];
1180
+ } | undefined;
1322
1181
  };
1323
1182
  } | {
1324
1183
  output: {
1325
1184
  error: {
1326
- code: "unauthorized";
1185
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1327
1186
  details?: readonly Response.error.Detail[] | undefined;
1328
1187
  message: string;
1329
1188
  };
1330
1189
  requestId: string;
1331
1190
  };
1332
1191
  outputFormat: "json";
1333
- status: 401;
1192
+ status: 403;
1334
1193
  input: {
1335
- param: {
1336
- id: string;
1337
- };
1194
+ query?: {
1195
+ cursor?: string | string[];
1196
+ include?: string | string[];
1197
+ limit?: string | string[];
1198
+ status?: string | string[];
1199
+ } | undefined;
1338
1200
  };
1339
1201
  } | {
1340
1202
  output: {
1341
1203
  error: {
1342
- code: "param_invalid";
1204
+ code: "payment_required" | "rate_limit_exceeded";
1343
1205
  details?: readonly Response.error.Detail[] | undefined;
1344
1206
  message: string;
1345
1207
  };
1346
1208
  requestId: string;
1347
1209
  };
1348
1210
  outputFormat: "json";
1349
- status: 400;
1211
+ status: 429;
1350
1212
  input: {
1351
- param: {
1352
- id: string;
1353
- };
1213
+ query?: {
1214
+ cursor?: string | string[];
1215
+ include?: string | string[];
1216
+ limit?: string | string[];
1217
+ status?: string | string[];
1218
+ } | undefined;
1354
1219
  };
1355
1220
  } | {
1356
1221
  output: {
1357
1222
  error: {
1358
- code: "routes_transfer_not_found";
1223
+ code: "upstream_error";
1359
1224
  details?: readonly Response.error.Detail[] | undefined;
1360
1225
  message: string;
1361
1226
  };
1362
1227
  requestId: string;
1363
1228
  };
1364
1229
  outputFormat: "json";
1365
- status: 404;
1230
+ status: 502;
1366
1231
  input: {
1367
- param: {
1368
- id: string;
1369
- };
1232
+ query?: {
1233
+ cursor?: string | string[];
1234
+ include?: string | string[];
1235
+ limit?: string | string[];
1236
+ status?: string | string[];
1237
+ } | undefined;
1370
1238
  };
1371
- } | {
1239
+ };
1240
+ };
1241
+ } & {
1242
+ "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}": {
1243
+ $get: {
1372
1244
  output: {
1373
1245
  createdAt: string;
1374
1246
  destinationAmount?: {
@@ -1492,11 +1364,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1492
1364
  id: string;
1493
1365
  };
1494
1366
  };
1495
- };
1496
- };
1497
- } & {
1498
- "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}/source-transactions": {
1499
- $post: {
1367
+ } | {
1500
1368
  output: {
1501
1369
  error: {
1502
1370
  code: "api_key_malformed";
@@ -1511,168 +1379,124 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1511
1379
  param: {
1512
1380
  id: string;
1513
1381
  };
1514
- } & {
1515
- json: {
1516
- transactionHash: `0x${string}`;
1517
- } | {
1518
- transactionHashes: `0x${string}`[];
1519
- };
1520
1382
  };
1521
1383
  } | {
1522
1384
  output: {
1523
1385
  error: {
1524
- code: "api_key_invalid" | "api_key_missing";
1386
+ code: "param_invalid";
1525
1387
  details?: readonly Response.error.Detail[] | undefined;
1526
1388
  message: string;
1527
1389
  };
1528
1390
  requestId: string;
1529
1391
  };
1530
1392
  outputFormat: "json";
1531
- status: 401;
1393
+ status: 400;
1532
1394
  input: {
1533
1395
  param: {
1534
1396
  id: string;
1535
1397
  };
1536
- } & {
1537
- json: {
1538
- transactionHash: `0x${string}`;
1539
- } | {
1540
- transactionHashes: `0x${string}`[];
1541
- };
1542
1398
  };
1543
1399
  } | {
1544
1400
  output: {
1545
1401
  error: {
1546
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1402
+ code: "api_key_invalid" | "api_key_missing";
1547
1403
  details?: readonly Response.error.Detail[] | undefined;
1548
1404
  message: string;
1549
1405
  };
1550
1406
  requestId: string;
1551
1407
  };
1552
1408
  outputFormat: "json";
1553
- status: 403;
1409
+ status: 401;
1554
1410
  input: {
1555
1411
  param: {
1556
1412
  id: string;
1557
1413
  };
1558
- } & {
1559
- json: {
1560
- transactionHash: `0x${string}`;
1561
- } | {
1562
- transactionHashes: `0x${string}`[];
1563
- };
1564
1414
  };
1565
1415
  } | {
1566
1416
  output: {
1567
1417
  error: {
1568
- code: "payment_required" | "rate_limit_exceeded";
1418
+ code: "unauthorized";
1569
1419
  details?: readonly Response.error.Detail[] | undefined;
1570
1420
  message: string;
1571
1421
  };
1572
1422
  requestId: string;
1573
1423
  };
1574
1424
  outputFormat: "json";
1575
- status: 429;
1425
+ status: 401;
1576
1426
  input: {
1577
1427
  param: {
1578
1428
  id: string;
1579
1429
  };
1580
- } & {
1581
- json: {
1582
- transactionHash: `0x${string}`;
1583
- } | {
1584
- transactionHashes: `0x${string}`[];
1585
- };
1586
1430
  };
1587
1431
  } | {
1588
1432
  output: {
1589
1433
  error: {
1590
- code: "upstream_error";
1434
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1591
1435
  details?: readonly Response.error.Detail[] | undefined;
1592
1436
  message: string;
1593
1437
  };
1594
1438
  requestId: string;
1595
1439
  };
1596
1440
  outputFormat: "json";
1597
- status: 502;
1441
+ status: 403;
1598
1442
  input: {
1599
1443
  param: {
1600
1444
  id: string;
1601
1445
  };
1602
- } & {
1603
- json: {
1604
- transactionHash: `0x${string}`;
1605
- } | {
1606
- transactionHashes: `0x${string}`[];
1607
- };
1608
1446
  };
1609
1447
  } | {
1610
1448
  output: {
1611
1449
  error: {
1612
- code: "unauthorized";
1450
+ code: "routes_transfer_not_found";
1613
1451
  details?: readonly Response.error.Detail[] | undefined;
1614
1452
  message: string;
1615
1453
  };
1616
1454
  requestId: string;
1617
1455
  };
1618
1456
  outputFormat: "json";
1619
- status: 401;
1457
+ status: 404;
1620
1458
  input: {
1621
1459
  param: {
1622
1460
  id: string;
1623
1461
  };
1624
- } & {
1625
- json: {
1626
- transactionHash: `0x${string}`;
1627
- } | {
1628
- transactionHashes: `0x${string}`[];
1629
- };
1630
1462
  };
1631
1463
  } | {
1632
1464
  output: {
1633
1465
  error: {
1634
- code: "param_invalid";
1466
+ code: "payment_required" | "rate_limit_exceeded";
1635
1467
  details?: readonly Response.error.Detail[] | undefined;
1636
1468
  message: string;
1637
1469
  };
1638
1470
  requestId: string;
1639
1471
  };
1640
1472
  outputFormat: "json";
1641
- status: 400;
1473
+ status: 429;
1642
1474
  input: {
1643
1475
  param: {
1644
1476
  id: string;
1645
1477
  };
1646
- } & {
1647
- json: {
1648
- transactionHash: `0x${string}`;
1649
- } | {
1650
- transactionHashes: `0x${string}`[];
1651
- };
1652
1478
  };
1653
1479
  } | {
1654
1480
  output: {
1655
1481
  error: {
1656
- code: "routes_transfer_not_found";
1482
+ code: "upstream_error";
1657
1483
  details?: readonly Response.error.Detail[] | undefined;
1658
1484
  message: string;
1659
1485
  };
1660
1486
  requestId: string;
1661
1487
  };
1662
1488
  outputFormat: "json";
1663
- status: 404;
1489
+ status: 502;
1664
1490
  input: {
1665
1491
  param: {
1666
1492
  id: string;
1667
1493
  };
1668
- } & {
1669
- json: {
1670
- transactionHash: `0x${string}`;
1671
- } | {
1672
- transactionHashes: `0x${string}`[];
1673
- };
1674
1494
  };
1675
- } | {
1495
+ };
1496
+ };
1497
+ } & {
1498
+ "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}/source-transactions": {
1499
+ $post: {
1676
1500
  output: {
1677
1501
  createdAt: string;
1678
1502
  destinationAmount?: {
@@ -1805,7 +1629,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1805
1629
  } | {
1806
1630
  output: {
1807
1631
  error: {
1808
- code: "body_invalid";
1632
+ code: "api_key_malformed";
1809
1633
  details?: readonly Response.error.Detail[] | undefined;
1810
1634
  message: string;
1811
1635
  };
@@ -1827,14 +1651,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1827
1651
  } | {
1828
1652
  output: {
1829
1653
  error: {
1830
- code: "not_implemented";
1654
+ code: "param_invalid";
1831
1655
  details?: readonly Response.error.Detail[] | undefined;
1832
1656
  message: string;
1833
1657
  };
1834
1658
  requestId: string;
1835
1659
  };
1836
1660
  outputFormat: "json";
1837
- status: 501;
1661
+ status: 400;
1838
1662
  input: {
1839
1663
  param: {
1840
1664
  id: string;
@@ -1849,14 +1673,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1849
1673
  } | {
1850
1674
  output: {
1851
1675
  error: {
1852
- code: "routes_transfer_not_awaiting_source";
1676
+ code: "body_invalid";
1853
1677
  details?: readonly Response.error.Detail[] | undefined;
1854
1678
  message: string;
1855
1679
  };
1856
1680
  requestId: string;
1857
1681
  };
1858
1682
  outputFormat: "json";
1859
- status: 409;
1683
+ status: 400;
1860
1684
  input: {
1861
1685
  param: {
1862
1686
  id: string;
@@ -1890,6 +1714,116 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1890
1714
  transactionHashes: `0x${string}`[];
1891
1715
  };
1892
1716
  };
1717
+ } | {
1718
+ output: {
1719
+ error: {
1720
+ code: "api_key_invalid" | "api_key_missing";
1721
+ details?: readonly Response.error.Detail[] | undefined;
1722
+ message: string;
1723
+ };
1724
+ requestId: string;
1725
+ };
1726
+ outputFormat: "json";
1727
+ status: 401;
1728
+ input: {
1729
+ param: {
1730
+ id: string;
1731
+ };
1732
+ } & {
1733
+ json: {
1734
+ transactionHash: `0x${string}`;
1735
+ } | {
1736
+ transactionHashes: `0x${string}`[];
1737
+ };
1738
+ };
1739
+ } | {
1740
+ output: {
1741
+ error: {
1742
+ code: "unauthorized";
1743
+ details?: readonly Response.error.Detail[] | undefined;
1744
+ message: string;
1745
+ };
1746
+ requestId: string;
1747
+ };
1748
+ outputFormat: "json";
1749
+ status: 401;
1750
+ input: {
1751
+ param: {
1752
+ id: string;
1753
+ };
1754
+ } & {
1755
+ json: {
1756
+ transactionHash: `0x${string}`;
1757
+ } | {
1758
+ transactionHashes: `0x${string}`[];
1759
+ };
1760
+ };
1761
+ } | {
1762
+ output: {
1763
+ error: {
1764
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1765
+ details?: readonly Response.error.Detail[] | undefined;
1766
+ message: string;
1767
+ };
1768
+ requestId: string;
1769
+ };
1770
+ outputFormat: "json";
1771
+ status: 403;
1772
+ input: {
1773
+ param: {
1774
+ id: string;
1775
+ };
1776
+ } & {
1777
+ json: {
1778
+ transactionHash: `0x${string}`;
1779
+ } | {
1780
+ transactionHashes: `0x${string}`[];
1781
+ };
1782
+ };
1783
+ } | {
1784
+ output: {
1785
+ error: {
1786
+ code: "routes_transfer_not_found";
1787
+ details?: readonly Response.error.Detail[] | undefined;
1788
+ message: string;
1789
+ };
1790
+ requestId: string;
1791
+ };
1792
+ outputFormat: "json";
1793
+ status: 404;
1794
+ input: {
1795
+ param: {
1796
+ id: string;
1797
+ };
1798
+ } & {
1799
+ json: {
1800
+ transactionHash: `0x${string}`;
1801
+ } | {
1802
+ transactionHashes: `0x${string}`[];
1803
+ };
1804
+ };
1805
+ } | {
1806
+ output: {
1807
+ error: {
1808
+ code: "routes_transfer_not_awaiting_source";
1809
+ details?: readonly Response.error.Detail[] | undefined;
1810
+ message: string;
1811
+ };
1812
+ requestId: string;
1813
+ };
1814
+ outputFormat: "json";
1815
+ status: 409;
1816
+ input: {
1817
+ param: {
1818
+ id: string;
1819
+ };
1820
+ } & {
1821
+ json: {
1822
+ transactionHash: `0x${string}`;
1823
+ } | {
1824
+ transactionHashes: `0x${string}`[];
1825
+ };
1826
+ };
1893
1827
  } | {
1894
1828
  output: {
1895
1829
  error: {
@@ -1927,28 +1861,210 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1927
1861
  param: {
1928
1862
  id: string;
1929
1863
  };
1930
- } & {
1931
- json: {
1932
- transactionHash: `0x${string}`;
1933
- } | {
1934
- transactionHashes: `0x${string}`[];
1864
+ } & {
1865
+ json: {
1866
+ transactionHash: `0x${string}`;
1867
+ } | {
1868
+ transactionHashes: `0x${string}`[];
1869
+ };
1870
+ };
1871
+ } | {
1872
+ output: {
1873
+ error: {
1874
+ code: "payment_required" | "rate_limit_exceeded";
1875
+ details?: readonly Response.error.Detail[] | undefined;
1876
+ message: string;
1877
+ };
1878
+ requestId: string;
1879
+ };
1880
+ outputFormat: "json";
1881
+ status: 429;
1882
+ input: {
1883
+ param: {
1884
+ id: string;
1885
+ };
1886
+ } & {
1887
+ json: {
1888
+ transactionHash: `0x${string}`;
1889
+ } | {
1890
+ transactionHashes: `0x${string}`[];
1891
+ };
1892
+ };
1893
+ } | {
1894
+ output: {
1895
+ error: {
1896
+ code: "not_implemented";
1897
+ details?: readonly Response.error.Detail[] | undefined;
1898
+ message: string;
1899
+ };
1900
+ requestId: string;
1901
+ };
1902
+ outputFormat: "json";
1903
+ status: 501;
1904
+ input: {
1905
+ param: {
1906
+ id: string;
1907
+ };
1908
+ } & {
1909
+ json: {
1910
+ transactionHash: `0x${string}`;
1911
+ } | {
1912
+ transactionHashes: `0x${string}`[];
1913
+ };
1914
+ };
1915
+ } | {
1916
+ output: {
1917
+ error: {
1918
+ code: "upstream_error";
1919
+ details?: readonly Response.error.Detail[] | undefined;
1920
+ message: string;
1921
+ };
1922
+ requestId: string;
1923
+ };
1924
+ outputFormat: "json";
1925
+ status: 502;
1926
+ input: {
1927
+ param: {
1928
+ id: string;
1929
+ };
1930
+ } & {
1931
+ json: {
1932
+ transactionHash: `0x${string}`;
1933
+ } | {
1934
+ transactionHashes: `0x${string}`[];
1935
+ };
1936
+ };
1937
+ };
1938
+ };
1939
+ } & {
1940
+ "/v1/routes/transfers": {
1941
+ $post: {
1942
+ output: {
1943
+ createdAt: string;
1944
+ destinationAmount?: {
1945
+ baseUnits: string;
1946
+ currency: string;
1947
+ decimals: number;
1948
+ formatted: string;
1949
+ } | undefined;
1950
+ destinationAmountMin?: {
1951
+ baseUnits: string;
1952
+ currency: string;
1953
+ decimals: number;
1954
+ formatted: string;
1955
+ } | undefined;
1956
+ destinationAmountRequired?: {
1957
+ baseUnits: string;
1958
+ currency: string;
1959
+ decimals: number;
1960
+ formatted: string;
1961
+ } | undefined;
1962
+ destinationChain: {
1963
+ addressFormat: "base58" | "base58check" | "hex";
1964
+ id: string;
1965
+ kind: "evm" | "solana" | "tron";
1966
+ name: string;
1967
+ };
1968
+ destinationToken: {
1969
+ address: string;
1970
+ currency: string;
1971
+ decimals: number;
1972
+ name: string;
1973
+ standard: string;
1974
+ symbol: string;
1975
+ tokenKey: string;
1976
+ verified: boolean;
1977
+ };
1978
+ destinationTransactionHashes?: string[] | undefined;
1979
+ fees: {
1980
+ amount: {
1981
+ baseUnits: string;
1982
+ currency: string;
1983
+ decimals: number;
1984
+ formatted: string;
1985
+ };
1986
+ side: "destination" | "source";
1987
+ token: {
1988
+ address: string;
1989
+ currency: string;
1990
+ decimals: number;
1991
+ name: string;
1992
+ standard: string;
1993
+ symbol: string;
1994
+ tokenKey: string;
1995
+ verified: boolean;
1996
+ };
1997
+ type: "provider";
1998
+ }[];
1999
+ id: string;
2000
+ method: "depositAddress" | "transaction";
2001
+ mode: "exactDestination" | "exactSource";
2002
+ provider: {
2003
+ id: string;
2004
+ name: string;
2005
+ };
2006
+ quote: {
2007
+ expiresAt: string;
2008
+ sampledAt: string;
2009
+ };
2010
+ recipient: string;
2011
+ refundAddress?: string | undefined;
2012
+ refundAmount?: {
2013
+ baseUnits: string;
2014
+ currency: string;
2015
+ decimals: number;
2016
+ formatted: string;
2017
+ } | undefined;
2018
+ refundTransactionHashes?: string[] | undefined;
2019
+ sender?: string | undefined;
2020
+ sourceAmount: {
2021
+ baseUnits: string;
2022
+ currency: string;
2023
+ decimals: number;
2024
+ formatted: string;
2025
+ };
2026
+ sourceAmountMax?: {
2027
+ baseUnits: string;
2028
+ currency: string;
2029
+ decimals: number;
2030
+ formatted: string;
2031
+ } | undefined;
2032
+ sourceChain: {
2033
+ addressFormat: "base58" | "base58check" | "hex";
2034
+ id: string;
2035
+ kind: "evm" | "solana" | "tron";
2036
+ name: string;
2037
+ };
2038
+ sourceToken: {
2039
+ address: string;
2040
+ currency: string;
2041
+ decimals: number;
2042
+ name: string;
2043
+ standard: string;
2044
+ symbol: string;
2045
+ tokenKey: string;
2046
+ verified: boolean;
1935
2047
  };
1936
- };
1937
- };
1938
- };
1939
- } & {
1940
- "/v1/routes/transfers": {
1941
- $post: {
1942
- output: {
1943
- error: {
1944
- code: "api_key_malformed";
1945
- details?: readonly Response.error.Detail[] | undefined;
2048
+ sourceTransactionHashes?: string[] | undefined;
2049
+ subsidize: boolean;
2050
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
2051
+ statusReason?: {
2052
+ code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
1946
2053
  message: string;
2054
+ } | undefined;
2055
+ updatedAt: string;
2056
+ version: number;
2057
+ action: {
2058
+ calls: {
2059
+ data: string;
2060
+ to: string;
2061
+ value: string;
2062
+ }[];
2063
+ type: "evm:calls";
1947
2064
  };
1948
- requestId: string;
1949
2065
  };
1950
2066
  outputFormat: "json";
1951
- status: 400;
2067
+ status: 200;
1952
2068
  input: {
1953
2069
  header: {
1954
2070
  'idempotency-key': string;
@@ -1971,14 +2087,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1971
2087
  } | {
1972
2088
  output: {
1973
2089
  error: {
1974
- code: "api_key_invalid" | "api_key_missing";
2090
+ code: "api_key_malformed";
1975
2091
  details?: readonly Response.error.Detail[] | undefined;
1976
2092
  message: string;
1977
2093
  };
1978
2094
  requestId: string;
1979
2095
  };
1980
2096
  outputFormat: "json";
1981
- status: 401;
2097
+ status: 400;
1982
2098
  input: {
1983
2099
  header: {
1984
2100
  'idempotency-key': string;
@@ -2001,14 +2117,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2001
2117
  } | {
2002
2118
  output: {
2003
2119
  error: {
2004
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2120
+ code: "body_invalid";
2005
2121
  details?: readonly Response.error.Detail[] | undefined;
2006
2122
  message: string;
2007
2123
  };
2008
2124
  requestId: string;
2009
2125
  };
2010
2126
  outputFormat: "json";
2011
- status: 403;
2127
+ status: 400;
2012
2128
  input: {
2013
2129
  header: {
2014
2130
  'idempotency-key': string;
@@ -2031,14 +2147,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2031
2147
  } | {
2032
2148
  output: {
2033
2149
  error: {
2034
- code: "payment_required" | "rate_limit_exceeded";
2150
+ code: "api_key_invalid" | "api_key_missing";
2035
2151
  details?: readonly Response.error.Detail[] | undefined;
2036
2152
  message: string;
2037
2153
  };
2038
2154
  requestId: string;
2039
2155
  };
2040
2156
  outputFormat: "json";
2041
- status: 429;
2157
+ status: 401;
2042
2158
  input: {
2043
2159
  header: {
2044
2160
  'idempotency-key': string;
@@ -2061,14 +2177,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2061
2177
  } | {
2062
2178
  output: {
2063
2179
  error: {
2064
- code: "upstream_error";
2180
+ code: "unauthorized";
2065
2181
  details?: readonly Response.error.Detail[] | undefined;
2066
2182
  message: string;
2067
2183
  };
2068
2184
  requestId: string;
2069
2185
  };
2070
2186
  outputFormat: "json";
2071
- status: 502;
2187
+ status: 401;
2072
2188
  input: {
2073
2189
  header: {
2074
2190
  'idempotency-key': string;
@@ -2091,14 +2207,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2091
2207
  } | {
2092
2208
  output: {
2093
2209
  error: {
2094
- code: "unauthorized";
2210
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2095
2211
  details?: readonly Response.error.Detail[] | undefined;
2096
2212
  message: string;
2097
2213
  };
2098
2214
  requestId: string;
2099
2215
  };
2100
2216
  outputFormat: "json";
2101
- status: 401;
2217
+ status: 403;
2102
2218
  input: {
2103
2219
  header: {
2104
2220
  'idempotency-key': string;
@@ -2121,14 +2237,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2121
2237
  } | {
2122
2238
  output: {
2123
2239
  error: {
2124
- code: "body_invalid";
2240
+ code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled";
2125
2241
  details?: readonly Response.error.Detail[] | undefined;
2126
2242
  message: string;
2127
2243
  };
2128
2244
  requestId: string;
2129
2245
  };
2130
2246
  outputFormat: "json";
2131
- status: 400;
2247
+ status: 403;
2132
2248
  input: {
2133
2249
  header: {
2134
2250
  'idempotency-key': string;
@@ -2151,14 +2267,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2151
2267
  } | {
2152
2268
  output: {
2153
2269
  error: {
2154
- code: "not_implemented";
2270
+ code: "routes_subsidy_limit_exceeded";
2155
2271
  details?: readonly Response.error.Detail[] | undefined;
2156
2272
  message: string;
2157
2273
  };
2158
2274
  requestId: string;
2159
2275
  };
2160
2276
  outputFormat: "json";
2161
- status: 501;
2277
+ status: 403;
2162
2278
  input: {
2163
2279
  header: {
2164
2280
  'idempotency-key': string;
@@ -2181,14 +2297,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2181
2297
  } | {
2182
2298
  output: {
2183
2299
  error: {
2184
- code: "idempotency_conflict";
2300
+ code: "quote_not_available";
2185
2301
  details?: readonly Response.error.Detail[] | undefined;
2186
2302
  message: string;
2187
2303
  };
2188
2304
  requestId: string;
2189
2305
  };
2190
2306
  outputFormat: "json";
2191
- status: 409;
2307
+ status: 404;
2192
2308
  input: {
2193
2309
  header: {
2194
2310
  'idempotency-key': string;
@@ -2211,7 +2327,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2211
2327
  } | {
2212
2328
  output: {
2213
2329
  error: {
2214
- code: "idempotency_in_progress";
2330
+ code: "idempotency_conflict";
2215
2331
  details?: readonly Response.error.Detail[] | undefined;
2216
2332
  message: string;
2217
2333
  };
@@ -2240,131 +2356,15 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2240
2356
  };
2241
2357
  } | {
2242
2358
  output: {
2243
- createdAt: string;
2244
- destinationAmount?: {
2245
- baseUnits: string;
2246
- currency: string;
2247
- decimals: number;
2248
- formatted: string;
2249
- } | undefined;
2250
- destinationAmountMin?: {
2251
- baseUnits: string;
2252
- currency: string;
2253
- decimals: number;
2254
- formatted: string;
2255
- } | undefined;
2256
- destinationAmountRequired?: {
2257
- baseUnits: string;
2258
- currency: string;
2259
- decimals: number;
2260
- formatted: string;
2261
- } | undefined;
2262
- destinationChain: {
2263
- addressFormat: "base58" | "base58check" | "hex";
2264
- id: string;
2265
- kind: "evm" | "solana" | "tron";
2266
- name: string;
2267
- };
2268
- destinationToken: {
2269
- address: string;
2270
- currency: string;
2271
- decimals: number;
2272
- name: string;
2273
- standard: string;
2274
- symbol: string;
2275
- tokenKey: string;
2276
- verified: boolean;
2277
- };
2278
- destinationTransactionHashes?: string[] | undefined;
2279
- fees: {
2280
- amount: {
2281
- baseUnits: string;
2282
- currency: string;
2283
- decimals: number;
2284
- formatted: string;
2285
- };
2286
- side: "destination" | "source";
2287
- token: {
2288
- address: string;
2289
- currency: string;
2290
- decimals: number;
2291
- name: string;
2292
- standard: string;
2293
- symbol: string;
2294
- tokenKey: string;
2295
- verified: boolean;
2296
- };
2297
- type: "provider";
2298
- }[];
2299
- id: string;
2300
- method: "depositAddress" | "transaction";
2301
- mode: "exactDestination" | "exactSource";
2302
- provider: {
2303
- id: string;
2304
- name: string;
2305
- };
2306
- quote: {
2307
- expiresAt: string;
2308
- sampledAt: string;
2309
- };
2310
- recipient: string;
2311
- refundAddress?: string | undefined;
2312
- refundAmount?: {
2313
- baseUnits: string;
2314
- currency: string;
2315
- decimals: number;
2316
- formatted: string;
2317
- } | undefined;
2318
- refundTransactionHashes?: string[] | undefined;
2319
- sender?: string | undefined;
2320
- sourceAmount: {
2321
- baseUnits: string;
2322
- currency: string;
2323
- decimals: number;
2324
- formatted: string;
2325
- };
2326
- sourceAmountMax?: {
2327
- baseUnits: string;
2328
- currency: string;
2329
- decimals: number;
2330
- formatted: string;
2331
- } | undefined;
2332
- sourceChain: {
2333
- addressFormat: "base58" | "base58check" | "hex";
2334
- id: string;
2335
- kind: "evm" | "solana" | "tron";
2336
- name: string;
2337
- };
2338
- sourceToken: {
2339
- address: string;
2340
- currency: string;
2341
- decimals: number;
2342
- name: string;
2343
- standard: string;
2344
- symbol: string;
2345
- tokenKey: string;
2346
- verified: boolean;
2347
- };
2348
- sourceTransactionHashes?: string[] | undefined;
2349
- subsidize: boolean;
2350
- status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
2351
- statusReason?: {
2352
- code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2359
+ error: {
2360
+ code: "idempotency_in_progress";
2361
+ details?: readonly Response.error.Detail[] | undefined;
2353
2362
  message: string;
2354
- } | undefined;
2355
- updatedAt: string;
2356
- version: number;
2357
- action: {
2358
- calls: {
2359
- data: string;
2360
- to: string;
2361
- value: string;
2362
- }[];
2363
- type: "evm:calls";
2364
2363
  };
2364
+ requestId: string;
2365
2365
  };
2366
2366
  outputFormat: "json";
2367
- status: 200;
2367
+ status: 409;
2368
2368
  input: {
2369
2369
  header: {
2370
2370
  'idempotency-key': string;
@@ -2387,14 +2387,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2387
2387
  } | {
2388
2388
  output: {
2389
2389
  error: {
2390
- code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled";
2390
+ code: "payment_required" | "rate_limit_exceeded";
2391
2391
  details?: readonly Response.error.Detail[] | undefined;
2392
2392
  message: string;
2393
2393
  };
2394
2394
  requestId: string;
2395
2395
  };
2396
2396
  outputFormat: "json";
2397
- status: 403;
2397
+ status: 429;
2398
2398
  input: {
2399
2399
  header: {
2400
2400
  'idempotency-key': string;
@@ -2417,14 +2417,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2417
2417
  } | {
2418
2418
  output: {
2419
2419
  error: {
2420
- code: "quote_not_available";
2420
+ code: "not_implemented";
2421
2421
  details?: readonly Response.error.Detail[] | undefined;
2422
2422
  message: string;
2423
2423
  };
2424
2424
  requestId: string;
2425
2425
  };
2426
2426
  outputFormat: "json";
2427
- status: 404;
2427
+ status: 501;
2428
2428
  input: {
2429
2429
  header: {
2430
2430
  'idempotency-key': string;
@@ -2447,14 +2447,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2447
2447
  } | {
2448
2448
  output: {
2449
2449
  error: {
2450
- code: "routes_subsidy_limit_exceeded";
2450
+ code: "upstream_error";
2451
2451
  details?: readonly Response.error.Detail[] | undefined;
2452
2452
  message: string;
2453
2453
  };
2454
2454
  requestId: string;
2455
2455
  };
2456
2456
  outputFormat: "json";
2457
- status: 403;
2457
+ status: 502;
2458
2458
  input: {
2459
2459
  header: {
2460
2460
  'idempotency-key': string;
@@ -2568,14 +2568,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2568
2568
  } | {
2569
2569
  output: {
2570
2570
  error: {
2571
- code: "api_key_invalid" | "api_key_missing";
2571
+ code: "body_invalid";
2572
2572
  details?: readonly Response.error.Detail[] | undefined;
2573
2573
  message: string;
2574
2574
  };
2575
2575
  requestId: string;
2576
2576
  };
2577
2577
  outputFormat: "json";
2578
- status: 401;
2578
+ status: 400;
2579
2579
  input: {
2580
2580
  header: {
2581
2581
  'idempotency-key': string;
@@ -2595,14 +2595,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2595
2595
  } | {
2596
2596
  output: {
2597
2597
  error: {
2598
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2598
+ code: "api_key_invalid" | "api_key_missing";
2599
2599
  details?: readonly Response.error.Detail[] | undefined;
2600
2600
  message: string;
2601
2601
  };
2602
2602
  requestId: string;
2603
2603
  };
2604
2604
  outputFormat: "json";
2605
- status: 403;
2605
+ status: 401;
2606
2606
  input: {
2607
2607
  header: {
2608
2608
  'idempotency-key': string;
@@ -2622,14 +2622,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2622
2622
  } | {
2623
2623
  output: {
2624
2624
  error: {
2625
- code: "payment_required" | "rate_limit_exceeded";
2625
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2626
2626
  details?: readonly Response.error.Detail[] | undefined;
2627
2627
  message: string;
2628
2628
  };
2629
2629
  requestId: string;
2630
2630
  };
2631
2631
  outputFormat: "json";
2632
- status: 429;
2632
+ status: 403;
2633
2633
  input: {
2634
2634
  header: {
2635
2635
  'idempotency-key': string;
@@ -2649,14 +2649,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2649
2649
  } | {
2650
2650
  output: {
2651
2651
  error: {
2652
- code: "body_invalid";
2652
+ code: "payment_required" | "rate_limit_exceeded";
2653
2653
  details?: readonly Response.error.Detail[] | undefined;
2654
2654
  message: string;
2655
2655
  };
2656
2656
  requestId: string;
2657
2657
  };
2658
2658
  outputFormat: "json";
2659
- status: 400;
2659
+ status: 429;
2660
2660
  input: {
2661
2661
  header: {
2662
2662
  'idempotency-key': string;
@@ -2736,14 +2736,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2736
2736
  } | {
2737
2737
  output: {
2738
2738
  error: {
2739
- code: "api_key_invalid" | "api_key_missing";
2739
+ code: "body_invalid";
2740
2740
  details?: readonly Response.error.Detail[] | undefined;
2741
2741
  message: string;
2742
2742
  };
2743
2743
  requestId: string;
2744
2744
  };
2745
2745
  outputFormat: "json";
2746
- status: 401;
2746
+ status: 400;
2747
2747
  input: {
2748
2748
  header: {
2749
2749
  'idempotency-key': string;
@@ -2765,14 +2765,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2765
2765
  } | {
2766
2766
  output: {
2767
2767
  error: {
2768
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2768
+ code: "api_key_invalid" | "api_key_missing";
2769
2769
  details?: readonly Response.error.Detail[] | undefined;
2770
2770
  message: string;
2771
2771
  };
2772
2772
  requestId: string;
2773
2773
  };
2774
2774
  outputFormat: "json";
2775
- status: 403;
2775
+ status: 401;
2776
2776
  input: {
2777
2777
  header: {
2778
2778
  'idempotency-key': string;
@@ -2794,14 +2794,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2794
2794
  } | {
2795
2795
  output: {
2796
2796
  error: {
2797
- code: "payment_required" | "rate_limit_exceeded";
2797
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2798
2798
  details?: readonly Response.error.Detail[] | undefined;
2799
2799
  message: string;
2800
2800
  };
2801
2801
  requestId: string;
2802
2802
  };
2803
2803
  outputFormat: "json";
2804
- status: 429;
2804
+ status: 403;
2805
2805
  input: {
2806
2806
  header: {
2807
2807
  'idempotency-key': string;
@@ -2823,14 +2823,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2823
2823
  } | {
2824
2824
  output: {
2825
2825
  error: {
2826
- code: "body_invalid";
2826
+ code: "payment_required" | "rate_limit_exceeded";
2827
2827
  details?: readonly Response.error.Detail[] | undefined;
2828
2828
  message: string;
2829
2829
  };
2830
2830
  requestId: string;
2831
2831
  };
2832
2832
  outputFormat: "json";
2833
- status: 400;
2833
+ status: 429;
2834
2834
  input: {
2835
2835
  header: {
2836
2836
  'idempotency-key': string;