tapimo 0.9.0 → 0.10.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 (198) hide show
  1. package/dist/App.d.ts +4887 -5074
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/Webhooks.d.ts +21 -20
  4. package/dist/Webhooks.d.ts.map +1 -1
  5. package/dist/Webhooks.js +66 -23
  6. package/dist/Webhooks.js.map +1 -1
  7. package/dist/admin/apps/verified-tokens.d.ts +168 -168
  8. package/dist/apps/Zones.d.ts +34 -22
  9. package/dist/apps/Zones.d.ts.map +1 -1
  10. package/dist/apps/Zones.js +9 -8
  11. package/dist/apps/Zones.js.map +1 -1
  12. package/dist/apps/data/App.d.ts +5198 -5099
  13. package/dist/apps/data/App.d.ts.map +1 -1
  14. package/dist/apps/data/FxOracle.d.ts +4 -5
  15. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  16. package/dist/apps/data/FxOracle.js +19 -4
  17. package/dist/apps/data/FxOracle.js.map +1 -1
  18. package/dist/apps/data/routes/activities.d.ts +270 -270
  19. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  20. package/dist/apps/data/routes/activities.js +32 -27
  21. package/dist/apps/data/routes/activities.js.map +1 -1
  22. package/dist/apps/data/routes/addresses.d.ts +52 -52
  23. package/dist/apps/data/routes/balances.d.ts +36 -36
  24. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  25. package/dist/apps/data/routes/balances.js +135 -81
  26. package/dist/apps/data/routes/balances.js.map +1 -1
  27. package/dist/apps/data/routes/blocks.d.ts +125 -125
  28. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  29. package/dist/apps/data/routes/earn.d.ts +512 -58
  30. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  31. package/dist/apps/data/routes/earn.js +368 -44
  32. package/dist/apps/data/routes/earn.js.map +1 -1
  33. package/dist/apps/data/routes/exchanges.d.ts +120 -120
  34. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  35. package/dist/apps/data/routes/exchanges.js +114 -118
  36. package/dist/apps/data/routes/exchanges.js.map +1 -1
  37. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  38. package/dist/apps/data/routes/receipts.js +68 -47
  39. package/dist/apps/data/routes/receipts.js.map +1 -1
  40. package/dist/apps/data/routes/rpc.d.ts +31 -31
  41. package/dist/apps/data/routes/tokens.d.ts +461 -459
  42. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  43. package/dist/apps/data/routes/transactions.d.ts +59 -51
  44. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  45. package/dist/apps/data/routes/transactions.js +25 -23
  46. package/dist/apps/data/routes/transactions.js.map +1 -1
  47. package/dist/apps/data/routes/transfers.d.ts +108 -86
  48. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  49. package/dist/apps/data/routes/transfers.js +618 -105
  50. package/dist/apps/data/routes/transfers.js.map +1 -1
  51. package/dist/apps/data/routes/valuation.d.ts +21 -21
  52. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  53. package/dist/apps/data/routes/valuation.js +2 -2
  54. package/dist/apps/data/routes/valuation.js.map +1 -1
  55. package/dist/apps/data/routes/verified-tokens.d.ts +37 -37
  56. package/dist/apps/data/routes/webhooks.d.ts +102 -505
  57. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  58. package/dist/apps/data/routes/webhooks.js +484 -342
  59. package/dist/apps/data/routes/webhooks.js.map +1 -1
  60. package/dist/apps/data/routes/zones.d.ts +12 -12
  61. package/dist/apps/data/routes/zones.d.ts.map +1 -1
  62. package/dist/apps/data/routes/zones.js +3 -1
  63. package/dist/apps/data/routes/zones.js.map +1 -1
  64. package/dist/apps/funding/App.d.ts +96 -96
  65. package/dist/apps/funding/routes/deposit-addresses.d.ts +52 -52
  66. package/dist/apps/funding/routes/quotes.d.ts +89 -89
  67. package/dist/apps/funding/routes/transfers.d.ts +4 -4
  68. package/dist/apps/management/App.d.ts +429 -727
  69. package/dist/apps/management/App.d.ts.map +1 -1
  70. package/dist/apps/management/routes/api-keys.d.ts +24 -24
  71. package/dist/apps/management/routes/billing.d.ts +72 -72
  72. package/dist/apps/management/routes/faucet.d.ts +6 -6
  73. package/dist/apps/management/routes/invitations.d.ts +134 -134
  74. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  75. package/dist/apps/management/routes/me.d.ts +6 -6
  76. package/dist/apps/management/routes/members.d.ts +30 -30
  77. package/dist/apps/management/routes/orgs.d.ts +98 -98
  78. package/dist/apps/management/routes/projects.d.ts +20 -20
  79. package/dist/apps/management/routes/usage.d.ts +24 -24
  80. package/dist/apps/management/routes/verified-token-requests.d.ts +83 -83
  81. package/dist/apps/management/routes/webhooks.d.ts +158 -573
  82. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  83. package/dist/apps/mpp/App.d.ts +56 -44
  84. package/dist/apps/mpp/App.d.ts.map +1 -1
  85. package/dist/apps/mpp/Mpp.d.ts +3 -0
  86. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  87. package/dist/apps/mpp/Mpp.js +3 -0
  88. package/dist/apps/mpp/Mpp.js.map +1 -1
  89. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  90. package/dist/apps/mpp/internal/Adapter.js +9 -2
  91. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  92. package/dist/db/Db.d.ts +2 -2
  93. package/dist/db/Db.d.ts.map +1 -1
  94. package/dist/db/Db.js +17 -15
  95. package/dist/db/Db.js.map +1 -1
  96. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  97. package/dist/db/tables/sponsoredTransactions.js +4 -1
  98. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  99. package/dist/db/tables/webhookSubscriptions.d.ts +56 -3
  100. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  101. package/dist/db/tables/webhookSubscriptions.js +76 -3
  102. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  103. package/dist/internal/MetricSink.d.ts +112 -3
  104. package/dist/internal/MetricSink.d.ts.map +1 -1
  105. package/dist/internal/MetricSink.js +116 -3
  106. package/dist/internal/MetricSink.js.map +1 -1
  107. package/dist/internal/Schema.js +1 -1
  108. package/dist/internal/Schema.js.map +1 -1
  109. package/dist/internal/Tidx.d.ts +1 -3
  110. package/dist/internal/Tidx.d.ts.map +1 -1
  111. package/dist/internal/Tidx.js +1 -3
  112. package/dist/internal/Tidx.js.map +1 -1
  113. package/dist/internal/Viem.d.ts.map +1 -1
  114. package/dist/internal/Viem.js +2 -1
  115. package/dist/internal/Viem.js.map +1 -1
  116. package/dist/internal/WebhookDestination.d.ts +2 -0
  117. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  118. package/dist/internal/WebhookDestination.js +11 -0
  119. package/dist/internal/WebhookDestination.js.map +1 -1
  120. package/dist/internal/WebhookTransfer.d.ts +55 -0
  121. package/dist/internal/WebhookTransfer.d.ts.map +1 -0
  122. package/dist/internal/WebhookTransfer.js +296 -0
  123. package/dist/internal/WebhookTransfer.js.map +1 -0
  124. package/dist/internal/Webhooks.d.ts +37 -0
  125. package/dist/internal/Webhooks.d.ts.map +1 -1
  126. package/dist/internal/Webhooks.js +87 -13
  127. package/dist/internal/Webhooks.js.map +1 -1
  128. package/dist/internal/funding/Provider.d.ts +4 -0
  129. package/dist/internal/funding/Provider.d.ts.map +1 -1
  130. package/dist/internal/funding/Provider.js +11 -7
  131. package/dist/internal/funding/Provider.js.map +1 -1
  132. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  133. package/dist/internal/funding/Reconciliation.js +128 -0
  134. package/dist/internal/funding/Reconciliation.js.map +1 -1
  135. package/dist/internal/funding/providers/relay.d.ts +3 -0
  136. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  137. package/dist/internal/funding/providers/relay.js +12 -1
  138. package/dist/internal/funding/providers/relay.js.map +1 -1
  139. package/package.json +3 -3
  140. package/src/Client.test-d.ts +60 -5
  141. package/src/Webhooks.bench.ts +714 -0
  142. package/src/Webhooks.memory.bench.ts +250 -0
  143. package/src/Webhooks.test.ts +77 -6
  144. package/src/Webhooks.ts +83 -29
  145. package/src/apps/Zones.test.ts +5 -4
  146. package/src/apps/Zones.ts +9 -8
  147. package/src/apps/data/FxOracle.test.ts +18 -0
  148. package/src/apps/data/FxOracle.ts +28 -5
  149. package/src/apps/data/routes/activities.test.ts +19 -0
  150. package/src/apps/data/routes/activities.ts +34 -30
  151. package/src/apps/data/routes/balances.test.ts +119 -10
  152. package/src/apps/data/routes/balances.ts +154 -95
  153. package/src/apps/data/routes/blocks.test.ts +12 -6
  154. package/src/apps/data/routes/earn.test.ts +197 -0
  155. package/src/apps/data/routes/earn.ts +486 -44
  156. package/src/apps/data/routes/exchanges.test.ts +7 -6
  157. package/src/apps/data/routes/exchanges.ts +124 -117
  158. package/src/apps/data/routes/receipts.test.ts +24 -7
  159. package/src/apps/data/routes/receipts.ts +67 -50
  160. package/src/apps/data/routes/tokens.test.ts +51 -0
  161. package/src/apps/data/routes/transactions.test.ts +42 -0
  162. package/src/apps/data/routes/transactions.ts +44 -39
  163. package/src/apps/data/routes/transfers.test.ts +402 -24
  164. package/src/apps/data/routes/transfers.ts +708 -101
  165. package/src/apps/data/routes/valuation.test.ts +26 -0
  166. package/src/apps/data/routes/valuation.ts +6 -2
  167. package/src/apps/data/routes/webhooks.test.ts +414 -130
  168. package/src/apps/data/routes/webhooks.ts +603 -419
  169. package/src/apps/data/routes/zones.ts +6 -1
  170. package/src/apps/funding/routes/quotes.test.ts +1 -1
  171. package/src/apps/mpp/Mpp.test.ts +13 -1
  172. package/src/apps/mpp/Mpp.ts +8 -0
  173. package/src/apps/mpp/internal/Adapter.ts +10 -2
  174. package/src/db/Db.test.ts +40 -6
  175. package/src/db/Db.ts +33 -19
  176. package/src/db/tables/sponsoredTransactions.ts +9 -2
  177. package/src/db/tables/webhookSubscriptions.ts +116 -4
  178. package/src/internal/EarnVaults.test.ts +2 -2
  179. package/src/internal/MetricSink.test.ts +518 -0
  180. package/src/internal/MetricSink.ts +266 -9
  181. package/src/internal/Schema.ts +1 -1
  182. package/src/internal/Tidx.test.ts +4 -4
  183. package/src/internal/Tidx.ts +1 -3
  184. package/src/internal/Viem.test.ts +8 -0
  185. package/src/internal/Viem.ts +2 -1
  186. package/src/internal/WebhookDestination.test.ts +20 -0
  187. package/src/internal/WebhookDestination.ts +10 -0
  188. package/src/internal/WebhookTransfer.ts +426 -0
  189. package/src/internal/Webhooks.test.ts +137 -0
  190. package/src/internal/Webhooks.ts +131 -17
  191. package/src/internal/funding/Provider.test.ts +47 -7
  192. package/src/internal/funding/Provider.ts +12 -7
  193. package/src/internal/funding/Reconciliation.local.test.ts +3 -1
  194. package/src/internal/funding/Reconciliation.test.ts +1240 -0
  195. package/src/internal/funding/Reconciliation.ts +136 -0
  196. package/src/internal/funding/SourceObservation.test.ts +1 -0
  197. package/src/internal/funding/providers/relay.test.ts +1 -4
  198. package/src/internal/funding/providers/relay.ts +16 -1
