tapimo 0.7.2 → 0.9.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 (300) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20117 -19183
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +61 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +11 -11
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +11696 -13937
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +271 -271
  35. package/dist/apps/data/routes/addresses.d.ts +398 -167
  36. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  37. package/dist/apps/data/routes/balances.d.ts +278 -8
  38. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  39. package/dist/apps/data/routes/balances.js +114 -2
  40. package/dist/apps/data/routes/balances.js.map +1 -1
  41. package/dist/apps/data/routes/blocks.d.ts +123 -123
  42. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  43. package/dist/apps/data/routes/earn.d.ts +498 -6
  44. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  45. package/dist/apps/data/routes/earn.js +876 -4
  46. package/dist/apps/data/routes/earn.js.map +1 -1
  47. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  48. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  49. package/dist/apps/data/routes/indexer.d.ts +6 -6
  50. package/dist/apps/data/routes/indexer.js +4 -1
  51. package/dist/apps/data/routes/indexer.js.map +1 -1
  52. package/dist/apps/data/routes/receipts.d.ts +235 -235
  53. package/dist/apps/data/routes/rpc.d.ts +31 -31
  54. package/dist/apps/data/routes/rpc.js +4 -1
  55. package/dist/apps/data/routes/rpc.js.map +1 -1
  56. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  57. package/dist/apps/data/routes/tokens.d.ts +449 -449
  58. package/dist/apps/data/routes/transactions.d.ts +2 -2
  59. package/dist/apps/data/routes/transfers.d.ts +81 -81
  60. package/dist/apps/data/routes/valuation.d.ts +1 -1
  61. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  62. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  63. package/dist/apps/data/routes/zones.d.ts +14 -14
  64. package/dist/apps/funding/Access.d.ts +16 -0
  65. package/dist/apps/funding/Access.d.ts.map +1 -0
  66. package/dist/apps/funding/Access.js +22 -0
  67. package/dist/apps/funding/Access.js.map +1 -0
  68. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1640 -3217
  69. package/dist/apps/funding/App.d.ts.map +1 -0
  70. package/dist/apps/funding/App.js +61 -0
  71. package/dist/apps/funding/App.js.map +1 -0
  72. package/dist/apps/funding/Inventory.d.ts +5 -0
  73. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  74. package/dist/apps/funding/Inventory.js +25 -0
  75. package/dist/apps/funding/Inventory.js.map +1 -0
  76. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  77. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  78. package/dist/apps/funding/ProviderAttempts.js +24 -0
  79. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  80. package/dist/apps/funding/index.d.ts +2 -0
  81. package/dist/apps/funding/index.d.ts.map +1 -0
  82. package/dist/apps/funding/index.js +2 -0
  83. package/dist/apps/funding/index.js.map +1 -0
  84. package/dist/apps/funding/routes/chains.d.ts +169 -0
  85. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/chains.js +80 -0
  87. package/dist/apps/funding/routes/chains.js.map +1 -0
  88. package/dist/apps/funding/routes/deposit-addresses.d.ts +1997 -0
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/deposit-addresses.js +778 -0
  91. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  92. package/dist/apps/funding/routes/providers.d.ts +91 -0
  93. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/providers.js +56 -0
  95. package/dist/apps/funding/routes/providers.js.map +1 -0
  96. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  97. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/quotes.js +188 -0
  99. package/dist/apps/funding/routes/quotes.js.map +1 -0
  100. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  101. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  102. package/dist/apps/funding/routes/transfers.js +614 -0
  103. package/dist/apps/funding/routes/transfers.js.map +1 -0
  104. package/dist/apps/index.d.ts +1 -0
  105. package/dist/apps/index.d.ts.map +1 -1
  106. package/dist/apps/index.js +1 -0
  107. package/dist/apps/index.js.map +1 -1
  108. package/dist/apps/management/App.d.ts +430 -165
  109. package/dist/apps/management/App.d.ts.map +1 -1
  110. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  111. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  112. package/dist/apps/management/routes/api-keys.js +75 -1
  113. package/dist/apps/management/routes/api-keys.js.map +1 -1
  114. package/dist/apps/management/routes/billing.d.ts +6 -6
  115. package/dist/apps/management/routes/faucet.d.ts +35 -35
  116. package/dist/apps/management/routes/invitations.d.ts +122 -122
  117. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  118. package/dist/apps/management/routes/members.d.ts +69 -69
  119. package/dist/apps/management/routes/orgs.d.ts +99 -99
  120. package/dist/apps/management/routes/projects.d.ts +25 -25
  121. package/dist/apps/management/routes/scopes.d.ts +1 -1
  122. package/dist/apps/management/routes/usage.d.ts +72 -72
  123. package/dist/apps/management/routes/verified-token-requests.d.ts +77 -77
  124. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  125. package/dist/apps/mcp.d.ts +2 -3
  126. package/dist/apps/mcp.d.ts.map +1 -1
  127. package/dist/apps/mcp.js +16 -14
  128. package/dist/apps/mcp.js.map +1 -1
  129. package/dist/apps/metadata.d.ts +4 -0
  130. package/dist/apps/metadata.d.ts.map +1 -1
  131. package/dist/apps/metadata.js +10 -0
  132. package/dist/apps/metadata.js.map +1 -1
  133. package/dist/apps/mpp/App.d.ts +44 -44
  134. package/dist/cloudflare.d.ts +50 -0
  135. package/dist/cloudflare.d.ts.map +1 -1
  136. package/dist/cloudflare.js +178 -0
  137. package/dist/cloudflare.js.map +1 -1
  138. package/dist/db/Db.d.ts +2 -0
  139. package/dist/db/Db.d.ts.map +1 -1
  140. package/dist/db/Db.js +45 -0
  141. package/dist/db/Db.js.map +1 -1
  142. package/dist/db/Schema.d.ts +12 -0
  143. package/dist/db/Schema.d.ts.map +1 -1
  144. package/dist/db/Schema.js +20 -0
  145. package/dist/db/Schema.js.map +1 -1
  146. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  147. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  148. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  149. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  150. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  151. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  152. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  153. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  154. package/dist/db/tables/fundingDeposits.d.ts +74 -1
  155. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  156. package/dist/db/tables/fundingDeposits.js +126 -0
  157. package/dist/db/tables/fundingDeposits.js.map +1 -1
  158. package/dist/internal/Auth.d.ts +15 -11
  159. package/dist/internal/Auth.d.ts.map +1 -1
  160. package/dist/internal/Auth.js +52 -17
  161. package/dist/internal/Auth.js.map +1 -1
  162. package/dist/internal/Cache.js +1 -1
  163. package/dist/internal/Cache.js.map +1 -1
  164. package/dist/internal/EdgeCache.d.ts +2 -2
  165. package/dist/internal/EdgeCache.d.ts.map +1 -1
  166. package/dist/internal/EdgeCache.js +10 -4
  167. package/dist/internal/EdgeCache.js.map +1 -1
  168. package/dist/internal/IpAllowlist.d.ts +15 -0
  169. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  170. package/dist/internal/IpAllowlist.js +27 -0
  171. package/dist/internal/IpAllowlist.js.map +1 -0
  172. package/dist/internal/OpenApi.d.ts +1 -1
  173. package/dist/internal/OpenApi.js +1 -1
  174. package/dist/internal/OpenApi.js.map +1 -1
  175. package/dist/internal/Tidx.d.ts +6 -0
  176. package/dist/internal/Tidx.d.ts.map +1 -1
  177. package/dist/internal/Tidx.js +13 -3
  178. package/dist/internal/Tidx.js.map +1 -1
  179. package/dist/internal/Viem.d.ts +8 -0
  180. package/dist/internal/Viem.d.ts.map +1 -1
  181. package/dist/internal/Viem.js +12 -5
  182. package/dist/internal/Viem.js.map +1 -1
  183. package/dist/internal/funding/Deposit.d.ts +42 -0
  184. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  185. package/dist/internal/funding/Deposit.js +37 -5
  186. package/dist/internal/funding/Deposit.js.map +1 -1
  187. package/dist/internal/funding/Evidence.d.ts +1 -5
  188. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  189. package/dist/internal/funding/Evidence.js +4 -3
  190. package/dist/internal/funding/Evidence.js.map +1 -1
  191. package/dist/internal/funding/Provider.d.ts +102 -0
  192. package/dist/internal/funding/Provider.d.ts.map +1 -1
  193. package/dist/internal/funding/Provider.js +5 -0
  194. package/dist/internal/funding/Provider.js.map +1 -1
  195. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  196. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  197. package/dist/internal/funding/Reconciliation.js +348 -54
  198. package/dist/internal/funding/Reconciliation.js.map +1 -1
  199. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  200. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  201. package/dist/internal/funding/SourceObservation.js +143 -0
  202. package/dist/internal/funding/SourceObservation.js.map +1 -0
  203. package/dist/internal/funding/Subsidy.d.ts +2 -2
  204. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  205. package/dist/internal/funding/Subsidy.js +1 -1
  206. package/dist/internal/funding/Subsidy.js.map +1 -1
  207. package/dist/internal/funding/index.d.ts +1 -0
  208. package/dist/internal/funding/index.d.ts.map +1 -1
  209. package/dist/internal/funding/index.js +1 -0
  210. package/dist/internal/funding/index.js.map +1 -1
  211. package/dist/internal/funding/providers/relay.d.ts +43 -1
  212. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  213. package/dist/internal/funding/providers/relay.js +438 -27
  214. package/dist/internal/funding/providers/relay.js.map +1 -1
  215. package/package.json +3 -3
  216. package/src/ApiKey.test.ts +35 -0
  217. package/src/ApiKey.ts +27 -0
  218. package/src/ApiKeys.test.ts +29 -0
  219. package/src/ApiKeys.ts +11 -3
  220. package/src/App.test.ts +55 -5
  221. package/src/App.ts +79 -5
  222. package/src/Client.test-d.ts +203 -28
  223. package/src/admin/apps/api-keys.test.ts +25 -1
  224. package/src/admin/apps/api-keys.ts +6 -2
  225. package/src/admin/ui.generated.ts +67 -67
  226. package/src/analytics/Analytics.ts +4 -0
  227. package/src/apps/composition.test.ts +130 -3
  228. package/src/apps/data/App.test.ts +0 -12
  229. package/src/apps/data/App.ts +4 -8
  230. package/src/apps/data/routes/balances.test.ts +42 -0
  231. package/src/apps/data/routes/balances.ts +218 -85
  232. package/src/apps/data/routes/earn.test.ts +363 -0
  233. package/src/apps/data/routes/earn.ts +1141 -3
  234. package/src/apps/data/routes/indexer.ts +2 -1
  235. package/src/apps/data/routes/rpc.ts +2 -0
  236. package/src/apps/data/routes/tokens.test.ts +6 -8
  237. package/src/apps/funding/Access.ts +26 -0
  238. package/src/apps/funding/App.test.ts +78 -0
  239. package/src/apps/funding/App.ts +78 -0
  240. package/src/apps/funding/Inventory.ts +30 -0
  241. package/src/apps/funding/ProviderAttempts.ts +26 -0
  242. package/src/apps/funding/index.ts +1 -0
  243. package/src/apps/funding/routes/chains.test.ts +78 -0
  244. package/src/apps/funding/routes/chains.ts +101 -0
  245. package/src/apps/funding/routes/deposit-addresses.test.ts +1649 -0
  246. package/src/apps/funding/routes/deposit-addresses.ts +932 -0
  247. package/src/apps/funding/routes/providers.test.ts +165 -0
  248. package/src/apps/funding/routes/providers.ts +73 -0
  249. package/src/apps/funding/routes/quotes.test.ts +511 -0
  250. package/src/apps/funding/routes/quotes.ts +205 -0
  251. package/src/apps/funding/routes/transfers.test.ts +1236 -0
  252. package/src/apps/funding/routes/transfers.ts +704 -0
  253. package/src/apps/index.ts +1 -0
  254. package/src/apps/management/routes/api-keys.test.ts +98 -0
  255. package/src/apps/management/routes/api-keys.ts +96 -1
  256. package/src/apps/mcp.test.ts +17 -2
  257. package/src/apps/mcp.ts +18 -13
  258. package/src/apps/metadata.ts +12 -0
  259. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  260. package/src/cloudflare.ts +279 -0
  261. package/src/db/Db.ts +71 -0
  262. package/src/db/Schema.ts +24 -0
  263. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  264. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  265. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  266. package/src/db/tables/fundingDeposits.test.ts +239 -0
  267. package/src/db/tables/fundingDeposits.ts +214 -1
  268. package/src/internal/Auth.test.ts +205 -5
  269. package/src/internal/Auth.ts +63 -19
  270. package/src/internal/Cache.test.ts +37 -3
  271. package/src/internal/Cache.ts +1 -1
  272. package/src/internal/EdgeCache.test.ts +7 -7
  273. package/src/internal/EdgeCache.ts +13 -4
  274. package/src/internal/IpAllowlist.test.ts +52 -0
  275. package/src/internal/IpAllowlist.ts +39 -0
  276. package/src/internal/Log.test.ts +7 -1
  277. package/src/internal/OpenApi.ts +1 -1
  278. package/src/internal/Tidx.test.ts +28 -0
  279. package/src/internal/Tidx.ts +19 -3
  280. package/src/internal/Viem.test.ts +28 -0
  281. package/src/internal/Viem.ts +21 -5
  282. package/src/internal/funding/Deposit.ts +74 -5
  283. package/src/internal/funding/Evidence.test.ts +2 -2
  284. package/src/internal/funding/Evidence.ts +4 -9
  285. package/src/internal/funding/Provider.ts +115 -0
  286. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  287. package/src/internal/funding/Reconciliation.test.ts +1364 -109
  288. package/src/internal/funding/Reconciliation.ts +467 -88
  289. package/src/internal/funding/SourceObservation.test.ts +301 -0
  290. package/src/internal/funding/SourceObservation.ts +267 -0
  291. package/src/internal/funding/Subsidy.ts +2 -2
  292. package/src/internal/funding/index.test.ts +1 -0
  293. package/src/internal/funding/index.ts +1 -0
  294. package/src/internal/funding/providers/relay.test.ts +94 -4
  295. package/src/internal/funding/providers/relay.ts +533 -27
  296. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  297. package/dist/apps/data/routes/funding.js +0 -1557
  298. package/dist/apps/data/routes/funding.js.map +0 -1
  299. package/src/apps/data/routes/funding.test.ts +0 -2994
  300. package/src/apps/data/routes/funding.ts +0 -1821
