tapimo 0.4.4 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/dist/App.d.ts +7403 -6127
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +4 -0
  4. package/dist/App.js.map +1 -1
  5. package/dist/Scope.d.ts +18 -1
  6. package/dist/Scope.d.ts.map +1 -1
  7. package/dist/Scope.js +24 -3
  8. package/dist/Scope.js.map +1 -1
  9. package/dist/admin/apps/verified-tokens.d.ts +115 -115
  10. package/dist/apps/data/App.d.ts +1838 -1534
  11. package/dist/apps/data/App.d.ts.map +1 -1
  12. package/dist/apps/data/App.js +135 -44
  13. package/dist/apps/data/App.js.map +1 -1
  14. package/dist/apps/data/{FundingRouteProviders.d.ts → FundingQuoteProviders.d.ts} +7 -7
  15. package/dist/apps/data/{FundingRouteProviders.d.ts.map → FundingQuoteProviders.d.ts.map} +1 -1
  16. package/dist/apps/data/{FundingRouteProviders.js → FundingQuoteProviders.js} +36 -91
  17. package/dist/apps/data/FundingQuoteProviders.js.map +1 -0
  18. package/dist/apps/data/index.d.ts +1 -1
  19. package/dist/apps/data/index.js +1 -1
  20. package/dist/apps/data/routes/activities.d.ts +242 -242
  21. package/dist/apps/data/routes/addresses.d.ts +227 -227
  22. package/dist/apps/data/routes/balances.d.ts +12 -12
  23. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  24. package/dist/apps/data/routes/balances.js +67 -149
  25. package/dist/apps/data/routes/balances.js.map +1 -1
  26. package/dist/apps/data/routes/blocks.d.ts +125 -126
  27. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  28. package/dist/apps/data/routes/blocks.js +3 -5
  29. package/dist/apps/data/routes/blocks.js.map +1 -1
  30. package/dist/apps/data/routes/coingecko.d.ts +55 -54
  31. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  32. package/dist/apps/data/routes/coingecko.js +3 -8
  33. package/dist/apps/data/routes/coingecko.js.map +1 -1
  34. package/dist/apps/data/routes/funding.d.ts +207 -388
  35. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  36. package/dist/apps/data/routes/funding.js +143 -221
  37. package/dist/apps/data/routes/funding.js.map +1 -1
  38. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  39. package/dist/apps/data/routes/rpc.js +86 -16
  40. package/dist/apps/data/routes/rpc.js.map +1 -1
  41. package/dist/apps/data/routes/tokenlist.d.ts +33 -33
  42. package/dist/apps/data/routes/transactions.d.ts +281 -281
  43. package/dist/apps/data/routes/transfers.d.ts +58 -58
  44. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  45. package/dist/apps/data/routes/webhooks.d.ts +340 -0
  46. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  47. package/dist/apps/data/routes/webhooks.js +13 -1
  48. package/dist/apps/data/routes/webhooks.js.map +1 -1
  49. package/dist/apps/index.d.ts +1 -1
  50. package/dist/apps/index.js +1 -1
  51. package/dist/apps/management/App.d.ts +1090 -108
  52. package/dist/apps/management/App.d.ts.map +1 -1
  53. package/dist/apps/management/App.js +4 -0
  54. package/dist/apps/management/App.js.map +1 -1
  55. package/dist/apps/management/routes/api-keys.d.ts +118 -118
  56. package/dist/apps/management/routes/api-keys.js +2 -2
  57. package/dist/apps/management/routes/api-keys.js.map +1 -1
  58. package/dist/apps/management/routes/billing.d.ts +207 -207
  59. package/dist/apps/management/routes/invite-links.d.ts +1100 -0
  60. package/dist/apps/management/routes/invite-links.d.ts.map +1 -0
  61. package/dist/apps/management/routes/invite-links.js +411 -0
  62. package/dist/apps/management/routes/invite-links.js.map +1 -0
  63. package/dist/apps/management/routes/me.d.ts +17 -17
  64. package/dist/apps/management/routes/members.d.ts +71 -71
  65. package/dist/apps/management/routes/orgs.d.ts +12 -12
  66. package/dist/apps/management/routes/projects.d.ts +70 -70
  67. package/dist/apps/management/routes/scopes.d.ts +11 -11
  68. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  69. package/dist/apps/management/routes/scopes.js +2 -2
  70. package/dist/apps/management/routes/scopes.js.map +1 -1
  71. package/dist/apps/management/routes/usage.d.ts +75 -75
  72. package/dist/apps/relay/App.d.ts.map +1 -1
  73. package/dist/apps/relay/App.js +42 -4
  74. package/dist/apps/relay/App.js.map +1 -1
  75. package/dist/db/Db.d.ts +3 -0
  76. package/dist/db/Db.d.ts.map +1 -1
  77. package/dist/db/Db.js +57 -0
  78. package/dist/db/Db.js.map +1 -1
  79. package/dist/db/Schema.d.ts +31 -0
  80. package/dist/db/Schema.d.ts.map +1 -1
  81. package/dist/db/Schema.js +31 -0
  82. package/dist/db/Schema.js.map +1 -1
  83. package/dist/db/tables/inviteLinks.d.ts +42 -0
  84. package/dist/db/tables/inviteLinks.d.ts.map +1 -0
  85. package/dist/db/tables/inviteLinks.js +148 -0
  86. package/dist/db/tables/inviteLinks.js.map +1 -0
  87. package/dist/db/tables/organizations.d.ts.map +1 -1
  88. package/dist/db/tables/organizations.js +2 -0
  89. package/dist/db/tables/organizations.js.map +1 -1
  90. package/dist/handlers/relay.d.ts.map +1 -1
  91. package/dist/handlers/relay.js +13 -3
  92. package/dist/handlers/relay.js.map +1 -1
  93. package/dist/internal/Auth.d.ts +9 -1
  94. package/dist/internal/Auth.d.ts.map +1 -1
  95. package/dist/internal/Auth.js +130 -10
  96. package/dist/internal/Auth.js.map +1 -1
  97. package/dist/internal/EdgeCache.d.ts +3 -1
  98. package/dist/internal/EdgeCache.d.ts.map +1 -1
  99. package/dist/internal/EdgeCache.js +17 -2
  100. package/dist/internal/EdgeCache.js.map +1 -1
  101. package/dist/internal/{FundingRoutes.d.ts → FundingQuotes.d.ts} +185 -428
  102. package/dist/internal/FundingQuotes.d.ts.map +1 -0
  103. package/dist/internal/{FundingRoutes.js → FundingQuotes.js} +93 -218
  104. package/dist/internal/FundingQuotes.js.map +1 -0
  105. package/dist/internal/Viem.d.ts +3 -1
  106. package/dist/internal/Viem.d.ts.map +1 -1
  107. package/dist/internal/Viem.js +11 -2
  108. package/dist/internal/Viem.js.map +1 -1
  109. package/dist/internal/index.d.ts +1 -1
  110. package/dist/internal/index.js +1 -1
  111. package/package.json +1 -1
  112. package/src/ApiKeys.test.ts +23 -0
  113. package/src/App.test-d.ts +2 -0
  114. package/src/App.ts +6 -0
  115. package/src/Client.test-d.ts +20 -11
  116. package/src/Scope.test.ts +1 -0
  117. package/src/Scope.ts +30 -4
  118. package/src/apps/data/App.test.ts +354 -0
  119. package/src/apps/data/App.ts +159 -52
  120. package/src/apps/data/FundingQuoteProviders.test.ts +151 -0
  121. package/src/apps/data/{FundingRouteProviders.ts → FundingQuoteProviders.ts} +40 -101
  122. package/src/apps/data/index.ts +1 -1
  123. package/src/apps/data/routes/balances.test.ts +64 -18
  124. package/src/apps/data/routes/balances.ts +76 -177
  125. package/src/apps/data/routes/blocks.ts +3 -5
  126. package/src/apps/data/routes/coingecko.ts +3 -8
  127. package/src/apps/data/routes/funding.test.ts +151 -206
  128. package/src/apps/data/routes/funding.ts +156 -291
  129. package/src/apps/data/routes/indexer.test.ts +97 -1
  130. package/src/apps/data/routes/rpc.test.ts +219 -0
  131. package/src/apps/data/routes/rpc.ts +92 -17
  132. package/src/apps/data/routes/webhooks.test.ts +21 -0
  133. package/src/apps/data/routes/webhooks.ts +13 -1
  134. package/src/apps/index.ts +1 -1
  135. package/src/apps/management/App.ts +4 -0
  136. package/src/apps/management/routes/api-keys.test.ts +47 -3
  137. package/src/apps/management/routes/api-keys.ts +2 -2
  138. package/src/apps/management/routes/invite-links.test.ts +385 -0
  139. package/src/apps/management/routes/invite-links.ts +570 -0
  140. package/src/apps/management/routes/scopes.test.ts +3 -2
  141. package/src/apps/management/routes/scopes.ts +4 -2
  142. package/src/apps/relay/App.test.ts +324 -4
  143. package/src/apps/relay/App.ts +40 -4
  144. package/src/db/Db.ts +65 -0
  145. package/src/db/Schema.ts +39 -0
  146. package/src/db/tables/inviteLinks.ts +187 -0
  147. package/src/db/tables/organizations.ts +2 -0
  148. package/src/handlers/relay.ts +16 -4
  149. package/src/internal/Auth.test.ts +132 -22
  150. package/src/internal/Auth.ts +171 -14
  151. package/src/internal/EdgeCache.test.ts +24 -3
  152. package/src/internal/EdgeCache.ts +18 -2
  153. package/src/internal/FundingQuotes.test.ts +174 -0
  154. package/src/internal/{FundingRoutes.ts → FundingQuotes.ts} +153 -312
  155. package/src/internal/Viem.ts +14 -5
  156. package/src/internal/index.test.ts +1 -1
  157. package/src/internal/index.ts +1 -1
  158. package/dist/apps/data/FundingRouteProviders.js.map +0 -1
  159. package/dist/internal/FundingRoutes.d.ts.map +0 -1
  160. package/dist/internal/FundingRoutes.js.map +0 -1
  161. package/src/apps/data/FundingRouteProviders.test.ts +0 -225
  162. package/src/internal/FundingRoutes.test.ts +0 -213
