tapimo 0.7.1 → 0.7.2

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 (681) hide show
  1. package/dist/ApiKeys.d.ts +24 -7
  2. package/dist/ApiKeys.d.ts.map +1 -1
  3. package/dist/ApiKeys.js +17 -5
  4. package/dist/ApiKeys.js.map +1 -1
  5. package/dist/App.d.ts +12104 -7861
  6. package/dist/App.d.ts.map +1 -1
  7. package/dist/App.js +191 -128
  8. package/dist/App.js.map +1 -1
  9. package/dist/Assets.d.ts +10 -0
  10. package/dist/Assets.d.ts.map +1 -1
  11. package/dist/Assets.js +17 -4
  12. package/dist/Assets.js.map +1 -1
  13. package/dist/Scope.d.ts +19 -8
  14. package/dist/Scope.d.ts.map +1 -1
  15. package/dist/Scope.js +25 -9
  16. package/dist/Scope.js.map +1 -1
  17. package/dist/Webhooks.d.ts +1 -1
  18. package/dist/admin/App.d.ts +601 -20
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/App.js +12 -2
  21. package/dist/admin/App.js.map +1 -1
  22. package/dist/admin/apps/api-keys.d.ts +94 -11
  23. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  24. package/dist/admin/apps/api-keys.js +141 -32
  25. package/dist/admin/apps/api-keys.js.map +1 -1
  26. package/dist/admin/apps/earn-vaults.d.ts +1069 -0
  27. package/dist/admin/apps/earn-vaults.d.ts.map +1 -0
  28. package/dist/admin/apps/earn-vaults.js +409 -0
  29. package/dist/admin/apps/earn-vaults.js.map +1 -0
  30. package/dist/admin/apps/verified-tokens.d.ts +166 -166
  31. package/dist/admin/ui.generated.d.ts +1 -1
  32. package/dist/admin/ui.generated.d.ts.map +1 -1
  33. package/dist/admin/ui.generated.js +99 -43
  34. package/dist/admin/ui.generated.js.map +1 -1
  35. package/dist/analytics/Analytics.d.ts +2 -0
  36. package/dist/analytics/Analytics.d.ts.map +1 -1
  37. package/dist/analytics/Analytics.js +18 -2
  38. package/dist/analytics/Analytics.js.map +1 -1
  39. package/dist/analytics/tables/requestEvents.d.ts +22 -1
  40. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  41. package/dist/analytics/tables/requestEvents.js +59 -39
  42. package/dist/analytics/tables/requestEvents.js.map +1 -1
  43. package/dist/apps/Zones.d.ts +8335 -0
  44. package/dist/apps/Zones.d.ts.map +1 -0
  45. package/dist/apps/Zones.js +38 -0
  46. package/dist/apps/Zones.js.map +1 -0
  47. package/dist/apps/data/App.d.ts +12125 -7913
  48. package/dist/apps/data/App.d.ts.map +1 -1
  49. package/dist/apps/data/App.js +91 -19
  50. package/dist/apps/data/App.js.map +1 -1
  51. package/dist/apps/data/FxOracle.d.ts +1 -1
  52. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  53. package/dist/apps/data/index.d.ts +0 -1
  54. package/dist/apps/data/index.d.ts.map +1 -1
  55. package/dist/apps/data/index.js +0 -1
  56. package/dist/apps/data/index.js.map +1 -1
  57. package/dist/apps/data/routes/activities.d.ts +32 -32
  58. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  59. package/dist/apps/data/routes/activities.js +130 -65
  60. package/dist/apps/data/routes/activities.js.map +1 -1
  61. package/dist/apps/data/routes/addresses.d.ts +312 -312
  62. package/dist/apps/data/routes/balances.d.ts +18 -18
  63. package/dist/apps/data/routes/balances.js +5 -5
  64. package/dist/apps/data/routes/balances.js.map +1 -1
  65. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  66. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  67. package/dist/apps/data/routes/coingecko.js +62 -35
  68. package/dist/apps/data/routes/coingecko.js.map +1 -1
  69. package/dist/apps/data/routes/earn.d.ts +2144 -0
  70. package/dist/apps/data/routes/earn.d.ts.map +1 -0
  71. package/dist/apps/data/routes/earn.js +947 -0
  72. package/dist/apps/data/routes/earn.js.map +1 -0
  73. package/dist/apps/data/routes/exchanges.d.ts +1625 -718
  74. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  75. package/dist/apps/data/routes/exchanges.js +656 -193
  76. package/dist/apps/data/routes/exchanges.js.map +1 -1
  77. package/dist/apps/data/routes/fee-amm.d.ts +108 -108
  78. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  79. package/dist/apps/data/routes/fee-amm.js +59 -8
  80. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  81. package/dist/apps/data/routes/funding.d.ts +4092 -387
  82. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  83. package/dist/apps/data/routes/funding.js +1403 -256
  84. package/dist/apps/data/routes/funding.js.map +1 -1
  85. package/dist/apps/data/routes/indexer.d.ts +30 -30
  86. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  87. package/dist/apps/data/routes/indexer.js +19 -2
  88. package/dist/apps/data/routes/indexer.js.map +1 -1
  89. package/dist/apps/data/routes/receipts.d.ts +263 -263
  90. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  91. package/dist/apps/data/routes/receipts.js +11 -11
  92. package/dist/apps/data/routes/receipts.js.map +1 -1
  93. package/dist/apps/data/routes/rpc.d.ts +5 -5
  94. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  95. package/dist/apps/data/routes/rpc.js +211 -22
  96. package/dist/apps/data/routes/rpc.js.map +1 -1
  97. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  98. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  99. package/dist/apps/data/routes/tokenlist.js +39 -8
  100. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  101. package/dist/apps/data/routes/tokens.d.ts +114 -86
  102. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  103. package/dist/apps/data/routes/tokens.js +194 -91
  104. package/dist/apps/data/routes/tokens.js.map +1 -1
  105. package/dist/apps/data/routes/transactions.d.ts +53 -53
  106. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  107. package/dist/apps/data/routes/transactions.js +78 -39
  108. package/dist/apps/data/routes/transactions.js.map +1 -1
  109. package/dist/apps/data/routes/transfers.d.ts +76 -27
  110. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  111. package/dist/apps/data/routes/transfers.js +165 -67
  112. package/dist/apps/data/routes/transfers.js.map +1 -1
  113. package/dist/apps/data/routes/valuation.d.ts +42 -42
  114. package/dist/apps/data/routes/valuation.js +2 -2
  115. package/dist/apps/data/routes/valuation.js.map +1 -1
  116. package/dist/apps/data/routes/webhooks.d.ts +369 -367
  117. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  118. package/dist/apps/data/routes/webhooks.js +161 -59
  119. package/dist/apps/data/routes/webhooks.js.map +1 -1
  120. package/dist/apps/data/routes/zones.d.ts +281 -0
  121. package/dist/apps/data/routes/zones.d.ts.map +1 -0
  122. package/dist/apps/data/routes/zones.js +252 -0
  123. package/dist/apps/data/routes/zones.js.map +1 -0
  124. package/dist/apps/docs/reference.js +6 -5
  125. package/dist/apps/docs/reference.js.map +1 -1
  126. package/dist/apps/index.d.ts +2 -1
  127. package/dist/apps/index.d.ts.map +1 -1
  128. package/dist/apps/index.js +2 -1
  129. package/dist/apps/index.js.map +1 -1
  130. package/dist/apps/management/App.d.ts +670 -670
  131. package/dist/apps/management/Billing.d.ts +8 -0
  132. package/dist/apps/management/Billing.d.ts.map +1 -1
  133. package/dist/apps/management/Billing.js +12 -0
  134. package/dist/apps/management/Billing.js.map +1 -1
  135. package/dist/apps/management/Error.d.ts +12 -0
  136. package/dist/apps/management/Error.d.ts.map +1 -0
  137. package/dist/apps/management/Error.js +10 -0
  138. package/dist/apps/management/Error.js.map +1 -0
  139. package/dist/apps/management/routes/api-keys.d.ts +5 -5
  140. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  141. package/dist/apps/management/routes/api-keys.js +2 -8
  142. package/dist/apps/management/routes/api-keys.js.map +1 -1
  143. package/dist/apps/management/routes/billing.d.ts +119 -119
  144. package/dist/apps/management/routes/faucet.d.ts +2 -2
  145. package/dist/apps/management/routes/invitations.d.ts +62 -62
  146. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  147. package/dist/apps/management/routes/invitations.js +4 -10
  148. package/dist/apps/management/routes/invitations.js.map +1 -1
  149. package/dist/apps/management/routes/invite-links.d.ts +30 -30
  150. package/dist/apps/management/routes/me.d.ts +6 -6
  151. package/dist/apps/management/routes/members.d.ts +2 -2
  152. package/dist/apps/management/routes/orgs.d.ts +48 -48
  153. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  154. package/dist/apps/management/routes/orgs.js +2 -8
  155. package/dist/apps/management/routes/orgs.js.map +1 -1
  156. package/dist/apps/management/routes/projects.d.ts +9 -9
  157. package/dist/apps/management/routes/scopes.js +2 -2
  158. package/dist/apps/management/routes/scopes.js.map +1 -1
  159. package/dist/apps/management/routes/verified-token-requests.d.ts +36 -36
  160. package/dist/apps/management/routes/webhooks.d.ts +50 -50
  161. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  162. package/dist/apps/management/routes/webhooks.js +15 -3
  163. package/dist/apps/management/routes/webhooks.js.map +1 -1
  164. package/dist/apps/mpp/App.d.ts +55 -56
  165. package/dist/apps/mpp/App.d.ts.map +1 -1
  166. package/dist/apps/mpp/App.js +192 -27
  167. package/dist/apps/mpp/App.js.map +1 -1
  168. package/dist/apps/mpp/Mpp.d.ts +0 -20
  169. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  170. package/dist/apps/mpp/Mpp.js +0 -24
  171. package/dist/apps/mpp/Mpp.js.map +1 -1
  172. package/dist/apps/mpp/internal/Adapter.d.ts +40 -0
  173. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -0
  174. package/dist/apps/mpp/internal/Adapter.js +66 -0
  175. package/dist/apps/mpp/internal/Adapter.js.map +1 -0
  176. package/dist/apps/mpp/internal/Error.d.ts +4 -0
  177. package/dist/apps/mpp/internal/Error.d.ts.map +1 -0
  178. package/dist/apps/mpp/internal/Error.js +41 -0
  179. package/dist/apps/mpp/internal/Error.js.map +1 -0
  180. package/dist/apps/mpp/internal/Idempotency.d.ts +33 -0
  181. package/dist/apps/mpp/internal/Idempotency.d.ts.map +1 -0
  182. package/dist/apps/mpp/internal/Idempotency.js +28 -0
  183. package/dist/apps/mpp/internal/Idempotency.js.map +1 -0
  184. package/dist/apps/mpp/internal/Policy.d.ts +46 -0
  185. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -0
  186. package/dist/apps/mpp/internal/Policy.js +57 -0
  187. package/dist/apps/mpp/internal/Policy.js.map +1 -0
  188. package/dist/apps/mpp/internal/ScreenManager.d.ts +27 -0
  189. package/dist/apps/mpp/internal/ScreenManager.d.ts.map +1 -0
  190. package/dist/apps/mpp/internal/ScreenManager.js +18 -0
  191. package/dist/apps/mpp/internal/ScreenManager.js.map +1 -0
  192. package/dist/apps/mpp/internal/Screening.d.ts +35 -0
  193. package/dist/apps/mpp/internal/Screening.d.ts.map +1 -0
  194. package/dist/apps/mpp/internal/Screening.js +20 -0
  195. package/dist/apps/mpp/internal/Screening.js.map +1 -0
  196. package/dist/apps/mpp/internal/Sponsorship.d.ts +36 -0
  197. package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -0
  198. package/dist/apps/mpp/internal/Sponsorship.js +103 -0
  199. package/dist/apps/mpp/internal/Sponsorship.js.map +1 -0
  200. package/dist/apps/mpp/internal/Utils.d.ts +7 -0
  201. package/dist/apps/mpp/internal/Utils.d.ts.map +1 -0
  202. package/dist/apps/mpp/internal/Utils.js +24 -0
  203. package/dist/apps/mpp/internal/Utils.js.map +1 -0
  204. package/dist/apps/relay/App.js +183 -23
  205. package/dist/apps/relay/App.js.map +1 -1
  206. package/dist/apps/relay/Sponsorships.d.ts +4 -0
  207. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  208. package/dist/apps/relay/Sponsorships.js +15 -6
  209. package/dist/apps/relay/Sponsorships.js.map +1 -1
  210. package/dist/db/Db.d.ts +20 -0
  211. package/dist/db/Db.d.ts.map +1 -1
  212. package/dist/db/Db.js +342 -0
  213. package/dist/db/Db.js.map +1 -1
  214. package/dist/db/Schema.d.ts +921 -1
  215. package/dist/db/Schema.d.ts.map +1 -1
  216. package/dist/db/Schema.js +269 -1
  217. package/dist/db/Schema.js.map +1 -1
  218. package/dist/db/tables/earnVaults.d.ts +68 -0
  219. package/dist/db/tables/earnVaults.d.ts.map +1 -0
  220. package/dist/db/tables/earnVaults.js +72 -0
  221. package/dist/db/tables/earnVaults.js.map +1 -0
  222. package/dist/db/tables/fundingCatalog.d.ts +56 -0
  223. package/dist/db/tables/fundingCatalog.d.ts.map +1 -0
  224. package/dist/db/tables/fundingCatalog.js +85 -0
  225. package/dist/db/tables/fundingCatalog.js.map +1 -0
  226. package/dist/db/tables/fundingDepositAddresses.d.ts +159 -0
  227. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -0
  228. package/dist/db/tables/fundingDepositAddresses.js +206 -0
  229. package/dist/db/tables/fundingDepositAddresses.js.map +1 -0
  230. package/dist/db/tables/fundingDeposits.d.ts +115 -0
  231. package/dist/db/tables/fundingDeposits.d.ts.map +1 -0
  232. package/dist/db/tables/fundingDeposits.js +100 -0
  233. package/dist/db/tables/fundingDeposits.js.map +1 -0
  234. package/dist/db/tables/fundingIdempotency.d.ts +91 -0
  235. package/dist/db/tables/fundingIdempotency.d.ts.map +1 -0
  236. package/dist/db/tables/fundingIdempotency.js +103 -0
  237. package/dist/db/tables/fundingIdempotency.js.map +1 -0
  238. package/dist/db/tables/fundingTransferEvents.d.ts +12 -0
  239. package/dist/db/tables/fundingTransferEvents.d.ts.map +1 -0
  240. package/dist/db/tables/fundingTransferEvents.js +18 -0
  241. package/dist/db/tables/fundingTransferEvents.js.map +1 -0
  242. package/dist/db/tables/fundingTransferTransactions.d.ts +15 -0
  243. package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -0
  244. package/dist/db/tables/fundingTransferTransactions.js +27 -0
  245. package/dist/db/tables/fundingTransferTransactions.js.map +1 -0
  246. package/dist/db/tables/fundingTransfers.d.ts +82 -0
  247. package/dist/db/tables/fundingTransfers.d.ts.map +1 -0
  248. package/dist/db/tables/fundingTransfers.js +89 -0
  249. package/dist/db/tables/fundingTransfers.js.map +1 -0
  250. package/dist/db/tables/organizations.d.ts +8 -0
  251. package/dist/db/tables/organizations.d.ts.map +1 -1
  252. package/dist/db/tables/organizations.js +16 -0
  253. package/dist/db/tables/organizations.js.map +1 -1
  254. package/dist/db/tables/projects.d.ts +8 -0
  255. package/dist/db/tables/projects.d.ts.map +1 -1
  256. package/dist/db/tables/projects.js +16 -0
  257. package/dist/db/tables/projects.js.map +1 -1
  258. package/dist/db/tables/requestUsage.d.ts +13 -0
  259. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  260. package/dist/db/tables/requestUsage.js +16 -0
  261. package/dist/db/tables/requestUsage.js.map +1 -1
  262. package/dist/db/tables/sponsoredTransactions.d.ts +2 -2
  263. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  264. package/dist/db/tables/sponsoredTransactions.js +1 -1
  265. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  266. package/dist/db/tables/users.d.ts +8 -0
  267. package/dist/db/tables/users.d.ts.map +1 -1
  268. package/dist/db/tables/users.js +16 -0
  269. package/dist/db/tables/users.js.map +1 -1
  270. package/dist/db/tables/verifiedTokens.d.ts +14 -7
  271. package/dist/db/tables/verifiedTokens.d.ts.map +1 -1
  272. package/dist/db/tables/verifiedTokens.js +9 -7
  273. package/dist/db/tables/verifiedTokens.js.map +1 -1
  274. package/dist/db/tables/webhookSubscriptions.d.ts +31 -1
  275. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  276. package/dist/db/tables/webhookSubscriptions.js +24 -3
  277. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  278. package/dist/handlers/relay.js +108 -108
  279. package/dist/handlers/relay.js.map +1 -1
  280. package/dist/internal/Auth.d.ts +26 -0
  281. package/dist/internal/Auth.d.ts.map +1 -1
  282. package/dist/internal/Auth.js +35 -2
  283. package/dist/internal/Auth.js.map +1 -1
  284. package/dist/internal/Cache.d.ts.map +1 -1
  285. package/dist/internal/Cache.js +16 -10
  286. package/dist/internal/Cache.js.map +1 -1
  287. package/dist/internal/Cursor.js +1 -1
  288. package/dist/internal/Cursor.js.map +1 -1
  289. package/dist/internal/EarnRates.d.ts +89 -0
  290. package/dist/internal/EarnRates.d.ts.map +1 -0
  291. package/dist/internal/EarnRates.js +266 -0
  292. package/dist/internal/EarnRates.js.map +1 -0
  293. package/dist/internal/EarnVaults.d.ts +171 -0
  294. package/dist/internal/EarnVaults.d.ts.map +1 -0
  295. package/dist/internal/EarnVaults.js +547 -0
  296. package/dist/internal/EarnVaults.js.map +1 -0
  297. package/dist/internal/EdgeCache.d.ts +8 -1
  298. package/dist/internal/EdgeCache.d.ts.map +1 -1
  299. package/dist/internal/EdgeCache.js +33 -7
  300. package/dist/internal/EdgeCache.js.map +1 -1
  301. package/dist/internal/Id.d.ts +11 -0
  302. package/dist/internal/Id.d.ts.map +1 -1
  303. package/dist/internal/Id.js +13 -0
  304. package/dist/internal/Id.js.map +1 -1
  305. package/dist/internal/Idempotency.d.ts +83 -0
  306. package/dist/internal/Idempotency.d.ts.map +1 -0
  307. package/dist/internal/Idempotency.js +113 -0
  308. package/dist/internal/Idempotency.js.map +1 -0
  309. package/dist/internal/Log.d.ts +64 -9
  310. package/dist/internal/Log.d.ts.map +1 -1
  311. package/dist/internal/Log.js +29 -7
  312. package/dist/internal/Log.js.map +1 -1
  313. package/dist/internal/MetricSink.d.ts.map +1 -1
  314. package/dist/internal/MetricSink.js +47 -1
  315. package/dist/internal/MetricSink.js.map +1 -1
  316. package/dist/internal/OpenApi.d.ts +1 -1
  317. package/dist/internal/OpenApi.d.ts.map +1 -1
  318. package/dist/internal/OpenApi.js +3 -0
  319. package/dist/internal/OpenApi.js.map +1 -1
  320. package/dist/internal/Provider.d.ts +14 -0
  321. package/dist/internal/Provider.d.ts.map +1 -0
  322. package/dist/internal/Provider.js +5 -0
  323. package/dist/internal/Provider.js.map +1 -0
  324. package/dist/internal/Schema.d.ts +6 -1
  325. package/dist/internal/Schema.d.ts.map +1 -1
  326. package/dist/internal/Schema.js +20 -11
  327. package/dist/internal/Schema.js.map +1 -1
  328. package/dist/internal/Store.d.ts +6 -0
  329. package/dist/internal/Store.d.ts.map +1 -1
  330. package/dist/internal/Store.js +35 -0
  331. package/dist/internal/Store.js.map +1 -1
  332. package/dist/internal/Tidx.d.ts +43 -24
  333. package/dist/internal/Tidx.d.ts.map +1 -1
  334. package/dist/internal/Tidx.js +79 -11
  335. package/dist/internal/Tidx.js.map +1 -1
  336. package/dist/internal/Viem.d.ts +82 -65
  337. package/dist/internal/Viem.d.ts.map +1 -1
  338. package/dist/internal/Viem.js +83 -12
  339. package/dist/internal/Viem.js.map +1 -1
  340. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  341. package/dist/internal/WebhookDestination.js +34 -28
  342. package/dist/internal/WebhookDestination.js.map +1 -1
  343. package/dist/internal/Webhooks.d.ts +9 -0
  344. package/dist/internal/Webhooks.d.ts.map +1 -1
  345. package/dist/internal/Webhooks.js +15 -10
  346. package/dist/internal/Webhooks.js.map +1 -1
  347. package/dist/internal/exchange/Provider.d.ts +219 -0
  348. package/dist/internal/exchange/Provider.d.ts.map +1 -0
  349. package/dist/internal/exchange/Provider.js +117 -0
  350. package/dist/internal/exchange/Provider.js.map +1 -0
  351. package/dist/internal/exchange/index.d.ts +2 -0
  352. package/dist/internal/exchange/index.d.ts.map +1 -0
  353. package/dist/internal/exchange/index.js +2 -0
  354. package/dist/internal/exchange/index.js.map +1 -0
  355. package/dist/internal/exchange/providers/uniswap.d.ts +57 -0
  356. package/dist/internal/exchange/providers/uniswap.d.ts.map +1 -0
  357. package/dist/internal/exchange/providers/uniswap.js +553 -0
  358. package/dist/internal/exchange/providers/uniswap.js.map +1 -0
  359. package/dist/internal/funding/Action.d.ts +55 -0
  360. package/dist/internal/funding/Action.d.ts.map +1 -0
  361. package/dist/internal/funding/Action.js +74 -0
  362. package/dist/internal/funding/Action.js.map +1 -0
  363. package/dist/internal/funding/Catalog.d.ts +107 -0
  364. package/dist/internal/funding/Catalog.d.ts.map +1 -0
  365. package/dist/internal/funding/Catalog.js +270 -0
  366. package/dist/internal/funding/Catalog.js.map +1 -0
  367. package/dist/internal/funding/Chain.d.ts +76 -0
  368. package/dist/internal/funding/Chain.d.ts.map +1 -0
  369. package/dist/internal/funding/Chain.js +38 -0
  370. package/dist/internal/funding/Chain.js.map +1 -0
  371. package/dist/internal/funding/Deposit.d.ts +366 -0
  372. package/dist/internal/funding/Deposit.d.ts.map +1 -0
  373. package/dist/internal/funding/Deposit.js +286 -0
  374. package/dist/internal/funding/Deposit.js.map +1 -0
  375. package/dist/internal/funding/DepositAddress.d.ts +345 -0
  376. package/dist/internal/funding/DepositAddress.d.ts.map +1 -0
  377. package/dist/internal/funding/DepositAddress.js +189 -0
  378. package/dist/internal/funding/DepositAddress.js.map +1 -0
  379. package/dist/internal/funding/Evidence.d.ts +52 -0
  380. package/dist/internal/funding/Evidence.d.ts.map +1 -0
  381. package/dist/internal/funding/Evidence.js +314 -0
  382. package/dist/internal/funding/Evidence.js.map +1 -0
  383. package/dist/internal/funding/Provider.d.ts +1186 -0
  384. package/dist/internal/funding/Provider.d.ts.map +1 -0
  385. package/dist/internal/funding/Provider.js +1081 -0
  386. package/dist/internal/funding/Provider.js.map +1 -0
  387. package/dist/internal/funding/Reconciliation.d.ts +113 -0
  388. package/dist/internal/funding/Reconciliation.d.ts.map +1 -0
  389. package/dist/internal/funding/Reconciliation.js +676 -0
  390. package/dist/internal/funding/Reconciliation.js.map +1 -0
  391. package/dist/internal/funding/Route.d.ts +21 -0
  392. package/dist/internal/funding/Route.d.ts.map +1 -0
  393. package/dist/internal/funding/Route.js +5 -0
  394. package/dist/internal/funding/Route.js.map +1 -0
  395. package/dist/internal/funding/Subsidy.d.ts +113 -0
  396. package/dist/internal/funding/Subsidy.d.ts.map +1 -0
  397. package/dist/internal/funding/Subsidy.js +138 -0
  398. package/dist/internal/funding/Subsidy.js.map +1 -0
  399. package/dist/internal/funding/Token.d.ts +41 -0
  400. package/dist/internal/funding/Token.d.ts.map +1 -0
  401. package/dist/internal/funding/Token.js +22 -0
  402. package/dist/internal/funding/Token.js.map +1 -0
  403. package/dist/internal/funding/Transfer.d.ts +643 -0
  404. package/dist/internal/funding/Transfer.d.ts.map +1 -0
  405. package/dist/internal/funding/Transfer.js +332 -0
  406. package/dist/internal/funding/Transfer.js.map +1 -0
  407. package/dist/internal/funding/index.d.ts +13 -0
  408. package/dist/internal/funding/index.d.ts.map +1 -0
  409. package/dist/internal/funding/index.js +13 -0
  410. package/dist/internal/funding/index.js.map +1 -0
  411. package/dist/internal/funding/providers/across.d.ts +21 -0
  412. package/dist/internal/funding/providers/across.d.ts.map +1 -0
  413. package/dist/internal/funding/providers/across.js +117 -0
  414. package/dist/internal/funding/providers/across.js.map +1 -0
  415. package/dist/internal/funding/providers/relay.d.ts +46 -0
  416. package/dist/internal/funding/providers/relay.d.ts.map +1 -0
  417. package/dist/internal/funding/providers/relay.js +464 -0
  418. package/dist/internal/funding/providers/relay.js.map +1 -0
  419. package/dist/internal/funding/providers/rhino.d.ts +15 -0
  420. package/dist/internal/funding/providers/rhino.d.ts.map +1 -0
  421. package/dist/internal/funding/providers/rhino.js +116 -0
  422. package/dist/internal/funding/providers/rhino.js.map +1 -0
  423. package/dist/internal/funding/providers/squid.d.ts +19 -0
  424. package/dist/internal/funding/providers/squid.d.ts.map +1 -0
  425. package/dist/internal/funding/providers/squid.js +120 -0
  426. package/dist/internal/funding/providers/squid.js.map +1 -0
  427. package/dist/internal/funding/providers/symbiosis.d.ts +20 -0
  428. package/dist/internal/funding/providers/symbiosis.d.ts.map +1 -0
  429. package/dist/internal/funding/providers/symbiosis.js +176 -0
  430. package/dist/internal/funding/providers/symbiosis.js.map +1 -0
  431. package/dist/internal/index.d.ts +5 -1
  432. package/dist/internal/index.d.ts.map +1 -1
  433. package/dist/internal/index.js +5 -1
  434. package/dist/internal/index.js.map +1 -1
  435. package/dist/internal/webhookDestinations/url.js +61 -57
  436. package/dist/internal/webhookDestinations/url.js.map +1 -1
  437. package/dist/providers/index.d.ts +43 -0
  438. package/dist/providers/index.d.ts.map +1 -0
  439. package/dist/providers/index.js +19 -0
  440. package/dist/providers/index.js.map +1 -0
  441. package/package.json +9 -4
  442. package/src/ApiKeys.test.ts +11 -7
  443. package/src/ApiKeys.ts +37 -9
  444. package/src/App.test.ts +85 -10
  445. package/src/App.ts +224 -137
  446. package/src/Assets.ts +29 -4
  447. package/src/Client.test-d.ts +650 -30
  448. package/src/Scope.test.ts +19 -0
  449. package/src/Scope.ts +28 -11
  450. package/src/Webhooks.test.ts +25 -0
  451. package/src/Webhooks.ts +1 -1
  452. package/src/admin/App.test.ts +9 -2
  453. package/src/admin/App.ts +32 -9
  454. package/src/admin/apps/api-keys.test.ts +167 -23
  455. package/src/admin/apps/api-keys.ts +166 -28
  456. package/src/admin/apps/earn-vaults.test.ts +338 -0
  457. package/src/admin/apps/earn-vaults.ts +572 -0
  458. package/src/admin/apps/scopes.test.ts +16 -1
  459. package/src/admin/ui/plugin.ts +2 -2
  460. package/src/admin/ui/src/components/EarnVaultForm.tsx +137 -0
  461. package/src/admin/ui/src/components/MobileProfile.tsx +2 -2
  462. package/src/admin/ui/src/components/Page.tsx +1 -1
  463. package/src/admin/ui/src/components/ThemeToggle.tsx +1 -1
  464. package/src/admin/ui/src/lib/api-keys.ts +37 -7
  465. package/src/admin/ui/src/lib/client.ts +1 -1
  466. package/src/admin/ui/src/lib/config.ts +1 -1
  467. package/src/admin/ui/src/lib/early-access.ts +8 -9
  468. package/src/admin/ui/src/lib/earn-vaults.ts +207 -0
  469. package/src/admin/ui/src/lib/format.ts +13 -0
  470. package/src/admin/ui/src/lib/organizations.test.ts +14 -4
  471. package/src/admin/ui/src/lib/organizations.ts +7 -1
  472. package/src/admin/ui/src/lib/response.ts +22 -0
  473. package/src/admin/ui/src/lib/scopes.test.ts +19 -11
  474. package/src/admin/ui/src/lib/scopes.ts +28 -7
  475. package/src/admin/ui/src/lib/verified-tokens.ts +10 -9
  476. package/src/admin/ui/src/routeTree.gen.ts +70 -7
  477. package/src/admin/ui/src/router.tsx +2 -2
  478. package/src/admin/ui/src/routes/__root.tsx +9 -8
  479. package/src/admin/ui/src/routes/api-keys.tsx +475 -64
  480. package/src/admin/ui/src/routes/early-access.tsx +5 -12
  481. package/src/admin/ui/src/routes/earn.vaults.tsx +348 -0
  482. package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +154 -0
  483. package/src/admin/ui/src/routes/earn.vaults_.new.tsx +190 -0
  484. package/src/admin/ui/src/routes/organizations.tsx +4 -7
  485. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +56 -54
  486. package/src/admin/ui/src/routes/verified-tokens.tsx +4 -4
  487. package/src/admin/ui/vite.config.ts +4 -1
  488. package/src/admin/ui.generated.ts +113 -43
  489. package/src/analytics/Analytics.test.ts +69 -10
  490. package/src/analytics/Analytics.ts +20 -1
  491. package/src/analytics/tables/requestEvents.ts +79 -37
  492. package/src/apps/Zones.test.ts +33 -0
  493. package/src/apps/Zones.ts +40 -0
  494. package/src/apps/composition.test.ts +84 -1
  495. package/src/apps/data/App.test.ts +28 -11
  496. package/src/apps/data/App.ts +96 -33
  497. package/src/apps/data/FxOracle.ts +1 -1
  498. package/src/apps/data/index.ts +0 -1
  499. package/src/apps/data/routes/activities.test.ts +82 -6
  500. package/src/apps/data/routes/activities.ts +131 -71
  501. package/src/apps/data/routes/balances.test.ts +50 -37
  502. package/src/apps/data/routes/balances.ts +5 -5
  503. package/src/apps/data/routes/blocks.test.ts +2 -0
  504. package/src/apps/data/routes/coingecko.test.ts +22 -0
  505. package/src/apps/data/routes/coingecko.ts +84 -48
  506. package/src/apps/data/routes/earn.test.ts +1108 -0
  507. package/src/apps/data/routes/earn.ts +1391 -0
  508. package/src/apps/data/routes/exchanges.test.ts +82 -33
  509. package/src/apps/data/routes/exchanges.ts +842 -227
  510. package/src/apps/data/routes/fee-amm.test.ts +4 -6
  511. package/src/apps/data/routes/fee-amm.ts +69 -12
  512. package/src/apps/data/routes/funding.test.ts +2712 -221
  513. package/src/apps/data/routes/funding.ts +1604 -387
  514. package/src/apps/data/routes/indexer.test.ts +43 -34
  515. package/src/apps/data/routes/indexer.ts +19 -2
  516. package/src/apps/data/routes/receipts.test.ts +5 -3
  517. package/src/apps/data/routes/receipts.ts +13 -11
  518. package/src/apps/data/routes/rpc.test.ts +446 -28
  519. package/src/apps/data/routes/rpc.ts +243 -25
  520. package/src/apps/data/routes/tokenlist.ts +72 -19
  521. package/src/apps/data/routes/tokens.ts +258 -86
  522. package/src/apps/data/routes/transactions.test.ts +2 -0
  523. package/src/apps/data/routes/transactions.ts +77 -42
  524. package/src/apps/data/routes/transfers.test.ts +166 -4
  525. package/src/apps/data/routes/transfers.ts +216 -78
  526. package/src/apps/data/routes/valuation.test.ts +62 -9
  527. package/src/apps/data/routes/valuation.ts +2 -2
  528. package/src/apps/data/routes/webhooks.test.ts +386 -43
  529. package/src/apps/data/routes/webhooks.ts +172 -71
  530. package/src/apps/data/routes/zones.test.ts +473 -0
  531. package/src/apps/data/routes/zones.ts +338 -0
  532. package/src/apps/docs/reference.ts +8 -6
  533. package/src/apps/index.ts +2 -1
  534. package/src/apps/management/Billing.test.ts +29 -0
  535. package/src/apps/management/Billing.ts +23 -0
  536. package/src/apps/management/Error.ts +12 -0
  537. package/src/apps/management/routes/api-keys.test.ts +5 -3
  538. package/src/apps/management/routes/api-keys.ts +2 -9
  539. package/src/apps/management/routes/invitations.ts +4 -11
  540. package/src/apps/management/routes/orgs.ts +2 -9
  541. package/src/apps/management/routes/scopes.test.ts +7 -2
  542. package/src/apps/management/routes/scopes.ts +2 -2
  543. package/src/apps/management/routes/webhooks.test.ts +6 -1
  544. package/src/apps/management/routes/webhooks.ts +15 -3
  545. package/src/apps/mpp/App.ts +276 -29
  546. package/src/apps/mpp/Mpp.test.ts +631 -26
  547. package/src/apps/mpp/Mpp.ts +0 -42
  548. package/src/apps/mpp/internal/Adapter.ts +108 -3
  549. package/src/apps/mpp/internal/Error.test.ts +33 -0
  550. package/src/apps/mpp/internal/Error.ts +44 -6
  551. package/src/apps/mpp/internal/Idempotency.test.ts +213 -0
  552. package/src/apps/mpp/internal/Idempotency.ts +59 -5
  553. package/src/apps/mpp/internal/Policy.test.ts +122 -0
  554. package/src/apps/mpp/internal/Policy.ts +98 -0
  555. package/src/apps/mpp/internal/ScreenManager.test.ts +68 -0
  556. package/src/apps/mpp/internal/ScreenManager.ts +41 -0
  557. package/src/apps/mpp/internal/Screening.ts +40 -3
  558. package/src/apps/mpp/internal/Sponsorship.ts +144 -0
  559. package/src/apps/mpp/internal/Utils.ts +30 -0
  560. package/src/apps/relay/App.test.ts +493 -62
  561. package/src/apps/relay/App.ts +233 -23
  562. package/src/apps/relay/Sponsorships.test.ts +49 -0
  563. package/src/apps/relay/Sponsorships.ts +18 -6
  564. package/src/db/Db.ts +439 -0
  565. package/src/db/Schema.ts +325 -2
  566. package/src/db/tables/earnVaults.test.ts +185 -0
  567. package/src/db/tables/earnVaults.ts +151 -0
  568. package/src/db/tables/fundingCatalog.test.ts +108 -0
  569. package/src/db/tables/fundingCatalog.ts +157 -0
  570. package/src/db/tables/fundingDepositAddresses.test.ts +580 -0
  571. package/src/db/tables/fundingDepositAddresses.ts +376 -0
  572. package/src/db/tables/fundingDeposits.test.ts +261 -0
  573. package/src/db/tables/fundingDeposits.ts +229 -0
  574. package/src/db/tables/fundingIdempotency.test.ts +182 -0
  575. package/src/db/tables/fundingIdempotency.ts +180 -0
  576. package/src/db/tables/fundingTransferEvents.ts +28 -0
  577. package/src/db/tables/fundingTransferTransactions.test.ts +69 -0
  578. package/src/db/tables/fundingTransferTransactions.ts +37 -0
  579. package/src/db/tables/fundingTransfers.test.ts +89 -0
  580. package/src/db/tables/fundingTransfers.ts +153 -0
  581. package/src/db/tables/organizations.ts +16 -0
  582. package/src/db/tables/projects.ts +16 -0
  583. package/src/db/tables/requestUsage.ts +23 -0
  584. package/src/db/tables/sponsoredTransactions.test.ts +11 -0
  585. package/src/db/tables/sponsoredTransactions.ts +3 -3
  586. package/src/db/tables/users.ts +16 -0
  587. package/src/db/tables/verifiedTokens.ts +19 -14
  588. package/src/db/tables/webhookSubscriptions.ts +58 -3
  589. package/src/handlers/relay.test.ts +2 -0
  590. package/src/handlers/relay.ts +95 -99
  591. package/src/internal/Auth.test.ts +48 -0
  592. package/src/internal/Auth.ts +61 -2
  593. package/src/internal/Cache.ts +13 -9
  594. package/src/internal/Cursor.test.ts +2 -2
  595. package/src/internal/Cursor.ts +1 -1
  596. package/src/internal/EarnRates.test.ts +125 -0
  597. package/src/internal/EarnRates.ts +409 -0
  598. package/src/internal/EarnVaults.test.ts +195 -0
  599. package/src/internal/EarnVaults.ts +876 -0
  600. package/src/internal/EdgeCache.test.ts +19 -0
  601. package/src/internal/EdgeCache.ts +35 -5
  602. package/src/internal/Id.ts +14 -0
  603. package/src/internal/Idempotency.test.ts +109 -0
  604. package/src/internal/Idempotency.ts +237 -0
  605. package/src/internal/Log.test-d.ts +41 -8
  606. package/src/internal/Log.test.ts +189 -8
  607. package/src/internal/Log.ts +124 -17
  608. package/src/internal/MetricSink.test.ts +244 -4
  609. package/src/internal/MetricSink.ts +51 -1
  610. package/src/internal/OpenApi.ts +3 -0
  611. package/src/internal/Provider.test.ts +17 -0
  612. package/src/internal/Provider.ts +17 -0
  613. package/src/internal/Schema.ts +27 -17
  614. package/src/internal/Store.test.ts +25 -0
  615. package/src/internal/Store.ts +46 -0
  616. package/src/internal/Tidx.local.test.ts +78 -3
  617. package/src/internal/Tidx.test.ts +212 -18
  618. package/src/internal/Tidx.ts +112 -32
  619. package/src/internal/VerifiedTokens.test.ts +15 -0
  620. package/src/internal/Viem.test.ts +170 -17
  621. package/src/internal/Viem.ts +111 -28
  622. package/src/internal/WebhookDestination.ts +25 -23
  623. package/src/internal/Webhooks.test.ts +59 -0
  624. package/src/internal/Webhooks.ts +34 -10
  625. package/src/internal/exchange/Provider.test.ts +216 -0
  626. package/src/internal/exchange/Provider.ts +326 -0
  627. package/src/internal/exchange/index.test.ts +6 -0
  628. package/src/internal/exchange/index.ts +1 -0
  629. package/src/internal/exchange/providers/uniswap.test.ts +122 -0
  630. package/src/internal/exchange/providers/uniswap.ts +682 -0
  631. package/src/internal/funding/Action.test.ts +138 -0
  632. package/src/internal/funding/Action.ts +117 -0
  633. package/src/internal/funding/Catalog.test.ts +311 -0
  634. package/src/internal/funding/Catalog.ts +347 -0
  635. package/src/internal/funding/Chain.test.ts +79 -0
  636. package/src/internal/funding/Chain.ts +120 -0
  637. package/src/internal/funding/Deposit.test.ts +26 -0
  638. package/src/internal/funding/Deposit.ts +453 -0
  639. package/src/internal/funding/DepositAddress.test.ts +18 -0
  640. package/src/internal/funding/DepositAddress.ts +312 -0
  641. package/src/internal/funding/Evidence.test.ts +297 -0
  642. package/src/internal/funding/Evidence.ts +430 -0
  643. package/src/internal/funding/Provider.test.ts +1328 -0
  644. package/src/internal/funding/Provider.ts +1796 -0
  645. package/src/internal/funding/Reconciliation.local.test.ts +504 -0
  646. package/src/internal/funding/Reconciliation.test.ts +2020 -0
  647. package/src/internal/funding/Reconciliation.ts +930 -0
  648. package/src/internal/funding/Route.test.ts +66 -0
  649. package/src/internal/funding/Route.ts +29 -0
  650. package/src/internal/funding/Subsidy.local.test.ts +152 -0
  651. package/src/internal/funding/Subsidy.test.ts +75 -0
  652. package/src/internal/funding/Subsidy.ts +260 -0
  653. package/src/internal/funding/Token.test.ts +47 -0
  654. package/src/internal/funding/Token.ts +59 -0
  655. package/src/internal/funding/Transfer.test.ts +369 -0
  656. package/src/internal/funding/Transfer.ts +522 -0
  657. package/src/internal/funding/index.test.ts +20 -0
  658. package/src/internal/funding/index.ts +12 -0
  659. package/src/internal/funding/providers/across.ts +149 -0
  660. package/src/{apps/data/FundingQuoteProviders.test.ts → internal/funding/providers/index.test.ts} +178 -157
  661. package/src/internal/funding/providers/relay.test.ts +474 -0
  662. package/src/internal/funding/providers/relay.ts +559 -0
  663. package/src/internal/funding/providers/rhino.ts +139 -0
  664. package/src/internal/funding/providers/squid.ts +151 -0
  665. package/src/internal/funding/providers/symbiosis.ts +221 -0
  666. package/src/internal/index.test.ts +5 -1
  667. package/src/internal/index.ts +5 -1
  668. package/src/internal/webhookDestinations/url.ts +49 -45
  669. package/src/providers/index.test.ts +14 -0
  670. package/src/providers/index.ts +54 -0
  671. package/dist/apps/data/FundingQuoteProviders.d.ts +0 -174
  672. package/dist/apps/data/FundingQuoteProviders.d.ts.map +0 -1
  673. package/dist/apps/data/FundingQuoteProviders.js +0 -775
  674. package/dist/apps/data/FundingQuoteProviders.js.map +0 -1
  675. package/dist/internal/FundingQuotes.d.ts +0 -864
  676. package/dist/internal/FundingQuotes.d.ts.map +0 -1
  677. package/dist/internal/FundingQuotes.js +0 -672
  678. package/dist/internal/FundingQuotes.js.map +0 -1
  679. package/src/apps/data/FundingQuoteProviders.ts +0 -1043
  680. package/src/internal/FundingQuotes.test.ts +0 -456
  681. package/src/internal/FundingQuotes.ts +0 -944
