tapimo 0.11.0 → 0.12.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 (339) hide show
  1. package/dist/App.d.ts +2296 -1010
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +2 -2
  4. package/dist/App.js.map +1 -1
  5. package/dist/Assets.d.ts +15 -0
  6. package/dist/Assets.d.ts.map +1 -1
  7. package/dist/Assets.js +7 -0
  8. package/dist/Assets.js.map +1 -1
  9. package/dist/admin/App.d.ts +53 -4
  10. package/dist/admin/App.d.ts.map +1 -1
  11. package/dist/admin/apps/api-keys.d.ts +4 -4
  12. package/dist/admin/apps/earn-vaults.d.ts +114 -0
  13. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  14. package/dist/admin/apps/earn-vaults.js +59 -6
  15. package/dist/admin/apps/earn-vaults.js.map +1 -1
  16. package/dist/admin/apps/organizations.d.ts.map +1 -1
  17. package/dist/admin/apps/organizations.js +4 -2
  18. package/dist/admin/apps/organizations.js.map +1 -1
  19. package/dist/admin/apps/verified-tokens.d.ts +9 -9
  20. package/dist/admin/ui.generated.d.ts +1 -1
  21. package/dist/admin/ui.generated.d.ts.map +1 -1
  22. package/dist/admin/ui.generated.js +151 -151
  23. package/dist/admin/ui.generated.js.map +1 -1
  24. package/dist/apps/data/App.d.ts +1699 -749
  25. package/dist/apps/data/App.d.ts.map +1 -1
  26. package/dist/apps/data/App.js +56 -7
  27. package/dist/apps/data/App.js.map +1 -1
  28. package/dist/apps/data/ZoneSelection.d.ts +62 -0
  29. package/dist/apps/data/ZoneSelection.d.ts.map +1 -0
  30. package/dist/apps/data/ZoneSelection.js +44 -0
  31. package/dist/apps/data/ZoneSelection.js.map +1 -0
  32. package/dist/apps/data/routes/activities.d.ts +2367 -4
  33. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  34. package/dist/apps/data/routes/activities.js +368 -87
  35. package/dist/apps/data/routes/activities.js.map +1 -1
  36. package/dist/apps/data/routes/addresses.d.ts +471 -340
  37. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  38. package/dist/apps/data/routes/balances.d.ts +28 -28
  39. package/dist/apps/data/routes/balances.js +1 -1
  40. package/dist/apps/data/routes/balances.js.map +1 -1
  41. package/dist/apps/data/routes/blocks.d.ts +4 -4
  42. package/dist/apps/data/routes/blocks.js +1 -1
  43. package/dist/apps/data/routes/blocks.js.map +1 -1
  44. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  45. package/dist/apps/data/routes/earn.d.ts +131 -6
  46. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  47. package/dist/apps/data/routes/earn.js +157 -25
  48. package/dist/apps/data/routes/earn.js.map +1 -1
  49. package/dist/apps/data/routes/exchanges.d.ts +825 -119
  50. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  51. package/dist/apps/data/routes/exchanges.js +16 -13
  52. package/dist/apps/data/routes/exchanges.js.map +1 -1
  53. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  54. package/dist/apps/data/routes/fee-amm.js +9 -11
  55. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  56. package/dist/apps/data/routes/indexer.d.ts +34 -34
  57. package/dist/apps/data/routes/receipts.d.ts +230 -230
  58. package/dist/apps/data/routes/receipts.js +1 -1
  59. package/dist/apps/data/routes/receipts.js.map +1 -1
  60. package/dist/apps/data/routes/rpc.js +24 -10
  61. package/dist/apps/data/routes/rpc.js.map +1 -1
  62. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  63. package/dist/apps/data/routes/tokenlist.js +16 -15
  64. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  65. package/dist/apps/data/routes/tokens.d.ts +14 -0
  66. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  67. package/dist/apps/data/routes/tokens.js +34 -15
  68. package/dist/apps/data/routes/tokens.js.map +1 -1
  69. package/dist/apps/data/routes/transactions.js +1 -1
  70. package/dist/apps/data/routes/transactions.js.map +1 -1
  71. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  72. package/dist/apps/data/routes/transfers.js +7 -9
  73. package/dist/apps/data/routes/transfers.js.map +1 -1
  74. package/dist/apps/data/routes/webhooks.d.ts +4 -4
  75. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  76. package/dist/apps/data/routes/webhooks.js +2 -2
  77. package/dist/apps/data/routes/webhooks.js.map +1 -1
  78. package/dist/apps/data/routes/zones.d.ts +30 -30
  79. package/dist/apps/funding/App.d.ts +27 -27
  80. package/dist/apps/funding/routes/chains.d.ts.map +1 -1
  81. package/dist/apps/funding/routes/chains.js +5 -4
  82. package/dist/apps/funding/routes/chains.js.map +1 -1
  83. package/dist/apps/funding/routes/deposit-addresses.d.ts +16 -16
  84. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  85. package/dist/apps/funding/routes/deposit-addresses.js +8 -8
  86. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  87. package/dist/apps/funding/routes/providers.d.ts +13 -13
  88. package/dist/apps/funding/routes/providers.d.ts.map +1 -1
  89. package/dist/apps/funding/routes/providers.js +3 -2
  90. package/dist/apps/funding/routes/providers.js.map +1 -1
  91. package/dist/apps/funding/routes/quotes.d.ts.map +1 -1
  92. package/dist/apps/funding/routes/quotes.js +2 -2
  93. package/dist/apps/funding/routes/quotes.js.map +1 -1
  94. package/dist/apps/management/App.d.ts +627 -293
  95. package/dist/apps/management/App.d.ts.map +1 -1
  96. package/dist/apps/management/Billing.d.ts.map +1 -1
  97. package/dist/apps/management/Billing.js +19 -6
  98. package/dist/apps/management/Billing.js.map +1 -1
  99. package/dist/apps/management/routes/api-keys.d.ts +114 -54
  100. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  101. package/dist/apps/management/routes/api-keys.js +76 -30
  102. package/dist/apps/management/routes/api-keys.js.map +1 -1
  103. package/dist/apps/management/routes/billing.d.ts +103 -30
  104. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  105. package/dist/apps/management/routes/billing.js +91 -32
  106. package/dist/apps/management/routes/billing.js.map +1 -1
  107. package/dist/apps/management/routes/faucet.d.ts +33 -33
  108. package/dist/apps/management/routes/faucet.d.ts.map +1 -1
  109. package/dist/apps/management/routes/faucet.js +23 -12
  110. package/dist/apps/management/routes/faucet.js.map +1 -1
  111. package/dist/apps/management/routes/invitations.d.ts +46 -13
  112. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  113. package/dist/apps/management/routes/invitations.js +79 -29
  114. package/dist/apps/management/routes/invitations.js.map +1 -1
  115. package/dist/apps/management/routes/invite-links.d.ts +86 -41
  116. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  117. package/dist/apps/management/routes/invite-links.js +100 -41
  118. package/dist/apps/management/routes/invite-links.js.map +1 -1
  119. package/dist/apps/management/routes/me.d.ts +5 -5
  120. package/dist/apps/management/routes/me.d.ts.map +1 -1
  121. package/dist/apps/management/routes/me.js +14 -10
  122. package/dist/apps/management/routes/me.js.map +1 -1
  123. package/dist/apps/management/routes/members.d.ts +93 -72
  124. package/dist/apps/management/routes/members.d.ts.map +1 -1
  125. package/dist/apps/management/routes/members.js +37 -18
  126. package/dist/apps/management/routes/members.js.map +1 -1
  127. package/dist/apps/management/routes/orgs.d.ts +48 -8
  128. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  129. package/dist/apps/management/routes/orgs.js +48 -19
  130. package/dist/apps/management/routes/orgs.js.map +1 -1
  131. package/dist/apps/management/routes/projects.d.ts +90 -28
  132. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  133. package/dist/apps/management/routes/projects.js +72 -21
  134. package/dist/apps/management/routes/projects.js.map +1 -1
  135. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  136. package/dist/apps/management/routes/scopes.js +8 -5
  137. package/dist/apps/management/routes/scopes.js.map +1 -1
  138. package/dist/apps/management/routes/usage.d.ts +78 -78
  139. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  140. package/dist/apps/management/routes/usage.js +41 -31
  141. package/dist/apps/management/routes/usage.js.map +1 -1
  142. package/dist/apps/management/routes/verified-token-requests.d.ts +34 -6
  143. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  144. package/dist/apps/management/routes/verified-token-requests.js +36 -17
  145. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  146. package/dist/apps/management/routes/webhooks.d.ts +147 -130
  147. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  148. package/dist/apps/management/routes/webhooks.js +80 -35
  149. package/dist/apps/management/routes/webhooks.js.map +1 -1
  150. package/dist/apps/mpp/internal/Adapter.d.ts +1 -1
  151. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  152. package/dist/apps/mpp/internal/Adapter.js +12 -0
  153. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  154. package/dist/db/Db.d.ts +2 -0
  155. package/dist/db/Db.d.ts.map +1 -1
  156. package/dist/db/Db.js +40 -0
  157. package/dist/db/Db.js.map +1 -1
  158. package/dist/db/Schema.d.ts +23 -1
  159. package/dist/db/Schema.d.ts.map +1 -1
  160. package/dist/db/Schema.js +19 -3
  161. package/dist/db/Schema.js.map +1 -1
  162. package/dist/db/tables/earnVaults.d.ts +5 -1
  163. package/dist/db/tables/earnVaults.d.ts.map +1 -1
  164. package/dist/db/tables/earnVaults.js +5 -0
  165. package/dist/db/tables/earnVaults.js.map +1 -1
  166. package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
  167. package/dist/db/tables/webhookDeliveries.js +10 -0
  168. package/dist/db/tables/webhookDeliveries.js.map +1 -1
  169. package/dist/db/tables/webhookQueueCompletions.d.ts +15 -0
  170. package/dist/db/tables/webhookQueueCompletions.d.ts.map +1 -0
  171. package/dist/db/tables/webhookQueueCompletions.js +32 -0
  172. package/dist/db/tables/webhookQueueCompletions.js.map +1 -0
  173. package/dist/db/tables/webhookQueueEvents.d.ts +14 -20
  174. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
  175. package/dist/db/tables/webhookQueueEvents.js +68 -47
  176. package/dist/db/tables/webhookQueueEvents.js.map +1 -1
  177. package/dist/db/tables/webhookSubscriptions.d.ts +16 -5
  178. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  179. package/dist/db/tables/webhookSubscriptions.js +29 -5
  180. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  181. package/dist/internal/Auth.d.ts +8 -1
  182. package/dist/internal/Auth.d.ts.map +1 -1
  183. package/dist/internal/Auth.js +13 -3
  184. package/dist/internal/Auth.js.map +1 -1
  185. package/dist/internal/Cache.d.ts.map +1 -1
  186. package/dist/internal/Cache.js +11 -7
  187. package/dist/internal/Cache.js.map +1 -1
  188. package/dist/internal/EarnVaults.d.ts +41 -2
  189. package/dist/internal/EarnVaults.d.ts.map +1 -1
  190. package/dist/internal/EarnVaults.js +167 -0
  191. package/dist/internal/EarnVaults.js.map +1 -1
  192. package/dist/internal/OpenApi.d.ts +26 -22
  193. package/dist/internal/OpenApi.d.ts.map +1 -1
  194. package/dist/internal/OpenApi.js +128 -39
  195. package/dist/internal/OpenApi.js.map +1 -1
  196. package/dist/internal/Response.d.ts +13 -8
  197. package/dist/internal/Response.d.ts.map +1 -1
  198. package/dist/internal/Response.js +16 -5
  199. package/dist/internal/Response.js.map +1 -1
  200. package/dist/internal/Schema.d.ts +5 -7
  201. package/dist/internal/Schema.d.ts.map +1 -1
  202. package/dist/internal/Schema.js +6 -7
  203. package/dist/internal/Schema.js.map +1 -1
  204. package/dist/internal/Store.d.ts +15 -6
  205. package/dist/internal/Store.d.ts.map +1 -1
  206. package/dist/internal/Store.js +45 -15
  207. package/dist/internal/Store.js.map +1 -1
  208. package/dist/internal/Tidx.d.ts +2 -0
  209. package/dist/internal/Tidx.d.ts.map +1 -1
  210. package/dist/internal/Tidx.js +16 -4
  211. package/dist/internal/Tidx.js.map +1 -1
  212. package/dist/internal/Webhooks.d.ts +29 -12
  213. package/dist/internal/Webhooks.d.ts.map +1 -1
  214. package/dist/internal/Webhooks.js +37 -20
  215. package/dist/internal/Webhooks.js.map +1 -1
  216. package/dist/internal/funding/Deposit.d.ts +2 -2
  217. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  218. package/dist/internal/funding/Deposit.js +9 -8
  219. package/dist/internal/funding/Deposit.js.map +1 -1
  220. package/dist/internal/funding/DepositAddress.d.ts +4 -4
  221. package/dist/internal/funding/DepositAddress.d.ts.map +1 -1
  222. package/dist/internal/funding/DepositAddress.js +9 -8
  223. package/dist/internal/funding/DepositAddress.js.map +1 -1
  224. package/dist/internal/funding/Provider.d.ts.map +1 -1
  225. package/dist/internal/funding/Provider.js +13 -12
  226. package/dist/internal/funding/Provider.js.map +1 -1
  227. package/dist/internal/funding/providers/stargate.d.ts +19 -0
  228. package/dist/internal/funding/providers/stargate.d.ts.map +1 -0
  229. package/dist/internal/funding/providers/stargate.js +143 -0
  230. package/dist/internal/funding/providers/stargate.js.map +1 -0
  231. package/dist/providers/index.d.ts +7 -0
  232. package/dist/providers/index.d.ts.map +1 -1
  233. package/dist/providers/index.js +3 -0
  234. package/dist/providers/index.js.map +1 -1
  235. package/package.json +2 -2
  236. package/src/App.test.ts +48 -0
  237. package/src/App.ts +4 -2
  238. package/src/Assets.test.ts +18 -0
  239. package/src/Assets.ts +22 -0
  240. package/src/Client.test-d.ts +265 -16
  241. package/src/admin/apps/earn-vaults.test.ts +143 -0
  242. package/src/admin/apps/earn-vaults.ts +83 -6
  243. package/src/admin/apps/organizations.ts +6 -2
  244. package/src/admin/ui/src/routes/api-keys.tsx +36 -0
  245. package/src/admin/ui.generated.ts +151 -189
  246. package/src/apps/data/App.test.ts +31 -0
  247. package/src/apps/data/App.ts +56 -8
  248. package/src/apps/data/ZoneSelection.test.ts +196 -0
  249. package/src/apps/data/ZoneSelection.ts +108 -0
  250. package/src/apps/data/routes/activities.test.ts +328 -1
  251. package/src/apps/data/routes/activities.ts +498 -93
  252. package/src/apps/data/routes/balances.ts +1 -1
  253. package/src/apps/data/routes/blocks.ts +1 -1
  254. package/src/apps/data/routes/earn.test.ts +183 -23
  255. package/src/apps/data/routes/earn.ts +225 -29
  256. package/src/apps/data/routes/earn.zone-access.test.ts +46 -0
  257. package/src/apps/data/routes/exchanges.test.ts +31 -1
  258. package/src/apps/data/routes/exchanges.ts +19 -15
  259. package/src/apps/data/routes/fee-amm.ts +18 -11
  260. package/src/apps/data/routes/receipts.ts +1 -1
  261. package/src/apps/data/routes/rpc.test.ts +75 -0
  262. package/src/apps/data/routes/rpc.ts +23 -9
  263. package/src/apps/data/routes/tokenlist.ts +21 -18
  264. package/src/apps/data/routes/tokens.test.ts +29 -0
  265. package/src/apps/data/routes/tokens.ts +38 -15
  266. package/src/apps/data/routes/transactions.ts +1 -1
  267. package/src/apps/data/routes/transfers.test.ts +3 -3
  268. package/src/apps/data/routes/transfers.ts +12 -9
  269. package/src/apps/data/routes/webhooks.ts +6 -2
  270. package/src/apps/data/routes/zones.test.ts +19 -13
  271. package/src/apps/funding/routes/chains.test.ts +211 -7
  272. package/src/apps/funding/routes/chains.ts +19 -12
  273. package/src/apps/funding/routes/deposit-addresses.test.ts +394 -0
  274. package/src/apps/funding/routes/deposit-addresses.ts +84 -72
  275. package/src/apps/funding/routes/providers.ts +9 -5
  276. package/src/apps/funding/routes/quotes.test.ts +46 -0
  277. package/src/apps/funding/routes/quotes.ts +8 -5
  278. package/src/apps/funding/routes/transfers.test.ts +35 -32
  279. package/src/apps/management/Billing.test.ts +26 -0
  280. package/src/apps/management/Billing.ts +24 -7
  281. package/src/apps/management/routes/api-keys.test.ts +178 -0
  282. package/src/apps/management/routes/api-keys.ts +203 -144
  283. package/src/apps/management/routes/billing.test.ts +209 -0
  284. package/src/apps/management/routes/billing.ts +254 -177
  285. package/src/apps/management/routes/faucet.test.ts +39 -0
  286. package/src/apps/management/routes/faucet.ts +75 -41
  287. package/src/apps/management/routes/invitations.test.ts +216 -0
  288. package/src/apps/management/routes/invitations.ts +186 -109
  289. package/src/apps/management/routes/invite-links.test.ts +263 -1
  290. package/src/apps/management/routes/invite-links.ts +295 -214
  291. package/src/apps/management/routes/me.test.ts +49 -0
  292. package/src/apps/management/routes/me.ts +42 -32
  293. package/src/apps/management/routes/members.test.ts +124 -1
  294. package/src/apps/management/routes/members.ts +81 -51
  295. package/src/apps/management/routes/orgs.test.ts +176 -0
  296. package/src/apps/management/routes/orgs.ts +101 -59
  297. package/src/apps/management/routes/projects.test.ts +183 -0
  298. package/src/apps/management/routes/projects.ts +124 -60
  299. package/src/apps/management/routes/scopes.test.ts +44 -0
  300. package/src/apps/management/routes/scopes.ts +37 -28
  301. package/src/apps/management/routes/usage.test.ts +92 -0
  302. package/src/apps/management/routes/usage.ts +186 -151
  303. package/src/apps/management/routes/verified-token-requests.test.ts +114 -0
  304. package/src/apps/management/routes/verified-token-requests.ts +166 -133
  305. package/src/apps/management/routes/webhooks.test.ts +234 -0
  306. package/src/apps/management/routes/webhooks.ts +191 -78
  307. package/src/apps/mpp/internal/Adapter.ts +13 -1
  308. package/src/db/Db.test.ts +41 -0
  309. package/src/db/Db.ts +62 -0
  310. package/src/db/Schema.ts +28 -3
  311. package/src/db/tables/earnVaults.test.ts +22 -0
  312. package/src/db/tables/earnVaults.ts +11 -1
  313. package/src/db/tables/webhookDeliveries.ts +13 -0
  314. package/src/db/tables/webhookQueueCompletions.ts +55 -0
  315. package/src/db/tables/webhookQueueEvents.ts +95 -61
  316. package/src/db/tables/webhookSubscriptions.ts +45 -6
  317. package/src/internal/Auth.ts +23 -5
  318. package/src/internal/Cache.ts +14 -7
  319. package/src/internal/EarnVaults.capabilities.test.ts +33 -0
  320. package/src/internal/EarnVaults.test.ts +79 -0
  321. package/src/internal/EarnVaults.ts +277 -0
  322. package/src/internal/OpenApi.ts +165 -49
  323. package/src/internal/Response.test.ts +95 -0
  324. package/src/internal/Response.ts +40 -2
  325. package/src/internal/Schema.test.ts +16 -0
  326. package/src/internal/Schema.ts +7 -7
  327. package/src/internal/Store.test.ts +186 -0
  328. package/src/internal/Store.ts +57 -17
  329. package/src/internal/Tidx.test.ts +19 -0
  330. package/src/internal/Tidx.ts +16 -4
  331. package/src/internal/Webhooks.test.ts +122 -8
  332. package/src/internal/Webhooks.ts +59 -29
  333. package/src/internal/funding/Deposit.ts +71 -64
  334. package/src/internal/funding/DepositAddress.ts +50 -43
  335. package/src/internal/funding/Provider.ts +164 -142
  336. package/src/internal/funding/providers/index.test.ts +185 -0
  337. package/src/internal/funding/providers/stargate.ts +184 -0
  338. package/src/providers/index.test.ts +1 -0
  339. package/src/providers/index.ts +9 -0