@@ -13448,167 +13448,6 @@ export type Provider = {
13448
13448
  export declare function addresses(): import("hono/hono-base").HonoBase<App.Environment, {
13449
13449
  "/v1/addresses/:address/activities": {
13450
13450
  $get: {
13451
- output: null;
13452
- outputFormat: "body";
13453
- status: 402;
13454
- input: {
13455
- param: {
13456
- address: `0x${string}`;
13457
- };
13458
- } & {
13459
- query?: {
13460
- chainId?: string | string[];
13461
- cursor?: string | string[];
13462
- group?: string | string[];
13463
- limit?: string | string[];
13464
- logs?: string | string[];
13465
- } | undefined;
13466
- };
13467
- } | {
13468
- output: {
13469
- error: {
13470
- code: "api_key_malformed";
13471
- details?: readonly Response.error.Detail[] | undefined;
13472
- message: string;
13473
- };
13474
- requestId: string;
13475
- };
13476
- outputFormat: "json";
13477
- status: 400;
13478
- input: {
13479
- param: {
13480
- address: `0x${string}`;
13481
- };
13482
- } & {
13483
- query?: {
13484
- chainId?: string | string[];
13485
- cursor?: string | string[];
13486
- group?: string | string[];
13487
- limit?: string | string[];
13488
- logs?: string | string[];
13489
- } | undefined;
13490
- };
13491
- } | {
13492
- output: {
13493
- error: {
13494
- code: "api_key_invalid" | "api_key_missing";
13495
- details?: readonly Response.error.Detail[] | undefined;
13496
- message: string;
13497
- };
13498
- requestId: string;
13499
- };
13500
- outputFormat: "json";
13501
- status: 401;
13502
- input: {
13503
- param: {
13504
- address: `0x${string}`;
13505
- };
13506
- } & {
13507
- query?: {
13508
- chainId?: string | string[];
13509
- cursor?: string | string[];
13510
- group?: string | string[];
13511
- limit?: string | string[];
13512
- logs?: string | string[];
13513
- } | undefined;
13514
- };
13515
- } | {
13516
- output: {
13517
- error: {
13518
- code: "api_key_forbidden";
13519
- details?: readonly Response.error.Detail[] | undefined;
13520
- message: string;
13521
- };
13522
- requestId: string;
13523
- };
13524
- outputFormat: "json";
13525
- status: 403;
13526
- input: {
13527
- param: {
13528
- address: `0x${string}`;
13529
- };
13530
- } & {
13531
- query?: {
13532
- chainId?: string | string[];
13533
- cursor?: string | string[];
13534
- group?: string | string[];
13535
- limit?: string | string[];
13536
- logs?: string | string[];
13537
- } | undefined;
13538
- };
13539
- } | {
13540
- output: {
13541
- error: {
13542
- code: "payment_required" | "rate_limit_exceeded";
13543
- details?: readonly Response.error.Detail[] | undefined;
13544
- message: string;
13545
- };
13546
- requestId: string;
13547
- };
13548
- outputFormat: "json";
13549
- status: 429;
13550
- input: {
13551
- param: {
13552
- address: `0x${string}`;
13553
- };
13554
- } & {
13555
- query?: {
13556
- chainId?: string | string[];
13557
- cursor?: string | string[];
13558
- group?: string | string[];
13559
- limit?: string | string[];
13560
- logs?: string | string[];
13561
- } | undefined;
13562
- };
13563
- } | {
13564
- output: {
13565
- error: {
13566
- code: "address_invalid";
13567
- details?: readonly Response.error.Detail[] | undefined;
13568
- message: string;
13569
- };
13570
- requestId: string;
13571
- };
13572
- outputFormat: "json";
13573
- status: 400;
13574
- input: {
13575
- param: {
13576
- address: `0x${string}`;
13577
- };
13578
- } & {
13579
- query?: {
13580
- chainId?: string | string[];
13581
- cursor?: string | string[];
13582
- group?: string | string[];
13583
- limit?: string | string[];
13584
- logs?: string | string[];
13585
- } | undefined;
13586
- };
13587
- } | {
13588
- output: {
13589
- error: {
13590
- code: "query_invalid";
13591
- details?: readonly Response.error.Detail[] | undefined;
13592
- message: string;
13593
- };
13594
- requestId: string;
13595
- };
13596
- outputFormat: "json";
13597
- status: 400;
13598
- input: {
13599
- param: {
13600
- address: `0x${string}`;
13601
- };
13602
- } & {
13603
- query?: {
13604
- chainId?: string | string[];
13605
- cursor?: string | string[];
13606
- group?: string | string[];
13607
- limit?: string | string[];
13608
- logs?: string | string[];
13609
- } | undefined;
13610
- };
13611
- } | {
13612
13451
  output: {
13613
13452
  data: ({
13614
13453
  perspective: "incoming" | "outgoing";
@@ -16813,14 +16652,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
16813
16652
  } | {
16814
16653
  output: {
16815
16654
  error: {
16816
- code: "upstream_error";
16655
+ code: "api_key_malformed";
16817
16656
  details?: readonly Response.error.Detail[] | undefined;
16818
16657
  message: string;
16819
16658
  };
16820
16659
  requestId: string;
16821
16660
  };
16822
16661
  outputFormat: "json";
16823
- status: 502;
16662
+ status: 400;
16824
16663
  input: {
16825
16664
  param: {
16826
16665
  address: `0x${string}`;
@@ -16834,39 +16673,10 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
16834
16673
  logs?: string | string[];
16835
16674
  } | undefined;
16836
16675
  };
16837
- };
16838
- };
16839
- }, "/", "/v1/addresses/:address/activities">;
16840
- /**
16841
- * Creates transaction-scoped activity handlers, mounted under the
16842
- * `/transactions` composer. Exposes `GET /:transactionHash/activities`.
16843
- *
16844
- * Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
16845
- * over a single transaction's logs, anchored on the transaction sender as the
16846
- * viewer (a transaction-scoped feed has no subject account). Returns the
16847
- * classified item(s) — usually one headline activity — with the full per-tx
16848
- * event set available via `logs=true`.
16849
- */
16850
- export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
16851
- "/v1/transactions/:transactionHash/activities": {
16852
- $get: {
16853
- output: null;
16854
- outputFormat: "body";
16855
- status: 402;
16856
- input: {
16857
- param: {
16858
- transactionHash: `0x${string}`;
16859
- };
16860
- } & {
16861
- query?: {
16862
- chainId?: string | string[];
16863
- logs?: string | string[];
16864
- } | undefined;
16865
- };
16866
16676
  } | {
16867
16677
  output: {
16868
16678
  error: {
16869
- code: "api_key_malformed";
16679
+ code: "query_invalid";
16870
16680
  details?: readonly Response.error.Detail[] | undefined;
16871
16681
  message: string;
16872
16682
  };
@@ -16876,162 +16686,170 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
16876
16686
  status: 400;
16877
16687
  input: {
16878
16688
  param: {
16879
- transactionHash: `0x${string}`;
16880
- };
16881
- } & {
16882
- query?: {
16883
- chainId?: string | string[];
16884
- logs?: string | string[];
16885
- } | undefined;
16886
- };
16887
- } | {
16888
- output: {
16889
- error: {
16890
- code: "api_key_invalid" | "api_key_missing";
16891
- details?: readonly Response.error.Detail[] | undefined;
16892
- message: string;
16893
- };
16894
- requestId: string;
16895
- };
16896
- outputFormat: "json";
16897
- status: 401;
16898
- input: {
16899
- param: {
16900
- transactionHash: `0x${string}`;
16689
+ address: `0x${string}`;
16901
16690
  };
16902
16691
  } & {
16903
16692
  query?: {
16904
16693
  chainId?: string | string[];
16694
+ cursor?: string | string[];
16695
+ group?: string | string[];
16696
+ limit?: string | string[];
16905
16697
  logs?: string | string[];
16906
16698
  } | undefined;
16907
16699
  };
16908
16700
  } | {
16909
16701
  output: {
16910
16702
  error: {
16911
- code: "api_key_forbidden";
16703
+ code: "address_invalid";
16912
16704
  details?: readonly Response.error.Detail[] | undefined;
16913
16705
  message: string;
16914
16706
  };
16915
16707
  requestId: string;
16916
16708
  };
16917
16709
  outputFormat: "json";
16918
- status: 403;
16710
+ status: 400;
16919
16711
  input: {
16920
16712
  param: {
16921
- transactionHash: `0x${string}`;
16713
+ address: `0x${string}`;
16922
16714
  };
16923
16715
  } & {
16924
16716
  query?: {
16925
16717
  chainId?: string | string[];
16718
+ cursor?: string | string[];
16719
+ group?: string | string[];
16720
+ limit?: string | string[];
16926
16721
  logs?: string | string[];
16927
16722
  } | undefined;
16928
16723
  };
16929
16724
  } | {
16930
16725
  output: {
16931
16726
  error: {
16932
- code: "payment_required" | "rate_limit_exceeded";
16727
+ code: "api_key_invalid" | "api_key_missing";
16933
16728
  details?: readonly Response.error.Detail[] | undefined;
16934
16729
  message: string;
16935
16730
  };
16936
16731
  requestId: string;
16937
16732
  };
16938
16733
  outputFormat: "json";
16939
- status: 429;
16734
+ status: 401;
16940
16735
  input: {
16941
16736
  param: {
16942
- transactionHash: `0x${string}`;
16737
+ address: `0x${string}`;
16943
16738
  };
16944
16739
  } & {
16945
16740
  query?: {
16946
16741
  chainId?: string | string[];
16742
+ cursor?: string | string[];
16743
+ group?: string | string[];
16744
+ limit?: string | string[];
16947
16745
  logs?: string | string[];
16948
16746
  } | undefined;
16949
16747
  };
16950
16748
  } | {
16951
- output: {
16952
- error: {
16953
- code: "query_invalid";
16954
- details?: readonly Response.error.Detail[] | undefined;
16955
- message: string;
16956
- };
16957
- requestId: string;
16958
- };
16959
- outputFormat: "json";
16960
- status: 400;
16749
+ output: null;
16750
+ outputFormat: "body";
16751
+ status: 402;
16961
16752
  input: {
16962
16753
  param: {
16963
- transactionHash: `0x${string}`;
16754
+ address: `0x${string}`;
16964
16755
  };
16965
16756
  } & {
16966
16757
  query?: {
16967
16758
  chainId?: string | string[];
16759
+ cursor?: string | string[];
16760
+ group?: string | string[];
16761
+ limit?: string | string[];
16968
16762
  logs?: string | string[];
16969
16763
  } | undefined;
16970
16764
  };
16971
16765
  } | {
16972
16766
  output: {
16973
16767
  error: {
16974
- code: "upstream_error";
16768
+ code: "api_key_forbidden";
16975
16769
  details?: readonly Response.error.Detail[] | undefined;
16976
16770
  message: string;
16977
16771
  };
16978
16772
  requestId: string;
16979
16773
  };
16980
16774
  outputFormat: "json";
16981
- status: 502;
16775
+ status: 403;
16982
16776
  input: {
16983
16777
  param: {
16984
- transactionHash: `0x${string}`;
16778
+ address: `0x${string}`;
16985
16779
  };
16986
16780
  } & {
16987
16781
  query?: {
16988
16782
  chainId?: string | string[];
16783
+ cursor?: string | string[];
16784
+ group?: string | string[];
16785
+ limit?: string | string[];
16989
16786
  logs?: string | string[];
16990
16787
  } | undefined;
16991
16788
  };
16992
16789
  } | {
16993
16790
  output: {
16994
16791
  error: {
16995
- code: "transaction_invalid";
16792
+ code: "payment_required" | "rate_limit_exceeded";
16996
16793
  details?: readonly Response.error.Detail[] | undefined;
16997
16794
  message: string;
16998
16795
  };
16999
16796
  requestId: string;
17000
16797
  };
17001
16798
  outputFormat: "json";
17002
- status: 400;
16799
+ status: 429;
17003
16800
  input: {
17004
16801
  param: {
17005
- transactionHash: `0x${string}`;
16802
+ address: `0x${string}`;
17006
16803
  };
17007
16804
  } & {
17008
16805
  query?: {
17009
16806
  chainId?: string | string[];
16807
+ cursor?: string | string[];
16808
+ group?: string | string[];
16809
+ limit?: string | string[];
17010
16810
  logs?: string | string[];
17011
16811
  } | undefined;
17012
16812
  };
17013
16813
  } | {
17014
16814
  output: {
17015
16815
  error: {
17016
- code: "transaction_not_found";
16816
+ code: "upstream_error";
17017
16817
  details?: readonly Response.error.Detail[] | undefined;
17018
16818
  message: string;
17019
16819
  };
17020
16820
  requestId: string;
17021
16821
  };
17022
16822
  outputFormat: "json";
17023
- status: 404;
16823
+ status: 502;
17024
16824
  input: {
17025
16825
  param: {
17026
- transactionHash: `0x${string}`;
16826
+ address: `0x${string}`;
17027
16827
  };
17028
16828
  } & {
17029
16829
  query?: {
17030
16830
  chainId?: string | string[];
16831
+ cursor?: string | string[];
16832
+ group?: string | string[];
16833
+ limit?: string | string[];
17031
16834
  logs?: string | string[];
17032
16835
  } | undefined;
17033
16836
  };
17034
- } | {
16837
+ };
16838
+ };
16839
+ }, "/", "/v1/addresses/:address/activities">;
16840
+ /**
16841
+ * Creates transaction-scoped activity handlers, mounted under the
16842
+ * `/transactions` composer. Exposes `GET /:transactionHash/activities`.
16843
+ *
16844
+ * Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
16845
+ * over a single transaction's logs, anchored on the transaction sender as the
16846
+ * viewer (a transaction-scoped feed has no subject account). Returns the
16847
+ * classified item(s) — usually one headline activity — with the full per-tx
16848
+ * event set available via `logs=true`.
16849
+ */
16850
+ export declare function transactions(): import("hono/hono-base").HonoBase<App.Environment, {
16851
+ "/v1/transactions/:transactionHash/activities": {
16852
+ $get: {
17035
16853
  output: {
17036
16854
  data: ({
17037
16855
  perspective: "incoming" | "outgoing";
@@ -18633,6 +18451,188 @@ export declare function transactions(): import("hono/hono-base").HonoBase<App.En
18633
18451
  logs?: string | string[];
18634
18452
  } | undefined;
18635
18453
  };
18454
+ } | {
18455
+ output: {
18456
+ error: {
18457
+ code: "api_key_malformed";
18458
+ details?: readonly Response.error.Detail[] | undefined;
18459
+ message: string;
18460
+ };
18461
+ requestId: string;
18462
+ };
18463
+ outputFormat: "json";
18464
+ status: 400;
18465
+ input: {
18466
+ param: {
18467
+ transactionHash: `0x${string}`;
18468
+ };
18469
+ } & {
18470
+ query?: {
18471
+ chainId?: string | string[];
18472
+ logs?: string | string[];
18473
+ } | undefined;
18474
+ };
18475
+ } | {
18476
+ output: {
18477
+ error: {
18478
+ code: "query_invalid";
18479
+ details?: readonly Response.error.Detail[] | undefined;
18480
+ message: string;
18481
+ };
18482
+ requestId: string;
18483
+ };
18484
+ outputFormat: "json";
18485
+ status: 400;
18486
+ input: {
18487
+ param: {
18488
+ transactionHash: `0x${string}`;
18489
+ };
18490
+ } & {
18491
+ query?: {
18492
+ chainId?: string | string[];
18493
+ logs?: string | string[];
18494
+ } | undefined;
18495
+ };
18496
+ } | {
18497
+ output: {
18498
+ error: {
18499
+ code: "transaction_invalid";
18500
+ details?: readonly Response.error.Detail[] | undefined;
18501
+ message: string;
18502
+ };
18503
+ requestId: string;
18504
+ };
18505
+ outputFormat: "json";
18506
+ status: 400;
18507
+ input: {
18508
+ param: {
18509
+ transactionHash: `0x${string}`;
18510
+ };
18511
+ } & {
18512
+ query?: {
18513
+ chainId?: string | string[];
18514
+ logs?: string | string[];
18515
+ } | undefined;
18516
+ };
18517
+ } | {
18518
+ output: {
18519
+ error: {
18520
+ code: "api_key_invalid" | "api_key_missing";
18521
+ details?: readonly Response.error.Detail[] | undefined;
18522
+ message: string;
18523
+ };
18524
+ requestId: string;
18525
+ };
18526
+ outputFormat: "json";
18527
+ status: 401;
18528
+ input: {
18529
+ param: {
18530
+ transactionHash: `0x${string}`;
18531
+ };
18532
+ } & {
18533
+ query?: {
18534
+ chainId?: string | string[];
18535
+ logs?: string | string[];
18536
+ } | undefined;
18537
+ };
18538
+ } | {
18539
+ output: null;
18540
+ outputFormat: "body";
18541
+ status: 402;
18542
+ input: {
18543
+ param: {
18544
+ transactionHash: `0x${string}`;
18545
+ };
18546
+ } & {
18547
+ query?: {
18548
+ chainId?: string | string[];
18549
+ logs?: string | string[];
18550
+ } | undefined;
18551
+ };
18552
+ } | {
18553
+ output: {
18554
+ error: {
18555
+ code: "api_key_forbidden";
18556
+ details?: readonly Response.error.Detail[] | undefined;
18557
+ message: string;
18558
+ };
18559
+ requestId: string;
18560
+ };
18561
+ outputFormat: "json";
18562
+ status: 403;
18563
+ input: {
18564
+ param: {
18565
+ transactionHash: `0x${string}`;
18566
+ };
18567
+ } & {
18568
+ query?: {
18569
+ chainId?: string | string[];
18570
+ logs?: string | string[];
18571
+ } | undefined;
18572
+ };
18573
+ } | {
18574
+ output: {
18575
+ error: {
18576
+ code: "transaction_not_found";
18577
+ details?: readonly Response.error.Detail[] | undefined;
18578
+ message: string;
18579
+ };
18580
+ requestId: string;
18581
+ };
18582
+ outputFormat: "json";
18583
+ status: 404;
18584
+ input: {
18585
+ param: {
18586
+ transactionHash: `0x${string}`;
18587
+ };
18588
+ } & {
18589
+ query?: {
18590
+ chainId?: string | string[];
18591
+ logs?: string | string[];
18592
+ } | undefined;
18593
+ };
18594
+ } | {
18595
+ output: {
18596
+ error: {
18597
+ code: "payment_required" | "rate_limit_exceeded";
18598
+ details?: readonly Response.error.Detail[] | undefined;
18599
+ message: string;
18600
+ };
18601
+ requestId: string;
18602
+ };
18603
+ outputFormat: "json";
18604
+ status: 429;
18605
+ input: {
18606
+ param: {
18607
+ transactionHash: `0x${string}`;
18608
+ };
18609
+ } & {
18610
+ query?: {
18611
+ chainId?: string | string[];
18612
+ logs?: string | string[];
18613
+ } | undefined;
18614
+ };
18615
+ } | {
18616
+ output: {
18617
+ error: {
18618
+ code: "upstream_error";
18619
+ details?: readonly Response.error.Detail[] | undefined;
18620
+ message: string;
18621
+ };
18622
+ requestId: string;
18623
+ };
18624
+ outputFormat: "json";
18625
+ status: 502;
18626
+ input: {
18627
+ param: {
18628
+ transactionHash: `0x${string}`;
18629
+ };
18630
+ } & {
18631
+ query?: {
18632
+ chainId?: string | string[];
18633
+ logs?: string | string[];
18634
+ } | undefined;
18635
+ };
18636
18636
  };
18637
18637
  };
18638
18638
  }, "/", "/v1/transactions/:transactionHash/activities">;