@@ -16,6 +16,207 @@ import * as Valuation from './valuation.js';
16
16
  export declare function addresses(options?: addresses.Options): import("hono/hono-base").HonoBase<App.Environment, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
17
17
  "/v1/addresses/:address/activities": {
18
18
  $get: {
19
+ output: null;
20
+ outputFormat: "body";
21
+ status: 402;
22
+ input: {
23
+ param: {
24
+ address: `0x${string}`;
25
+ };
26
+ } & {
27
+ query?: {
28
+ chainId?: string | string[];
29
+ cursor?: string | string[];
30
+ group?: string | string[];
31
+ include?: string | string[];
32
+ limit?: string | string[];
33
+ logs?: string | string[];
34
+ 'valuation.currency'?: string | string[];
35
+ } | undefined;
36
+ };
37
+ } | {
38
+ output: {
39
+ error: {
40
+ code: "upstream_error";
41
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
42
+ message: string;
43
+ };
44
+ requestId: string;
45
+ };
46
+ outputFormat: "json";
47
+ status: 502;
48
+ input: {
49
+ param: {
50
+ address: `0x${string}`;
51
+ };
52
+ } & {
53
+ query?: {
54
+ chainId?: string | string[];
55
+ cursor?: string | string[];
56
+ group?: string | string[];
57
+ include?: string | string[];
58
+ limit?: string | string[];
59
+ logs?: string | string[];
60
+ 'valuation.currency'?: string | string[];
61
+ } | undefined;
62
+ };
63
+ } | {
64
+ output: {
65
+ error: {
66
+ code: "api_key_malformed";
67
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
68
+ message: string;
69
+ };
70
+ requestId: string;
71
+ };
72
+ outputFormat: "json";
73
+ status: 400;
74
+ input: {
75
+ param: {
76
+ address: `0x${string}`;
77
+ };
78
+ } & {
79
+ query?: {
80
+ chainId?: string | string[];
81
+ cursor?: string | string[];
82
+ group?: string | string[];
83
+ include?: string | string[];
84
+ limit?: string | string[];
85
+ logs?: string | string[];
86
+ 'valuation.currency'?: string | string[];
87
+ } | undefined;
88
+ };
89
+ } | {
90
+ output: {
91
+ error: {
92
+ code: "api_key_invalid" | "api_key_missing";
93
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
94
+ message: string;
95
+ };
96
+ requestId: string;
97
+ };
98
+ outputFormat: "json";
99
+ status: 401;
100
+ input: {
101
+ param: {
102
+ address: `0x${string}`;
103
+ };
104
+ } & {
105
+ query?: {
106
+ chainId?: string | string[];
107
+ cursor?: string | string[];
108
+ group?: string | string[];
109
+ include?: string | string[];
110
+ limit?: string | string[];
111
+ logs?: string | string[];
112
+ 'valuation.currency'?: string | string[];
113
+ } | undefined;
114
+ };
115
+ } | {
116
+ output: {
117
+ error: {
118
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
119
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
120
+ message: string;
121
+ };
122
+ requestId: string;
123
+ };
124
+ outputFormat: "json";
125
+ status: 403;
126
+ input: {
127
+ param: {
128
+ address: `0x${string}`;
129
+ };
130
+ } & {
131
+ query?: {
132
+ chainId?: string | string[];
133
+ cursor?: string | string[];
134
+ group?: string | string[];
135
+ include?: string | string[];
136
+ limit?: string | string[];
137
+ logs?: string | string[];
138
+ 'valuation.currency'?: string | string[];
139
+ } | undefined;
140
+ };
141
+ } | {
142
+ output: {
143
+ error: {
144
+ code: "payment_required" | "rate_limit_exceeded";
145
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
146
+ message: string;
147
+ };
148
+ requestId: string;
149
+ };
150
+ outputFormat: "json";
151
+ status: 429;
152
+ input: {
153
+ param: {
154
+ address: `0x${string}`;
155
+ };
156
+ } & {
157
+ query?: {
158
+ chainId?: string | string[];
159
+ cursor?: string | string[];
160
+ group?: string | string[];
161
+ include?: string | string[];
162
+ limit?: string | string[];
163
+ logs?: string | string[];
164
+ 'valuation.currency'?: string | string[];
165
+ } | undefined;
166
+ };
167
+ } | {
168
+ output: {
169
+ error: {
170
+ code: "query_invalid";
171
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
172
+ message: string;
173
+ };
174
+ requestId: string;
175
+ };
176
+ outputFormat: "json";
177
+ status: 400;
178
+ input: {
179
+ param: {
180
+ address: `0x${string}`;
181
+ };
182
+ } & {
183
+ query?: {
184
+ chainId?: string | string[];
185
+ cursor?: string | string[];
186
+ group?: string | string[];
187
+ include?: string | string[];
188
+ limit?: string | string[];
189
+ logs?: string | string[];
190
+ 'valuation.currency'?: string | string[];
191
+ } | undefined;
192
+ };
193
+ } | {
194
+ output: {
195
+ error: {
196
+ code: "address_invalid";
197
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
198
+ message: string;
199
+ };
200
+ requestId: string;
201
+ };
202
+ outputFormat: "json";
203
+ status: 400;
204
+ input: {
205
+ param: {
206
+ address: `0x${string}`;
207
+ };
208
+ } & {
209
+ query?: {
210
+ chainId?: string | string[];
211
+ cursor?: string | string[];
212
+ group?: string | string[];
213
+ include?: string | string[];
214
+ limit?: string | string[];
215
+ logs?: string | string[];
216
+ 'valuation.currency'?: string | string[];
217
+ } | undefined;
218
+ };
219
+ } | {
19
220
  output: {
20
221
  data: ({
21
222
  perspective: "incoming" | "outgoing";
@@ -3604,17 +3805,35 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3604
3805
  'valuation.currency'?: string | string[];
3605
3806
  } | undefined;
3606
3807
  };
3808
+ };
3809
+ };
3810
+ }, "/"> | import("hono/types").MergeSchemaPath<{
3811
+ "/v1/addresses/:address/valuation": {
3812
+ $get: {
3813
+ output: null;
3814
+ outputFormat: "body";
3815
+ status: 402;
3816
+ input: {
3817
+ param: {
3818
+ address: `0x${string}`;
3819
+ };
3820
+ } & {
3821
+ query?: {
3822
+ chainId?: string | string[];
3823
+ currency?: string | string[];
3824
+ } | undefined;
3825
+ };
3607
3826
  } | {
3608
3827
  output: {
3609
3828
  error: {
3610
- code: "api_key_malformed";
3829
+ code: "upstream_error";
3611
3830
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3612
3831
  message: string;
3613
3832
  };
3614
3833
  requestId: string;
3615
3834
  };
3616
3835
  outputFormat: "json";
3617
- status: 400;
3836
+ status: 502;
3618
3837
  input: {
3619
3838
  param: {
3620
3839
  address: `0x${string}`;
@@ -3622,18 +3841,13 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3622
3841
  } & {
3623
3842
  query?: {
3624
3843
  chainId?: string | string[];
3625
- cursor?: string | string[];
3626
- group?: string | string[];
3627
- include?: string | string[];
3628
- limit?: string | string[];
3629
- logs?: string | string[];
3630
- 'valuation.currency'?: string | string[];
3844
+ currency?: string | string[];
3631
3845
  } | undefined;
3632
3846
  };
3633
3847
  } | {
3634
3848
  output: {
3635
3849
  error: {
3636
- code: "query_invalid";
3850
+ code: "api_key_malformed";
3637
3851
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3638
3852
  message: string;
3639
3853
  };
@@ -3648,25 +3862,20 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3648
3862
  } & {
3649
3863
  query?: {
3650
3864
  chainId?: string | string[];
3651
- cursor?: string | string[];
3652
- group?: string | string[];
3653
- include?: string | string[];
3654
- limit?: string | string[];
3655
- logs?: string | string[];
3656
- 'valuation.currency'?: string | string[];
3865
+ currency?: string | string[];
3657
3866
  } | undefined;
3658
3867
  };
3659
3868
  } | {
3660
3869
  output: {
3661
3870
  error: {
3662
- code: "address_invalid";
3871
+ code: "api_key_invalid" | "api_key_missing";
3663
3872
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3664
3873
  message: string;
3665
3874
  };
3666
3875
  requestId: string;
3667
3876
  };
3668
3877
  outputFormat: "json";
3669
- status: 400;
3878
+ status: 401;
3670
3879
  input: {
3671
3880
  param: {
3672
3881
  address: `0x${string}`;
@@ -3674,25 +3883,20 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3674
3883
  } & {
3675
3884
  query?: {
3676
3885
  chainId?: string | string[];
3677
- cursor?: string | string[];
3678
- group?: string | string[];
3679
- include?: string | string[];
3680
- limit?: string | string[];
3681
- logs?: string | string[];
3682
- 'valuation.currency'?: string | string[];
3886
+ currency?: string | string[];
3683
3887
  } | undefined;
3684
3888
  };
3685
3889
  } | {
3686
3890
  output: {
3687
3891
  error: {
3688
- code: "api_key_invalid" | "api_key_missing";
3892
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3689
3893
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3690
3894
  message: string;
3691
3895
  };
3692
3896
  requestId: string;
3693
3897
  };
3694
3898
  outputFormat: "json";
3695
- status: 401;
3899
+ status: 403;
3696
3900
  input: {
3697
3901
  param: {
3698
3902
  address: `0x${string}`;
@@ -3700,18 +3904,20 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3700
3904
  } & {
3701
3905
  query?: {
3702
3906
  chainId?: string | string[];
3703
- cursor?: string | string[];
3704
- group?: string | string[];
3705
- include?: string | string[];
3706
- limit?: string | string[];
3707
- logs?: string | string[];
3708
- 'valuation.currency'?: string | string[];
3907
+ currency?: string | string[];
3709
3908
  } | undefined;
3710
3909
  };
3711
3910
  } | {
3712
- output: null;
3713
- outputFormat: "body";
3714
- status: 402;
3911
+ output: {
3912
+ error: {
3913
+ code: "payment_required" | "rate_limit_exceeded";
3914
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3915
+ message: string;
3916
+ };
3917
+ requestId: string;
3918
+ };
3919
+ outputFormat: "json";
3920
+ status: 429;
3715
3921
  input: {
3716
3922
  param: {
3717
3923
  address: `0x${string}`;
@@ -3719,25 +3925,20 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3719
3925
  } & {
3720
3926
  query?: {
3721
3927
  chainId?: string | string[];
3722
- cursor?: string | string[];
3723
- group?: string | string[];
3724
- include?: string | string[];
3725
- limit?: string | string[];
3726
- logs?: string | string[];
3727
- 'valuation.currency'?: string | string[];
3928
+ currency?: string | string[];
3728
3929
  } | undefined;
3729
3930
  };
3730
3931
  } | {
3731
3932
  output: {
3732
3933
  error: {
3733
- code: "api_key_forbidden";
3934
+ code: "query_invalid";
3734
3935
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3735
3936
  message: string;
3736
3937
  };
3737
3938
  requestId: string;
3738
3939
  };
3739
3940
  outputFormat: "json";
3740
- status: 403;
3941
+ status: 400;
3741
3942
  input: {
3742
3943
  param: {
3743
3944
  address: `0x${string}`;
@@ -3745,25 +3946,20 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3745
3946
  } & {
3746
3947
  query?: {
3747
3948
  chainId?: string | string[];
3748
- cursor?: string | string[];
3749
- group?: string | string[];
3750
- include?: string | string[];
3751
- limit?: string | string[];
3752
- logs?: string | string[];
3753
- 'valuation.currency'?: string | string[];
3949
+ currency?: string | string[];
3754
3950
  } | undefined;
3755
3951
  };
3756
3952
  } | {
3757
3953
  output: {
3758
3954
  error: {
3759
- code: "payment_required" | "rate_limit_exceeded";
3955
+ code: "address_invalid";
3760
3956
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3761
3957
  message: string;
3762
3958
  };
3763
3959
  requestId: string;
3764
3960
  };
3765
3961
  outputFormat: "json";
3766
- status: 429;
3962
+ status: 400;
3767
3963
  input: {
3768
3964
  param: {
3769
3965
  address: `0x${string}`;
@@ -3771,25 +3967,24 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3771
3967
  } & {
3772
3968
  query?: {
3773
3969
  chainId?: string | string[];
3774
- cursor?: string | string[];
3775
- group?: string | string[];
3776
- include?: string | string[];
3777
- limit?: string | string[];
3778
- logs?: string | string[];
3779
- 'valuation.currency'?: string | string[];
3970
+ currency?: string | string[];
3780
3971
  } | undefined;
3781
3972
  };
3782
3973
  } | {
3783
3974
  output: {
3784
- error: {
3785
- code: "upstream_error";
3786
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3787
- message: string;
3788
- };
3789
- requestId: string;
3975
+ address: `0x${string}`;
3976
+ amount: string;
3977
+ currency: string;
3978
+ id: string;
3979
+ pricing: {
3980
+ asOf: string;
3981
+ basis: "nominal";
3982
+ source: string;
3983
+ } | null;
3984
+ unpriced: string[];
3790
3985
  };
3791
3986
  outputFormat: "json";
3792
- status: 502;
3987
+ status: 200;
3793
3988
  input: {
3794
3989
  param: {
3795
3990
  address: `0x${string}`;
@@ -3797,12 +3992,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3797
3992
  } & {
3798
3993
  query?: {
3799
3994
  chainId?: string | string[];
3800
- cursor?: string | string[];
3801
- group?: string | string[];
3802
- include?: string | string[];
3803
- limit?: string | string[];
3804
- logs?: string | string[];
3805
- 'valuation.currency'?: string | string[];
3995
+ currency?: string | string[];
3806
3996
  } | undefined;
3807
3997
  };
3808
3998
  };
@@ -3810,42 +4000,9 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3810
4000
  }, "/"> | import("hono/types").MergeSchemaPath<{
3811
4001
  "/v1/addresses/:address/balances": {
3812
4002
  $get: {
3813
- output: {
3814
- data: {
3815
- amount: string;
3816
- currency: string;
3817
- decimals: number;
3818
- feeEligible?: boolean | undefined;
3819
- formatted: string;
3820
- id: string;
3821
- token: {
3822
- address: `0x${string}`;
3823
- currency: string;
3824
- decimals: number;
3825
- id: string;
3826
- logoUri?: string | undefined;
3827
- name: string;
3828
- symbol: string;
3829
- verified: boolean;
3830
- };
3831
- valuation: {
3832
- amount: string;
3833
- currency: string;
3834
- } | null;
3835
- }[];
3836
- meta?: {
3837
- valuation?: {
3838
- asOf: string;
3839
- basis: "nominal";
3840
- source: string;
3841
- } | undefined;
3842
- totalCount?: number | undefined;
3843
- totalCountCapped?: boolean | undefined;
3844
- } | undefined;
3845
- nextCursor: string | null;
3846
- };
3847
- outputFormat: "json";
3848
- status: 200;
4003
+ output: null;
4004
+ outputFormat: "body";
4005
+ status: 402;
3849
4006
  input: {
3850
4007
  param: {
3851
4008
  address: `0x${string}`;
@@ -3866,14 +4023,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3866
4023
  } | {
3867
4024
  output: {
3868
4025
  error: {
3869
- code: "api_key_malformed";
4026
+ code: "upstream_error";
3870
4027
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3871
4028
  message: string;
3872
4029
  };
3873
4030
  requestId: string;
3874
4031
  };
3875
4032
  outputFormat: "json";
3876
- status: 400;
4033
+ status: 502;
3877
4034
  input: {
3878
4035
  param: {
3879
4036
  address: `0x${string}`;
@@ -3894,7 +4051,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3894
4051
  } | {
3895
4052
  output: {
3896
4053
  error: {
3897
- code: "query_invalid";
4054
+ code: "api_key_malformed";
3898
4055
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3899
4056
  message: string;
3900
4057
  };
@@ -3922,14 +4079,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3922
4079
  } | {
3923
4080
  output: {
3924
4081
  error: {
3925
- code: "address_invalid";
4082
+ code: "api_key_invalid" | "api_key_missing";
3926
4083
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3927
4084
  message: string;
3928
4085
  };
3929
4086
  requestId: string;
3930
4087
  };
3931
4088
  outputFormat: "json";
3932
- status: 400;
4089
+ status: 401;
3933
4090
  input: {
3934
4091
  param: {
3935
4092
  address: `0x${string}`;
@@ -3950,14 +4107,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3950
4107
  } | {
3951
4108
  output: {
3952
4109
  error: {
3953
- code: "api_key_invalid" | "api_key_missing";
4110
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3954
4111
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
3955
4112
  message: string;
3956
4113
  };
3957
4114
  requestId: string;
3958
4115
  };
3959
4116
  outputFormat: "json";
3960
- status: 401;
4117
+ status: 403;
3961
4118
  input: {
3962
4119
  param: {
3963
4120
  address: `0x${string}`;
@@ -3976,9 +4133,16 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3976
4133
  } | undefined;
3977
4134
  };
3978
4135
  } | {
3979
- output: null;
3980
- outputFormat: "body";
3981
- status: 402;
4136
+ output: {
4137
+ error: {
4138
+ code: "payment_required" | "rate_limit_exceeded";
4139
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4140
+ message: string;
4141
+ };
4142
+ requestId: string;
4143
+ };
4144
+ outputFormat: "json";
4145
+ status: 429;
3982
4146
  input: {
3983
4147
  param: {
3984
4148
  address: `0x${string}`;
@@ -3999,14 +4163,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3999
4163
  } | {
4000
4164
  output: {
4001
4165
  error: {
4002
- code: "api_key_forbidden";
4166
+ code: "query_invalid";
4003
4167
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4004
4168
  message: string;
4005
4169
  };
4006
4170
  requestId: string;
4007
4171
  };
4008
4172
  outputFormat: "json";
4009
- status: 403;
4173
+ status: 400;
4010
4174
  input: {
4011
4175
  param: {
4012
4176
  address: `0x${string}`;
@@ -4027,14 +4191,14 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4027
4191
  } | {
4028
4192
  output: {
4029
4193
  error: {
4030
- code: "payment_required" | "rate_limit_exceeded";
4194
+ code: "address_invalid";
4031
4195
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4032
4196
  message: string;
4033
4197
  };
4034
4198
  requestId: string;
4035
4199
  };
4036
4200
  outputFormat: "json";
4037
- status: 429;
4201
+ status: 400;
4038
4202
  input: {
4039
4203
  param: {
4040
4204
  address: `0x${string}`;
@@ -4054,15 +4218,41 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4054
4218
  };
4055
4219
  } | {
4056
4220
  output: {
4057
- error: {
4058
- code: "upstream_error";
4059
- details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4060
- message: string;
4061
- };
4062
- requestId: string;
4221
+ data: {
4222
+ amount: string;
4223
+ currency: string;
4224
+ decimals: number;
4225
+ feeEligible?: boolean | undefined;
4226
+ formatted: string;
4227
+ id: string;
4228
+ token: {
4229
+ address: `0x${string}`;
4230
+ currency: string;
4231
+ decimals: number;
4232
+ id: string;
4233
+ logoUri?: string | undefined;
4234
+ name: string;
4235
+ symbol: string;
4236
+ verified: boolean;
4237
+ };
4238
+ valuation: {
4239
+ amount: string;
4240
+ currency: string;
4241
+ } | null;
4242
+ }[];
4243
+ meta?: {
4244
+ valuation?: {
4245
+ asOf: string;
4246
+ basis: "nominal";
4247
+ source: string;
4248
+ } | undefined;
4249
+ totalCount?: number | undefined;
4250
+ totalCountCapped?: boolean | undefined;
4251
+ } | undefined;
4252
+ nextCursor: string | null;
4063
4253
  };
4064
4254
  outputFormat: "json";
4065
- status: 502;
4255
+ status: 200;
4066
4256
  input: {
4067
4257
  param: {
4068
4258
  address: `0x${string}`;
@@ -4082,58 +4272,49 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4082
4272
  };
4083
4273
  };
4084
4274
  };
4085
- }, "/"> | import("hono/types").MergeSchemaPath<{
4086
- "/v1/addresses/:address/valuation": {
4275
+ } & {
4276
+ "/v1/addresses/:address/balances/:token": {
4087
4277
  $get: {
4088
- output: {
4089
- address: `0x${string}`;
4090
- amount: string;
4091
- currency: string;
4092
- id: string;
4093
- pricing: {
4094
- asOf: string;
4095
- basis: "nominal";
4096
- source: string;
4097
- } | null;
4098
- unpriced: string[];
4099
- };
4100
- outputFormat: "json";
4101
- status: 200;
4278
+ output: null;
4279
+ outputFormat: "body";
4280
+ status: 402;
4102
4281
  input: {
4103
4282
  param: {
4104
4283
  address: `0x${string}`;
4284
+ token: `0x${string}`;
4105
4285
  };
4106
4286
  } & {
4107
4287
  query?: {
4108
4288
  chainId?: string | string[];
4109
- currency?: string | string[];
4289
+ 'valuation.currency'?: string | string[];
4110
4290
  } | undefined;
4111
4291
  };
4112
4292
  } | {
4113
4293
  output: {
4114
4294
  error: {
4115
- code: "api_key_malformed";
4295
+ code: "upstream_error";
4116
4296
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4117
4297
  message: string;
4118
4298
  };
4119
4299
  requestId: string;
4120
4300
  };
4121
4301
  outputFormat: "json";
4122
- status: 400;
4302
+ status: 502;
4123
4303
  input: {
4124
4304
  param: {
4125
4305
  address: `0x${string}`;
4306
+ token: `0x${string}`;
4126
4307
  };
4127
4308
  } & {
4128
4309
  query?: {
4129
4310
  chainId?: string | string[];
4130
- currency?: string | string[];
4311
+ 'valuation.currency'?: string | string[];
4131
4312
  } | undefined;
4132
4313
  };
4133
4314
  } | {
4134
4315
  output: {
4135
4316
  error: {
4136
- code: "query_invalid";
4317
+ code: "api_key_malformed";
4137
4318
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4138
4319
  message: string;
4139
4320
  };
@@ -4144,130 +4325,180 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4144
4325
  input: {
4145
4326
  param: {
4146
4327
  address: `0x${string}`;
4328
+ token: `0x${string}`;
4147
4329
  };
4148
4330
  } & {
4149
4331
  query?: {
4150
4332
  chainId?: string | string[];
4151
- currency?: string | string[];
4333
+ 'valuation.currency'?: string | string[];
4152
4334
  } | undefined;
4153
4335
  };
4154
4336
  } | {
4155
4337
  output: {
4156
4338
  error: {
4157
- code: "address_invalid";
4339
+ code: "api_key_invalid" | "api_key_missing";
4158
4340
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4159
4341
  message: string;
4160
4342
  };
4161
4343
  requestId: string;
4162
4344
  };
4163
4345
  outputFormat: "json";
4164
- status: 400;
4346
+ status: 401;
4165
4347
  input: {
4166
4348
  param: {
4167
4349
  address: `0x${string}`;
4350
+ token: `0x${string}`;
4168
4351
  };
4169
4352
  } & {
4170
4353
  query?: {
4171
4354
  chainId?: string | string[];
4172
- currency?: string | string[];
4355
+ 'valuation.currency'?: string | string[];
4173
4356
  } | undefined;
4174
4357
  };
4175
4358
  } | {
4176
4359
  output: {
4177
4360
  error: {
4178
- code: "api_key_invalid" | "api_key_missing";
4361
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4179
4362
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4180
4363
  message: string;
4181
4364
  };
4182
4365
  requestId: string;
4183
4366
  };
4184
4367
  outputFormat: "json";
4185
- status: 401;
4368
+ status: 403;
4186
4369
  input: {
4187
4370
  param: {
4188
4371
  address: `0x${string}`;
4372
+ token: `0x${string}`;
4189
4373
  };
4190
4374
  } & {
4191
4375
  query?: {
4192
4376
  chainId?: string | string[];
4193
- currency?: string | string[];
4377
+ 'valuation.currency'?: string | string[];
4194
4378
  } | undefined;
4195
4379
  };
4196
4380
  } | {
4197
- output: null;
4198
- outputFormat: "body";
4199
- status: 402;
4381
+ output: {
4382
+ error: {
4383
+ code: "payment_required" | "rate_limit_exceeded";
4384
+ details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4385
+ message: string;
4386
+ };
4387
+ requestId: string;
4388
+ };
4389
+ outputFormat: "json";
4390
+ status: 429;
4200
4391
  input: {
4201
4392
  param: {
4202
4393
  address: `0x${string}`;
4394
+ token: `0x${string}`;
4203
4395
  };
4204
4396
  } & {
4205
4397
  query?: {
4206
4398
  chainId?: string | string[];
4207
- currency?: string | string[];
4399
+ 'valuation.currency'?: string | string[];
4208
4400
  } | undefined;
4209
4401
  };
4210
4402
  } | {
4211
4403
  output: {
4212
4404
  error: {
4213
- code: "api_key_forbidden";
4405
+ code: "query_invalid";
4214
4406
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4215
4407
  message: string;
4216
4408
  };
4217
4409
  requestId: string;
4218
4410
  };
4219
4411
  outputFormat: "json";
4220
- status: 403;
4412
+ status: 400;
4221
4413
  input: {
4222
4414
  param: {
4223
4415
  address: `0x${string}`;
4416
+ token: `0x${string}`;
4224
4417
  };
4225
4418
  } & {
4226
4419
  query?: {
4227
4420
  chainId?: string | string[];
4228
- currency?: string | string[];
4421
+ 'valuation.currency'?: string | string[];
4229
4422
  } | undefined;
4230
4423
  };
4231
4424
  } | {
4232
4425
  output: {
4233
4426
  error: {
4234
- code: "payment_required" | "rate_limit_exceeded";
4427
+ code: "address_invalid";
4235
4428
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4236
4429
  message: string;
4237
4430
  };
4238
4431
  requestId: string;
4239
4432
  };
4240
4433
  outputFormat: "json";
4241
- status: 429;
4434
+ status: 400;
4242
4435
  input: {
4243
4436
  param: {
4244
4437
  address: `0x${string}`;
4438
+ token: `0x${string}`;
4245
4439
  };
4246
4440
  } & {
4247
4441
  query?: {
4248
4442
  chainId?: string | string[];
4249
- currency?: string | string[];
4443
+ 'valuation.currency'?: string | string[];
4444
+ } | undefined;
4445
+ };
4446
+ } | {
4447
+ output: {
4448
+ amount: string;
4449
+ currency: string;
4450
+ decimals: number;
4451
+ feeEligible?: boolean | undefined;
4452
+ formatted: string;
4453
+ id: string;
4454
+ token: {
4455
+ address: `0x${string}`;
4456
+ currency: string;
4457
+ decimals: number;
4458
+ id: string;
4459
+ logoUri?: string | undefined;
4460
+ name: string;
4461
+ symbol: string;
4462
+ verified: boolean;
4463
+ };
4464
+ valuation: {
4465
+ amount: string;
4466
+ currency: string;
4467
+ } | null;
4468
+ };
4469
+ outputFormat: "json";
4470
+ status: 200;
4471
+ input: {
4472
+ param: {
4473
+ address: `0x${string}`;
4474
+ token: `0x${string}`;
4475
+ };
4476
+ } & {
4477
+ query?: {
4478
+ chainId?: string | string[];
4479
+ 'valuation.currency'?: string | string[];
4250
4480
  } | undefined;
4251
4481
  };
4252
4482
  } | {
4253
4483
  output: {
4254
4484
  error: {
4255
- code: "upstream_error";
4485
+ code: "token_not_found";
4256
4486
  details?: readonly import("../../../internal/Response.js").error.Detail[] | undefined;
4257
4487
  message: string;
4258
4488
  };
4259
4489
  requestId: string;
4260
4490
  };
4261
4491
  outputFormat: "json";
4262
- status: 502;
4492
+ status: 404;
4263
4493
  input: {
4264
4494
  param: {
4265
4495
  address: `0x${string}`;
4496
+ token: `0x${string}`;
4266
4497
  };
4267
4498
  } & {
4268
4499
  query?: {
4269
4500
  chainId?: string | string[];
4270
- currency?: string | string[];
4501
+ 'valuation.currency'?: string | string[];
4271
4502
  } | undefined;
4272
4503
  };
4273
4504
  };