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
@@ -19511,271 +19511,6 @@ export type CandidateFilter = ActivityFilter;
19511
19511
  export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase<App.Environment, {
19512
19512
  "/v1/addresses/:address/activities": {
19513
19513
  $get: {
19514
- output: null;
19515
- outputFormat: "body";
19516
- status: 402;
19517
- input: {
19518
- param: {
19519
- address: `0x${string}`;
19520
- };
19521
- } & {
19522
- query?: {
19523
- 'amount.from'?: string | string[];
19524
- 'amount.to'?: string | string[];
19525
- chainId?: string | string[];
19526
- cursor?: string | string[];
19527
- group?: string | string[];
19528
- include?: string | string[];
19529
- limit?: string | string[];
19530
- logs?: string | string[];
19531
- recipient?: string | string[];
19532
- sender?: string | string[];
19533
- token?: string | string[];
19534
- type?: string | string[];
19535
- 'valuation.amount.from'?: string | string[];
19536
- 'valuation.amount.to'?: string | string[];
19537
- 'valuation.currency'?: string | string[];
19538
- } | undefined;
19539
- };
19540
- } | {
19541
- output: {
19542
- error: {
19543
- code: "api_key_malformed";
19544
- details?: readonly Response.error.Detail[] | undefined;
19545
- message: string;
19546
- };
19547
- requestId: string;
19548
- };
19549
- outputFormat: "json";
19550
- status: 400;
19551
- input: {
19552
- param: {
19553
- address: `0x${string}`;
19554
- };
19555
- } & {
19556
- query?: {
19557
- 'amount.from'?: string | string[];
19558
- 'amount.to'?: string | string[];
19559
- chainId?: string | string[];
19560
- cursor?: string | string[];
19561
- group?: string | string[];
19562
- include?: string | string[];
19563
- limit?: string | string[];
19564
- logs?: string | string[];
19565
- recipient?: string | string[];
19566
- sender?: string | string[];
19567
- token?: string | string[];
19568
- type?: string | string[];
19569
- 'valuation.amount.from'?: string | string[];
19570
- 'valuation.amount.to'?: string | string[];
19571
- 'valuation.currency'?: string | string[];
19572
- } | undefined;
19573
- };
19574
- } | {
19575
- output: {
19576
- error: {
19577
- code: "api_key_invalid" | "api_key_missing";
19578
- details?: readonly Response.error.Detail[] | undefined;
19579
- message: string;
19580
- };
19581
- requestId: string;
19582
- };
19583
- outputFormat: "json";
19584
- status: 401;
19585
- input: {
19586
- param: {
19587
- address: `0x${string}`;
19588
- };
19589
- } & {
19590
- query?: {
19591
- 'amount.from'?: string | string[];
19592
- 'amount.to'?: string | string[];
19593
- chainId?: string | string[];
19594
- cursor?: string | string[];
19595
- group?: string | string[];
19596
- include?: string | string[];
19597
- limit?: string | string[];
19598
- logs?: string | string[];
19599
- recipient?: string | string[];
19600
- sender?: string | string[];
19601
- token?: string | string[];
19602
- type?: string | string[];
19603
- 'valuation.amount.from'?: string | string[];
19604
- 'valuation.amount.to'?: string | string[];
19605
- 'valuation.currency'?: string | string[];
19606
- } | undefined;
19607
- };
19608
- } | {
19609
- output: {
19610
- error: {
19611
- code: "api_key_forbidden" | "api_key_ip_forbidden";
19612
- details?: readonly Response.error.Detail[] | undefined;
19613
- message: string;
19614
- };
19615
- requestId: string;
19616
- };
19617
- outputFormat: "json";
19618
- status: 403;
19619
- input: {
19620
- param: {
19621
- address: `0x${string}`;
19622
- };
19623
- } & {
19624
- query?: {
19625
- 'amount.from'?: string | string[];
19626
- 'amount.to'?: string | string[];
19627
- chainId?: string | string[];
19628
- cursor?: string | string[];
19629
- group?: string | string[];
19630
- include?: string | string[];
19631
- limit?: string | string[];
19632
- logs?: string | string[];
19633
- recipient?: string | string[];
19634
- sender?: string | string[];
19635
- token?: string | string[];
19636
- type?: string | string[];
19637
- 'valuation.amount.from'?: string | string[];
19638
- 'valuation.amount.to'?: string | string[];
19639
- 'valuation.currency'?: string | string[];
19640
- } | undefined;
19641
- };
19642
- } | {
19643
- output: {
19644
- error: {
19645
- code: "payment_required" | "rate_limit_exceeded";
19646
- details?: readonly Response.error.Detail[] | undefined;
19647
- message: string;
19648
- };
19649
- requestId: string;
19650
- };
19651
- outputFormat: "json";
19652
- status: 429;
19653
- input: {
19654
- param: {
19655
- address: `0x${string}`;
19656
- };
19657
- } & {
19658
- query?: {
19659
- 'amount.from'?: string | string[];
19660
- 'amount.to'?: string | string[];
19661
- chainId?: string | string[];
19662
- cursor?: string | string[];
19663
- group?: string | string[];
19664
- include?: string | string[];
19665
- limit?: string | string[];
19666
- logs?: string | string[];
19667
- recipient?: string | string[];
19668
- sender?: string | string[];
19669
- token?: string | string[];
19670
- type?: string | string[];
19671
- 'valuation.amount.from'?: string | string[];
19672
- 'valuation.amount.to'?: string | string[];
19673
- 'valuation.currency'?: string | string[];
19674
- } | undefined;
19675
- };
19676
- } | {
19677
- output: {
19678
- error: {
19679
- code: "address_invalid";
19680
- details?: readonly Response.error.Detail[] | undefined;
19681
- message: string;
19682
- };
19683
- requestId: string;
19684
- };
19685
- outputFormat: "json";
19686
- status: 400;
19687
- input: {
19688
- param: {
19689
- address: `0x${string}`;
19690
- };
19691
- } & {
19692
- query?: {
19693
- 'amount.from'?: string | string[];
19694
- 'amount.to'?: string | string[];
19695
- chainId?: string | string[];
19696
- cursor?: string | string[];
19697
- group?: string | string[];
19698
- include?: string | string[];
19699
- limit?: string | string[];
19700
- logs?: string | string[];
19701
- recipient?: string | string[];
19702
- sender?: string | string[];
19703
- token?: string | string[];
19704
- type?: string | string[];
19705
- 'valuation.amount.from'?: string | string[];
19706
- 'valuation.amount.to'?: string | string[];
19707
- 'valuation.currency'?: string | string[];
19708
- } | undefined;
19709
- };
19710
- } | {
19711
- output: {
19712
- error: {
19713
- code: "query_invalid";
19714
- details?: readonly Response.error.Detail[] | undefined;
19715
- message: string;
19716
- };
19717
- requestId: string;
19718
- };
19719
- outputFormat: "json";
19720
- status: 400;
19721
- input: {
19722
- param: {
19723
- address: `0x${string}`;
19724
- };
19725
- } & {
19726
- query?: {
19727
- 'amount.from'?: string | string[];
19728
- 'amount.to'?: string | string[];
19729
- chainId?: string | string[];
19730
- cursor?: string | string[];
19731
- group?: string | string[];
19732
- include?: string | string[];
19733
- limit?: string | string[];
19734
- logs?: string | string[];
19735
- recipient?: string | string[];
19736
- sender?: string | string[];
19737
- token?: string | string[];
19738
- type?: string | string[];
19739
- 'valuation.amount.from'?: string | string[];
19740
- 'valuation.amount.to'?: string | string[];
19741
- 'valuation.currency'?: string | string[];
19742
- } | undefined;
19743
- };
19744
- } | {
19745
- output: {
19746
- error: {
19747
- code: "upstream_error";
19748
- details?: readonly Response.error.Detail[] | undefined;
19749
- message: string;
19750
- };
19751
- requestId: string;
19752
- };
19753
- outputFormat: "json";
19754
- status: 502;
19755
- input: {
19756
- param: {
19757
- address: `0x${string}`;
19758
- };
19759
- } & {
19760
- query?: {
19761
- 'amount.from'?: string | string[];
19762
- 'amount.to'?: string | string[];
19763
- chainId?: string | string[];
19764
- cursor?: string | string[];
19765
- group?: string | string[];
19766
- include?: string | string[];
19767
- limit?: string | string[];
19768
- logs?: string | string[];
19769
- recipient?: string | string[];
19770
- sender?: string | string[];
19771
- token?: string | string[];
19772
- type?: string | string[];
19773
- 'valuation.amount.from'?: string | string[];
19774
- 'valuation.amount.to'?: string | string[];
19775
- 'valuation.currency'?: string | string[];
19776
- } | undefined;
19777
- };
19778
- } | {
19779
19514
  output: {
19780
19515
  data: ({
19781
19516
  chainId?: number | undefined;
@@ -24017,44 +23752,6 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
24017
23752
  'valuation.currency'?: string | string[];
24018
23753
  } | undefined;
24019
23754
  };
24020
- };
24021
- };
24022
- }, "/", "/v1/addresses/:address/activities">;
24023
- export declare namespace addresses {
24024
- /** Options for the address-scoped activity handlers. */
24025
- type Options = {
24026
- /** FX configuration backing amount valuation. */
24027
- fx?: Valuation.addresses.Fx | undefined;
24028
- };
24029
- }
24030
- /**
24031
- * Creates transaction-scoped activity handlers, mounted under the
24032
- * `/transactions` composer. Exposes `GET /:transactionHash/activities`.
24033
- *
24034
- * Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
24035
- * over a single transaction's logs, anchored on the transaction sender as the
24036
- * viewer (a transaction-scoped feed has no subject account). Returns the
24037
- * classified items (one per independent activity) with the full per-tx
24038
- * event set available via `logs=true`.
24039
- */
24040
- export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
24041
- "/v1/transactions/:transactionHash/activities": {
24042
- $get: {
24043
- output: null;
24044
- outputFormat: "body";
24045
- status: 402;
24046
- input: {
24047
- param: {
24048
- transactionHash: `0x${string}`;
24049
- };
24050
- } & {
24051
- query?: {
24052
- chainId?: string | string[];
24053
- include?: string | string[];
24054
- logs?: string | string[];
24055
- 'valuation.currency'?: string | string[];
24056
- } | undefined;
24057
- };
24058
23755
  } | {
24059
23756
  output: {
24060
23757
  error: {
@@ -24068,201 +23765,281 @@ export declare function transactions(options?: transactions.Options): import("ho
24068
23765
  status: 400;
24069
23766
  input: {
24070
23767
  param: {
24071
- transactionHash: `0x${string}`;
24072
- };
24073
- } & {
24074
- query?: {
24075
- chainId?: string | string[];
24076
- include?: string | string[];
24077
- logs?: string | string[];
24078
- 'valuation.currency'?: string | string[];
24079
- } | undefined;
24080
- };
24081
- } | {
24082
- output: {
24083
- error: {
24084
- code: "api_key_invalid" | "api_key_missing";
24085
- details?: readonly Response.error.Detail[] | undefined;
24086
- message: string;
24087
- };
24088
- requestId: string;
24089
- };
24090
- outputFormat: "json";
24091
- status: 401;
24092
- input: {
24093
- param: {
24094
- transactionHash: `0x${string}`;
23768
+ address: `0x${string}`;
24095
23769
  };
24096
23770
  } & {
24097
23771
  query?: {
23772
+ 'amount.from'?: string | string[];
23773
+ 'amount.to'?: string | string[];
24098
23774
  chainId?: string | string[];
23775
+ cursor?: string | string[];
23776
+ group?: string | string[];
24099
23777
  include?: string | string[];
23778
+ limit?: string | string[];
24100
23779
  logs?: string | string[];
23780
+ recipient?: string | string[];
23781
+ sender?: string | string[];
23782
+ token?: string | string[];
23783
+ type?: string | string[];
23784
+ 'valuation.amount.from'?: string | string[];
23785
+ 'valuation.amount.to'?: string | string[];
24101
23786
  'valuation.currency'?: string | string[];
24102
23787
  } | undefined;
24103
23788
  };
24104
23789
  } | {
24105
23790
  output: {
24106
23791
  error: {
24107
- code: "api_key_forbidden" | "api_key_ip_forbidden";
23792
+ code: "address_invalid";
24108
23793
  details?: readonly Response.error.Detail[] | undefined;
24109
23794
  message: string;
24110
23795
  };
24111
23796
  requestId: string;
24112
23797
  };
24113
23798
  outputFormat: "json";
24114
- status: 403;
23799
+ status: 400;
24115
23800
  input: {
24116
23801
  param: {
24117
- transactionHash: `0x${string}`;
23802
+ address: `0x${string}`;
24118
23803
  };
24119
23804
  } & {
24120
23805
  query?: {
23806
+ 'amount.from'?: string | string[];
23807
+ 'amount.to'?: string | string[];
24121
23808
  chainId?: string | string[];
23809
+ cursor?: string | string[];
23810
+ group?: string | string[];
24122
23811
  include?: string | string[];
23812
+ limit?: string | string[];
24123
23813
  logs?: string | string[];
23814
+ recipient?: string | string[];
23815
+ sender?: string | string[];
23816
+ token?: string | string[];
23817
+ type?: string | string[];
23818
+ 'valuation.amount.from'?: string | string[];
23819
+ 'valuation.amount.to'?: string | string[];
24124
23820
  'valuation.currency'?: string | string[];
24125
23821
  } | undefined;
24126
23822
  };
24127
23823
  } | {
24128
23824
  output: {
24129
23825
  error: {
24130
- code: "payment_required" | "rate_limit_exceeded";
23826
+ code: "query_invalid";
24131
23827
  details?: readonly Response.error.Detail[] | undefined;
24132
23828
  message: string;
24133
23829
  };
24134
23830
  requestId: string;
24135
23831
  };
24136
23832
  outputFormat: "json";
24137
- status: 429;
23833
+ status: 400;
24138
23834
  input: {
24139
23835
  param: {
24140
- transactionHash: `0x${string}`;
23836
+ address: `0x${string}`;
24141
23837
  };
24142
23838
  } & {
24143
23839
  query?: {
23840
+ 'amount.from'?: string | string[];
23841
+ 'amount.to'?: string | string[];
24144
23842
  chainId?: string | string[];
23843
+ cursor?: string | string[];
23844
+ group?: string | string[];
24145
23845
  include?: string | string[];
23846
+ limit?: string | string[];
24146
23847
  logs?: string | string[];
23848
+ recipient?: string | string[];
23849
+ sender?: string | string[];
23850
+ token?: string | string[];
23851
+ type?: string | string[];
23852
+ 'valuation.amount.from'?: string | string[];
23853
+ 'valuation.amount.to'?: string | string[];
24147
23854
  'valuation.currency'?: string | string[];
24148
23855
  } | undefined;
24149
23856
  };
24150
23857
  } | {
24151
23858
  output: {
24152
23859
  error: {
24153
- code: "query_invalid";
23860
+ code: "api_key_invalid" | "api_key_missing";
24154
23861
  details?: readonly Response.error.Detail[] | undefined;
24155
23862
  message: string;
24156
23863
  };
24157
23864
  requestId: string;
24158
23865
  };
24159
23866
  outputFormat: "json";
24160
- status: 400;
23867
+ status: 401;
24161
23868
  input: {
24162
23869
  param: {
24163
- transactionHash: `0x${string}`;
23870
+ address: `0x${string}`;
24164
23871
  };
24165
23872
  } & {
24166
23873
  query?: {
23874
+ 'amount.from'?: string | string[];
23875
+ 'amount.to'?: string | string[];
24167
23876
  chainId?: string | string[];
23877
+ cursor?: string | string[];
23878
+ group?: string | string[];
24168
23879
  include?: string | string[];
23880
+ limit?: string | string[];
24169
23881
  logs?: string | string[];
23882
+ recipient?: string | string[];
23883
+ sender?: string | string[];
23884
+ token?: string | string[];
23885
+ type?: string | string[];
23886
+ 'valuation.amount.from'?: string | string[];
23887
+ 'valuation.amount.to'?: string | string[];
24170
23888
  'valuation.currency'?: string | string[];
24171
23889
  } | undefined;
24172
23890
  };
24173
23891
  } | {
24174
- output: {
24175
- error: {
24176
- code: "upstream_error";
24177
- details?: readonly Response.error.Detail[] | undefined;
24178
- message: string;
24179
- };
24180
- requestId: string;
24181
- };
24182
- outputFormat: "json";
24183
- status: 502;
23892
+ output: null;
23893
+ outputFormat: "body";
23894
+ status: 402;
24184
23895
  input: {
24185
23896
  param: {
24186
- transactionHash: `0x${string}`;
23897
+ address: `0x${string}`;
24187
23898
  };
24188
23899
  } & {
24189
23900
  query?: {
23901
+ 'amount.from'?: string | string[];
23902
+ 'amount.to'?: string | string[];
24190
23903
  chainId?: string | string[];
23904
+ cursor?: string | string[];
23905
+ group?: string | string[];
24191
23906
  include?: string | string[];
23907
+ limit?: string | string[];
24192
23908
  logs?: string | string[];
23909
+ recipient?: string | string[];
23910
+ sender?: string | string[];
23911
+ token?: string | string[];
23912
+ type?: string | string[];
23913
+ 'valuation.amount.from'?: string | string[];
23914
+ 'valuation.amount.to'?: string | string[];
24193
23915
  'valuation.currency'?: string | string[];
24194
23916
  } | undefined;
24195
23917
  };
24196
23918
  } | {
24197
23919
  output: {
24198
23920
  error: {
24199
- code: "transaction_invalid";
23921
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
24200
23922
  details?: readonly Response.error.Detail[] | undefined;
24201
23923
  message: string;
24202
23924
  };
24203
23925
  requestId: string;
24204
23926
  };
24205
23927
  outputFormat: "json";
24206
- status: 400;
23928
+ status: 403;
24207
23929
  input: {
24208
23930
  param: {
24209
- transactionHash: `0x${string}`;
23931
+ address: `0x${string}`;
24210
23932
  };
24211
23933
  } & {
24212
23934
  query?: {
23935
+ 'amount.from'?: string | string[];
23936
+ 'amount.to'?: string | string[];
24213
23937
  chainId?: string | string[];
23938
+ cursor?: string | string[];
23939
+ group?: string | string[];
24214
23940
  include?: string | string[];
23941
+ limit?: string | string[];
24215
23942
  logs?: string | string[];
23943
+ recipient?: string | string[];
23944
+ sender?: string | string[];
23945
+ token?: string | string[];
23946
+ type?: string | string[];
23947
+ 'valuation.amount.from'?: string | string[];
23948
+ 'valuation.amount.to'?: string | string[];
24216
23949
  'valuation.currency'?: string | string[];
24217
23950
  } | undefined;
24218
23951
  };
24219
23952
  } | {
24220
23953
  output: {
24221
23954
  error: {
24222
- code: "transaction_not_found";
23955
+ code: "payment_required" | "rate_limit_exceeded";
24223
23956
  details?: readonly Response.error.Detail[] | undefined;
24224
23957
  message: string;
24225
23958
  };
24226
23959
  requestId: string;
24227
23960
  };
24228
23961
  outputFormat: "json";
24229
- status: 404;
23962
+ status: 429;
24230
23963
  input: {
24231
23964
  param: {
24232
- transactionHash: `0x${string}`;
23965
+ address: `0x${string}`;
24233
23966
  };
24234
23967
  } & {
24235
23968
  query?: {
23969
+ 'amount.from'?: string | string[];
23970
+ 'amount.to'?: string | string[];
24236
23971
  chainId?: string | string[];
23972
+ cursor?: string | string[];
23973
+ group?: string | string[];
24237
23974
  include?: string | string[];
23975
+ limit?: string | string[];
24238
23976
  logs?: string | string[];
23977
+ recipient?: string | string[];
23978
+ sender?: string | string[];
23979
+ token?: string | string[];
23980
+ type?: string | string[];
23981
+ 'valuation.amount.from'?: string | string[];
23982
+ 'valuation.amount.to'?: string | string[];
24239
23983
  'valuation.currency'?: string | string[];
24240
23984
  } | undefined;
24241
23985
  };
24242
23986
  } | {
24243
23987
  output: {
24244
23988
  error: {
24245
- code: "transaction_ambiguous";
23989
+ code: "upstream_error";
24246
23990
  details?: readonly Response.error.Detail[] | undefined;
24247
23991
  message: string;
24248
23992
  };
24249
23993
  requestId: string;
24250
23994
  };
24251
23995
  outputFormat: "json";
24252
- status: 409;
23996
+ status: 502;
24253
23997
  input: {
24254
23998
  param: {
24255
- transactionHash: `0x${string}`;
23999
+ address: `0x${string}`;
24256
24000
  };
24257
24001
  } & {
24258
24002
  query?: {
24003
+ 'amount.from'?: string | string[];
24004
+ 'amount.to'?: string | string[];
24259
24005
  chainId?: string | string[];
24006
+ cursor?: string | string[];
24007
+ group?: string | string[];
24260
24008
  include?: string | string[];
24009
+ limit?: string | string[];
24261
24010
  logs?: string | string[];
24011
+ recipient?: string | string[];
24012
+ sender?: string | string[];
24013
+ token?: string | string[];
24014
+ type?: string | string[];
24015
+ 'valuation.amount.from'?: string | string[];
24016
+ 'valuation.amount.to'?: string | string[];
24262
24017
  'valuation.currency'?: string | string[];
24263
24018
  } | undefined;
24264
24019
  };
24265
- } | {
24020
+ };
24021
+ };
24022
+ }, "/", "/v1/addresses/:address/activities">;
24023
+ export declare namespace addresses {
24024
+ /** Options for the address-scoped activity handlers. */
24025
+ type Options = {
24026
+ /** FX configuration backing amount valuation. */
24027
+ fx?: Valuation.addresses.Fx | undefined;
24028
+ };
24029
+ }
24030
+ /**
24031
+ * Creates transaction-scoped activity handlers, mounted under the
24032
+ * `/transactions` composer. Exposes `GET /:transactionHash/activities`.
24033
+ *
24034
+ * Runs the same `groupByTx` → `classifyGroup` pipeline the address feed uses
24035
+ * over a single transaction's logs, anchored on the transaction sender as the
24036
+ * viewer (a transaction-scoped feed has no subject account). Returns the
24037
+ * classified items (one per independent activity) with the full per-tx
24038
+ * event set available via `logs=true`.
24039
+ */
24040
+ export declare function transactions(options?: transactions.Options): import("hono/hono-base").HonoBase<App.Environment, {
24041
+ "/v1/transactions/:transactionHash/activities": {
24042
+ $get: {
24266
24043
  output: {
24267
24044
  chainId: number;
24268
24045
  data: ({
@@ -26385,6 +26162,229 @@ export declare function transactions(options?: transactions.Options): import("ho
26385
26162
  'valuation.currency'?: string | string[];
26386
26163
  } | undefined;
26387
26164
  };
26165
+ } | {
26166
+ output: {
26167
+ error: {
26168
+ code: "api_key_malformed";
26169
+ details?: readonly Response.error.Detail[] | undefined;
26170
+ message: string;
26171
+ };
26172
+ requestId: string;
26173
+ };
26174
+ outputFormat: "json";
26175
+ status: 400;
26176
+ input: {
26177
+ param: {
26178
+ transactionHash: `0x${string}`;
26179
+ };
26180
+ } & {
26181
+ query?: {
26182
+ chainId?: string | string[];
26183
+ include?: string | string[];
26184
+ logs?: string | string[];
26185
+ 'valuation.currency'?: string | string[];
26186
+ } | undefined;
26187
+ };
26188
+ } | {
26189
+ output: {
26190
+ error: {
26191
+ code: "query_invalid";
26192
+ details?: readonly Response.error.Detail[] | undefined;
26193
+ message: string;
26194
+ };
26195
+ requestId: string;
26196
+ };
26197
+ outputFormat: "json";
26198
+ status: 400;
26199
+ input: {
26200
+ param: {
26201
+ transactionHash: `0x${string}`;
26202
+ };
26203
+ } & {
26204
+ query?: {
26205
+ chainId?: string | string[];
26206
+ include?: string | string[];
26207
+ logs?: string | string[];
26208
+ 'valuation.currency'?: string | string[];
26209
+ } | undefined;
26210
+ };
26211
+ } | {
26212
+ output: {
26213
+ error: {
26214
+ code: "transaction_invalid";
26215
+ details?: readonly Response.error.Detail[] | undefined;
26216
+ message: string;
26217
+ };
26218
+ requestId: string;
26219
+ };
26220
+ outputFormat: "json";
26221
+ status: 400;
26222
+ input: {
26223
+ param: {
26224
+ transactionHash: `0x${string}`;
26225
+ };
26226
+ } & {
26227
+ query?: {
26228
+ chainId?: string | string[];
26229
+ include?: string | string[];
26230
+ logs?: string | string[];
26231
+ 'valuation.currency'?: string | string[];
26232
+ } | undefined;
26233
+ };
26234
+ } | {
26235
+ output: {
26236
+ error: {
26237
+ code: "api_key_invalid" | "api_key_missing";
26238
+ details?: readonly Response.error.Detail[] | undefined;
26239
+ message: string;
26240
+ };
26241
+ requestId: string;
26242
+ };
26243
+ outputFormat: "json";
26244
+ status: 401;
26245
+ input: {
26246
+ param: {
26247
+ transactionHash: `0x${string}`;
26248
+ };
26249
+ } & {
26250
+ query?: {
26251
+ chainId?: string | string[];
26252
+ include?: string | string[];
26253
+ logs?: string | string[];
26254
+ 'valuation.currency'?: string | string[];
26255
+ } | undefined;
26256
+ };
26257
+ } | {
26258
+ output: null;
26259
+ outputFormat: "body";
26260
+ status: 402;
26261
+ input: {
26262
+ param: {
26263
+ transactionHash: `0x${string}`;
26264
+ };
26265
+ } & {
26266
+ query?: {
26267
+ chainId?: string | string[];
26268
+ include?: string | string[];
26269
+ logs?: string | string[];
26270
+ 'valuation.currency'?: string | string[];
26271
+ } | undefined;
26272
+ };
26273
+ } | {
26274
+ output: {
26275
+ error: {
26276
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
26277
+ details?: readonly Response.error.Detail[] | undefined;
26278
+ message: string;
26279
+ };
26280
+ requestId: string;
26281
+ };
26282
+ outputFormat: "json";
26283
+ status: 403;
26284
+ input: {
26285
+ param: {
26286
+ transactionHash: `0x${string}`;
26287
+ };
26288
+ } & {
26289
+ query?: {
26290
+ chainId?: string | string[];
26291
+ include?: string | string[];
26292
+ logs?: string | string[];
26293
+ 'valuation.currency'?: string | string[];
26294
+ } | undefined;
26295
+ };
26296
+ } | {
26297
+ output: {
26298
+ error: {
26299
+ code: "transaction_not_found";
26300
+ details?: readonly Response.error.Detail[] | undefined;
26301
+ message: string;
26302
+ };
26303
+ requestId: string;
26304
+ };
26305
+ outputFormat: "json";
26306
+ status: 404;
26307
+ input: {
26308
+ param: {
26309
+ transactionHash: `0x${string}`;
26310
+ };
26311
+ } & {
26312
+ query?: {
26313
+ chainId?: string | string[];
26314
+ include?: string | string[];
26315
+ logs?: string | string[];
26316
+ 'valuation.currency'?: string | string[];
26317
+ } | undefined;
26318
+ };
26319
+ } | {
26320
+ output: {
26321
+ error: {
26322
+ code: "transaction_ambiguous";
26323
+ details?: readonly Response.error.Detail[] | undefined;
26324
+ message: string;
26325
+ };
26326
+ requestId: string;
26327
+ };
26328
+ outputFormat: "json";
26329
+ status: 409;
26330
+ input: {
26331
+ param: {
26332
+ transactionHash: `0x${string}`;
26333
+ };
26334
+ } & {
26335
+ query?: {
26336
+ chainId?: string | string[];
26337
+ include?: string | string[];
26338
+ logs?: string | string[];
26339
+ 'valuation.currency'?: string | string[];
26340
+ } | undefined;
26341
+ };
26342
+ } | {
26343
+ output: {
26344
+ error: {
26345
+ code: "payment_required" | "rate_limit_exceeded";
26346
+ details?: readonly Response.error.Detail[] | undefined;
26347
+ message: string;
26348
+ };
26349
+ requestId: string;
26350
+ };
26351
+ outputFormat: "json";
26352
+ status: 429;
26353
+ input: {
26354
+ param: {
26355
+ transactionHash: `0x${string}`;
26356
+ };
26357
+ } & {
26358
+ query?: {
26359
+ chainId?: string | string[];
26360
+ include?: string | string[];
26361
+ logs?: string | string[];
26362
+ 'valuation.currency'?: string | string[];
26363
+ } | undefined;
26364
+ };
26365
+ } | {
26366
+ output: {
26367
+ error: {
26368
+ code: "upstream_error";
26369
+ details?: readonly Response.error.Detail[] | undefined;
26370
+ message: string;
26371
+ };
26372
+ requestId: string;
26373
+ };
26374
+ outputFormat: "json";
26375
+ status: 502;
26376
+ input: {
26377
+ param: {
26378
+ transactionHash: `0x${string}`;
26379
+ };
26380
+ } & {
26381
+ query?: {
26382
+ chainId?: string | string[];
26383
+ include?: string | string[];
26384
+ logs?: string | string[];
26385
+ 'valuation.currency'?: string | string[];
26386
+ } | undefined;
26387
+ };
26388
26388
  };
26389
26389
  };
26390
26390
  }, "/", "/v1/transactions/:transactionHash/activities">;