@@ -527,111 +527,9 @@ export declare namespace schema {
527
527
  export declare function receipts(options?: receipts.Options): import("hono/hono-base").HonoBase<App.Environment, {
528
528
  "/v1/transactions/receipts": {
529
529
  $get: {
530
- output: {
531
- data: {
532
- blockHash: `0x${string}` | null;
533
- blockNumber: number;
534
- contractAddress: `0x${string}` | null;
535
- cumulativeGasUsed: number;
536
- effectiveGasPrice: string;
537
- feeAmount: {
538
- baseUnits: string;
539
- currency: string;
540
- decimals: number;
541
- formatted: string;
542
- valuation?: {
543
- amount: string;
544
- currency: string;
545
- } | null | undefined;
546
- };
547
- feePayer?: `0x${string}` | undefined;
548
- feeToken?: {
549
- address: `0x${string}`;
550
- currency: string;
551
- decimals: number;
552
- logoUri?: string | undefined;
553
- name: string;
554
- symbol: string;
555
- verified?: boolean | undefined;
556
- } | undefined;
557
- gasUsed: number;
558
- id: `0x${string}`;
559
- logs: {
560
- [x: string]: import("hono/utils/types").JSONValue;
561
- address: `0x${string}`;
562
- blockHash: `0x${string}` | null;
563
- blockNumber: `0x${string}` | null;
564
- blockTimestamp?: `0x${string}` | null | undefined;
565
- data: `0x${string}`;
566
- logIndex: `0x${string}` | null;
567
- removed: boolean;
568
- topics: `0x${string}`[];
569
- transactionHash: `0x${string}` | null;
570
- transactionIndex: `0x${string}` | null;
571
- }[];
572
- meta: {
573
- valuation?: {
574
- asOf: string;
575
- basis: "nominal";
576
- source: string;
577
- } | undefined;
578
- rpc: {
579
- [x: string]: import("hono/utils/types").JSONValue;
580
- blobGasPrice?: `0x${string}` | undefined;
581
- blobGasUsed?: `0x${string}` | undefined;
582
- blockHash: `0x${string}` | null;
583
- blockNumber: `0x${string}`;
584
- blockTimestamp?: `0x${string}` | null | undefined;
585
- contractAddress?: `0x${string}` | null | undefined;
586
- cumulativeGasUsed: `0x${string}`;
587
- effectiveGasPrice: `0x${string}`;
588
- feePayer?: `0x${string}` | null | undefined;
589
- feeToken?: `0x${string}` | null | undefined;
590
- from: `0x${string}`;
591
- gasUsed: `0x${string}`;
592
- logs: {
593
- [x: string]: import("hono/utils/types").JSONValue;
594
- address: `0x${string}`;
595
- blockHash: `0x${string}` | null;
596
- blockNumber: `0x${string}` | null;
597
- blockTimestamp?: `0x${string}` | null | undefined;
598
- data: `0x${string}`;
599
- logIndex: `0x${string}` | null;
600
- removed: boolean;
601
- topics: `0x${string}`[];
602
- transactionHash: `0x${string}` | null;
603
- transactionIndex: `0x${string}` | null;
604
- }[];
605
- logsBloom?: `0x${string}` | undefined;
606
- root?: `0x${string}` | undefined;
607
- status: `0x${string}`;
608
- to: `0x${string}` | null;
609
- transactionHash: `0x${string}`;
610
- transactionIndex: `0x${string}`;
611
- type: `0x${string}`;
612
- };
613
- };
614
- recipient: `0x${string}` | null;
615
- sender: `0x${string}`;
616
- status: "reverted" | "success";
617
- timestamp: string | null;
618
- transactionHash: `0x${string}`;
619
- transactionIndex: number;
620
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
621
- }[];
622
- meta?: {
623
- valuation?: {
624
- asOf: string;
625
- basis: "nominal";
626
- source: string;
627
- } | undefined;
628
- totalCount?: number | undefined;
629
- totalCountCapped?: boolean | undefined;
630
- } | undefined;
631
- nextCursor: string | null;
632
- };
633
- outputFormat: "json";
634
- status: 200;
530
+ output: null;
531
+ outputFormat: "body";
532
+ status: 402;
635
533
  input: {
636
534
  query?: {
637
535
  address?: string | string[];
@@ -656,14 +554,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
656
554
  } | {
657
555
  output: {
658
556
  error: {
659
- code: "api_key_malformed";
557
+ code: "upstream_error";
660
558
  details?: readonly Response.error.Detail[] | undefined;
661
559
  message: string;
662
560
  };
663
561
  requestId: string;
664
562
  };
665
563
  outputFormat: "json";
666
- status: 400;
564
+ status: 502;
667
565
  input: {
668
566
  query?: {
669
567
  address?: string | string[];
@@ -720,14 +618,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
720
618
  } | {
721
619
  output: {
722
620
  error: {
723
- code: "api_key_invalid" | "api_key_missing";
621
+ code: "api_key_malformed";
724
622
  details?: readonly Response.error.Detail[] | undefined;
725
623
  message: string;
726
624
  };
727
625
  requestId: string;
728
626
  };
729
627
  outputFormat: "json";
730
- status: 401;
628
+ status: 400;
731
629
  input: {
732
630
  query?: {
733
631
  address?: string | string[];
@@ -750,9 +648,16 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
750
648
  } | undefined;
751
649
  };
752
650
  } | {
753
- output: null;
754
- outputFormat: "body";
755
- status: 402;
651
+ output: {
652
+ error: {
653
+ code: "api_key_invalid" | "api_key_missing";
654
+ details?: readonly Response.error.Detail[] | undefined;
655
+ message: string;
656
+ };
657
+ requestId: string;
658
+ };
659
+ outputFormat: "json";
660
+ status: 401;
756
661
  input: {
757
662
  query?: {
758
663
  address?: string | string[];
@@ -840,15 +745,110 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
840
745
  };
841
746
  } | {
842
747
  output: {
843
- error: {
844
- code: "upstream_error";
845
- details?: readonly Response.error.Detail[] | undefined;
846
- message: string;
847
- };
848
- requestId: string;
748
+ data: {
749
+ blockHash: `0x${string}` | null;
750
+ blockNumber: number;
751
+ contractAddress: `0x${string}` | null;
752
+ cumulativeGasUsed: number;
753
+ effectiveGasPrice: string;
754
+ feeAmount: {
755
+ baseUnits: string;
756
+ currency: string;
757
+ decimals: number;
758
+ formatted: string;
759
+ valuation?: {
760
+ amount: string;
761
+ currency: string;
762
+ } | null | undefined;
763
+ };
764
+ feePayer?: `0x${string}` | undefined;
765
+ feeToken?: {
766
+ address: `0x${string}`;
767
+ currency: string;
768
+ decimals: number;
769
+ logoUri?: string | undefined;
770
+ name: string;
771
+ symbol: string;
772
+ verified?: boolean | undefined;
773
+ } | undefined;
774
+ gasUsed: number;
775
+ id: `0x${string}`;
776
+ logs: {
777
+ [x: string]: import("hono/utils/types").JSONValue;
778
+ address: `0x${string}`;
779
+ blockHash: `0x${string}` | null;
780
+ blockNumber: `0x${string}` | null;
781
+ blockTimestamp?: `0x${string}` | null | undefined;
782
+ data: `0x${string}`;
783
+ logIndex: `0x${string}` | null;
784
+ removed: boolean;
785
+ topics: `0x${string}`[];
786
+ transactionHash: `0x${string}` | null;
787
+ transactionIndex: `0x${string}` | null;
788
+ }[];
789
+ meta: {
790
+ valuation?: {
791
+ asOf: string;
792
+ basis: "nominal";
793
+ source: string;
794
+ } | undefined;
795
+ rpc: {
796
+ [x: string]: import("hono/utils/types").JSONValue;
797
+ blobGasPrice?: `0x${string}` | undefined;
798
+ blobGasUsed?: `0x${string}` | undefined;
799
+ blockHash: `0x${string}` | null;
800
+ blockNumber: `0x${string}`;
801
+ blockTimestamp?: `0x${string}` | null | undefined;
802
+ contractAddress?: `0x${string}` | null | undefined;
803
+ cumulativeGasUsed: `0x${string}`;
804
+ effectiveGasPrice: `0x${string}`;
805
+ feePayer?: `0x${string}` | null | undefined;
806
+ feeToken?: `0x${string}` | null | undefined;
807
+ from: `0x${string}`;
808
+ gasUsed: `0x${string}`;
809
+ logs: {
810
+ [x: string]: import("hono/utils/types").JSONValue;
811
+ address: `0x${string}`;
812
+ blockHash: `0x${string}` | null;
813
+ blockNumber: `0x${string}` | null;
814
+ blockTimestamp?: `0x${string}` | null | undefined;
815
+ data: `0x${string}`;
816
+ logIndex: `0x${string}` | null;
817
+ removed: boolean;
818
+ topics: `0x${string}`[];
819
+ transactionHash: `0x${string}` | null;
820
+ transactionIndex: `0x${string}` | null;
821
+ }[];
822
+ logsBloom?: `0x${string}` | undefined;
823
+ root?: `0x${string}` | undefined;
824
+ status: `0x${string}`;
825
+ to: `0x${string}` | null;
826
+ transactionHash: `0x${string}`;
827
+ transactionIndex: `0x${string}`;
828
+ type: `0x${string}`;
829
+ };
830
+ };
831
+ recipient: `0x${string}` | null;
832
+ sender: `0x${string}`;
833
+ status: "reverted" | "success";
834
+ timestamp: string | null;
835
+ transactionHash: `0x${string}`;
836
+ transactionIndex: number;
837
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
838
+ }[];
839
+ meta?: {
840
+ valuation?: {
841
+ asOf: string;
842
+ basis: "nominal";
843
+ source: string;
844
+ } | undefined;
845
+ totalCount?: number | undefined;
846
+ totalCountCapped?: boolean | undefined;
847
+ } | undefined;
848
+ nextCursor: string | null;
849
849
  };
850
850
  outputFormat: "json";
851
- status: 502;
851
+ status: 200;
852
852
  input: {
853
853
  query?: {
854
854
  address?: string | string[];
@@ -875,99 +875,9 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
875
875
  } & {
876
876
  "/v1/transactions/:transactionHash/receipt": {
877
877
  $get: {
878
- output: {
879
- blockHash: `0x${string}` | null;
880
- blockNumber: number;
881
- contractAddress: `0x${string}` | null;
882
- cumulativeGasUsed: number;
883
- effectiveGasPrice: string;
884
- feeAmount: {
885
- baseUnits: string;
886
- currency: string;
887
- decimals: number;
888
- formatted: string;
889
- valuation?: {
890
- amount: string;
891
- currency: string;
892
- } | null | undefined;
893
- };
894
- feePayer?: `0x${string}` | undefined;
895
- feeToken?: {
896
- address: `0x${string}`;
897
- currency: string;
898
- decimals: number;
899
- logoUri?: string | undefined;
900
- name: string;
901
- symbol: string;
902
- verified?: boolean | undefined;
903
- } | undefined;
904
- gasUsed: number;
905
- id: `0x${string}`;
906
- logs: {
907
- [x: string]: import("hono/utils/types").JSONValue;
908
- address: `0x${string}`;
909
- blockHash: `0x${string}` | null;
910
- blockNumber: `0x${string}` | null;
911
- blockTimestamp?: `0x${string}` | null | undefined;
912
- data: `0x${string}`;
913
- logIndex: `0x${string}` | null;
914
- removed: boolean;
915
- topics: `0x${string}`[];
916
- transactionHash: `0x${string}` | null;
917
- transactionIndex: `0x${string}` | null;
918
- }[];
919
- meta: {
920
- valuation?: {
921
- asOf: string;
922
- basis: "nominal";
923
- source: string;
924
- } | undefined;
925
- rpc: {
926
- [x: string]: import("hono/utils/types").JSONValue;
927
- blobGasPrice?: `0x${string}` | undefined;
928
- blobGasUsed?: `0x${string}` | undefined;
929
- blockHash: `0x${string}` | null;
930
- blockNumber: `0x${string}`;
931
- blockTimestamp?: `0x${string}` | null | undefined;
932
- contractAddress?: `0x${string}` | null | undefined;
933
- cumulativeGasUsed: `0x${string}`;
934
- effectiveGasPrice: `0x${string}`;
935
- feePayer?: `0x${string}` | null | undefined;
936
- feeToken?: `0x${string}` | null | undefined;
937
- from: `0x${string}`;
938
- gasUsed: `0x${string}`;
939
- logs: {
940
- [x: string]: import("hono/utils/types").JSONValue;
941
- address: `0x${string}`;
942
- blockHash: `0x${string}` | null;
943
- blockNumber: `0x${string}` | null;
944
- blockTimestamp?: `0x${string}` | null | undefined;
945
- data: `0x${string}`;
946
- logIndex: `0x${string}` | null;
947
- removed: boolean;
948
- topics: `0x${string}`[];
949
- transactionHash: `0x${string}` | null;
950
- transactionIndex: `0x${string}` | null;
951
- }[];
952
- logsBloom?: `0x${string}` | undefined;
953
- root?: `0x${string}` | undefined;
954
- status: `0x${string}`;
955
- to: `0x${string}` | null;
956
- transactionHash: `0x${string}`;
957
- transactionIndex: `0x${string}`;
958
- type: `0x${string}`;
959
- };
960
- };
961
- recipient: `0x${string}` | null;
962
- sender: `0x${string}`;
963
- status: "reverted" | "success";
964
- timestamp: string | null;
965
- transactionHash: `0x${string}`;
966
- transactionIndex: number;
967
- type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
968
- };
969
- outputFormat: "json";
970
- status: 200;
878
+ output: null;
879
+ outputFormat: "body";
880
+ status: 402;
971
881
  input: {
972
882
  param: {
973
883
  transactionHash: `0x${string}`;
@@ -982,14 +892,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
982
892
  } | {
983
893
  output: {
984
894
  error: {
985
- code: "api_key_malformed";
895
+ code: "upstream_error";
986
896
  details?: readonly Response.error.Detail[] | undefined;
987
897
  message: string;
988
898
  };
989
899
  requestId: string;
990
900
  };
991
901
  outputFormat: "json";
992
- status: 400;
902
+ status: 502;
993
903
  input: {
994
904
  param: {
995
905
  transactionHash: `0x${string}`;
@@ -1026,7 +936,7 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1026
936
  } | {
1027
937
  output: {
1028
938
  error: {
1029
- code: "transaction_invalid";
939
+ code: "api_key_malformed";
1030
940
  details?: readonly Response.error.Detail[] | undefined;
1031
941
  message: string;
1032
942
  };
@@ -1068,9 +978,16 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1068
978
  } | undefined;
1069
979
  };
1070
980
  } | {
1071
- output: null;
1072
- outputFormat: "body";
1073
- status: 402;
981
+ output: {
982
+ error: {
983
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
984
+ details?: readonly Response.error.Detail[] | undefined;
985
+ message: string;
986
+ };
987
+ requestId: string;
988
+ };
989
+ outputFormat: "json";
990
+ status: 403;
1074
991
  input: {
1075
992
  param: {
1076
993
  transactionHash: `0x${string}`;
@@ -1085,14 +1002,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1085
1002
  } | {
1086
1003
  output: {
1087
1004
  error: {
1088
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1005
+ code: "payment_required" | "rate_limit_exceeded";
1089
1006
  details?: readonly Response.error.Detail[] | undefined;
1090
1007
  message: string;
1091
1008
  };
1092
1009
  requestId: string;
1093
1010
  };
1094
1011
  outputFormat: "json";
1095
- status: 403;
1012
+ status: 429;
1096
1013
  input: {
1097
1014
  param: {
1098
1015
  transactionHash: `0x${string}`;
@@ -1107,14 +1024,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1107
1024
  } | {
1108
1025
  output: {
1109
1026
  error: {
1110
- code: "receipt_not_found";
1027
+ code: "transaction_invalid";
1111
1028
  details?: readonly Response.error.Detail[] | undefined;
1112
1029
  message: string;
1113
1030
  };
1114
1031
  requestId: string;
1115
1032
  };
1116
1033
  outputFormat: "json";
1117
- status: 404;
1034
+ status: 400;
1118
1035
  input: {
1119
1036
  param: {
1120
1037
  transactionHash: `0x${string}`;
@@ -1129,14 +1046,14 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1129
1046
  } | {
1130
1047
  output: {
1131
1048
  error: {
1132
- code: "payment_required" | "rate_limit_exceeded";
1049
+ code: "receipt_not_found";
1133
1050
  details?: readonly Response.error.Detail[] | undefined;
1134
1051
  message: string;
1135
1052
  };
1136
1053
  requestId: string;
1137
1054
  };
1138
1055
  outputFormat: "json";
1139
- status: 429;
1056
+ status: 404;
1140
1057
  input: {
1141
1058
  param: {
1142
1059
  transactionHash: `0x${string}`;
@@ -1150,15 +1067,98 @@ export declare function receipts(options?: receipts.Options): import("hono/hono-
1150
1067
  };
1151
1068
  } | {
1152
1069
  output: {
1153
- error: {
1154
- code: "upstream_error";
1155
- details?: readonly Response.error.Detail[] | undefined;
1156
- message: string;
1070
+ blockHash: `0x${string}` | null;
1071
+ blockNumber: number;
1072
+ contractAddress: `0x${string}` | null;
1073
+ cumulativeGasUsed: number;
1074
+ effectiveGasPrice: string;
1075
+ feeAmount: {
1076
+ baseUnits: string;
1077
+ currency: string;
1078
+ decimals: number;
1079
+ formatted: string;
1080
+ valuation?: {
1081
+ amount: string;
1082
+ currency: string;
1083
+ } | null | undefined;
1157
1084
  };
1158
- requestId: string;
1085
+ feePayer?: `0x${string}` | undefined;
1086
+ feeToken?: {
1087
+ address: `0x${string}`;
1088
+ currency: string;
1089
+ decimals: number;
1090
+ logoUri?: string | undefined;
1091
+ name: string;
1092
+ symbol: string;
1093
+ verified?: boolean | undefined;
1094
+ } | undefined;
1095
+ gasUsed: number;
1096
+ id: `0x${string}`;
1097
+ logs: {
1098
+ [x: string]: import("hono/utils/types").JSONValue;
1099
+ address: `0x${string}`;
1100
+ blockHash: `0x${string}` | null;
1101
+ blockNumber: `0x${string}` | null;
1102
+ blockTimestamp?: `0x${string}` | null | undefined;
1103
+ data: `0x${string}`;
1104
+ logIndex: `0x${string}` | null;
1105
+ removed: boolean;
1106
+ topics: `0x${string}`[];
1107
+ transactionHash: `0x${string}` | null;
1108
+ transactionIndex: `0x${string}` | null;
1109
+ }[];
1110
+ meta: {
1111
+ valuation?: {
1112
+ asOf: string;
1113
+ basis: "nominal";
1114
+ source: string;
1115
+ } | undefined;
1116
+ rpc: {
1117
+ [x: string]: import("hono/utils/types").JSONValue;
1118
+ blobGasPrice?: `0x${string}` | undefined;
1119
+ blobGasUsed?: `0x${string}` | undefined;
1120
+ blockHash: `0x${string}` | null;
1121
+ blockNumber: `0x${string}`;
1122
+ blockTimestamp?: `0x${string}` | null | undefined;
1123
+ contractAddress?: `0x${string}` | null | undefined;
1124
+ cumulativeGasUsed: `0x${string}`;
1125
+ effectiveGasPrice: `0x${string}`;
1126
+ feePayer?: `0x${string}` | null | undefined;
1127
+ feeToken?: `0x${string}` | null | undefined;
1128
+ from: `0x${string}`;
1129
+ gasUsed: `0x${string}`;
1130
+ logs: {
1131
+ [x: string]: import("hono/utils/types").JSONValue;
1132
+ address: `0x${string}`;
1133
+ blockHash: `0x${string}` | null;
1134
+ blockNumber: `0x${string}` | null;
1135
+ blockTimestamp?: `0x${string}` | null | undefined;
1136
+ data: `0x${string}`;
1137
+ logIndex: `0x${string}` | null;
1138
+ removed: boolean;
1139
+ topics: `0x${string}`[];
1140
+ transactionHash: `0x${string}` | null;
1141
+ transactionIndex: `0x${string}` | null;
1142
+ }[];
1143
+ logsBloom?: `0x${string}` | undefined;
1144
+ root?: `0x${string}` | undefined;
1145
+ status: `0x${string}`;
1146
+ to: `0x${string}` | null;
1147
+ transactionHash: `0x${string}`;
1148
+ transactionIndex: `0x${string}`;
1149
+ type: `0x${string}`;
1150
+ };
1151
+ };
1152
+ recipient: `0x${string}` | null;
1153
+ sender: `0x${string}`;
1154
+ status: "reverted" | "success";
1155
+ timestamp: string | null;
1156
+ transactionHash: `0x${string}`;
1157
+ transactionIndex: number;
1158
+ type: "eip1559" | "eip2930" | "eip4844" | "eip7702" | "legacy" | "tempo" | "unknown";
1159
1159
  };
1160
1160
  outputFormat: "json";
1161
- status: 502;
1161
+ status: 200;
1162
1162
  input: {
1163
1163
  param: {
1164
1164
  transactionHash: `0x${string}`;
@@ -408,7 +408,7 @@ export function receipts(options = {}) {
408
408
  catch (cause) {
409
409
  if (cause instanceof Valuation.UnsupportedDenominationError)
410
410
  return Response.error(c, { code: 'query_invalid', message: cause.message, status: 400 });
411
- return Response.upstream(c, cause);
411
+ return Response.upstream(c, cause, { page: query.page });
412
412
  }
413
413
  })
414
414
  .get('/v1/transactions/:transactionHash/receipt', Auth.policy({ apiKey: { scopes: ['data:read'] }, mpp: true, public: true }), OpenApi.validate('param', schema.getReceipt.Params, {