tapimo 0.4.0 → 0.4.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.
@@ -984,6 +984,185 @@ export declare namespace schema {
984
984
  export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
985
985
  "/v1/transactions": {
986
986
  $get: {
987
+ output: null;
988
+ outputFormat: "body";
989
+ status: 402;
990
+ input: {
991
+ query?: {
992
+ address?: string | string[];
993
+ 'blockNumber.from'?: string | string[];
994
+ 'blockNumber.to'?: string | string[];
995
+ chainId?: string | string[];
996
+ cursor?: string | string[];
997
+ feePayer?: string | string[];
998
+ feeToken?: string | string[];
999
+ include?: string | string[];
1000
+ limit?: string | string[];
1001
+ order?: string | string[];
1002
+ page?: string | string[];
1003
+ recipient?: string | string[];
1004
+ sender?: string | string[];
1005
+ status?: string | string[];
1006
+ 'timestamp.from'?: string | string[];
1007
+ 'timestamp.to'?: string | string[];
1008
+ } | undefined;
1009
+ };
1010
+ } | {
1011
+ output: {
1012
+ error: {
1013
+ code: "api_key_malformed";
1014
+ details?: readonly Response.error.Detail[] | undefined;
1015
+ message: string;
1016
+ };
1017
+ requestId: string;
1018
+ };
1019
+ outputFormat: "json";
1020
+ status: 400;
1021
+ input: {
1022
+ query?: {
1023
+ address?: string | string[];
1024
+ 'blockNumber.from'?: string | string[];
1025
+ 'blockNumber.to'?: string | string[];
1026
+ chainId?: string | string[];
1027
+ cursor?: string | string[];
1028
+ feePayer?: string | string[];
1029
+ feeToken?: string | string[];
1030
+ include?: string | string[];
1031
+ limit?: string | string[];
1032
+ order?: string | string[];
1033
+ page?: string | string[];
1034
+ recipient?: string | string[];
1035
+ sender?: string | string[];
1036
+ status?: string | string[];
1037
+ 'timestamp.from'?: string | string[];
1038
+ 'timestamp.to'?: string | string[];
1039
+ } | undefined;
1040
+ };
1041
+ } | {
1042
+ output: {
1043
+ error: {
1044
+ code: "api_key_invalid" | "api_key_missing";
1045
+ details?: readonly Response.error.Detail[] | undefined;
1046
+ message: string;
1047
+ };
1048
+ requestId: string;
1049
+ };
1050
+ outputFormat: "json";
1051
+ status: 401;
1052
+ input: {
1053
+ query?: {
1054
+ address?: string | string[];
1055
+ 'blockNumber.from'?: string | string[];
1056
+ 'blockNumber.to'?: string | string[];
1057
+ chainId?: string | string[];
1058
+ cursor?: string | string[];
1059
+ feePayer?: string | string[];
1060
+ feeToken?: string | string[];
1061
+ include?: string | string[];
1062
+ limit?: string | string[];
1063
+ order?: string | string[];
1064
+ page?: string | string[];
1065
+ recipient?: string | string[];
1066
+ sender?: string | string[];
1067
+ status?: string | string[];
1068
+ 'timestamp.from'?: string | string[];
1069
+ 'timestamp.to'?: string | string[];
1070
+ } | undefined;
1071
+ };
1072
+ } | {
1073
+ output: {
1074
+ error: {
1075
+ code: "api_key_forbidden";
1076
+ details?: readonly Response.error.Detail[] | undefined;
1077
+ message: string;
1078
+ };
1079
+ requestId: string;
1080
+ };
1081
+ outputFormat: "json";
1082
+ status: 403;
1083
+ input: {
1084
+ query?: {
1085
+ address?: string | string[];
1086
+ 'blockNumber.from'?: string | string[];
1087
+ 'blockNumber.to'?: string | string[];
1088
+ chainId?: string | string[];
1089
+ cursor?: string | string[];
1090
+ feePayer?: string | string[];
1091
+ feeToken?: string | string[];
1092
+ include?: string | string[];
1093
+ limit?: string | string[];
1094
+ order?: string | string[];
1095
+ page?: string | string[];
1096
+ recipient?: string | string[];
1097
+ sender?: string | string[];
1098
+ status?: string | string[];
1099
+ 'timestamp.from'?: string | string[];
1100
+ 'timestamp.to'?: string | string[];
1101
+ } | undefined;
1102
+ };
1103
+ } | {
1104
+ output: {
1105
+ error: {
1106
+ code: "payment_required" | "rate_limit_exceeded";
1107
+ details?: readonly Response.error.Detail[] | undefined;
1108
+ message: string;
1109
+ };
1110
+ requestId: string;
1111
+ };
1112
+ outputFormat: "json";
1113
+ status: 429;
1114
+ input: {
1115
+ query?: {
1116
+ address?: string | string[];
1117
+ 'blockNumber.from'?: string | string[];
1118
+ 'blockNumber.to'?: string | string[];
1119
+ chainId?: string | string[];
1120
+ cursor?: string | string[];
1121
+ feePayer?: string | string[];
1122
+ feeToken?: string | string[];
1123
+ include?: string | string[];
1124
+ limit?: string | string[];
1125
+ order?: string | string[];
1126
+ page?: string | string[];
1127
+ recipient?: string | string[];
1128
+ sender?: string | string[];
1129
+ status?: string | string[];
1130
+ 'timestamp.from'?: string | string[];
1131
+ 'timestamp.to'?: string | string[];
1132
+ } | undefined;
1133
+ };
1134
+ } | {
1135
+ output: {
1136
+ error: {
1137
+ code: "query_invalid";
1138
+ details?: readonly Response.error.Detail[] | undefined;
1139
+ message: string;
1140
+ };
1141
+ requestId: string;
1142
+ };
1143
+ outputFormat: "json";
1144
+ status: 400;
1145
+ input: {
1146
+ query?: {
1147
+ address?: string | string[];
1148
+ 'blockNumber.from'?: string | string[];
1149
+ 'blockNumber.to'?: string | string[];
1150
+ chainId?: string | string[];
1151
+ cursor?: string | string[];
1152
+ feePayer?: string | string[];
1153
+ feeToken?: string | string[];
1154
+ include?: string | string[];
1155
+ limit?: string | string[];
1156
+ order?: string | string[];
1157
+ page?: string | string[];
1158
+ recipient?: string | string[];
1159
+ sender?: string | string[];
1160
+ status?: string | string[];
1161
+ 'timestamp.from'?: string | string[];
1162
+ 'timestamp.to'?: string | string[];
1163
+ } | undefined;
1164
+ };
1165
+ } | {
987
1166
  output: {
988
1167
  data: {
989
1168
  blockHash: `0x${string}` | null;
@@ -1212,14 +1391,14 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1212
1391
  } | {
1213
1392
  output: {
1214
1393
  error: {
1215
- code: "api_key_malformed";
1394
+ code: "upstream_error";
1216
1395
  details?: readonly Response.error.Detail[] | undefined;
1217
1396
  message: string;
1218
1397
  };
1219
1398
  requestId: string;
1220
1399
  };
1221
1400
  outputFormat: "json";
1222
- status: 400;
1401
+ status: 502;
1223
1402
  input: {
1224
1403
  query?: {
1225
1404
  address?: string | string[];
@@ -1240,10 +1419,28 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1240
1419
  'timestamp.to'?: string | string[];
1241
1420
  } | undefined;
1242
1421
  };
1422
+ };
1423
+ };
1424
+ } & {
1425
+ "/v1/transactions/:transactionHash": {
1426
+ $get: {
1427
+ output: null;
1428
+ outputFormat: "body";
1429
+ status: 402;
1430
+ input: {
1431
+ param: {
1432
+ transactionHash: `0x${string}`;
1433
+ };
1434
+ } & {
1435
+ query?: {
1436
+ chainId?: string | string[];
1437
+ include?: string | string[];
1438
+ } | undefined;
1439
+ };
1243
1440
  } | {
1244
1441
  output: {
1245
1442
  error: {
1246
- code: "query_invalid";
1443
+ code: "api_key_malformed";
1247
1444
  details?: readonly Response.error.Detail[] | undefined;
1248
1445
  message: string;
1249
1446
  };
@@ -1252,23 +1449,13 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1252
1449
  outputFormat: "json";
1253
1450
  status: 400;
1254
1451
  input: {
1452
+ param: {
1453
+ transactionHash: `0x${string}`;
1454
+ };
1455
+ } & {
1255
1456
  query?: {
1256
- address?: string | string[];
1257
- 'blockNumber.from'?: string | string[];
1258
- 'blockNumber.to'?: string | string[];
1259
1457
  chainId?: string | string[];
1260
- cursor?: string | string[];
1261
- feePayer?: string | string[];
1262
- feeToken?: string | string[];
1263
1458
  include?: string | string[];
1264
- limit?: string | string[];
1265
- order?: string | string[];
1266
- page?: string | string[];
1267
- recipient?: string | string[];
1268
- sender?: string | string[];
1269
- status?: string | string[];
1270
- 'timestamp.from'?: string | string[];
1271
- 'timestamp.to'?: string | string[];
1272
1459
  } | undefined;
1273
1460
  };
1274
1461
  } | {
@@ -1283,109 +1470,76 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1283
1470
  outputFormat: "json";
1284
1471
  status: 401;
1285
1472
  input: {
1473
+ param: {
1474
+ transactionHash: `0x${string}`;
1475
+ };
1476
+ } & {
1286
1477
  query?: {
1287
- address?: string | string[];
1288
- 'blockNumber.from'?: string | string[];
1289
- 'blockNumber.to'?: string | string[];
1290
1478
  chainId?: string | string[];
1291
- cursor?: string | string[];
1292
- feePayer?: string | string[];
1293
- feeToken?: string | string[];
1294
1479
  include?: string | string[];
1295
- limit?: string | string[];
1296
- order?: string | string[];
1297
- page?: string | string[];
1298
- recipient?: string | string[];
1299
- sender?: string | string[];
1300
- status?: string | string[];
1301
- 'timestamp.from'?: string | string[];
1302
- 'timestamp.to'?: string | string[];
1303
1480
  } | undefined;
1304
1481
  };
1305
1482
  } | {
1306
- output: null;
1307
- outputFormat: "body";
1308
- status: 402;
1483
+ output: {
1484
+ error: {
1485
+ code: "api_key_forbidden";
1486
+ details?: readonly Response.error.Detail[] | undefined;
1487
+ message: string;
1488
+ };
1489
+ requestId: string;
1490
+ };
1491
+ outputFormat: "json";
1492
+ status: 403;
1309
1493
  input: {
1494
+ param: {
1495
+ transactionHash: `0x${string}`;
1496
+ };
1497
+ } & {
1310
1498
  query?: {
1311
- address?: string | string[];
1312
- 'blockNumber.from'?: string | string[];
1313
- 'blockNumber.to'?: string | string[];
1314
1499
  chainId?: string | string[];
1315
- cursor?: string | string[];
1316
- feePayer?: string | string[];
1317
- feeToken?: string | string[];
1318
1500
  include?: string | string[];
1319
- limit?: string | string[];
1320
- order?: string | string[];
1321
- page?: string | string[];
1322
- recipient?: string | string[];
1323
- sender?: string | string[];
1324
- status?: string | string[];
1325
- 'timestamp.from'?: string | string[];
1326
- 'timestamp.to'?: string | string[];
1327
1501
  } | undefined;
1328
1502
  };
1329
1503
  } | {
1330
1504
  output: {
1331
1505
  error: {
1332
- code: "api_key_forbidden";
1506
+ code: "payment_required" | "rate_limit_exceeded";
1333
1507
  details?: readonly Response.error.Detail[] | undefined;
1334
1508
  message: string;
1335
1509
  };
1336
1510
  requestId: string;
1337
1511
  };
1338
1512
  outputFormat: "json";
1339
- status: 403;
1513
+ status: 429;
1340
1514
  input: {
1515
+ param: {
1516
+ transactionHash: `0x${string}`;
1517
+ };
1518
+ } & {
1341
1519
  query?: {
1342
- address?: string | string[];
1343
- 'blockNumber.from'?: string | string[];
1344
- 'blockNumber.to'?: string | string[];
1345
1520
  chainId?: string | string[];
1346
- cursor?: string | string[];
1347
- feePayer?: string | string[];
1348
- feeToken?: string | string[];
1349
1521
  include?: string | string[];
1350
- limit?: string | string[];
1351
- order?: string | string[];
1352
- page?: string | string[];
1353
- recipient?: string | string[];
1354
- sender?: string | string[];
1355
- status?: string | string[];
1356
- 'timestamp.from'?: string | string[];
1357
- 'timestamp.to'?: string | string[];
1358
1522
  } | undefined;
1359
1523
  };
1360
1524
  } | {
1361
1525
  output: {
1362
1526
  error: {
1363
- code: "payment_required" | "rate_limit_exceeded";
1527
+ code: "query_invalid";
1364
1528
  details?: readonly Response.error.Detail[] | undefined;
1365
1529
  message: string;
1366
1530
  };
1367
1531
  requestId: string;
1368
1532
  };
1369
1533
  outputFormat: "json";
1370
- status: 429;
1534
+ status: 400;
1371
1535
  input: {
1536
+ param: {
1537
+ transactionHash: `0x${string}`;
1538
+ };
1539
+ } & {
1372
1540
  query?: {
1373
- address?: string | string[];
1374
- 'blockNumber.from'?: string | string[];
1375
- 'blockNumber.to'?: string | string[];
1376
1541
  chainId?: string | string[];
1377
- cursor?: string | string[];
1378
- feePayer?: string | string[];
1379
- feeToken?: string | string[];
1380
1542
  include?: string | string[];
1381
- limit?: string | string[];
1382
- order?: string | string[];
1383
- page?: string | string[];
1384
- recipient?: string | string[];
1385
- sender?: string | string[];
1386
- status?: string | string[];
1387
- 'timestamp.from'?: string | string[];
1388
- 'timestamp.to'?: string | string[];
1389
1543
  } | undefined;
1390
1544
  };
1391
1545
  } | {
@@ -1400,30 +1554,58 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1400
1554
  outputFormat: "json";
1401
1555
  status: 502;
1402
1556
  input: {
1557
+ param: {
1558
+ transactionHash: `0x${string}`;
1559
+ };
1560
+ } & {
1403
1561
  query?: {
1404
- address?: string | string[];
1405
- 'blockNumber.from'?: string | string[];
1406
- 'blockNumber.to'?: string | string[];
1407
1562
  chainId?: string | string[];
1408
- cursor?: string | string[];
1409
- feePayer?: string | string[];
1410
- feeToken?: string | string[];
1411
1563
  include?: string | string[];
1412
- limit?: string | string[];
1413
- order?: string | string[];
1414
- page?: string | string[];
1415
- recipient?: string | string[];
1416
- sender?: string | string[];
1417
- status?: string | string[];
1418
- 'timestamp.from'?: string | string[];
1419
- 'timestamp.to'?: string | string[];
1420
1564
  } | undefined;
1421
1565
  };
1422
- };
1423
- };
1424
- } & {
1425
- "/v1/transactions/:transactionHash": {
1426
- $get: {
1566
+ } | {
1567
+ output: {
1568
+ error: {
1569
+ code: "transaction_invalid";
1570
+ details?: readonly Response.error.Detail[] | undefined;
1571
+ message: string;
1572
+ };
1573
+ requestId: string;
1574
+ };
1575
+ outputFormat: "json";
1576
+ status: 400;
1577
+ input: {
1578
+ param: {
1579
+ transactionHash: `0x${string}`;
1580
+ };
1581
+ } & {
1582
+ query?: {
1583
+ chainId?: string | string[];
1584
+ include?: string | string[];
1585
+ } | undefined;
1586
+ };
1587
+ } | {
1588
+ output: {
1589
+ error: {
1590
+ code: "transaction_not_found";
1591
+ details?: readonly Response.error.Detail[] | undefined;
1592
+ message: string;
1593
+ };
1594
+ requestId: string;
1595
+ };
1596
+ outputFormat: "json";
1597
+ status: 404;
1598
+ input: {
1599
+ param: {
1600
+ transactionHash: `0x${string}`;
1601
+ };
1602
+ } & {
1603
+ query?: {
1604
+ chainId?: string | string[];
1605
+ include?: string | string[];
1606
+ } | undefined;
1607
+ };
1608
+ } | {
1427
1609
  output: {
1428
1610
  blockHash: `0x${string}` | null;
1429
1611
  blockNumber: number | null;
@@ -1632,188 +1814,6 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
1632
1814
  include?: string | string[];
1633
1815
  } | undefined;
1634
1816
  };
1635
- } | {
1636
- output: {
1637
- error: {
1638
- code: "api_key_malformed";
1639
- details?: readonly Response.error.Detail[] | undefined;
1640
- message: string;
1641
- };
1642
- requestId: string;
1643
- };
1644
- outputFormat: "json";
1645
- status: 400;
1646
- input: {
1647
- param: {
1648
- transactionHash: `0x${string}`;
1649
- };
1650
- } & {
1651
- query?: {
1652
- chainId?: string | string[];
1653
- include?: string | string[];
1654
- } | undefined;
1655
- };
1656
- } | {
1657
- output: {
1658
- error: {
1659
- code: "query_invalid";
1660
- details?: readonly Response.error.Detail[] | undefined;
1661
- message: string;
1662
- };
1663
- requestId: string;
1664
- };
1665
- outputFormat: "json";
1666
- status: 400;
1667
- input: {
1668
- param: {
1669
- transactionHash: `0x${string}`;
1670
- };
1671
- } & {
1672
- query?: {
1673
- chainId?: string | string[];
1674
- include?: string | string[];
1675
- } | undefined;
1676
- };
1677
- } | {
1678
- output: {
1679
- error: {
1680
- code: "transaction_invalid";
1681
- details?: readonly Response.error.Detail[] | undefined;
1682
- message: string;
1683
- };
1684
- requestId: string;
1685
- };
1686
- outputFormat: "json";
1687
- status: 400;
1688
- input: {
1689
- param: {
1690
- transactionHash: `0x${string}`;
1691
- };
1692
- } & {
1693
- query?: {
1694
- chainId?: string | string[];
1695
- include?: string | string[];
1696
- } | undefined;
1697
- };
1698
- } | {
1699
- output: {
1700
- error: {
1701
- code: "api_key_invalid" | "api_key_missing";
1702
- details?: readonly Response.error.Detail[] | undefined;
1703
- message: string;
1704
- };
1705
- requestId: string;
1706
- };
1707
- outputFormat: "json";
1708
- status: 401;
1709
- input: {
1710
- param: {
1711
- transactionHash: `0x${string}`;
1712
- };
1713
- } & {
1714
- query?: {
1715
- chainId?: string | string[];
1716
- include?: string | string[];
1717
- } | undefined;
1718
- };
1719
- } | {
1720
- output: null;
1721
- outputFormat: "body";
1722
- status: 402;
1723
- input: {
1724
- param: {
1725
- transactionHash: `0x${string}`;
1726
- };
1727
- } & {
1728
- query?: {
1729
- chainId?: string | string[];
1730
- include?: string | string[];
1731
- } | undefined;
1732
- };
1733
- } | {
1734
- output: {
1735
- error: {
1736
- code: "api_key_forbidden";
1737
- details?: readonly Response.error.Detail[] | undefined;
1738
- message: string;
1739
- };
1740
- requestId: string;
1741
- };
1742
- outputFormat: "json";
1743
- status: 403;
1744
- input: {
1745
- param: {
1746
- transactionHash: `0x${string}`;
1747
- };
1748
- } & {
1749
- query?: {
1750
- chainId?: string | string[];
1751
- include?: string | string[];
1752
- } | undefined;
1753
- };
1754
- } | {
1755
- output: {
1756
- error: {
1757
- code: "transaction_not_found";
1758
- details?: readonly Response.error.Detail[] | undefined;
1759
- message: string;
1760
- };
1761
- requestId: string;
1762
- };
1763
- outputFormat: "json";
1764
- status: 404;
1765
- input: {
1766
- param: {
1767
- transactionHash: `0x${string}`;
1768
- };
1769
- } & {
1770
- query?: {
1771
- chainId?: string | string[];
1772
- include?: string | string[];
1773
- } | undefined;
1774
- };
1775
- } | {
1776
- output: {
1777
- error: {
1778
- code: "payment_required" | "rate_limit_exceeded";
1779
- details?: readonly Response.error.Detail[] | undefined;
1780
- message: string;
1781
- };
1782
- requestId: string;
1783
- };
1784
- outputFormat: "json";
1785
- status: 429;
1786
- input: {
1787
- param: {
1788
- transactionHash: `0x${string}`;
1789
- };
1790
- } & {
1791
- query?: {
1792
- chainId?: string | string[];
1793
- include?: string | string[];
1794
- } | undefined;
1795
- };
1796
- } | {
1797
- output: {
1798
- error: {
1799
- code: "upstream_error";
1800
- details?: readonly Response.error.Detail[] | undefined;
1801
- message: string;
1802
- };
1803
- requestId: string;
1804
- };
1805
- outputFormat: "json";
1806
- status: 502;
1807
- input: {
1808
- param: {
1809
- transactionHash: `0x${string}`;
1810
- };
1811
- } & {
1812
- query?: {
1813
- chainId?: string | string[];
1814
- include?: string | string[];
1815
- } | undefined;
1816
- };
1817
1817
  };
1818
1818
  };
1819
1819
  }, "/", "/v1/transactions/:transactionHash">;