@@ -37,14 +37,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
37
37
  } | {
38
38
  output: {
39
39
  error: {
40
- code: "upstream_error";
40
+ code: "api_key_malformed";
41
41
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
42
42
  message: string;
43
43
  };
44
44
  requestId: string;
45
45
  };
46
46
  outputFormat: "json";
47
- status: 502;
47
+ status: 400;
48
48
  input: {
49
49
  param: {
50
50
  address: `0x${string}`;
@@ -63,14 +63,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
63
63
  } | {
64
64
  output: {
65
65
  error: {
66
- code: "api_key_malformed";
66
+ code: "api_key_invalid" | "api_key_missing";
67
67
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
68
68
  message: string;
69
69
  };
70
70
  requestId: string;
71
71
  };
72
72
  outputFormat: "json";
73
- status: 400;
73
+ status: 401;
74
74
  input: {
75
75
  param: {
76
76
  address: `0x${string}`;
@@ -89,14 +89,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
89
89
  } | {
90
90
  output: {
91
91
  error: {
92
- code: "api_key_invalid" | "api_key_missing";
92
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
93
93
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
94
94
  message: string;
95
95
  };
96
96
  requestId: string;
97
97
  };
98
98
  outputFormat: "json";
99
- status: 401;
99
+ status: 403;
100
100
  input: {
101
101
  param: {
102
102
  address: `0x${string}`;
@@ -115,14 +115,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
115
115
  } | {
116
116
  output: {
117
117
  error: {
118
- code: "api_key_forbidden" | "api_key_ip_forbidden";
118
+ code: "payment_required" | "rate_limit_exceeded";
119
119
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
120
120
  message: string;
121
121
  };
122
122
  requestId: string;
123
123
  };
124
124
  outputFormat: "json";
125
- status: 403;
125
+ status: 429;
126
126
  input: {
127
127
  param: {
128
128
  address: `0x${string}`;
@@ -141,14 +141,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
141
141
  } | {
142
142
  output: {
143
143
  error: {
144
- code: "payment_required" | "rate_limit_exceeded";
144
+ code: "query_invalid";
145
145
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
146
146
  message: string;
147
147
  };
148
148
  requestId: string;
149
149
  };
150
150
  outputFormat: "json";
151
- status: 429;
151
+ status: 400;
152
152
  input: {
153
153
  param: {
154
154
  address: `0x${string}`;
@@ -167,14 +167,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
167
167
  } | {
168
168
  output: {
169
169
  error: {
170
- code: "query_invalid";
170
+ code: "upstream_error";
171
171
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
172
172
  message: string;
173
173
  };
174
174
  requestId: string;
175
175
  };
176
176
  outputFormat: "json";
177
- status: 400;
177
+ status: 502;
178
178
  input: {
179
179
  param: {
180
180
  address: `0x${string}`;
@@ -3826,14 +3826,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3826
3826
  } | {
3827
3827
  output: {
3828
3828
  error: {
3829
- code: "upstream_error";
3829
+ code: "api_key_malformed";
3830
3830
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3831
3831
  message: string;
3832
3832
  };
3833
3833
  requestId: string;
3834
3834
  };
3835
3835
  outputFormat: "json";
3836
- status: 502;
3836
+ status: 400;
3837
3837
  input: {
3838
3838
  param: {
3839
3839
  address: `0x${string}`;
@@ -3847,14 +3847,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3847
3847
  } | {
3848
3848
  output: {
3849
3849
  error: {
3850
- code: "api_key_malformed";
3850
+ code: "api_key_invalid" | "api_key_missing";
3851
3851
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3852
3852
  message: string;
3853
3853
  };
3854
3854
  requestId: string;
3855
3855
  };
3856
3856
  outputFormat: "json";
3857
- status: 400;
3857
+ status: 401;
3858
3858
  input: {
3859
3859
  param: {
3860
3860
  address: `0x${string}`;
@@ -3868,14 +3868,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3868
3868
  } | {
3869
3869
  output: {
3870
3870
  error: {
3871
- code: "api_key_invalid" | "api_key_missing";
3871
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3872
3872
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3873
3873
  message: string;
3874
3874
  };
3875
3875
  requestId: string;
3876
3876
  };
3877
3877
  outputFormat: "json";
3878
- status: 401;
3878
+ status: 403;
3879
3879
  input: {
3880
3880
  param: {
3881
3881
  address: `0x${string}`;
@@ -3889,14 +3889,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3889
3889
  } | {
3890
3890
  output: {
3891
3891
  error: {
3892
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3892
+ code: "payment_required" | "rate_limit_exceeded";
3893
3893
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3894
3894
  message: string;
3895
3895
  };
3896
3896
  requestId: string;
3897
3897
  };
3898
3898
  outputFormat: "json";
3899
- status: 403;
3899
+ status: 429;
3900
3900
  input: {
3901
3901
  param: {
3902
3902
  address: `0x${string}`;
@@ -3910,14 +3910,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3910
3910
  } | {
3911
3911
  output: {
3912
3912
  error: {
3913
- code: "payment_required" | "rate_limit_exceeded";
3913
+ code: "query_invalid";
3914
3914
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3915
3915
  message: string;
3916
3916
  };
3917
3917
  requestId: string;
3918
3918
  };
3919
3919
  outputFormat: "json";
3920
- status: 429;
3920
+ status: 400;
3921
3921
  input: {
3922
3922
  param: {
3923
3923
  address: `0x${string}`;
@@ -3931,14 +3931,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3931
3931
  } | {
3932
3932
  output: {
3933
3933
  error: {
3934
- code: "query_invalid";
3934
+ code: "upstream_error";
3935
3935
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3936
3936
  message: string;
3937
3937
  };
3938
3938
  requestId: string;
3939
3939
  };
3940
3940
  outputFormat: "json";
3941
- status: 400;
3941
+ status: 502;
3942
3942
  input: {
3943
3943
  param: {
3944
3944
  address: `0x${string}`;
@@ -4023,14 +4023,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4023
4023
  } | {
4024
4024
  output: {
4025
4025
  error: {
4026
- code: "upstream_error";
4026
+ code: "api_key_malformed";
4027
4027
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4028
4028
  message: string;
4029
4029
  };
4030
4030
  requestId: string;
4031
4031
  };
4032
4032
  outputFormat: "json";
4033
- status: 502;
4033
+ status: 400;
4034
4034
  input: {
4035
4035
  param: {
4036
4036
  address: `0x${string}`;
@@ -4051,14 +4051,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4051
4051
  } | {
4052
4052
  output: {
4053
4053
  error: {
4054
- code: "api_key_malformed";
4054
+ code: "api_key_invalid" | "api_key_missing";
4055
4055
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4056
4056
  message: string;
4057
4057
  };
4058
4058
  requestId: string;
4059
4059
  };
4060
4060
  outputFormat: "json";
4061
- status: 400;
4061
+ status: 401;
4062
4062
  input: {
4063
4063
  param: {
4064
4064
  address: `0x${string}`;
@@ -4079,14 +4079,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4079
4079
  } | {
4080
4080
  output: {
4081
4081
  error: {
4082
- code: "api_key_invalid" | "api_key_missing";
4082
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4083
4083
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4084
4084
  message: string;
4085
4085
  };
4086
4086
  requestId: string;
4087
4087
  };
4088
4088
  outputFormat: "json";
4089
- status: 401;
4089
+ status: 403;
4090
4090
  input: {
4091
4091
  param: {
4092
4092
  address: `0x${string}`;
@@ -4107,14 +4107,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4107
4107
  } | {
4108
4108
  output: {
4109
4109
  error: {
4110
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4110
+ code: "payment_required" | "rate_limit_exceeded";
4111
4111
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4112
4112
  message: string;
4113
4113
  };
4114
4114
  requestId: string;
4115
4115
  };
4116
4116
  outputFormat: "json";
4117
- status: 403;
4117
+ status: 429;
4118
4118
  input: {
4119
4119
  param: {
4120
4120
  address: `0x${string}`;
@@ -4135,14 +4135,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4135
4135
  } | {
4136
4136
  output: {
4137
4137
  error: {
4138
- code: "payment_required" | "rate_limit_exceeded";
4138
+ code: "query_invalid";
4139
4139
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4140
4140
  message: string;
4141
4141
  };
4142
4142
  requestId: string;
4143
4143
  };
4144
4144
  outputFormat: "json";
4145
- status: 429;
4145
+ status: 400;
4146
4146
  input: {
4147
4147
  param: {
4148
4148
  address: `0x${string}`;
@@ -4163,14 +4163,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4163
4163
  } | {
4164
4164
  output: {
4165
4165
  error: {
4166
- code: "query_invalid";
4166
+ code: "upstream_error";
4167
4167
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4168
4168
  message: string;
4169
4169
  };
4170
4170
  requestId: string;
4171
4171
  };
4172
4172
  outputFormat: "json";
4173
- status: 400;
4173
+ status: 502;
4174
4174
  input: {
4175
4175
  param: {
4176
4176
  address: `0x${string}`;
@@ -4235,10 +4235,10 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4235
4235
  symbol: string;
4236
4236
  verified: boolean;
4237
4237
  };
4238
- valuation: {
4238
+ valuation?: {
4239
4239
  amount: string;
4240
4240
  currency: string;
4241
- } | null;
4241
+ } | null | undefined;
4242
4242
  }[];
4243
4243
  meta?: {
4244
4244
  valuation?: {
@@ -4292,14 +4292,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4292
4292
  } | {
4293
4293
  output: {
4294
4294
  error: {
4295
- code: "upstream_error";
4295
+ code: "api_key_malformed";
4296
4296
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4297
4297
  message: string;
4298
4298
  };
4299
4299
  requestId: string;
4300
4300
  };
4301
4301
  outputFormat: "json";
4302
- status: 502;
4302
+ status: 400;
4303
4303
  input: {
4304
4304
  param: {
4305
4305
  address: `0x${string}`;
@@ -4314,14 +4314,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4314
4314
  } | {
4315
4315
  output: {
4316
4316
  error: {
4317
- code: "api_key_malformed";
4317
+ code: "api_key_invalid" | "api_key_missing";
4318
4318
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4319
4319
  message: string;
4320
4320
  };
4321
4321
  requestId: string;
4322
4322
  };
4323
4323
  outputFormat: "json";
4324
- status: 400;
4324
+ status: 401;
4325
4325
  input: {
4326
4326
  param: {
4327
4327
  address: `0x${string}`;
@@ -4336,14 +4336,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4336
4336
  } | {
4337
4337
  output: {
4338
4338
  error: {
4339
- code: "api_key_invalid" | "api_key_missing";
4339
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4340
4340
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4341
4341
  message: string;
4342
4342
  };
4343
4343
  requestId: string;
4344
4344
  };
4345
4345
  outputFormat: "json";
4346
- status: 401;
4346
+ status: 403;
4347
4347
  input: {
4348
4348
  param: {
4349
4349
  address: `0x${string}`;
@@ -4358,14 +4358,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4358
4358
  } | {
4359
4359
  output: {
4360
4360
  error: {
4361
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4361
+ code: "payment_required" | "rate_limit_exceeded";
4362
4362
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4363
4363
  message: string;
4364
4364
  };
4365
4365
  requestId: string;
4366
4366
  };
4367
4367
  outputFormat: "json";
4368
- status: 403;
4368
+ status: 429;
4369
4369
  input: {
4370
4370
  param: {
4371
4371
  address: `0x${string}`;
@@ -4380,14 +4380,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4380
4380
  } | {
4381
4381
  output: {
4382
4382
  error: {
4383
- code: "payment_required" | "rate_limit_exceeded";
4383
+ code: "query_invalid";
4384
4384
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4385
4385
  message: string;
4386
4386
  };
4387
4387
  requestId: string;
4388
4388
  };
4389
4389
  outputFormat: "json";
4390
- status: 429;
4390
+ status: 400;
4391
4391
  input: {
4392
4392
  param: {
4393
4393
  address: `0x${string}`;
@@ -4402,14 +4402,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4402
4402
  } | {
4403
4403
  output: {
4404
4404
  error: {
4405
- code: "query_invalid";
4405
+ code: "upstream_error";
4406
4406
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4407
4407
  message: string;
4408
4408
  };
4409
4409
  requestId: string;
4410
4410
  };
4411
4411
  outputFormat: "json";
4412
- status: 400;
4412
+ status: 502;
4413
4413
  input: {
4414
4414
  param: {
4415
4415
  address: `0x${string}`;
@@ -4461,10 +4461,10 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4461
4461
  symbol: string;
4462
4462
  verified: boolean;
4463
4463
  };
4464
- valuation: {
4464
+ valuation?: {
4465
4465
  amount: string;
4466
4466
  currency: string;
4467
- } | null;
4467
+ } | null | undefined;
4468
4468
  };
4469
4469
  outputFormat: "json";
4470
4470
  status: 200;