@@ -516,7 +516,7 @@ export declare namespace schema {
516
516
  transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
517
517
  }, z.core.$loose>>;
518
518
  meta: z.ZodMiniObject<{
519
- pricing: z.ZodMiniOptional<z.ZodMiniObject<{
519
+ valuation: z.ZodMiniOptional<z.ZodMiniObject<{
520
520
  asOf: z.ZodMiniISODateTime;
521
521
  basis: z.ZodMiniLiteral<"nominal">;
522
522
  source: z.ZodMiniString<string>;
@@ -794,7 +794,7 @@ export declare namespace schema {
794
794
  transactionIndex: z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>;
795
795
  }, z.core.$loose>>;
796
796
  meta: z.ZodMiniObject<{
797
- pricing: z.ZodMiniOptional<z.ZodMiniObject<{
797
+ valuation: z.ZodMiniOptional<z.ZodMiniObject<{
798
798
  asOf: z.ZodMiniISODateTime;
799
799
  basis: z.ZodMiniLiteral<"nominal">;
800
800
  source: z.ZodMiniString<string>;
@@ -1645,14 +1645,9 @@ export declare namespace schema {
1645
1645
  export declare function webhooks(options?: webhooks.Options): import("hono/hono-base").HonoBase<App.Environment, {
1646
1646
  "/v1/webhooks/event-types": {
1647
1647
  $get: {
1648
- output: {
1649
- data: {
1650
- description: string;
1651
- type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1652
- }[];
1653
- };
1654
- outputFormat: "json";
1655
- status: 200;
1648
+ output: null;
1649
+ outputFormat: "body";
1650
+ status: 402;
1656
1651
  input: {};
1657
1652
  } | {
1658
1653
  output: {
@@ -1678,11 +1673,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1678
1673
  outputFormat: "json";
1679
1674
  status: 401;
1680
1675
  input: {};
1681
- } | {
1682
- output: null;
1683
- outputFormat: "body";
1684
- status: 402;
1685
- input: {};
1686
1676
  } | {
1687
1677
  output: {
1688
1678
  error: {
@@ -1698,26 +1688,36 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1698
1688
  } | {
1699
1689
  output: {
1700
1690
  error: {
1701
- code: "webhooks_not_enabled";
1691
+ code: "payment_required" | "rate_limit_exceeded";
1702
1692
  details?: readonly Response.error.Detail[] | undefined;
1703
1693
  message: string;
1704
1694
  };
1705
1695
  requestId: string;
1706
1696
  };
1707
1697
  outputFormat: "json";
1708
- status: 404;
1698
+ status: 429;
1709
1699
  input: {};
1710
1700
  } | {
1711
1701
  output: {
1712
1702
  error: {
1713
- code: "payment_required" | "rate_limit_exceeded";
1703
+ code: "webhooks_not_enabled";
1714
1704
  details?: readonly Response.error.Detail[] | undefined;
1715
1705
  message: string;
1716
1706
  };
1717
1707
  requestId: string;
1718
1708
  };
1719
1709
  outputFormat: "json";
1720
- status: 429;
1710
+ status: 404;
1711
+ input: {};
1712
+ } | {
1713
+ output: {
1714
+ data: {
1715
+ description: string;
1716
+ type: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1717
+ }[];
1718
+ };
1719
+ outputFormat: "json";
1720
+ status: 200;
1721
1721
  input: {};
1722
1722
  };
1723
1723
  };
@@ -1725,40 +1725,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
1725
1725
  "/v1/webhooks": {
1726
1726
  $post: {
1727
1727
  output: {
1728
- chainId: number;
1729
- context?: {
1730
- description?: string | undefined;
1731
- metadata?: {
1732
- [x: string]: string;
1733
- } | undefined;
1734
- title?: string | undefined;
1735
- } | undefined;
1736
- createdAt: string;
1737
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
1738
- expiresAt?: string | undefined;
1739
- failureCount: number;
1740
- filters: {
1741
- [x: string]: import("hono/utils/types").JSONValue;
1742
- };
1743
- id: string;
1744
- lastDeliveryAt?: string | undefined;
1745
- status: "active" | "disabled" | "paused";
1746
- updatedAt: string;
1747
- destination: {
1748
- type: "url";
1749
- url: string;
1750
- } | {
1751
- type: "slack";
1752
- url: string;
1753
- } | {
1754
- token: string;
1755
- type: "betterstack";
1756
- url: string;
1728
+ error: {
1729
+ code: "api_key_malformed";
1730
+ details?: readonly Response.error.Detail[] | undefined;
1731
+ message: string;
1757
1732
  };
1758
- secret: string;
1733
+ requestId: string;
1759
1734
  };
1760
1735
  outputFormat: "json";
1761
- status: 200;
1736
+ status: 400;
1762
1737
  input: {
1763
1738
  json: {
1764
1739
  chainId?: unknown;
@@ -2091,14 +2066,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2091
2066
  } | {
2092
2067
  output: {
2093
2068
  error: {
2094
- code: "api_key_malformed";
2069
+ code: "api_key_invalid" | "api_key_missing";
2095
2070
  details?: readonly Response.error.Detail[] | undefined;
2096
2071
  message: string;
2097
2072
  };
2098
2073
  requestId: string;
2099
2074
  };
2100
2075
  outputFormat: "json";
2101
- status: 400;
2076
+ status: 401;
2102
2077
  input: {
2103
2078
  json: {
2104
2079
  chainId?: unknown;
@@ -2431,14 +2406,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2431
2406
  } | {
2432
2407
  output: {
2433
2408
  error: {
2434
- code: "body_invalid";
2409
+ code: "api_key_forbidden";
2435
2410
  details?: readonly Response.error.Detail[] | undefined;
2436
2411
  message: string;
2437
2412
  };
2438
2413
  requestId: string;
2439
2414
  };
2440
2415
  outputFormat: "json";
2441
- status: 400;
2416
+ status: 403;
2442
2417
  input: {
2443
2418
  json: {
2444
2419
  chainId?: unknown;
@@ -2771,14 +2746,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
2771
2746
  } | {
2772
2747
  output: {
2773
2748
  error: {
2774
- code: "chain_id_unsupported";
2749
+ code: "payment_required" | "rate_limit_exceeded";
2775
2750
  details?: readonly Response.error.Detail[] | undefined;
2776
2751
  message: string;
2777
2752
  };
2778
2753
  requestId: string;
2779
2754
  };
2780
2755
  outputFormat: "json";
2781
- status: 400;
2756
+ status: 429;
2782
2757
  input: {
2783
2758
  json: {
2784
2759
  chainId?: unknown;
@@ -3111,14 +3086,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3111
3086
  } | {
3112
3087
  output: {
3113
3088
  error: {
3114
- code: "url_invalid";
3089
+ code: "upstream_error";
3115
3090
  details?: readonly Response.error.Detail[] | undefined;
3116
3091
  message: string;
3117
3092
  };
3118
3093
  requestId: string;
3119
3094
  };
3120
3095
  outputFormat: "json";
3121
- status: 400;
3096
+ status: 502;
3122
3097
  input: {
3123
3098
  json: {
3124
3099
  chainId?: unknown;
@@ -3451,14 +3426,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3451
3426
  } | {
3452
3427
  output: {
3453
3428
  error: {
3454
- code: "filters_invalid";
3429
+ code: "webhooks_not_enabled";
3455
3430
  details?: readonly Response.error.Detail[] | undefined;
3456
3431
  message: string;
3457
3432
  };
3458
3433
  requestId: string;
3459
3434
  };
3460
3435
  outputFormat: "json";
3461
- status: 400;
3436
+ status: 404;
3462
3437
  input: {
3463
3438
  json: {
3464
3439
  chainId?: unknown;
@@ -3791,14 +3766,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
3791
3766
  } | {
3792
3767
  output: {
3793
3768
  error: {
3794
- code: "api_key_invalid" | "api_key_missing";
3769
+ code: "body_invalid";
3795
3770
  details?: readonly Response.error.Detail[] | undefined;
3796
3771
  message: string;
3797
3772
  };
3798
3773
  requestId: string;
3799
3774
  };
3800
3775
  outputFormat: "json";
3801
- status: 401;
3776
+ status: 400;
3802
3777
  input: {
3803
3778
  json: {
3804
3779
  chainId?: unknown;
@@ -4471,14 +4446,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
4471
4446
  } | {
4472
4447
  output: {
4473
4448
  error: {
4474
- code: "api_key_forbidden";
4449
+ code: "chain_id_unsupported";
4475
4450
  details?: readonly Response.error.Detail[] | undefined;
4476
4451
  message: string;
4477
4452
  };
4478
4453
  requestId: string;
4479
4454
  };
4480
4455
  outputFormat: "json";
4481
- status: 403;
4456
+ status: 400;
4482
4457
  input: {
4483
4458
  json: {
4484
4459
  chainId?: unknown;
@@ -4810,15 +4785,40 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
4810
4785
  };
4811
4786
  } | {
4812
4787
  output: {
4813
- error: {
4814
- code: "limit_exceeded";
4815
- details?: readonly Response.error.Detail[] | undefined;
4816
- message: string;
4788
+ chainId: number;
4789
+ context?: {
4790
+ description?: string | undefined;
4791
+ metadata?: {
4792
+ [x: string]: string;
4793
+ } | undefined;
4794
+ title?: string | undefined;
4795
+ } | undefined;
4796
+ createdAt: string;
4797
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
4798
+ expiresAt?: string | undefined;
4799
+ failureCount: number;
4800
+ filters: {
4801
+ [x: string]: import("hono/utils/types").JSONValue;
4817
4802
  };
4818
- requestId: string;
4803
+ id: string;
4804
+ lastDeliveryAt?: string | undefined;
4805
+ status: "active" | "disabled" | "paused";
4806
+ updatedAt: string;
4807
+ destination: {
4808
+ type: "url";
4809
+ url: string;
4810
+ } | {
4811
+ type: "slack";
4812
+ url: string;
4813
+ } | {
4814
+ token: string;
4815
+ type: "betterstack";
4816
+ url: string;
4817
+ };
4818
+ secret: string;
4819
4819
  };
4820
4820
  outputFormat: "json";
4821
- status: 403;
4821
+ status: 200;
4822
4822
  input: {
4823
4823
  json: {
4824
4824
  chainId?: unknown;
@@ -5151,14 +5151,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5151
5151
  } | {
5152
5152
  output: {
5153
5153
  error: {
5154
- code: "webhooks_not_enabled";
5154
+ code: "url_invalid";
5155
5155
  details?: readonly Response.error.Detail[] | undefined;
5156
5156
  message: string;
5157
5157
  };
5158
5158
  requestId: string;
5159
5159
  };
5160
5160
  outputFormat: "json";
5161
- status: 404;
5161
+ status: 400;
5162
5162
  input: {
5163
5163
  json: {
5164
5164
  chainId?: unknown;
@@ -5491,14 +5491,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5491
5491
  } | {
5492
5492
  output: {
5493
5493
  error: {
5494
- code: "payment_required" | "rate_limit_exceeded";
5494
+ code: "filters_invalid";
5495
5495
  details?: readonly Response.error.Detail[] | undefined;
5496
5496
  message: string;
5497
5497
  };
5498
5498
  requestId: string;
5499
5499
  };
5500
5500
  outputFormat: "json";
5501
- status: 429;
5501
+ status: 400;
5502
5502
  input: {
5503
5503
  json: {
5504
5504
  chainId?: unknown;
@@ -5831,14 +5831,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
5831
5831
  } | {
5832
5832
  output: {
5833
5833
  error: {
5834
- code: "upstream_error";
5834
+ code: "limit_exceeded";
5835
5835
  details?: readonly Response.error.Detail[] | undefined;
5836
5836
  message: string;
5837
5837
  };
5838
5838
  requestId: string;
5839
5839
  };
5840
5840
  outputFormat: "json";
5841
- status: 502;
5841
+ status: 403;
5842
5842
  input: {
5843
5843
  json: {
5844
5844
  chainId?: unknown;
@@ -6173,56 +6173,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6173
6173
  } & {
6174
6174
  "/v1/webhooks": {
6175
6175
  $get: {
6176
- output: {
6177
- data: {
6178
- chainId: number;
6179
- context?: {
6180
- description?: string | undefined;
6181
- metadata?: {
6182
- [x: string]: string;
6183
- } | undefined;
6184
- title?: string | undefined;
6185
- } | undefined;
6186
- createdAt: string;
6187
- destination: {
6188
- type: "url";
6189
- url: string;
6190
- } | {
6191
- type: "slack";
6192
- url: "https://hooks.slack.com/…";
6193
- } | {
6194
- token: "[redacted]";
6195
- type: "betterstack";
6196
- url: string;
6197
- };
6198
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6199
- expiresAt?: string | undefined;
6200
- failureCount: number;
6201
- filters: {
6202
- [x: string]: import("hono/utils/types").JSONValue;
6203
- };
6204
- id: string;
6205
- lastDeliveryAt?: string | undefined;
6206
- status: "active" | "disabled" | "paused";
6207
- updatedAt: string;
6208
- }[];
6209
- meta?: {
6210
- totalCountCapped: boolean;
6211
- totalCount: number;
6212
- } | undefined;
6213
- nextCursor: string | null;
6214
- };
6215
- outputFormat: "json";
6216
- status: 200;
6217
- input: {
6218
- query?: {
6219
- cursor?: string | string[];
6220
- include?: string | string[];
6221
- limit?: string | string[];
6222
- page?: string | string[];
6223
- } | undefined;
6224
- };
6225
- } | {
6226
6176
  output: {
6227
6177
  error: {
6228
6178
  code: "api_key_malformed";
@@ -6244,14 +6194,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6244
6194
  } | {
6245
6195
  output: {
6246
6196
  error: {
6247
- code: "query_invalid";
6197
+ code: "api_key_invalid" | "api_key_missing";
6248
6198
  details?: readonly Response.error.Detail[] | undefined;
6249
6199
  message: string;
6250
6200
  };
6251
6201
  requestId: string;
6252
6202
  };
6253
6203
  outputFormat: "json";
6254
- status: 400;
6204
+ status: 401;
6255
6205
  input: {
6256
6206
  query?: {
6257
6207
  cursor?: string | string[];
@@ -6263,14 +6213,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6263
6213
  } | {
6264
6214
  output: {
6265
6215
  error: {
6266
- code: "api_key_invalid" | "api_key_missing";
6216
+ code: "api_key_forbidden";
6267
6217
  details?: readonly Response.error.Detail[] | undefined;
6268
6218
  message: string;
6269
6219
  };
6270
6220
  requestId: string;
6271
6221
  };
6272
6222
  outputFormat: "json";
6273
- status: 401;
6223
+ status: 403;
6274
6224
  input: {
6275
6225
  query?: {
6276
6226
  cursor?: string | string[];
@@ -6282,14 +6232,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6282
6232
  } | {
6283
6233
  output: {
6284
6234
  error: {
6285
- code: "unauthorized";
6235
+ code: "payment_required" | "rate_limit_exceeded";
6286
6236
  details?: readonly Response.error.Detail[] | undefined;
6287
6237
  message: string;
6288
6238
  };
6289
6239
  requestId: string;
6290
6240
  };
6291
6241
  outputFormat: "json";
6292
- status: 401;
6242
+ status: 429;
6293
6243
  input: {
6294
6244
  query?: {
6295
6245
  cursor?: string | string[];
@@ -6301,14 +6251,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6301
6251
  } | {
6302
6252
  output: {
6303
6253
  error: {
6304
- code: "api_key_forbidden";
6254
+ code: "query_invalid";
6305
6255
  details?: readonly Response.error.Detail[] | undefined;
6306
6256
  message: string;
6307
6257
  };
6308
6258
  requestId: string;
6309
6259
  };
6310
6260
  outputFormat: "json";
6311
- status: 403;
6261
+ status: 400;
6312
6262
  input: {
6313
6263
  query?: {
6314
6264
  cursor?: string | string[];
@@ -6320,14 +6270,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6320
6270
  } | {
6321
6271
  output: {
6322
6272
  error: {
6323
- code: "webhooks_not_enabled";
6273
+ code: "upstream_error";
6324
6274
  details?: readonly Response.error.Detail[] | undefined;
6325
6275
  message: string;
6326
6276
  };
6327
6277
  requestId: string;
6328
6278
  };
6329
6279
  outputFormat: "json";
6330
- status: 404;
6280
+ status: 502;
6331
6281
  input: {
6332
6282
  query?: {
6333
6283
  cursor?: string | string[];
@@ -6339,14 +6289,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6339
6289
  } | {
6340
6290
  output: {
6341
6291
  error: {
6342
- code: "payment_required" | "rate_limit_exceeded";
6292
+ code: "webhooks_not_enabled";
6343
6293
  details?: readonly Response.error.Detail[] | undefined;
6344
6294
  message: string;
6345
6295
  };
6346
6296
  requestId: string;
6347
6297
  };
6348
6298
  outputFormat: "json";
6349
- status: 429;
6299
+ status: 404;
6350
6300
  input: {
6351
6301
  query?: {
6352
6302
  cursor?: string | string[];
@@ -6358,14 +6308,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6358
6308
  } | {
6359
6309
  output: {
6360
6310
  error: {
6361
- code: "upstream_error";
6311
+ code: "unauthorized";
6362
6312
  details?: readonly Response.error.Detail[] | undefined;
6363
6313
  message: string;
6364
6314
  };
6365
6315
  requestId: string;
6366
6316
  };
6367
6317
  outputFormat: "json";
6368
- status: 502;
6318
+ status: 401;
6369
6319
  input: {
6370
6320
  query?: {
6371
6321
  cursor?: string | string[];
@@ -6374,51 +6324,61 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6374
6324
  page?: string | string[];
6375
6325
  } | undefined;
6376
6326
  };
6377
- };
6378
- };
6379
- } & {
6380
- "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
6381
- $get: {
6327
+ } | {
6382
6328
  output: {
6383
- chainId: number;
6384
- context?: {
6385
- description?: string | undefined;
6386
- metadata?: {
6387
- [x: string]: string;
6329
+ data: {
6330
+ chainId: number;
6331
+ context?: {
6332
+ description?: string | undefined;
6333
+ metadata?: {
6334
+ [x: string]: string;
6335
+ } | undefined;
6336
+ title?: string | undefined;
6388
6337
  } | undefined;
6389
- title?: string | undefined;
6390
- } | undefined;
6391
- createdAt: string;
6392
- destination: {
6393
- type: "url";
6394
- url: string;
6395
- } | {
6396
- type: "slack";
6397
- url: "https://hooks.slack.com/…";
6398
- } | {
6399
- token: "[redacted]";
6400
- type: "betterstack";
6401
- url: string;
6402
- };
6403
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6404
- expiresAt?: string | undefined;
6405
- failureCount: number;
6406
- filters: {
6407
- [x: string]: import("hono/utils/types").JSONValue;
6408
- };
6409
- id: string;
6410
- lastDeliveryAt?: string | undefined;
6411
- status: "active" | "disabled" | "paused";
6412
- updatedAt: string;
6338
+ createdAt: string;
6339
+ destination: {
6340
+ type: "url";
6341
+ url: string;
6342
+ } | {
6343
+ type: "slack";
6344
+ url: "https://hooks.slack.com/…";
6345
+ } | {
6346
+ token: "[redacted]";
6347
+ type: "betterstack";
6348
+ url: string;
6349
+ };
6350
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6351
+ expiresAt?: string | undefined;
6352
+ failureCount: number;
6353
+ filters: {
6354
+ [x: string]: import("hono/utils/types").JSONValue;
6355
+ };
6356
+ id: string;
6357
+ lastDeliveryAt?: string | undefined;
6358
+ status: "active" | "disabled" | "paused";
6359
+ updatedAt: string;
6360
+ }[];
6361
+ meta?: {
6362
+ totalCountCapped: boolean;
6363
+ totalCount: number;
6364
+ } | undefined;
6365
+ nextCursor: string | null;
6413
6366
  };
6414
6367
  outputFormat: "json";
6415
6368
  status: 200;
6416
6369
  input: {
6417
- param: {
6418
- id: string;
6419
- };
6370
+ query?: {
6371
+ cursor?: string | string[];
6372
+ include?: string | string[];
6373
+ limit?: string | string[];
6374
+ page?: string | string[];
6375
+ } | undefined;
6420
6376
  };
6421
- } | {
6377
+ };
6378
+ };
6379
+ } & {
6380
+ "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
6381
+ $get: {
6422
6382
  output: {
6423
6383
  error: {
6424
6384
  code: "api_key_malformed";
@@ -6437,14 +6397,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6437
6397
  } | {
6438
6398
  output: {
6439
6399
  error: {
6440
- code: "param_invalid";
6400
+ code: "api_key_invalid" | "api_key_missing";
6441
6401
  details?: readonly Response.error.Detail[] | undefined;
6442
6402
  message: string;
6443
6403
  };
6444
6404
  requestId: string;
6445
6405
  };
6446
6406
  outputFormat: "json";
6447
- status: 400;
6407
+ status: 401;
6448
6408
  input: {
6449
6409
  param: {
6450
6410
  id: string;
@@ -6453,14 +6413,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6453
6413
  } | {
6454
6414
  output: {
6455
6415
  error: {
6456
- code: "api_key_invalid" | "api_key_missing";
6416
+ code: "api_key_forbidden";
6457
6417
  details?: readonly Response.error.Detail[] | undefined;
6458
6418
  message: string;
6459
6419
  };
6460
6420
  requestId: string;
6461
6421
  };
6462
6422
  outputFormat: "json";
6463
- status: 401;
6423
+ status: 403;
6464
6424
  input: {
6465
6425
  param: {
6466
6426
  id: string;
@@ -6469,14 +6429,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6469
6429
  } | {
6470
6430
  output: {
6471
6431
  error: {
6472
- code: "unauthorized";
6432
+ code: "payment_required" | "rate_limit_exceeded";
6473
6433
  details?: readonly Response.error.Detail[] | undefined;
6474
6434
  message: string;
6475
6435
  };
6476
6436
  requestId: string;
6477
6437
  };
6478
6438
  outputFormat: "json";
6479
- status: 401;
6439
+ status: 429;
6480
6440
  input: {
6481
6441
  param: {
6482
6442
  id: string;
@@ -6485,14 +6445,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6485
6445
  } | {
6486
6446
  output: {
6487
6447
  error: {
6488
- code: "api_key_forbidden";
6448
+ code: "upstream_error";
6489
6449
  details?: readonly Response.error.Detail[] | undefined;
6490
6450
  message: string;
6491
6451
  };
6492
6452
  requestId: string;
6493
6453
  };
6494
6454
  outputFormat: "json";
6495
- status: 403;
6455
+ status: 502;
6496
6456
  input: {
6497
6457
  param: {
6498
6458
  id: string;
@@ -6517,14 +6477,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6517
6477
  } | {
6518
6478
  output: {
6519
6479
  error: {
6520
- code: "webhook_not_found";
6480
+ code: "unauthorized";
6521
6481
  details?: readonly Response.error.Detail[] | undefined;
6522
6482
  message: string;
6523
6483
  };
6524
6484
  requestId: string;
6525
6485
  };
6526
6486
  outputFormat: "json";
6527
- status: 404;
6487
+ status: 401;
6528
6488
  input: {
6529
6489
  param: {
6530
6490
  id: string;
@@ -6533,14 +6493,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6533
6493
  } | {
6534
6494
  output: {
6535
6495
  error: {
6536
- code: "payment_required" | "rate_limit_exceeded";
6496
+ code: "param_invalid";
6537
6497
  details?: readonly Response.error.Detail[] | undefined;
6538
6498
  message: string;
6539
6499
  };
6540
6500
  requestId: string;
6541
6501
  };
6542
6502
  outputFormat: "json";
6543
- status: 429;
6503
+ status: 400;
6544
6504
  input: {
6545
6505
  param: {
6546
6506
  id: string;
@@ -6549,42 +6509,51 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6549
6509
  } | {
6550
6510
  output: {
6551
6511
  error: {
6552
- code: "upstream_error";
6512
+ code: "webhook_not_found";
6553
6513
  details?: readonly Response.error.Detail[] | undefined;
6554
6514
  message: string;
6555
6515
  };
6556
6516
  requestId: string;
6557
6517
  };
6558
6518
  outputFormat: "json";
6559
- status: 502;
6519
+ status: 404;
6560
6520
  input: {
6561
6521
  param: {
6562
6522
  id: string;
6563
6523
  };
6564
6524
  };
6565
- };
6566
- };
6567
- } & {
6568
- "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
6569
- $get: {
6525
+ } | {
6570
6526
  output: {
6571
- data: {
6572
- attempt: number;
6573
- createdAt: string;
6574
- error?: string | undefined;
6575
- eventId: string;
6576
- id: string;
6577
- requestUrl: string;
6578
- responseMs?: number | undefined;
6579
- responseStatus?: number | undefined;
6580
- status: "failed" | "pending" | "succeeded";
6581
- subscriptionId: string;
6582
- }[];
6583
- meta?: {
6584
- totalCountCapped: boolean;
6585
- totalCount: number;
6527
+ chainId: number;
6528
+ context?: {
6529
+ description?: string | undefined;
6530
+ metadata?: {
6531
+ [x: string]: string;
6532
+ } | undefined;
6533
+ title?: string | undefined;
6586
6534
  } | undefined;
6587
- nextCursor: string | null;
6535
+ createdAt: string;
6536
+ destination: {
6537
+ type: "url";
6538
+ url: string;
6539
+ } | {
6540
+ type: "slack";
6541
+ url: "https://hooks.slack.com/…";
6542
+ } | {
6543
+ token: "[redacted]";
6544
+ type: "betterstack";
6545
+ url: string;
6546
+ };
6547
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
6548
+ expiresAt?: string | undefined;
6549
+ failureCount: number;
6550
+ filters: {
6551
+ [x: string]: import("hono/utils/types").JSONValue;
6552
+ };
6553
+ id: string;
6554
+ lastDeliveryAt?: string | undefined;
6555
+ status: "active" | "disabled" | "paused";
6556
+ updatedAt: string;
6588
6557
  };
6589
6558
  outputFormat: "json";
6590
6559
  status: 200;
@@ -6592,15 +6561,12 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6592
6561
  param: {
6593
6562
  id: string;
6594
6563
  };
6595
- } & {
6596
- query?: {
6597
- cursor?: string | string[];
6598
- include?: string | string[];
6599
- limit?: string | string[];
6600
- page?: string | string[];
6601
- } | undefined;
6602
6564
  };
6603
- } | {
6565
+ };
6566
+ };
6567
+ } & {
6568
+ "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries": {
6569
+ $get: {
6604
6570
  output: {
6605
6571
  error: {
6606
6572
  code: "api_key_malformed";
@@ -6626,14 +6592,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6626
6592
  } | {
6627
6593
  output: {
6628
6594
  error: {
6629
- code: "query_invalid";
6595
+ code: "api_key_invalid" | "api_key_missing";
6630
6596
  details?: readonly Response.error.Detail[] | undefined;
6631
6597
  message: string;
6632
6598
  };
6633
6599
  requestId: string;
6634
6600
  };
6635
6601
  outputFormat: "json";
6636
- status: 400;
6602
+ status: 401;
6637
6603
  input: {
6638
6604
  param: {
6639
6605
  id: string;
@@ -6649,14 +6615,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6649
6615
  } | {
6650
6616
  output: {
6651
6617
  error: {
6652
- code: "param_invalid";
6618
+ code: "api_key_forbidden";
6653
6619
  details?: readonly Response.error.Detail[] | undefined;
6654
6620
  message: string;
6655
6621
  };
6656
6622
  requestId: string;
6657
6623
  };
6658
6624
  outputFormat: "json";
6659
- status: 400;
6625
+ status: 403;
6660
6626
  input: {
6661
6627
  param: {
6662
6628
  id: string;
@@ -6672,14 +6638,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6672
6638
  } | {
6673
6639
  output: {
6674
6640
  error: {
6675
- code: "api_key_invalid" | "api_key_missing";
6641
+ code: "payment_required" | "rate_limit_exceeded";
6676
6642
  details?: readonly Response.error.Detail[] | undefined;
6677
6643
  message: string;
6678
6644
  };
6679
6645
  requestId: string;
6680
6646
  };
6681
6647
  outputFormat: "json";
6682
- status: 401;
6648
+ status: 429;
6683
6649
  input: {
6684
6650
  param: {
6685
6651
  id: string;
@@ -6695,14 +6661,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6695
6661
  } | {
6696
6662
  output: {
6697
6663
  error: {
6698
- code: "unauthorized";
6664
+ code: "query_invalid";
6699
6665
  details?: readonly Response.error.Detail[] | undefined;
6700
6666
  message: string;
6701
6667
  };
6702
6668
  requestId: string;
6703
6669
  };
6704
6670
  outputFormat: "json";
6705
- status: 401;
6671
+ status: 400;
6706
6672
  input: {
6707
6673
  param: {
6708
6674
  id: string;
@@ -6718,14 +6684,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6718
6684
  } | {
6719
6685
  output: {
6720
6686
  error: {
6721
- code: "api_key_forbidden";
6687
+ code: "upstream_error";
6722
6688
  details?: readonly Response.error.Detail[] | undefined;
6723
6689
  message: string;
6724
6690
  };
6725
6691
  requestId: string;
6726
6692
  };
6727
6693
  outputFormat: "json";
6728
- status: 403;
6694
+ status: 502;
6729
6695
  input: {
6730
6696
  param: {
6731
6697
  id: string;
@@ -6764,14 +6730,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6764
6730
  } | {
6765
6731
  output: {
6766
6732
  error: {
6767
- code: "webhook_not_found";
6733
+ code: "unauthorized";
6768
6734
  details?: readonly Response.error.Detail[] | undefined;
6769
6735
  message: string;
6770
6736
  };
6771
6737
  requestId: string;
6772
6738
  };
6773
6739
  outputFormat: "json";
6774
- status: 404;
6740
+ status: 401;
6775
6741
  input: {
6776
6742
  param: {
6777
6743
  id: string;
@@ -6787,14 +6753,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6787
6753
  } | {
6788
6754
  output: {
6789
6755
  error: {
6790
- code: "payment_required" | "rate_limit_exceeded";
6756
+ code: "param_invalid";
6791
6757
  details?: readonly Response.error.Detail[] | undefined;
6792
6758
  message: string;
6793
6759
  };
6794
6760
  requestId: string;
6795
6761
  };
6796
6762
  outputFormat: "json";
6797
- status: 429;
6763
+ status: 400;
6798
6764
  input: {
6799
6765
  param: {
6800
6766
  id: string;
@@ -6810,14 +6776,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6810
6776
  } | {
6811
6777
  output: {
6812
6778
  error: {
6813
- code: "upstream_error";
6779
+ code: "webhook_not_found";
6814
6780
  details?: readonly Response.error.Detail[] | undefined;
6815
6781
  message: string;
6816
6782
  };
6817
6783
  requestId: string;
6818
6784
  };
6819
6785
  outputFormat: "json";
6820
- status: 502;
6786
+ status: 404;
6821
6787
  input: {
6822
6788
  param: {
6823
6789
  id: string;
@@ -6830,17 +6796,25 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6830
6796
  page?: string | string[];
6831
6797
  } | undefined;
6832
6798
  };
6833
- };
6834
- };
6835
- } & {
6836
- "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/ping": {
6837
- $post: {
6799
+ } | {
6838
6800
  output: {
6839
- delivered: boolean;
6840
- error?: string | undefined;
6841
- eventId: string;
6842
- responseMs?: number | undefined;
6843
- responseStatus?: number | undefined;
6801
+ data: {
6802
+ attempt: number;
6803
+ createdAt: string;
6804
+ error?: string | undefined;
6805
+ eventId: string;
6806
+ id: string;
6807
+ requestUrl: string;
6808
+ responseMs?: number | undefined;
6809
+ responseStatus?: number | undefined;
6810
+ status: "failed" | "pending" | "succeeded";
6811
+ subscriptionId: string;
6812
+ }[];
6813
+ meta?: {
6814
+ totalCountCapped: boolean;
6815
+ totalCount: number;
6816
+ } | undefined;
6817
+ nextCursor: string | null;
6844
6818
  };
6845
6819
  outputFormat: "json";
6846
6820
  status: 200;
@@ -6848,8 +6822,19 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6848
6822
  param: {
6849
6823
  id: string;
6850
6824
  };
6825
+ } & {
6826
+ query?: {
6827
+ cursor?: string | string[];
6828
+ include?: string | string[];
6829
+ limit?: string | string[];
6830
+ page?: string | string[];
6831
+ } | undefined;
6851
6832
  };
6852
- } | {
6833
+ };
6834
+ };
6835
+ } & {
6836
+ "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/ping": {
6837
+ $post: {
6853
6838
  output: {
6854
6839
  error: {
6855
6840
  code: "api_key_malformed";
@@ -6868,14 +6853,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6868
6853
  } | {
6869
6854
  output: {
6870
6855
  error: {
6871
- code: "param_invalid";
6856
+ code: "api_key_invalid" | "api_key_missing";
6872
6857
  details?: readonly Response.error.Detail[] | undefined;
6873
6858
  message: string;
6874
6859
  };
6875
6860
  requestId: string;
6876
6861
  };
6877
6862
  outputFormat: "json";
6878
- status: 400;
6863
+ status: 401;
6879
6864
  input: {
6880
6865
  param: {
6881
6866
  id: string;
@@ -6884,14 +6869,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6884
6869
  } | {
6885
6870
  output: {
6886
6871
  error: {
6887
- code: "api_key_invalid" | "api_key_missing";
6872
+ code: "api_key_forbidden";
6888
6873
  details?: readonly Response.error.Detail[] | undefined;
6889
6874
  message: string;
6890
6875
  };
6891
6876
  requestId: string;
6892
6877
  };
6893
6878
  outputFormat: "json";
6894
- status: 401;
6879
+ status: 403;
6895
6880
  input: {
6896
6881
  param: {
6897
6882
  id: string;
@@ -6900,14 +6885,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6900
6885
  } | {
6901
6886
  output: {
6902
6887
  error: {
6903
- code: "unauthorized";
6888
+ code: "payment_required" | "rate_limit_exceeded";
6904
6889
  details?: readonly Response.error.Detail[] | undefined;
6905
6890
  message: string;
6906
6891
  };
6907
6892
  requestId: string;
6908
6893
  };
6909
6894
  outputFormat: "json";
6910
- status: 401;
6895
+ status: 429;
6911
6896
  input: {
6912
6897
  param: {
6913
6898
  id: string;
@@ -6916,14 +6901,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6916
6901
  } | {
6917
6902
  output: {
6918
6903
  error: {
6919
- code: "api_key_forbidden";
6904
+ code: "upstream_error";
6920
6905
  details?: readonly Response.error.Detail[] | undefined;
6921
6906
  message: string;
6922
6907
  };
6923
6908
  requestId: string;
6924
6909
  };
6925
6910
  outputFormat: "json";
6926
- status: 403;
6911
+ status: 502;
6927
6912
  input: {
6928
6913
  param: {
6929
6914
  id: string;
@@ -6948,14 +6933,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6948
6933
  } | {
6949
6934
  output: {
6950
6935
  error: {
6951
- code: "webhook_not_found";
6936
+ code: "unauthorized";
6952
6937
  details?: readonly Response.error.Detail[] | undefined;
6953
6938
  message: string;
6954
6939
  };
6955
6940
  requestId: string;
6956
6941
  };
6957
6942
  outputFormat: "json";
6958
- status: 404;
6943
+ status: 401;
6959
6944
  input: {
6960
6945
  param: {
6961
6946
  id: string;
@@ -6964,14 +6949,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6964
6949
  } | {
6965
6950
  output: {
6966
6951
  error: {
6967
- code: "payment_required" | "rate_limit_exceeded";
6952
+ code: "param_invalid";
6968
6953
  details?: readonly Response.error.Detail[] | undefined;
6969
6954
  message: string;
6970
6955
  };
6971
6956
  requestId: string;
6972
6957
  };
6973
6958
  outputFormat: "json";
6974
- status: 429;
6959
+ status: 400;
6975
6960
  input: {
6976
6961
  param: {
6977
6962
  id: string;
@@ -6980,24 +6965,20 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
6980
6965
  } | {
6981
6966
  output: {
6982
6967
  error: {
6983
- code: "upstream_error";
6968
+ code: "webhook_not_found";
6984
6969
  details?: readonly Response.error.Detail[] | undefined;
6985
6970
  message: string;
6986
6971
  };
6987
6972
  requestId: string;
6988
6973
  };
6989
6974
  outputFormat: "json";
6990
- status: 502;
6975
+ status: 404;
6991
6976
  input: {
6992
6977
  param: {
6993
6978
  id: string;
6994
6979
  };
6995
6980
  };
6996
- };
6997
- };
6998
- } & {
6999
- "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
7000
- $post: {
6981
+ } | {
7001
6982
  output: {
7002
6983
  delivered: boolean;
7003
6984
  error?: string | undefined;
@@ -7009,11 +6990,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7009
6990
  status: 200;
7010
6991
  input: {
7011
6992
  param: {
7012
- deliveryId: string;
7013
6993
  id: string;
7014
6994
  };
7015
6995
  };
7016
- } | {
6996
+ };
6997
+ };
6998
+ } & {
6999
+ "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}/deliveries/:deliveryId/retry": {
7000
+ $post: {
7017
7001
  output: {
7018
7002
  error: {
7019
7003
  code: "api_key_malformed";
@@ -7033,14 +7017,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7033
7017
  } | {
7034
7018
  output: {
7035
7019
  error: {
7036
- code: "param_invalid";
7020
+ code: "api_key_invalid" | "api_key_missing";
7037
7021
  details?: readonly Response.error.Detail[] | undefined;
7038
7022
  message: string;
7039
7023
  };
7040
7024
  requestId: string;
7041
7025
  };
7042
7026
  outputFormat: "json";
7043
- status: 400;
7027
+ status: 401;
7044
7028
  input: {
7045
7029
  param: {
7046
7030
  deliveryId: string;
@@ -7050,14 +7034,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7050
7034
  } | {
7051
7035
  output: {
7052
7036
  error: {
7053
- code: "api_key_invalid" | "api_key_missing";
7037
+ code: "api_key_forbidden";
7054
7038
  details?: readonly Response.error.Detail[] | undefined;
7055
7039
  message: string;
7056
7040
  };
7057
7041
  requestId: string;
7058
7042
  };
7059
7043
  outputFormat: "json";
7060
- status: 401;
7044
+ status: 403;
7061
7045
  input: {
7062
7046
  param: {
7063
7047
  deliveryId: string;
@@ -7067,14 +7051,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7067
7051
  } | {
7068
7052
  output: {
7069
7053
  error: {
7070
- code: "unauthorized";
7054
+ code: "payment_required" | "rate_limit_exceeded";
7071
7055
  details?: readonly Response.error.Detail[] | undefined;
7072
7056
  message: string;
7073
7057
  };
7074
7058
  requestId: string;
7075
7059
  };
7076
7060
  outputFormat: "json";
7077
- status: 401;
7061
+ status: 429;
7078
7062
  input: {
7079
7063
  param: {
7080
7064
  deliveryId: string;
@@ -7084,14 +7068,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7084
7068
  } | {
7085
7069
  output: {
7086
7070
  error: {
7087
- code: "api_key_forbidden";
7071
+ code: "upstream_error";
7088
7072
  details?: readonly Response.error.Detail[] | undefined;
7089
7073
  message: string;
7090
7074
  };
7091
7075
  requestId: string;
7092
7076
  };
7093
7077
  outputFormat: "json";
7094
- status: 403;
7078
+ status: 502;
7095
7079
  input: {
7096
7080
  param: {
7097
7081
  deliveryId: string;
@@ -7118,14 +7102,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7118
7102
  } | {
7119
7103
  output: {
7120
7104
  error: {
7121
- code: "webhook_not_found";
7105
+ code: "unauthorized";
7122
7106
  details?: readonly Response.error.Detail[] | undefined;
7123
7107
  message: string;
7124
7108
  };
7125
7109
  requestId: string;
7126
7110
  };
7127
7111
  outputFormat: "json";
7128
- status: 404;
7112
+ status: 401;
7129
7113
  input: {
7130
7114
  param: {
7131
7115
  deliveryId: string;
@@ -7135,14 +7119,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7135
7119
  } | {
7136
7120
  output: {
7137
7121
  error: {
7138
- code: "delivery_not_found";
7122
+ code: "param_invalid";
7139
7123
  details?: readonly Response.error.Detail[] | undefined;
7140
7124
  message: string;
7141
7125
  };
7142
7126
  requestId: string;
7143
7127
  };
7144
7128
  outputFormat: "json";
7145
- status: 404;
7129
+ status: 400;
7146
7130
  input: {
7147
7131
  param: {
7148
7132
  deliveryId: string;
@@ -7152,14 +7136,30 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7152
7136
  } | {
7153
7137
  output: {
7154
7138
  error: {
7155
- code: "payment_required" | "rate_limit_exceeded";
7139
+ code: "webhook_not_found";
7156
7140
  details?: readonly Response.error.Detail[] | undefined;
7157
7141
  message: string;
7158
7142
  };
7159
7143
  requestId: string;
7160
7144
  };
7161
7145
  outputFormat: "json";
7162
- status: 429;
7146
+ status: 404;
7147
+ input: {
7148
+ param: {
7149
+ deliveryId: string;
7150
+ id: string;
7151
+ };
7152
+ };
7153
+ } | {
7154
+ output: {
7155
+ delivered: boolean;
7156
+ error?: string | undefined;
7157
+ eventId: string;
7158
+ responseMs?: number | undefined;
7159
+ responseStatus?: number | undefined;
7160
+ };
7161
+ outputFormat: "json";
7162
+ status: 200;
7163
7163
  input: {
7164
7164
  param: {
7165
7165
  deliveryId: string;
@@ -7169,14 +7169,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7169
7169
  } | {
7170
7170
  output: {
7171
7171
  error: {
7172
- code: "upstream_error";
7172
+ code: "delivery_not_found";
7173
7173
  details?: readonly Response.error.Detail[] | undefined;
7174
7174
  message: string;
7175
7175
  };
7176
7176
  requestId: string;
7177
7177
  };
7178
7178
  outputFormat: "json";
7179
- status: 502;
7179
+ status: 404;
7180
7180
  input: {
7181
7181
  param: {
7182
7182
  deliveryId: string;
@@ -7189,39 +7189,15 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7189
7189
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
7190
7190
  $patch: {
7191
7191
  output: {
7192
- chainId: number;
7193
- context?: {
7194
- description?: string | undefined;
7195
- metadata?: {
7196
- [x: string]: string;
7197
- } | undefined;
7198
- title?: string | undefined;
7199
- } | undefined;
7200
- createdAt: string;
7201
- destination: {
7202
- type: "url";
7203
- url: string;
7204
- } | {
7205
- type: "slack";
7206
- url: "https://hooks.slack.com/…";
7207
- } | {
7208
- token: "[redacted]";
7209
- type: "betterstack";
7210
- url: string;
7211
- };
7212
- eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
7213
- expiresAt?: string | undefined;
7214
- failureCount: number;
7215
- filters: {
7216
- [x: string]: import("hono/utils/types").JSONValue;
7192
+ error: {
7193
+ code: "api_key_malformed";
7194
+ details?: readonly Response.error.Detail[] | undefined;
7195
+ message: string;
7217
7196
  };
7218
- id: string;
7219
- lastDeliveryAt?: string | undefined;
7220
- status: "active" | "disabled" | "paused";
7221
- updatedAt: string;
7197
+ requestId: string;
7222
7198
  };
7223
7199
  outputFormat: "json";
7224
- status: 200;
7200
+ status: 400;
7225
7201
  input: {
7226
7202
  param: {
7227
7203
  id: string;
@@ -7251,14 +7227,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7251
7227
  } | {
7252
7228
  output: {
7253
7229
  error: {
7254
- code: "api_key_malformed";
7230
+ code: "api_key_invalid" | "api_key_missing";
7255
7231
  details?: readonly Response.error.Detail[] | undefined;
7256
7232
  message: string;
7257
7233
  };
7258
7234
  requestId: string;
7259
7235
  };
7260
7236
  outputFormat: "json";
7261
- status: 400;
7237
+ status: 401;
7262
7238
  input: {
7263
7239
  param: {
7264
7240
  id: string;
@@ -7288,14 +7264,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7288
7264
  } | {
7289
7265
  output: {
7290
7266
  error: {
7291
- code: "body_invalid";
7267
+ code: "api_key_forbidden";
7292
7268
  details?: readonly Response.error.Detail[] | undefined;
7293
7269
  message: string;
7294
7270
  };
7295
7271
  requestId: string;
7296
7272
  };
7297
7273
  outputFormat: "json";
7298
- status: 400;
7274
+ status: 403;
7299
7275
  input: {
7300
7276
  param: {
7301
7277
  id: string;
@@ -7325,14 +7301,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7325
7301
  } | {
7326
7302
  output: {
7327
7303
  error: {
7328
- code: "url_invalid";
7304
+ code: "payment_required" | "rate_limit_exceeded";
7329
7305
  details?: readonly Response.error.Detail[] | undefined;
7330
7306
  message: string;
7331
7307
  };
7332
7308
  requestId: string;
7333
7309
  };
7334
7310
  outputFormat: "json";
7335
- status: 400;
7311
+ status: 429;
7336
7312
  input: {
7337
7313
  param: {
7338
7314
  id: string;
@@ -7362,14 +7338,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7362
7338
  } | {
7363
7339
  output: {
7364
7340
  error: {
7365
- code: "filters_invalid";
7341
+ code: "upstream_error";
7366
7342
  details?: readonly Response.error.Detail[] | undefined;
7367
7343
  message: string;
7368
7344
  };
7369
7345
  requestId: string;
7370
7346
  };
7371
7347
  outputFormat: "json";
7372
- status: 400;
7348
+ status: 502;
7373
7349
  input: {
7374
7350
  param: {
7375
7351
  id: string;
@@ -7399,14 +7375,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7399
7375
  } | {
7400
7376
  output: {
7401
7377
  error: {
7402
- code: "param_invalid";
7378
+ code: "webhooks_not_enabled";
7403
7379
  details?: readonly Response.error.Detail[] | undefined;
7404
7380
  message: string;
7405
7381
  };
7406
7382
  requestId: string;
7407
7383
  };
7408
7384
  outputFormat: "json";
7409
- status: 400;
7385
+ status: 404;
7410
7386
  input: {
7411
7387
  param: {
7412
7388
  id: string;
@@ -7436,7 +7412,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7436
7412
  } | {
7437
7413
  output: {
7438
7414
  error: {
7439
- code: "destination_transition_invalid";
7415
+ code: "body_invalid";
7440
7416
  details?: readonly Response.error.Detail[] | undefined;
7441
7417
  message: string;
7442
7418
  };
@@ -7473,7 +7449,7 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7473
7449
  } | {
7474
7450
  output: {
7475
7451
  error: {
7476
- code: "api_key_invalid" | "api_key_missing";
7452
+ code: "unauthorized";
7477
7453
  details?: readonly Response.error.Detail[] | undefined;
7478
7454
  message: string;
7479
7455
  };
@@ -7510,14 +7486,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7510
7486
  } | {
7511
7487
  output: {
7512
7488
  error: {
7513
- code: "unauthorized";
7489
+ code: "url_invalid";
7514
7490
  details?: readonly Response.error.Detail[] | undefined;
7515
7491
  message: string;
7516
7492
  };
7517
7493
  requestId: string;
7518
7494
  };
7519
7495
  outputFormat: "json";
7520
- status: 401;
7496
+ status: 400;
7521
7497
  input: {
7522
7498
  param: {
7523
7499
  id: string;
@@ -7547,14 +7523,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7547
7523
  } | {
7548
7524
  output: {
7549
7525
  error: {
7550
- code: "api_key_forbidden";
7526
+ code: "filters_invalid";
7551
7527
  details?: readonly Response.error.Detail[] | undefined;
7552
7528
  message: string;
7553
7529
  };
7554
7530
  requestId: string;
7555
7531
  };
7556
7532
  outputFormat: "json";
7557
- status: 403;
7533
+ status: 400;
7558
7534
  input: {
7559
7535
  param: {
7560
7536
  id: string;
@@ -7584,14 +7560,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7584
7560
  } | {
7585
7561
  output: {
7586
7562
  error: {
7587
- code: "webhooks_not_enabled";
7563
+ code: "param_invalid";
7588
7564
  details?: readonly Response.error.Detail[] | undefined;
7589
7565
  message: string;
7590
7566
  };
7591
7567
  requestId: string;
7592
7568
  };
7593
7569
  outputFormat: "json";
7594
- status: 404;
7570
+ status: 400;
7595
7571
  input: {
7596
7572
  param: {
7597
7573
  id: string;
@@ -7657,15 +7633,39 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7657
7633
  };
7658
7634
  } | {
7659
7635
  output: {
7660
- error: {
7661
- code: "payment_required" | "rate_limit_exceeded";
7662
- details?: readonly Response.error.Detail[] | undefined;
7663
- message: string;
7636
+ chainId: number;
7637
+ context?: {
7638
+ description?: string | undefined;
7639
+ metadata?: {
7640
+ [x: string]: string;
7641
+ } | undefined;
7642
+ title?: string | undefined;
7643
+ } | undefined;
7644
+ createdAt: string;
7645
+ destination: {
7646
+ type: "url";
7647
+ url: string;
7648
+ } | {
7649
+ type: "slack";
7650
+ url: "https://hooks.slack.com/…";
7651
+ } | {
7652
+ token: "[redacted]";
7653
+ type: "betterstack";
7654
+ url: string;
7664
7655
  };
7665
- requestId: string;
7656
+ eventType: "block:created" | "log:emitted" | "token:transfer" | "transaction:included";
7657
+ expiresAt?: string | undefined;
7658
+ failureCount: number;
7659
+ filters: {
7660
+ [x: string]: import("hono/utils/types").JSONValue;
7661
+ };
7662
+ id: string;
7663
+ lastDeliveryAt?: string | undefined;
7664
+ status: "active" | "disabled" | "paused";
7665
+ updatedAt: string;
7666
7666
  };
7667
7667
  outputFormat: "json";
7668
- status: 429;
7668
+ status: 200;
7669
7669
  input: {
7670
7670
  param: {
7671
7671
  id: string;
@@ -7695,14 +7695,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7695
7695
  } | {
7696
7696
  output: {
7697
7697
  error: {
7698
- code: "upstream_error";
7698
+ code: "destination_transition_invalid";
7699
7699
  details?: readonly Response.error.Detail[] | undefined;
7700
7700
  message: string;
7701
7701
  };
7702
7702
  requestId: string;
7703
7703
  };
7704
7704
  outputFormat: "json";
7705
- status: 502;
7705
+ status: 400;
7706
7706
  input: {
7707
7707
  param: {
7708
7708
  id: string;
@@ -7734,17 +7734,6 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7734
7734
  } & {
7735
7735
  "/v1/webhooks/:id{wh_[A-Za-z0-9_-]+}": {
7736
7736
  $delete: {
7737
- output: {
7738
- id: string;
7739
- };
7740
- outputFormat: "json";
7741
- status: 200;
7742
- input: {
7743
- param: {
7744
- id: string;
7745
- };
7746
- };
7747
- } | {
7748
7737
  output: {
7749
7738
  error: {
7750
7739
  code: "api_key_malformed";
@@ -7763,14 +7752,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7763
7752
  } | {
7764
7753
  output: {
7765
7754
  error: {
7766
- code: "param_invalid";
7755
+ code: "api_key_invalid" | "api_key_missing";
7767
7756
  details?: readonly Response.error.Detail[] | undefined;
7768
7757
  message: string;
7769
7758
  };
7770
7759
  requestId: string;
7771
7760
  };
7772
7761
  outputFormat: "json";
7773
- status: 400;
7762
+ status: 401;
7774
7763
  input: {
7775
7764
  param: {
7776
7765
  id: string;
@@ -7779,14 +7768,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7779
7768
  } | {
7780
7769
  output: {
7781
7770
  error: {
7782
- code: "api_key_invalid" | "api_key_missing";
7771
+ code: "api_key_forbidden";
7783
7772
  details?: readonly Response.error.Detail[] | undefined;
7784
7773
  message: string;
7785
7774
  };
7786
7775
  requestId: string;
7787
7776
  };
7788
7777
  outputFormat: "json";
7789
- status: 401;
7778
+ status: 403;
7790
7779
  input: {
7791
7780
  param: {
7792
7781
  id: string;
@@ -7795,14 +7784,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7795
7784
  } | {
7796
7785
  output: {
7797
7786
  error: {
7798
- code: "unauthorized";
7787
+ code: "payment_required" | "rate_limit_exceeded";
7799
7788
  details?: readonly Response.error.Detail[] | undefined;
7800
7789
  message: string;
7801
7790
  };
7802
7791
  requestId: string;
7803
7792
  };
7804
7793
  outputFormat: "json";
7805
- status: 401;
7794
+ status: 429;
7806
7795
  input: {
7807
7796
  param: {
7808
7797
  id: string;
@@ -7811,14 +7800,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7811
7800
  } | {
7812
7801
  output: {
7813
7802
  error: {
7814
- code: "api_key_forbidden";
7803
+ code: "upstream_error";
7815
7804
  details?: readonly Response.error.Detail[] | undefined;
7816
7805
  message: string;
7817
7806
  };
7818
7807
  requestId: string;
7819
7808
  };
7820
7809
  outputFormat: "json";
7821
- status: 403;
7810
+ status: 502;
7822
7811
  input: {
7823
7812
  param: {
7824
7813
  id: string;
@@ -7843,14 +7832,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7843
7832
  } | {
7844
7833
  output: {
7845
7834
  error: {
7846
- code: "webhook_not_found";
7835
+ code: "unauthorized";
7847
7836
  details?: readonly Response.error.Detail[] | undefined;
7848
7837
  message: string;
7849
7838
  };
7850
7839
  requestId: string;
7851
7840
  };
7852
7841
  outputFormat: "json";
7853
- status: 404;
7842
+ status: 401;
7854
7843
  input: {
7855
7844
  param: {
7856
7845
  id: string;
@@ -7859,14 +7848,14 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7859
7848
  } | {
7860
7849
  output: {
7861
7850
  error: {
7862
- code: "payment_required" | "rate_limit_exceeded";
7851
+ code: "param_invalid";
7863
7852
  details?: readonly Response.error.Detail[] | undefined;
7864
7853
  message: string;
7865
7854
  };
7866
7855
  requestId: string;
7867
7856
  };
7868
7857
  outputFormat: "json";
7869
- status: 429;
7858
+ status: 400;
7870
7859
  input: {
7871
7860
  param: {
7872
7861
  id: string;
@@ -7875,14 +7864,25 @@ export declare function webhooks(options?: webhooks.Options): import("hono/hono-
7875
7864
  } | {
7876
7865
  output: {
7877
7866
  error: {
7878
- code: "upstream_error";
7867
+ code: "webhook_not_found";
7879
7868
  details?: readonly Response.error.Detail[] | undefined;
7880
7869
  message: string;
7881
7870
  };
7882
7871
  requestId: string;
7883
7872
  };
7884
7873
  outputFormat: "json";
7885
- status: 502;
7874
+ status: 404;
7875
+ input: {
7876
+ param: {
7877
+ id: string;
7878
+ };
7879
+ };
7880
+ } | {
7881
+ output: {
7882
+ id: string;
7883
+ };
7884
+ outputFormat: "json";
7885
+ status: 200;
7886
7886
  input: {
7887
7887
  param: {
7888
7888
  id: string;
@@ -7918,6 +7918,8 @@ export declare namespace webhooks {
7918
7918
  *
7919
7919
  * Cursor advances only past successfully dispatched rows, so a dispatch failure
7920
7920
  * pauses that subscription at the last good position and the next tick resumes.
7921
+ * Scan failures leave that subscription unchanged; the first error is rethrown
7922
+ * after the remaining subscriptions run.
7921
7923
  */
7922
7924
  export declare function poll(options: poll.Options): Promise<poll.Result>;
7923
7925
  export declare namespace poll {
@@ -7930,7 +7932,7 @@ export declare namespace poll {
7930
7932
  };
7931
7933
  /** Options for {@link poll}. */
7932
7934
  type Options = {
7933
- /** Max matching rows scanned per subscription per tick (default 100). */
7935
+ /** Max matching rows scanned per subscription per tick (default 200). */
7934
7936
  batchSize?: number | undefined;
7935
7937
  /** Cache store for the token-metadata memoize (defaults to a fresh in-memory store; pass a persistent one to share lookups across ticks). */
7936
7938
  cache?: Store.Store | undefined;