tapimo 0.15.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (734) hide show
  1. package/README.md +137 -0
  2. package/dist/ApiKey.d.ts +1 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +4 -2
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +37 -11
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +163 -10
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +13085 -11974
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +46 -15
  13. package/dist/App.js.map +1 -1
  14. package/dist/Scope.d.ts +1 -1
  15. package/dist/Scope.d.ts.map +1 -1
  16. package/dist/Scope.js +1 -1
  17. package/dist/Scope.js.map +1 -1
  18. package/dist/admin/App.d.ts +896 -191
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/App.js +5 -1
  21. package/dist/admin/App.js.map +1 -1
  22. package/dist/admin/apps/api-keys.d.ts +33 -33
  23. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  24. package/dist/admin/apps/api-keys.js +8 -3
  25. package/dist/admin/apps/api-keys.js.map +1 -1
  26. package/dist/admin/apps/earn-vaults.d.ts +66 -27
  27. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  28. package/dist/admin/apps/earn-vaults.js +36 -7
  29. package/dist/admin/apps/earn-vaults.js.map +1 -1
  30. package/dist/admin/apps/organizations.d.ts +25 -25
  31. package/dist/admin/apps/organizations.d.ts.map +1 -1
  32. package/dist/admin/apps/organizations.js +5 -4
  33. package/dist/admin/apps/organizations.js.map +1 -1
  34. package/dist/admin/apps/route-policies.d.ts +632 -0
  35. package/dist/admin/apps/route-policies.d.ts.map +1 -0
  36. package/dist/admin/apps/route-policies.js +257 -0
  37. package/dist/admin/apps/route-policies.js.map +1 -0
  38. package/dist/admin/apps/routes-support.js +39 -3
  39. package/dist/admin/apps/routes-support.js.map +1 -1
  40. package/dist/admin/apps/routes.d.ts +454 -1
  41. package/dist/admin/apps/routes.d.ts.map +1 -1
  42. package/dist/admin/apps/routes.js +82 -1
  43. package/dist/admin/apps/routes.js.map +1 -1
  44. package/dist/admin/apps/verified-tokens.d.ts +10 -4
  45. package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
  46. package/dist/admin/apps/verified-tokens.js +24 -4
  47. package/dist/admin/apps/verified-tokens.js.map +1 -1
  48. package/dist/admin/index.d.ts +0 -1
  49. package/dist/admin/index.d.ts.map +1 -1
  50. package/dist/admin/index.js +0 -1
  51. package/dist/admin/index.js.map +1 -1
  52. package/dist/admin/ui.generated.d.ts +1 -1
  53. package/dist/admin/ui.generated.d.ts.map +1 -1
  54. package/dist/admin/ui.generated.js +99 -103
  55. package/dist/admin/ui.generated.js.map +1 -1
  56. package/dist/analytics/Analytics.d.ts.map +1 -1
  57. package/dist/analytics/Analytics.js +65 -1
  58. package/dist/analytics/Analytics.js.map +1 -1
  59. package/dist/analytics/tables/requestEvents.d.ts +1 -1
  60. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  61. package/dist/analytics/tables/requestEvents.js +58 -59
  62. package/dist/analytics/tables/requestEvents.js.map +1 -1
  63. package/dist/apps/data/App.d.ts +2709 -2670
  64. package/dist/apps/data/App.d.ts.map +1 -1
  65. package/dist/apps/data/routes/activities.d.ts +5 -5
  66. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  67. package/dist/apps/data/routes/activities.js +50 -0
  68. package/dist/apps/data/routes/activities.js.map +1 -1
  69. package/dist/apps/data/routes/addresses.d.ts +248 -248
  70. package/dist/apps/data/routes/balances.d.ts +22 -22
  71. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  72. package/dist/apps/data/routes/balances.js +5 -7
  73. package/dist/apps/data/routes/balances.js.map +1 -1
  74. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  75. package/dist/apps/data/routes/earn.d.ts +103 -12
  76. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  77. package/dist/apps/data/routes/earn.js +456 -220
  78. package/dist/apps/data/routes/earn.js.map +1 -1
  79. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  80. package/dist/apps/data/routes/exchanges.js +267 -97
  81. package/dist/apps/data/routes/exchanges.js.map +1 -1
  82. package/dist/apps/data/routes/fee-amm.d.ts +1 -19
  83. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  84. package/dist/apps/data/routes/fee-amm.js +93 -56
  85. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  86. package/dist/apps/data/routes/indexer.d.ts +10 -10
  87. package/dist/apps/data/routes/rpc.d.ts +30 -30
  88. package/dist/apps/data/routes/rpc.js +45 -11
  89. package/dist/apps/data/routes/rpc.js.map +1 -1
  90. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  91. package/dist/apps/data/routes/tokens.js +11 -6
  92. package/dist/apps/data/routes/tokens.js.map +1 -1
  93. package/dist/apps/data/routes/transactions.d.ts +2 -0
  94. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  95. package/dist/apps/data/routes/transactions.js +30 -22
  96. package/dist/apps/data/routes/transactions.js.map +1 -1
  97. package/dist/apps/data/routes/transfers.d.ts +12 -12
  98. package/dist/apps/data/routes/valuation.d.ts +30 -30
  99. package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
  100. package/dist/apps/data/routes/webhooks.d.ts +1 -1
  101. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  102. package/dist/apps/data/routes/webhooks.js +18 -11
  103. package/dist/apps/data/routes/webhooks.js.map +1 -1
  104. package/dist/apps/data/routes/zones.d.ts +3 -3
  105. package/dist/apps/management/App.d.ts +3043 -2198
  106. package/dist/apps/management/App.d.ts.map +1 -1
  107. package/dist/apps/management/App.js +2 -0
  108. package/dist/apps/management/App.js.map +1 -1
  109. package/dist/apps/management/Billing.d.ts +2 -4
  110. package/dist/apps/management/Billing.d.ts.map +1 -1
  111. package/dist/apps/management/Billing.js +65 -26
  112. package/dist/apps/management/Billing.js.map +1 -1
  113. package/dist/apps/management/routes/api-keys.d.ts +16 -4
  114. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  115. package/dist/apps/management/routes/api-keys.js +70 -11
  116. package/dist/apps/management/routes/api-keys.js.map +1 -1
  117. package/dist/apps/management/routes/billing.d.ts +84 -84
  118. package/dist/apps/management/routes/cli.d.ts +912 -0
  119. package/dist/apps/management/routes/cli.d.ts.map +1 -0
  120. package/dist/apps/management/routes/cli.js +416 -0
  121. package/dist/apps/management/routes/cli.js.map +1 -0
  122. package/dist/apps/management/routes/faucet.d.ts +8 -8
  123. package/dist/apps/management/routes/invitations.d.ts +24 -24
  124. package/dist/apps/management/routes/invite-links.d.ts +66 -66
  125. package/dist/apps/management/routes/members.d.ts +16 -16
  126. package/dist/apps/management/routes/orgs.d.ts +20 -20
  127. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  128. package/dist/apps/management/routes/orgs.js +8 -2
  129. package/dist/apps/management/routes/orgs.js.map +1 -1
  130. package/dist/apps/management/routes/projects.d.ts +76 -76
  131. package/dist/apps/management/routes/usage.d.ts +8 -8
  132. package/dist/apps/management/routes/verified-token-requests.d.ts +42 -42
  133. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  134. package/dist/apps/management/routes/verified-token-requests.js +7 -9
  135. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  136. package/dist/apps/management/routes/webhooks.d.ts +119 -119
  137. package/dist/apps/mcp.d.ts.map +1 -1
  138. package/dist/apps/mcp.js +16 -3
  139. package/dist/apps/mcp.js.map +1 -1
  140. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
  141. package/dist/apps/mpp/internal/Policy.js +4 -2
  142. package/dist/apps/mpp/internal/Policy.js.map +1 -1
  143. package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
  144. package/dist/apps/mpp/internal/Sponsorship.js +6 -4
  145. package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
  146. package/dist/apps/relay/App.d.ts +8 -0
  147. package/dist/apps/relay/App.d.ts.map +1 -1
  148. package/dist/apps/relay/App.js +16 -4
  149. package/dist/apps/relay/App.js.map +1 -1
  150. package/dist/apps/relay/Sponsorships.d.ts +4 -6
  151. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  152. package/dist/apps/relay/Sponsorships.js +71 -60
  153. package/dist/apps/relay/Sponsorships.js.map +1 -1
  154. package/dist/apps/routes/Access.d.ts +53 -0
  155. package/dist/apps/routes/Access.d.ts.map +1 -1
  156. package/dist/apps/routes/Access.js +121 -0
  157. package/dist/apps/routes/Access.js.map +1 -1
  158. package/dist/apps/routes/App.d.ts +397 -158
  159. package/dist/apps/routes/App.d.ts.map +1 -1
  160. package/dist/apps/routes/App.js.map +1 -1
  161. package/dist/apps/routes/routes/deposit-addresses.d.ts +169 -61
  162. package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -1
  163. package/dist/apps/routes/routes/deposit-addresses.js +217 -32
  164. package/dist/apps/routes/routes/deposit-addresses.js.map +1 -1
  165. package/dist/apps/routes/routes/quotes.d.ts +90 -0
  166. package/dist/apps/routes/routes/quotes.d.ts.map +1 -1
  167. package/dist/apps/routes/routes/quotes.js +101 -27
  168. package/dist/apps/routes/routes/quotes.js.map +1 -1
  169. package/dist/apps/routes/routes/transfers.d.ts +187 -135
  170. package/dist/apps/routes/routes/transfers.d.ts.map +1 -1
  171. package/dist/apps/routes/routes/transfers.js +182 -37
  172. package/dist/apps/routes/routes/transfers.js.map +1 -1
  173. package/dist/cli/ApiKeys.d.ts +120 -0
  174. package/dist/cli/ApiKeys.d.ts.map +1 -0
  175. package/dist/cli/ApiKeys.js +138 -0
  176. package/dist/cli/ApiKeys.js.map +1 -0
  177. package/dist/cli/Cli.d.ts +92 -34
  178. package/dist/cli/Cli.d.ts.map +1 -1
  179. package/dist/cli/Cli.js +188 -11
  180. package/dist/cli/Cli.js.map +1 -1
  181. package/dist/cli/Credentials.d.ts +95 -0
  182. package/dist/cli/Credentials.d.ts.map +1 -0
  183. package/dist/cli/Credentials.js +110 -0
  184. package/dist/cli/Credentials.js.map +1 -0
  185. package/dist/cli/Spec.d.ts +59 -0
  186. package/dist/cli/Spec.d.ts.map +1 -0
  187. package/dist/cli/Spec.js +77 -0
  188. package/dist/cli/Spec.js.map +1 -0
  189. package/dist/cli/bin.js +5 -1
  190. package/dist/cli/bin.js.map +1 -1
  191. package/dist/cli/commands/admin.d.ts +5 -5
  192. package/dist/cli/commands/admin.d.ts.map +1 -1
  193. package/dist/cli/commands/auth.d.ts +73 -0
  194. package/dist/cli/commands/auth.d.ts.map +1 -0
  195. package/dist/cli/commands/auth.js +204 -0
  196. package/dist/cli/commands/auth.js.map +1 -0
  197. package/dist/cli/commands/keys.d.ts +17 -0
  198. package/dist/cli/commands/keys.d.ts.map +1 -0
  199. package/dist/cli/commands/keys.js +109 -0
  200. package/dist/cli/commands/keys.js.map +1 -0
  201. package/dist/cloudflare.d.ts +27 -2
  202. package/dist/cloudflare.d.ts.map +1 -1
  203. package/dist/cloudflare.js +144 -17
  204. package/dist/cloudflare.js.map +1 -1
  205. package/dist/db/Db.d.ts +23 -0
  206. package/dist/db/Db.d.ts.map +1 -1
  207. package/dist/db/Db.js +418 -1
  208. package/dist/db/Db.js.map +1 -1
  209. package/dist/db/Schema.d.ts +44 -1
  210. package/dist/db/Schema.d.ts.map +1 -1
  211. package/dist/db/Schema.js +56 -3
  212. package/dist/db/Schema.js.map +1 -1
  213. package/dist/db/tables/apiKeyAdmissions.d.ts +28 -2
  214. package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -1
  215. package/dist/db/tables/apiKeyAdmissions.js +65 -9
  216. package/dist/db/tables/apiKeyAdmissions.js.map +1 -1
  217. package/dist/db/tables/apiKeyOwnerTombstones.d.ts +2 -0
  218. package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -1
  219. package/dist/db/tables/apiKeyOwnerTombstones.js +2 -2
  220. package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -1
  221. package/dist/db/tables/authAccounts.d.ts.map +1 -1
  222. package/dist/db/tables/authAccounts.js +1 -0
  223. package/dist/db/tables/authAccounts.js.map +1 -1
  224. package/dist/db/tables/earnVaults.d.ts +5 -1
  225. package/dist/db/tables/earnVaults.d.ts.map +1 -1
  226. package/dist/db/tables/earnVaults.js +12 -1
  227. package/dist/db/tables/earnVaults.js.map +1 -1
  228. package/dist/db/tables/organizations.d.ts +4 -2
  229. package/dist/db/tables/organizations.d.ts.map +1 -1
  230. package/dist/db/tables/organizations.js +8 -34
  231. package/dist/db/tables/organizations.js.map +1 -1
  232. package/dist/db/tables/requestUsage.d.ts +5 -1
  233. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  234. package/dist/db/tables/requestUsage.js +10 -2
  235. package/dist/db/tables/requestUsage.js.map +1 -1
  236. package/dist/db/tables/rewardEligibilityAssociations.d.ts +13 -0
  237. package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -1
  238. package/dist/db/tables/rewardEligibilityAssociations.js +11 -0
  239. package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -1
  240. package/dist/db/tables/rewardRuns.d.ts.map +1 -1
  241. package/dist/db/tables/rewardRuns.js +4 -0
  242. package/dist/db/tables/rewardRuns.js.map +1 -1
  243. package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -1
  244. package/dist/db/tables/rewardTransactionAttempts.js +2 -0
  245. package/dist/db/tables/rewardTransactionAttempts.js.map +1 -1
  246. package/dist/db/tables/routesDepositAddresses.d.ts +29 -0
  247. package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -1
  248. package/dist/db/tables/routesDepositAddresses.js +84 -31
  249. package/dist/db/tables/routesDepositAddresses.js.map +1 -1
  250. package/dist/db/tables/routesDeposits.d.ts.map +1 -1
  251. package/dist/db/tables/routesDeposits.js +31 -21
  252. package/dist/db/tables/routesDeposits.js.map +1 -1
  253. package/dist/db/tables/routesIdempotency.d.ts.map +1 -1
  254. package/dist/db/tables/routesIdempotency.js +2 -0
  255. package/dist/db/tables/routesIdempotency.js.map +1 -1
  256. package/dist/db/tables/routesPolicies.d.ts +58 -0
  257. package/dist/db/tables/routesPolicies.d.ts.map +1 -0
  258. package/dist/db/tables/routesPolicies.js +198 -0
  259. package/dist/db/tables/routesPolicies.js.map +1 -0
  260. package/dist/db/tables/routesTransferSubsidies.d.ts +22 -0
  261. package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -1
  262. package/dist/db/tables/routesTransferSubsidies.js +41 -0
  263. package/dist/db/tables/routesTransferSubsidies.js.map +1 -1
  264. package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -1
  265. package/dist/db/tables/routesTransferSubsidyNonces.js +12 -4
  266. package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -1
  267. package/dist/db/tables/routesTransfers.d.ts +26 -1
  268. package/dist/db/tables/routesTransfers.d.ts.map +1 -1
  269. package/dist/db/tables/routesTransfers.js +36 -6
  270. package/dist/db/tables/routesTransfers.js.map +1 -1
  271. package/dist/db/tables/sponsoredTransactions.d.ts +45 -13
  272. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  273. package/dist/db/tables/sponsoredTransactions.js +144 -33
  274. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  275. package/dist/db/tables/users.d.ts +2 -0
  276. package/dist/db/tables/users.d.ts.map +1 -1
  277. package/dist/db/tables/users.js +11 -0
  278. package/dist/db/tables/users.js.map +1 -1
  279. package/dist/db/tables/verifiedTokenRequests.d.ts +21 -4
  280. package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -1
  281. package/dist/db/tables/verifiedTokenRequests.js +65 -44
  282. package/dist/db/tables/verifiedTokenRequests.js.map +1 -1
  283. package/dist/handlers/internal/multisig.d.ts +1 -1
  284. package/dist/handlers/internal/multisig.d.ts.map +1 -1
  285. package/dist/handlers/internal/multisig.js +3 -2
  286. package/dist/handlers/internal/multisig.js.map +1 -1
  287. package/dist/handlers/relay.d.ts +2 -0
  288. package/dist/handlers/relay.d.ts.map +1 -1
  289. package/dist/handlers/relay.js +34 -15
  290. package/dist/handlers/relay.js.map +1 -1
  291. package/dist/internal/Auth.d.ts +73 -6
  292. package/dist/internal/Auth.d.ts.map +1 -1
  293. package/dist/internal/Auth.js +212 -85
  294. package/dist/internal/Auth.js.map +1 -1
  295. package/dist/internal/BetterAuth.d.ts +22 -0
  296. package/dist/internal/BetterAuth.d.ts.map +1 -1
  297. package/dist/internal/BetterAuth.js +17 -14
  298. package/dist/internal/BetterAuth.js.map +1 -1
  299. package/dist/internal/Cache.d.ts +5 -0
  300. package/dist/internal/Cache.d.ts.map +1 -1
  301. package/dist/internal/Cache.js +3 -1
  302. package/dist/internal/Cache.js.map +1 -1
  303. package/dist/internal/CliAuth.d.ts +243 -0
  304. package/dist/internal/CliAuth.d.ts.map +1 -0
  305. package/dist/internal/CliAuth.js +249 -0
  306. package/dist/internal/CliAuth.js.map +1 -0
  307. package/dist/internal/EarnSharePrices.d.ts +1 -1
  308. package/dist/internal/EarnSharePrices.d.ts.map +1 -1
  309. package/dist/internal/EarnSharePrices.js +7 -3
  310. package/dist/internal/EarnSharePrices.js.map +1 -1
  311. package/dist/internal/EarnVaults.d.ts +47 -0
  312. package/dist/internal/EarnVaults.d.ts.map +1 -1
  313. package/dist/internal/EarnVaults.js +188 -4
  314. package/dist/internal/EarnVaults.js.map +1 -1
  315. package/dist/internal/EarnWithdrawals.d.ts +73 -0
  316. package/dist/internal/EarnWithdrawals.d.ts.map +1 -0
  317. package/dist/internal/EarnWithdrawals.js +189 -0
  318. package/dist/internal/EarnWithdrawals.js.map +1 -0
  319. package/dist/internal/ExecutionContext.d.ts +21 -0
  320. package/dist/internal/ExecutionContext.d.ts.map +1 -0
  321. package/dist/internal/ExecutionContext.js +16 -0
  322. package/dist/internal/ExecutionContext.js.map +1 -0
  323. package/dist/internal/Log.d.ts +7 -3
  324. package/dist/internal/Log.d.ts.map +1 -1
  325. package/dist/internal/Log.js +163 -130
  326. package/dist/internal/Log.js.map +1 -1
  327. package/dist/internal/MetricSink.d.ts.map +1 -1
  328. package/dist/internal/MetricSink.js +26 -1
  329. package/dist/internal/MetricSink.js.map +1 -1
  330. package/dist/internal/RateLimit.d.ts +67 -0
  331. package/dist/internal/RateLimit.d.ts.map +1 -1
  332. package/dist/internal/RateLimit.js +174 -27
  333. package/dist/internal/RateLimit.js.map +1 -1
  334. package/dist/internal/Store.d.ts +6 -0
  335. package/dist/internal/Store.d.ts.map +1 -1
  336. package/dist/internal/Store.js +4 -5
  337. package/dist/internal/Store.js.map +1 -1
  338. package/dist/internal/Timing.d.ts +6 -0
  339. package/dist/internal/Timing.d.ts.map +1 -1
  340. package/dist/internal/Timing.js +21 -1
  341. package/dist/internal/Timing.js.map +1 -1
  342. package/dist/internal/Tron.d.ts +124 -0
  343. package/dist/internal/Tron.d.ts.map +1 -0
  344. package/dist/internal/Tron.js +202 -0
  345. package/dist/internal/Tron.js.map +1 -0
  346. package/dist/internal/Viem.d.ts +4 -0
  347. package/dist/internal/Viem.d.ts.map +1 -1
  348. package/dist/internal/Viem.js +25 -6
  349. package/dist/internal/Viem.js.map +1 -1
  350. package/dist/internal/rewards/Read.d.ts +2 -2
  351. package/dist/internal/rewards/Read.d.ts.map +1 -1
  352. package/dist/internal/rewards/Read.js +11 -2
  353. package/dist/internal/rewards/Read.js.map +1 -1
  354. package/dist/internal/routes/Action.d.ts +27 -0
  355. package/dist/internal/routes/Action.d.ts.map +1 -1
  356. package/dist/internal/routes/Action.js +49 -1
  357. package/dist/internal/routes/Action.js.map +1 -1
  358. package/dist/internal/routes/Chain.d.ts +2 -0
  359. package/dist/internal/routes/Chain.d.ts.map +1 -1
  360. package/dist/internal/routes/Chain.js +4 -0
  361. package/dist/internal/routes/Chain.js.map +1 -1
  362. package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
  363. package/dist/internal/routes/DepositAddress.js +5 -0
  364. package/dist/internal/routes/DepositAddress.js.map +1 -1
  365. package/dist/internal/routes/Evidence.d.ts.map +1 -1
  366. package/dist/internal/routes/Evidence.js +6 -2
  367. package/dist/internal/routes/Evidence.js.map +1 -1
  368. package/dist/internal/routes/EvmTransferSettlement.d.ts +17 -0
  369. package/dist/internal/routes/EvmTransferSettlement.d.ts.map +1 -0
  370. package/dist/internal/routes/EvmTransferSettlement.js +196 -0
  371. package/dist/internal/routes/EvmTransferSettlement.js.map +1 -0
  372. package/dist/internal/routes/Policy.d.ts +161 -0
  373. package/dist/internal/routes/Policy.d.ts.map +1 -0
  374. package/dist/internal/routes/Policy.js +249 -0
  375. package/dist/internal/routes/Policy.js.map +1 -0
  376. package/dist/internal/routes/Provider.d.ts +66 -3
  377. package/dist/internal/routes/Provider.d.ts.map +1 -1
  378. package/dist/internal/routes/Provider.js +106 -27
  379. package/dist/internal/routes/Provider.js.map +1 -1
  380. package/dist/internal/routes/Quota.d.ts +57 -0
  381. package/dist/internal/routes/Quota.d.ts.map +1 -0
  382. package/dist/internal/routes/Quota.js +144 -0
  383. package/dist/internal/routes/Quota.js.map +1 -0
  384. package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
  385. package/dist/internal/routes/Reconciliation.js +163 -47
  386. package/dist/internal/routes/Reconciliation.js.map +1 -1
  387. package/dist/internal/routes/SolanaTransferSettlement.d.ts +12 -0
  388. package/dist/internal/routes/SolanaTransferSettlement.d.ts.map +1 -0
  389. package/dist/internal/routes/SolanaTransferSettlement.js +220 -0
  390. package/dist/internal/routes/SolanaTransferSettlement.js.map +1 -0
  391. package/dist/internal/routes/SolanaTransferSubsidy.d.ts +172 -0
  392. package/dist/internal/routes/SolanaTransferSubsidy.d.ts.map +1 -0
  393. package/dist/internal/routes/SolanaTransferSubsidy.js +564 -0
  394. package/dist/internal/routes/SolanaTransferSubsidy.js.map +1 -0
  395. package/dist/internal/routes/Subsidy.d.ts +2 -2
  396. package/dist/internal/routes/Subsidy.d.ts.map +1 -1
  397. package/dist/internal/routes/Subsidy.js +2 -2
  398. package/dist/internal/routes/Subsidy.js.map +1 -1
  399. package/dist/internal/routes/Transfer.d.ts +229 -1
  400. package/dist/internal/routes/Transfer.d.ts.map +1 -1
  401. package/dist/internal/routes/Transfer.js +644 -7
  402. package/dist/internal/routes/Transfer.js.map +1 -1
  403. package/dist/internal/routes/TransferReconciliation.d.ts +6 -0
  404. package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -1
  405. package/dist/internal/routes/TransferReconciliation.js +83 -159
  406. package/dist/internal/routes/TransferReconciliation.js.map +1 -1
  407. package/dist/internal/routes/TransferSettlement.d.ts +45 -0
  408. package/dist/internal/routes/TransferSettlement.d.ts.map +1 -0
  409. package/dist/internal/routes/TransferSettlement.js +2 -0
  410. package/dist/internal/routes/TransferSettlement.js.map +1 -0
  411. package/dist/internal/routes/TransferSubsidy.d.ts +23 -8
  412. package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -1
  413. package/dist/internal/routes/TransferSubsidy.js +64 -5
  414. package/dist/internal/routes/TransferSubsidy.js.map +1 -1
  415. package/dist/internal/routes/TronTransferSettlement.d.ts +12 -0
  416. package/dist/internal/routes/TronTransferSettlement.d.ts.map +1 -0
  417. package/dist/internal/routes/TronTransferSettlement.js +201 -0
  418. package/dist/internal/routes/TronTransferSettlement.js.map +1 -0
  419. package/dist/internal/routes/TronTransferSubsidy.d.ts +174 -0
  420. package/dist/internal/routes/TronTransferSubsidy.d.ts.map +1 -0
  421. package/dist/internal/routes/TronTransferSubsidy.js +439 -0
  422. package/dist/internal/routes/TronTransferSubsidy.js.map +1 -0
  423. package/dist/internal/routes/index.d.ts +3 -0
  424. package/dist/internal/routes/index.d.ts.map +1 -1
  425. package/dist/internal/routes/index.js +3 -0
  426. package/dist/internal/routes/index.js.map +1 -1
  427. package/dist/internal/routes/providers/across.d.ts +3 -0
  428. package/dist/internal/routes/providers/across.d.ts.map +1 -1
  429. package/dist/internal/routes/providers/across.js +11 -0
  430. package/dist/internal/routes/providers/across.js.map +1 -1
  431. package/dist/internal/routes/providers/legacyMesh.d.ts +29 -0
  432. package/dist/internal/routes/providers/legacyMesh.d.ts.map +1 -0
  433. package/dist/internal/routes/providers/legacyMesh.js +474 -0
  434. package/dist/internal/routes/providers/legacyMesh.js.map +1 -0
  435. package/dist/internal/routes/providers/legacyMeshDelivery.d.ts +59 -0
  436. package/dist/internal/routes/providers/legacyMeshDelivery.d.ts.map +1 -0
  437. package/dist/internal/routes/providers/legacyMeshDelivery.js +229 -0
  438. package/dist/internal/routes/providers/legacyMeshDelivery.js.map +1 -0
  439. package/dist/internal/routes/providers/legacyMeshOutbound.d.ts +19 -0
  440. package/dist/internal/routes/providers/legacyMeshOutbound.d.ts.map +1 -0
  441. package/dist/internal/routes/providers/legacyMeshOutbound.js +457 -0
  442. package/dist/internal/routes/providers/legacyMeshOutbound.js.map +1 -0
  443. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts +123 -0
  444. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts.map +1 -0
  445. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js +333 -0
  446. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js.map +1 -0
  447. package/dist/internal/routes/providers/propAmm.d.ts +70 -0
  448. package/dist/internal/routes/providers/propAmm.d.ts.map +1 -0
  449. package/dist/internal/routes/providers/propAmm.js +524 -0
  450. package/dist/internal/routes/providers/propAmm.js.map +1 -0
  451. package/dist/internal/routes/providers/relay.d.ts +4 -1
  452. package/dist/internal/routes/providers/relay.d.ts.map +1 -1
  453. package/dist/internal/routes/providers/relay.js +353 -42
  454. package/dist/internal/routes/providers/relay.js.map +1 -1
  455. package/dist/internal/routes/providers/rhino.d.ts +3 -0
  456. package/dist/internal/routes/providers/rhino.d.ts.map +1 -1
  457. package/dist/internal/routes/providers/rhino.js +11 -0
  458. package/dist/internal/routes/providers/rhino.js.map +1 -1
  459. package/dist/internal/routes/providers/squid.d.ts +3 -0
  460. package/dist/internal/routes/providers/squid.d.ts.map +1 -1
  461. package/dist/internal/routes/providers/squid.js +19 -0
  462. package/dist/internal/routes/providers/squid.js.map +1 -1
  463. package/dist/internal/routes/providers/stargate.d.ts.map +1 -1
  464. package/dist/internal/routes/providers/stargate.js +22 -9
  465. package/dist/internal/routes/providers/stargate.js.map +1 -1
  466. package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -1
  467. package/dist/internal/routes/providers/symbiosis.js +13 -17
  468. package/dist/internal/routes/providers/symbiosis.js.map +1 -1
  469. package/dist/providers/index.d.ts +14 -0
  470. package/dist/providers/index.d.ts.map +1 -1
  471. package/dist/providers/index.js +6 -0
  472. package/dist/providers/index.js.map +1 -1
  473. package/package.json +16 -6
  474. package/src/ApiKey.ts +7 -3
  475. package/src/ApiKeys.test.ts +652 -8
  476. package/src/ApiKeys.ts +191 -11
  477. package/src/App.test.ts +405 -18
  478. package/src/App.ts +51 -15
  479. package/src/Client.test-d.ts +157 -10
  480. package/src/Client.test.ts +4 -4
  481. package/src/Scope.ts +1 -2
  482. package/src/admin/App.ts +11 -5
  483. package/src/admin/apps/api-keys.test.ts +98 -2
  484. package/src/admin/apps/api-keys.ts +21 -12
  485. package/src/admin/apps/earn-vaults.test.ts +76 -7
  486. package/src/admin/apps/earn-vaults.ts +47 -8
  487. package/src/admin/apps/organizations.test.ts +147 -31
  488. package/src/admin/apps/organizations.ts +5 -4
  489. package/src/admin/apps/route-policies.test.ts +220 -0
  490. package/src/admin/apps/route-policies.ts +322 -0
  491. package/src/admin/apps/routes-support.test.ts +107 -2
  492. package/src/admin/apps/routes-support.ts +43 -3
  493. package/src/admin/apps/routes.test.ts +150 -0
  494. package/src/admin/apps/routes.ts +97 -1
  495. package/src/admin/apps/scopes.test.ts +1 -1
  496. package/src/admin/apps/verified-tokens.test.ts +32 -0
  497. package/src/admin/apps/verified-tokens.ts +30 -4
  498. package/src/admin/index.ts +0 -1
  499. package/src/admin/ui/plugin.ts +2 -1
  500. package/src/admin/ui/src/components/Dialog.tsx +1 -1
  501. package/src/admin/ui/src/components/EarnVaultForm.tsx +45 -0
  502. package/src/admin/ui/src/components/RoutePicker.tsx +79 -0
  503. package/src/admin/ui/src/lib/earn-vaults.ts +1 -1
  504. package/src/admin/ui/src/lib/route-policies.test.ts +452 -0
  505. package/src/admin/ui/src/lib/route-policies.ts +232 -0
  506. package/src/admin/ui/src/lib/routes.ts +34 -0
  507. package/src/admin/ui/src/lib/verified-tokens.ts +24 -9
  508. package/src/admin/ui/src/routeTree.gen.ts +21 -0
  509. package/src/admin/ui/src/routes/__root.tsx +1 -1
  510. package/src/admin/ui/src/routes/api-keys.tsx +21 -2
  511. package/src/admin/ui/src/routes/early-access.tsx +1 -0
  512. package/src/admin/ui/src/routes/earn.vaults.tsx +1 -0
  513. package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +22 -0
  514. package/src/admin/ui/src/routes/earn.vaults_.new.tsx +10 -0
  515. package/src/admin/ui/src/routes/organizations.tsx +35 -4
  516. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +18 -3
  517. package/src/admin/ui/src/routes/route-policies.tsx +678 -0
  518. package/src/admin/ui/src/routes/routes.tsx +85 -2
  519. package/src/admin/ui/src/routes/routes_.support.tsx +6 -22
  520. package/src/admin/ui/src/routes/subsidies.tsx +1 -0
  521. package/src/admin/ui/src/routes/verified-tokens.tsx +65 -20
  522. package/src/admin/ui.generated.ts +99 -104
  523. package/src/analytics/Analytics.test.ts +4 -50
  524. package/src/analytics/Analytics.ts +65 -1
  525. package/src/analytics/tables/requestEvents.test.ts +402 -1
  526. package/src/analytics/tables/requestEvents.ts +62 -93
  527. package/src/apps/data/App.test.ts +26 -0
  528. package/src/apps/data/routes/activities.test.ts +315 -14
  529. package/src/apps/data/routes/activities.ts +60 -0
  530. package/src/apps/data/routes/balances.ts +5 -7
  531. package/src/apps/data/routes/earn.bench.ts +18 -0
  532. package/src/apps/data/routes/earn.local.test.ts +507 -0
  533. package/src/apps/data/routes/earn.test.ts +405 -127
  534. package/src/apps/data/routes/earn.ts +660 -270
  535. package/src/apps/data/routes/exchanges.bench.ts +3 -1
  536. package/src/apps/data/routes/exchanges.test.ts +166 -2
  537. package/src/apps/data/routes/exchanges.ts +308 -101
  538. package/src/apps/data/routes/fee-amm.test.ts +153 -2
  539. package/src/apps/data/routes/fee-amm.ts +132 -62
  540. package/src/apps/data/routes/receipts.test.ts +21 -18
  541. package/src/apps/data/routes/rpc.test.ts +34 -2
  542. package/src/apps/data/routes/rpc.ts +47 -10
  543. package/src/apps/data/routes/tokens.provenance.test.ts +157 -0
  544. package/src/apps/data/routes/tokens.test.ts +4 -4
  545. package/src/apps/data/routes/tokens.ts +11 -6
  546. package/src/apps/data/routes/transactions.test.ts +29 -0
  547. package/src/apps/data/routes/transactions.ts +33 -22
  548. package/src/apps/data/routes/webhooks.scan.test.ts +29 -0
  549. package/src/apps/data/routes/webhooks.test.ts +18 -3
  550. package/src/apps/data/routes/webhooks.ts +27 -13
  551. package/src/apps/management/App.ts +4 -0
  552. package/src/apps/management/Billing.test.ts +253 -27
  553. package/src/apps/management/Billing.ts +83 -29
  554. package/src/apps/management/routes/api-keys.test.ts +1 -1
  555. package/src/apps/management/routes/api-keys.ts +85 -11
  556. package/src/apps/management/routes/billing.test.ts +68 -4
  557. package/src/apps/management/routes/cli.test.ts +370 -0
  558. package/src/apps/management/routes/cli.ts +533 -0
  559. package/src/apps/management/routes/me.test.ts +14 -4
  560. package/src/apps/management/routes/orgs.test.ts +108 -4
  561. package/src/apps/management/routes/orgs.ts +7 -2
  562. package/src/apps/management/routes/usage.test.ts +2 -2
  563. package/src/apps/management/routes/verified-token-requests.test.ts +16 -2
  564. package/src/apps/management/routes/verified-token-requests.ts +7 -10
  565. package/src/apps/mcp.test.ts +108 -25
  566. package/src/apps/mcp.ts +15 -3
  567. package/src/apps/mpp/internal/Policy.test.ts +51 -4
  568. package/src/apps/mpp/internal/Policy.ts +6 -2
  569. package/src/apps/mpp/internal/Sponsorship.test.ts +29 -0
  570. package/src/apps/mpp/internal/Sponsorship.ts +6 -4
  571. package/src/apps/relay/App.test.ts +85 -1
  572. package/src/apps/relay/App.ts +28 -4
  573. package/src/apps/relay/Sponsorships.test.ts +97 -1
  574. package/src/apps/relay/Sponsorships.ts +77 -66
  575. package/src/apps/routes/Access.test.ts +319 -0
  576. package/src/apps/routes/Access.ts +147 -0
  577. package/src/apps/routes/App.ts +10 -0
  578. package/src/apps/routes/routes/chains.test.ts +3 -2
  579. package/src/apps/routes/routes/deposit-addresses.test.ts +978 -34
  580. package/src/apps/routes/routes/deposit-addresses.ts +243 -32
  581. package/src/apps/routes/routes/propAmm.local.test.ts +951 -0
  582. package/src/apps/routes/routes/quotes.test.ts +81 -8
  583. package/src/apps/routes/routes/quotes.ts +109 -27
  584. package/src/apps/routes/routes/transfers.test.ts +252 -15
  585. package/src/apps/routes/routes/transfers.ts +212 -33
  586. package/src/cli/ApiKeys.test.ts +265 -0
  587. package/src/cli/ApiKeys.ts +189 -0
  588. package/src/cli/Cli.test.ts +188 -0
  589. package/src/cli/Cli.ts +280 -12
  590. package/src/cli/Credentials.test.ts +122 -0
  591. package/src/cli/Credentials.ts +144 -0
  592. package/src/cli/Spec.test.ts +133 -0
  593. package/src/cli/Spec.ts +132 -0
  594. package/src/cli/bin.test.ts +49 -0
  595. package/src/cli/bin.ts +5 -1
  596. package/src/cli/commands/auth.test.ts +138 -0
  597. package/src/cli/commands/auth.ts +254 -0
  598. package/src/cli/commands/keys.test.ts +68 -0
  599. package/src/cli/commands/keys.ts +125 -0
  600. package/src/cloudflare.ts +184 -36
  601. package/src/db/Db.test.ts +877 -0
  602. package/src/db/Db.ts +507 -1
  603. package/src/db/Schema.ts +75 -4
  604. package/src/db/tables/apiKeyAdmissions.test.ts +57 -0
  605. package/src/db/tables/apiKeyAdmissions.ts +101 -11
  606. package/src/db/tables/apiKeyOwnerTombstones.ts +2 -2
  607. package/src/db/tables/authAccounts.test.ts +30 -0
  608. package/src/db/tables/authAccounts.ts +1 -0
  609. package/src/db/tables/earnVaults.test.ts +34 -0
  610. package/src/db/tables/earnVaults.ts +17 -2
  611. package/src/db/tables/organizations.test.ts +148 -84
  612. package/src/db/tables/organizations.ts +11 -43
  613. package/src/db/tables/requestUsage.ts +13 -2
  614. package/src/db/tables/rewardCampaigns.test.ts +163 -0
  615. package/src/db/tables/rewardEligibilityAssociations.test.ts +14 -0
  616. package/src/db/tables/rewardEligibilityAssociations.ts +24 -0
  617. package/src/db/tables/rewardRuns.ts +4 -0
  618. package/src/db/tables/rewardTransactionAttempts.ts +2 -0
  619. package/src/db/tables/routesDepositAddresses.test.ts +263 -0
  620. package/src/db/tables/routesDepositAddresses.ts +118 -34
  621. package/src/db/tables/routesDeposits.test.ts +133 -0
  622. package/src/db/tables/routesDeposits.ts +47 -26
  623. package/src/db/tables/routesIdempotency.test.ts +80 -0
  624. package/src/db/tables/routesIdempotency.ts +2 -0
  625. package/src/db/tables/routesPolicies.test.ts +143 -0
  626. package/src/db/tables/routesPolicies.ts +251 -0
  627. package/src/db/tables/routesTransferSubsidies.ts +64 -0
  628. package/src/db/tables/routesTransferSubsidyNonces.ts +16 -4
  629. package/src/db/tables/routesTransfers.test.ts +183 -2
  630. package/src/db/tables/routesTransfers.ts +65 -6
  631. package/src/db/tables/sponsoredTransactions.test.ts +351 -76
  632. package/src/db/tables/sponsoredTransactions.ts +182 -38
  633. package/src/db/tables/users.test.ts +51 -0
  634. package/src/db/tables/users.ts +12 -0
  635. package/src/db/tables/verifiedTokenRequests.test.ts +39 -20
  636. package/src/db/tables/verifiedTokenRequests.ts +80 -44
  637. package/src/handlers/internal/multisig.store.test.ts +120 -0
  638. package/src/handlers/internal/multisig.test.ts +389 -0
  639. package/src/handlers/internal/multisig.ts +13 -10
  640. package/src/handlers/relay.test.ts +259 -83
  641. package/src/handlers/relay.ts +36 -17
  642. package/src/internal/Auth.test.ts +383 -8
  643. package/src/internal/Auth.ts +272 -99
  644. package/src/internal/BetterAuth.test.ts +58 -22
  645. package/src/internal/BetterAuth.ts +23 -17
  646. package/src/internal/Cache.ts +3 -1
  647. package/src/internal/CliAuth.test.ts +279 -0
  648. package/src/internal/CliAuth.ts +319 -0
  649. package/src/internal/EarnSharePrices.test.ts +25 -0
  650. package/src/internal/EarnSharePrices.ts +9 -2
  651. package/src/internal/EarnVaults.test.ts +67 -0
  652. package/src/internal/EarnVaults.ts +299 -4
  653. package/src/internal/EarnWithdrawals.test.ts +315 -0
  654. package/src/internal/EarnWithdrawals.ts +266 -0
  655. package/src/internal/ExecutionContext.ts +31 -0
  656. package/src/internal/Log.test.ts +210 -0
  657. package/src/internal/Log.ts +180 -142
  658. package/src/internal/MetricSink.test.ts +190 -15
  659. package/src/internal/MetricSink.ts +27 -1
  660. package/src/internal/RateLimit.test.ts +144 -8
  661. package/src/internal/RateLimit.ts +254 -26
  662. package/src/internal/Store.ts +4 -5
  663. package/src/internal/Timing.test.ts +32 -0
  664. package/src/internal/Timing.ts +20 -1
  665. package/src/internal/Tron.test-d.ts +22 -0
  666. package/src/internal/Tron.test.ts +94 -0
  667. package/src/internal/Tron.ts +289 -0
  668. package/src/internal/Viem.rpc.test.ts +76 -0
  669. package/src/internal/Viem.ts +29 -6
  670. package/src/internal/rewards/Read.test.ts +109 -0
  671. package/src/internal/rewards/Read.ts +13 -4
  672. package/src/internal/routes/Action.test.ts +70 -0
  673. package/src/internal/routes/Action.ts +76 -1
  674. package/src/internal/routes/Chain.test.ts +18 -0
  675. package/src/internal/routes/Chain.ts +5 -0
  676. package/src/internal/routes/DepositAddress.ts +5 -0
  677. package/src/internal/routes/Evidence.test.ts +64 -0
  678. package/src/internal/routes/Evidence.ts +11 -3
  679. package/src/internal/routes/EvmTransferSettlement.ts +213 -0
  680. package/src/internal/routes/Policy.test.ts +316 -0
  681. package/src/internal/routes/Policy.ts +399 -0
  682. package/src/internal/routes/Provider.test.ts +103 -2
  683. package/src/internal/routes/Provider.ts +149 -27
  684. package/src/internal/routes/Quota.test.ts +149 -0
  685. package/src/internal/routes/Quota.ts +226 -0
  686. package/src/internal/routes/Reconciliation.local.test.ts +285 -0
  687. package/src/internal/routes/Reconciliation.test.ts +371 -13
  688. package/src/internal/routes/Reconciliation.ts +193 -42
  689. package/src/internal/routes/SolanaTransferSettlement.ts +232 -0
  690. package/src/internal/routes/SolanaTransferSubsidy.test.ts +471 -0
  691. package/src/internal/routes/SolanaTransferSubsidy.ts +760 -0
  692. package/src/internal/routes/SourceObservation.test.ts +221 -0
  693. package/src/internal/routes/Subsidy.local.test.ts +46 -0
  694. package/src/internal/routes/Subsidy.ts +4 -2
  695. package/src/internal/routes/Transfer.solana.test.ts +389 -0
  696. package/src/internal/routes/Transfer.test.ts +130 -1
  697. package/src/internal/routes/Transfer.tron.test.ts +172 -0
  698. package/src/internal/routes/Transfer.ts +866 -8
  699. package/src/internal/routes/TransferReconciliation.test.ts +26 -4
  700. package/src/internal/routes/TransferReconciliation.ts +91 -166
  701. package/src/internal/routes/TransferSettlement.ts +48 -0
  702. package/src/internal/routes/TransferSubsidy.local.test.ts +143 -0
  703. package/src/internal/routes/TransferSubsidy.test.ts +34 -4
  704. package/src/internal/routes/TransferSubsidy.ts +87 -12
  705. package/src/internal/routes/TronTransferSettlement.ts +212 -0
  706. package/src/internal/routes/TronTransferSubsidy.test.ts +109 -0
  707. package/src/internal/routes/TronTransferSubsidy.ts +619 -0
  708. package/src/internal/routes/index.test.ts +3 -0
  709. package/src/internal/routes/index.ts +3 -0
  710. package/src/internal/routes/providers/across.ts +13 -0
  711. package/src/internal/routes/providers/index.test.ts +141 -0
  712. package/src/internal/routes/providers/legacyMesh.test.ts +484 -0
  713. package/src/internal/routes/providers/legacyMesh.ts +633 -0
  714. package/src/internal/routes/providers/legacyMeshDelivery.test.ts +306 -0
  715. package/src/internal/routes/providers/legacyMeshDelivery.ts +320 -0
  716. package/src/internal/routes/providers/legacyMeshOutbound.test.ts +401 -0
  717. package/src/internal/routes/providers/legacyMeshOutbound.ts +566 -0
  718. package/src/internal/routes/providers/legacyMeshOutboundDelivery.ts +473 -0
  719. package/src/internal/routes/providers/propAmm.ts +640 -0
  720. package/src/internal/routes/providers/relay.test.ts +1299 -18
  721. package/src/internal/routes/providers/relay.ts +424 -39
  722. package/src/internal/routes/providers/rhino.ts +14 -1
  723. package/src/internal/routes/providers/squid.ts +21 -0
  724. package/src/internal/routes/providers/stargate.test.ts +105 -1
  725. package/src/internal/routes/providers/stargate.ts +22 -9
  726. package/src/internal/routes/providers/symbiosis.ts +13 -47
  727. package/src/providers/index.test.ts +2 -0
  728. package/src/providers/index.ts +18 -0
  729. package/dist/admin/Access.d.ts +0 -39
  730. package/dist/admin/Access.d.ts.map +0 -1
  731. package/dist/admin/Access.js +0 -73
  732. package/dist/admin/Access.js.map +0 -1
  733. package/src/admin/Access.test.ts +0 -130
  734. package/src/admin/Access.ts +0 -85
@@ -2,8 +2,10 @@ import type * as App from '../../App.js';
2
2
  import type * as RoutesDepositAddress from '../../internal/routes/DepositAddress.js';
3
3
  import type * as RoutesObservability from '../../internal/routes/Observability.js';
4
4
  import type * as RoutesProvider from '../../internal/routes/Provider.js';
5
+ import type * as RoutesSolanaTransferSubsidy from '../../internal/routes/SolanaTransferSubsidy.js';
5
6
  import type * as RoutesTransferReconciliation from '../../internal/routes/TransferReconciliation.js';
6
7
  import type * as RoutesTransferSubsidy from '../../internal/routes/TransferSubsidy.js';
8
+ import type * as RoutesTronTransferSubsidy from '../../internal/routes/TronTransferSubsidy.js';
7
9
  import type * as Webhooks from '../../internal/Webhooks.js';
8
10
  /**
9
11
  * Mounts the Routes API, including quotes, inventory, reusable
@@ -24,6 +26,56 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
24
26
  destinationChain?: string | string[];
25
27
  destinationToken?: string | string[];
26
28
  provider?: string | string[];
29
+ recipient?: string | string[];
30
+ sender?: string | string[];
31
+ sourceAmount: string | string[];
32
+ sourceAmountUnits?: string | string[];
33
+ sourceChain: string | string[];
34
+ sourceToken: string | string[];
35
+ };
36
+ };
37
+ } | {
38
+ output: {
39
+ error: {
40
+ code: "upstream_error";
41
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
42
+ message: string;
43
+ };
44
+ requestId: string;
45
+ };
46
+ outputFormat: "json";
47
+ status: 502;
48
+ input: {
49
+ query: {
50
+ destinationChain?: string | string[];
51
+ destinationToken?: string | string[];
52
+ provider?: string | string[];
53
+ recipient?: string | string[];
54
+ sender?: string | string[];
55
+ sourceAmount: string | string[];
56
+ sourceAmountUnits?: string | string[];
57
+ sourceChain: string | string[];
58
+ sourceToken: string | string[];
59
+ };
60
+ };
61
+ } | {
62
+ output: {
63
+ error: {
64
+ code: "query_invalid";
65
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
66
+ message: string;
67
+ };
68
+ requestId: string;
69
+ };
70
+ outputFormat: "json";
71
+ status: 400;
72
+ input: {
73
+ query: {
74
+ destinationChain?: string | string[];
75
+ destinationToken?: string | string[];
76
+ provider?: string | string[];
77
+ recipient?: string | string[];
78
+ sender?: string | string[];
27
79
  sourceAmount: string | string[];
28
80
  sourceAmountUnits?: string | string[];
29
81
  sourceChain: string | string[];
@@ -46,6 +98,8 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
46
98
  destinationChain?: string | string[];
47
99
  destinationToken?: string | string[];
48
100
  provider?: string | string[];
101
+ recipient?: string | string[];
102
+ sender?: string | string[];
49
103
  sourceAmount: string | string[];
50
104
  sourceAmountUnits?: string | string[];
51
105
  sourceChain: string | string[];
@@ -68,6 +122,8 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
68
122
  destinationChain?: string | string[];
69
123
  destinationToken?: string | string[];
70
124
  provider?: string | string[];
125
+ recipient?: string | string[];
126
+ sender?: string | string[];
71
127
  sourceAmount: string | string[];
72
128
  sourceAmountUnits?: string | string[];
73
129
  sourceChain: string | string[];
@@ -90,6 +146,8 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
90
146
  destinationChain?: string | string[];
91
147
  destinationToken?: string | string[];
92
148
  provider?: string | string[];
149
+ recipient?: string | string[];
150
+ sender?: string | string[];
93
151
  sourceAmount: string | string[];
94
152
  sourceAmountUnits?: string | string[];
95
153
  sourceChain: string | string[];
@@ -112,6 +170,8 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
112
170
  destinationChain?: string | string[];
113
171
  destinationToken?: string | string[];
114
172
  provider?: string | string[];
173
+ recipient?: string | string[];
174
+ sender?: string | string[];
115
175
  sourceAmount: string | string[];
116
176
  sourceAmountUnits?: string | string[];
117
177
  sourceChain: string | string[];
@@ -121,19 +181,21 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
121
181
  } | {
122
182
  output: {
123
183
  error: {
124
- code: "query_invalid";
184
+ code: "route_policy_changed";
125
185
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
126
186
  message: string;
127
187
  };
128
188
  requestId: string;
129
189
  };
130
190
  outputFormat: "json";
131
- status: 400;
191
+ status: 409;
132
192
  input: {
133
193
  query: {
134
194
  destinationChain?: string | string[];
135
195
  destinationToken?: string | string[];
136
196
  provider?: string | string[];
197
+ recipient?: string | string[];
198
+ sender?: string | string[];
137
199
  sourceAmount: string | string[];
138
200
  sourceAmountUnits?: string | string[];
139
201
  sourceChain: string | string[];
@@ -143,19 +205,45 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
143
205
  } | {
144
206
  output: {
145
207
  error: {
146
- code: "upstream_error";
208
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
147
209
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
148
210
  message: string;
149
211
  };
150
212
  requestId: string;
151
213
  };
152
214
  outputFormat: "json";
153
- status: 502;
215
+ status: 403;
216
+ input: {
217
+ query: {
218
+ destinationChain?: string | string[];
219
+ destinationToken?: string | string[];
220
+ provider?: string | string[];
221
+ recipient?: string | string[];
222
+ sender?: string | string[];
223
+ sourceAmount: string | string[];
224
+ sourceAmountUnits?: string | string[];
225
+ sourceChain: string | string[];
226
+ sourceToken: string | string[];
227
+ };
228
+ };
229
+ } | {
230
+ output: {
231
+ error: {
232
+ code: "route_unavailable";
233
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
234
+ message: string;
235
+ };
236
+ requestId: string;
237
+ };
238
+ outputFormat: "json";
239
+ status: 400;
154
240
  input: {
155
241
  query: {
156
242
  destinationChain?: string | string[];
157
243
  destinationToken?: string | string[];
158
244
  provider?: string | string[];
245
+ recipient?: string | string[];
246
+ sender?: string | string[];
159
247
  sourceAmount: string | string[];
160
248
  sourceAmountUnits?: string | string[];
161
249
  sourceChain: string | string[];
@@ -237,6 +325,8 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
237
325
  destinationChain?: string | string[];
238
326
  destinationToken?: string | string[];
239
327
  provider?: string | string[];
328
+ recipient?: string | string[];
329
+ sender?: string | string[];
240
330
  sourceAmount: string | string[];
241
331
  sourceAmountUnits?: string | string[];
242
332
  sourceChain: string | string[];
@@ -396,14 +486,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
396
486
  $get: {
397
487
  output: {
398
488
  error: {
399
- code: "api_key_malformed";
489
+ code: "upstream_error";
400
490
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
401
491
  message: string;
402
492
  };
403
493
  requestId: string;
404
494
  };
405
495
  outputFormat: "json";
406
- status: 400;
496
+ status: 502;
407
497
  input: {
408
498
  query?: {
409
499
  cursor?: string | string[];
@@ -415,14 +505,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
415
505
  } | {
416
506
  output: {
417
507
  error: {
418
- code: "api_key_invalid" | "api_key_missing";
508
+ code: "query_invalid";
419
509
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
420
510
  message: string;
421
511
  };
422
512
  requestId: string;
423
513
  };
424
514
  outputFormat: "json";
425
- status: 401;
515
+ status: 400;
426
516
  input: {
427
517
  query?: {
428
518
  cursor?: string | string[];
@@ -434,14 +524,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
434
524
  } | {
435
525
  output: {
436
526
  error: {
437
- code: "api_key_forbidden" | "api_key_ip_forbidden";
527
+ code: "api_key_malformed";
438
528
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
439
529
  message: string;
440
530
  };
441
531
  requestId: string;
442
532
  };
443
533
  outputFormat: "json";
444
- status: 403;
534
+ status: 400;
445
535
  input: {
446
536
  query?: {
447
537
  cursor?: string | string[];
@@ -453,14 +543,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
453
543
  } | {
454
544
  output: {
455
545
  error: {
456
- code: "payment_required" | "rate_limit_exceeded";
546
+ code: "api_key_invalid" | "api_key_missing";
457
547
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
458
548
  message: string;
459
549
  };
460
550
  requestId: string;
461
551
  };
462
552
  outputFormat: "json";
463
- status: 429;
553
+ status: 401;
464
554
  input: {
465
555
  query?: {
466
556
  cursor?: string | string[];
@@ -472,14 +562,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
472
562
  } | {
473
563
  output: {
474
564
  error: {
475
- code: "query_invalid";
565
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
476
566
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
477
567
  message: string;
478
568
  };
479
569
  requestId: string;
480
570
  };
481
571
  outputFormat: "json";
482
- status: 400;
572
+ status: 403;
483
573
  input: {
484
574
  query?: {
485
575
  cursor?: string | string[];
@@ -491,14 +581,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
491
581
  } | {
492
582
  output: {
493
583
  error: {
494
- code: "upstream_error";
584
+ code: "payment_required" | "rate_limit_exceeded";
495
585
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
496
586
  message: string;
497
587
  };
498
588
  requestId: string;
499
589
  };
500
590
  outputFormat: "json";
501
- status: 502;
591
+ status: 429;
502
592
  input: {
503
593
  query?: {
504
594
  cursor?: string | string[];
@@ -667,14 +757,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
667
757
  $get: {
668
758
  output: {
669
759
  error: {
670
- code: "api_key_malformed";
760
+ code: "upstream_error";
671
761
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
672
762
  message: string;
673
763
  };
674
764
  requestId: string;
675
765
  };
676
766
  outputFormat: "json";
677
- status: 400;
767
+ status: 502;
678
768
  input: {
679
769
  param: {
680
770
  id: string;
@@ -683,14 +773,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
683
773
  } | {
684
774
  output: {
685
775
  error: {
686
- code: "api_key_invalid" | "api_key_missing";
776
+ code: "api_key_malformed";
687
777
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
688
778
  message: string;
689
779
  };
690
780
  requestId: string;
691
781
  };
692
782
  outputFormat: "json";
693
- status: 401;
783
+ status: 400;
694
784
  input: {
695
785
  param: {
696
786
  id: string;
@@ -699,14 +789,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
699
789
  } | {
700
790
  output: {
701
791
  error: {
702
- code: "api_key_forbidden" | "api_key_ip_forbidden";
792
+ code: "api_key_invalid" | "api_key_missing";
703
793
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
704
794
  message: string;
705
795
  };
706
796
  requestId: string;
707
797
  };
708
798
  outputFormat: "json";
709
- status: 403;
799
+ status: 401;
710
800
  input: {
711
801
  param: {
712
802
  id: string;
@@ -715,14 +805,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
715
805
  } | {
716
806
  output: {
717
807
  error: {
718
- code: "payment_required" | "rate_limit_exceeded";
808
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
719
809
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
720
810
  message: string;
721
811
  };
722
812
  requestId: string;
723
813
  };
724
814
  outputFormat: "json";
725
- status: 429;
815
+ status: 403;
726
816
  input: {
727
817
  param: {
728
818
  id: string;
@@ -731,14 +821,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
731
821
  } | {
732
822
  output: {
733
823
  error: {
734
- code: "upstream_error";
824
+ code: "payment_required" | "rate_limit_exceeded";
735
825
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
736
826
  message: string;
737
827
  };
738
828
  requestId: string;
739
829
  };
740
830
  outputFormat: "json";
741
- status: 502;
831
+ status: 429;
742
832
  input: {
743
833
  param: {
744
834
  id: string;
@@ -923,111 +1013,111 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
923
1013
  $post: {
924
1014
  output: {
925
1015
  error: {
926
- code: "api_key_malformed";
1016
+ code: "upstream_error";
927
1017
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
928
1018
  message: string;
929
1019
  };
930
1020
  requestId: string;
931
1021
  };
932
1022
  outputFormat: "json";
933
- status: 400;
1023
+ status: 502;
934
1024
  input: {
935
1025
  param: {
936
1026
  id: string;
937
1027
  };
938
1028
  } & {
939
1029
  json: {
940
- transactionHash: `0x${string}`;
1030
+ transactionHash: string;
941
1031
  } | {
942
- transactionHashes: `0x${string}`[];
1032
+ transactionHashes: string[];
943
1033
  };
944
1034
  };
945
1035
  } | {
946
1036
  output: {
947
1037
  error: {
948
- code: "api_key_invalid" | "api_key_missing";
1038
+ code: "api_key_malformed";
949
1039
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
950
1040
  message: string;
951
1041
  };
952
1042
  requestId: string;
953
1043
  };
954
1044
  outputFormat: "json";
955
- status: 401;
1045
+ status: 400;
956
1046
  input: {
957
1047
  param: {
958
1048
  id: string;
959
1049
  };
960
1050
  } & {
961
1051
  json: {
962
- transactionHash: `0x${string}`;
1052
+ transactionHash: string;
963
1053
  } | {
964
- transactionHashes: `0x${string}`[];
1054
+ transactionHashes: string[];
965
1055
  };
966
1056
  };
967
1057
  } | {
968
1058
  output: {
969
1059
  error: {
970
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1060
+ code: "api_key_invalid" | "api_key_missing";
971
1061
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
972
1062
  message: string;
973
1063
  };
974
1064
  requestId: string;
975
1065
  };
976
1066
  outputFormat: "json";
977
- status: 403;
1067
+ status: 401;
978
1068
  input: {
979
1069
  param: {
980
1070
  id: string;
981
1071
  };
982
1072
  } & {
983
1073
  json: {
984
- transactionHash: `0x${string}`;
1074
+ transactionHash: string;
985
1075
  } | {
986
- transactionHashes: `0x${string}`[];
1076
+ transactionHashes: string[];
987
1077
  };
988
1078
  };
989
1079
  } | {
990
1080
  output: {
991
1081
  error: {
992
- code: "payment_required" | "rate_limit_exceeded";
1082
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
993
1083
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
994
1084
  message: string;
995
1085
  };
996
1086
  requestId: string;
997
1087
  };
998
1088
  outputFormat: "json";
999
- status: 429;
1089
+ status: 403;
1000
1090
  input: {
1001
1091
  param: {
1002
1092
  id: string;
1003
1093
  };
1004
1094
  } & {
1005
1095
  json: {
1006
- transactionHash: `0x${string}`;
1096
+ transactionHash: string;
1007
1097
  } | {
1008
- transactionHashes: `0x${string}`[];
1098
+ transactionHashes: string[];
1009
1099
  };
1010
1100
  };
1011
1101
  } | {
1012
1102
  output: {
1013
1103
  error: {
1014
- code: "upstream_error";
1104
+ code: "payment_required" | "rate_limit_exceeded";
1015
1105
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1016
1106
  message: string;
1017
1107
  };
1018
1108
  requestId: string;
1019
1109
  };
1020
1110
  outputFormat: "json";
1021
- status: 502;
1111
+ status: 429;
1022
1112
  input: {
1023
1113
  param: {
1024
1114
  id: string;
1025
1115
  };
1026
1116
  } & {
1027
1117
  json: {
1028
- transactionHash: `0x${string}`;
1118
+ transactionHash: string;
1029
1119
  } | {
1030
- transactionHashes: `0x${string}`[];
1120
+ transactionHashes: string[];
1031
1121
  };
1032
1122
  };
1033
1123
  } | {
@@ -1047,9 +1137,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1047
1137
  };
1048
1138
  } & {
1049
1139
  json: {
1050
- transactionHash: `0x${string}`;
1140
+ transactionHash: string;
1051
1141
  } | {
1052
- transactionHashes: `0x${string}`[];
1142
+ transactionHashes: string[];
1053
1143
  };
1054
1144
  };
1055
1145
  } | {
@@ -1069,9 +1159,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1069
1159
  };
1070
1160
  } & {
1071
1161
  json: {
1072
- transactionHash: `0x${string}`;
1162
+ transactionHash: string;
1073
1163
  } | {
1074
- transactionHashes: `0x${string}`[];
1164
+ transactionHashes: string[];
1075
1165
  };
1076
1166
  };
1077
1167
  } | {
@@ -1091,9 +1181,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1091
1181
  };
1092
1182
  } & {
1093
1183
  json: {
1094
- transactionHash: `0x${string}`;
1184
+ transactionHash: string;
1095
1185
  } | {
1096
- transactionHashes: `0x${string}`[];
1186
+ transactionHashes: string[];
1097
1187
  };
1098
1188
  };
1099
1189
  } | {
@@ -1113,9 +1203,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1113
1203
  };
1114
1204
  } & {
1115
1205
  json: {
1116
- transactionHash: `0x${string}`;
1206
+ transactionHash: string;
1117
1207
  } | {
1118
- transactionHashes: `0x${string}`[];
1208
+ transactionHashes: string[];
1119
1209
  };
1120
1210
  };
1121
1211
  } | {
@@ -1135,9 +1225,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1135
1225
  };
1136
1226
  } & {
1137
1227
  json: {
1138
- transactionHash: `0x${string}`;
1228
+ transactionHash: string;
1139
1229
  } | {
1140
- transactionHashes: `0x${string}`[];
1230
+ transactionHashes: string[];
1141
1231
  };
1142
1232
  };
1143
1233
  } | {
@@ -1265,53 +1355,53 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1265
1355
  };
1266
1356
  } & {
1267
1357
  json: {
1268
- transactionHash: `0x${string}`;
1358
+ transactionHash: string;
1269
1359
  } | {
1270
- transactionHashes: `0x${string}`[];
1360
+ transactionHashes: string[];
1271
1361
  };
1272
1362
  };
1273
1363
  } | {
1274
1364
  output: {
1275
1365
  error: {
1276
- code: "routes_transfer_not_awaiting_source";
1366
+ code: "source_transaction_invalid";
1277
1367
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1278
1368
  message: string;
1279
1369
  };
1280
1370
  requestId: string;
1281
1371
  };
1282
1372
  outputFormat: "json";
1283
- status: 409;
1373
+ status: 400;
1284
1374
  input: {
1285
1375
  param: {
1286
1376
  id: string;
1287
1377
  };
1288
1378
  } & {
1289
1379
  json: {
1290
- transactionHash: `0x${string}`;
1380
+ transactionHash: string;
1291
1381
  } | {
1292
- transactionHashes: `0x${string}`[];
1382
+ transactionHashes: string[];
1293
1383
  };
1294
1384
  };
1295
1385
  } | {
1296
1386
  output: {
1297
1387
  error: {
1298
- code: "source_transaction_invalid";
1388
+ code: "routes_transfer_not_awaiting_source";
1299
1389
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1300
1390
  message: string;
1301
1391
  };
1302
1392
  requestId: string;
1303
1393
  };
1304
1394
  outputFormat: "json";
1305
- status: 400;
1395
+ status: 409;
1306
1396
  input: {
1307
1397
  param: {
1308
1398
  id: string;
1309
1399
  };
1310
1400
  } & {
1311
1401
  json: {
1312
- transactionHash: `0x${string}`;
1402
+ transactionHash: string;
1313
1403
  } | {
1314
- transactionHashes: `0x${string}`[];
1404
+ transactionHashes: string[];
1315
1405
  };
1316
1406
  };
1317
1407
  } | {
@@ -1331,9 +1421,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1331
1421
  };
1332
1422
  } & {
1333
1423
  json: {
1334
- transactionHash: `0x${string}`;
1424
+ transactionHash: string;
1335
1425
  } | {
1336
- transactionHashes: `0x${string}`[];
1426
+ transactionHashes: string[];
1337
1427
  };
1338
1428
  };
1339
1429
  } | {
@@ -1353,9 +1443,9 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1353
1443
  };
1354
1444
  } & {
1355
1445
  json: {
1356
- transactionHash: `0x${string}`;
1446
+ transactionHash: string;
1357
1447
  } | {
1358
- transactionHashes: `0x${string}`[];
1448
+ transactionHashes: string[];
1359
1449
  };
1360
1450
  };
1361
1451
  };
@@ -1365,14 +1455,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1365
1455
  $post: {
1366
1456
  output: {
1367
1457
  error: {
1368
- code: "api_key_malformed";
1458
+ code: "upstream_error";
1369
1459
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1370
1460
  message: string;
1371
1461
  };
1372
1462
  requestId: string;
1373
1463
  };
1374
1464
  outputFormat: "json";
1375
- status: 400;
1465
+ status: 502;
1376
1466
  input: {
1377
1467
  header: {
1378
1468
  'idempotency-key': string;
@@ -1387,7 +1477,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1387
1477
  recipient: string;
1388
1478
  sender: string;
1389
1479
  slippageBps?: number | undefined;
1390
- sourceChain: string;
1480
+ sourceChain?: string | undefined;
1391
1481
  sourceToken: string;
1392
1482
  subsidize?: boolean | undefined;
1393
1483
  };
@@ -1395,14 +1485,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1395
1485
  } | {
1396
1486
  output: {
1397
1487
  error: {
1398
- code: "api_key_invalid" | "api_key_missing";
1488
+ code: "api_key_malformed";
1399
1489
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1400
1490
  message: string;
1401
1491
  };
1402
1492
  requestId: string;
1403
1493
  };
1404
1494
  outputFormat: "json";
1405
- status: 401;
1495
+ status: 400;
1406
1496
  input: {
1407
1497
  header: {
1408
1498
  'idempotency-key': string;
@@ -1417,7 +1507,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1417
1507
  recipient: string;
1418
1508
  sender: string;
1419
1509
  slippageBps?: number | undefined;
1420
- sourceChain: string;
1510
+ sourceChain?: string | undefined;
1421
1511
  sourceToken: string;
1422
1512
  subsidize?: boolean | undefined;
1423
1513
  };
@@ -1425,14 +1515,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1425
1515
  } | {
1426
1516
  output: {
1427
1517
  error: {
1428
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1518
+ code: "api_key_invalid" | "api_key_missing";
1429
1519
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1430
1520
  message: string;
1431
1521
  };
1432
1522
  requestId: string;
1433
1523
  };
1434
1524
  outputFormat: "json";
1435
- status: 403;
1525
+ status: 401;
1436
1526
  input: {
1437
1527
  header: {
1438
1528
  'idempotency-key': string;
@@ -1447,7 +1537,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1447
1537
  recipient: string;
1448
1538
  sender: string;
1449
1539
  slippageBps?: number | undefined;
1450
- sourceChain: string;
1540
+ sourceChain?: string | undefined;
1451
1541
  sourceToken: string;
1452
1542
  subsidize?: boolean | undefined;
1453
1543
  };
@@ -1455,14 +1545,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1455
1545
  } | {
1456
1546
  output: {
1457
1547
  error: {
1458
- code: "payment_required" | "rate_limit_exceeded";
1548
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1459
1549
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1460
1550
  message: string;
1461
1551
  };
1462
1552
  requestId: string;
1463
1553
  };
1464
1554
  outputFormat: "json";
1465
- status: 429;
1555
+ status: 403;
1466
1556
  input: {
1467
1557
  header: {
1468
1558
  'idempotency-key': string;
@@ -1477,7 +1567,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1477
1567
  recipient: string;
1478
1568
  sender: string;
1479
1569
  slippageBps?: number | undefined;
1480
- sourceChain: string;
1570
+ sourceChain?: string | undefined;
1481
1571
  sourceToken: string;
1482
1572
  subsidize?: boolean | undefined;
1483
1573
  };
@@ -1485,14 +1575,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1485
1575
  } | {
1486
1576
  output: {
1487
1577
  error: {
1488
- code: "upstream_error";
1578
+ code: "payment_required" | "rate_limit_exceeded";
1489
1579
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1490
1580
  message: string;
1491
1581
  };
1492
1582
  requestId: string;
1493
1583
  };
1494
1584
  outputFormat: "json";
1495
- status: 502;
1585
+ status: 429;
1496
1586
  input: {
1497
1587
  header: {
1498
1588
  'idempotency-key': string;
@@ -1507,7 +1597,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1507
1597
  recipient: string;
1508
1598
  sender: string;
1509
1599
  slippageBps?: number | undefined;
1510
- sourceChain: string;
1600
+ sourceChain?: string | undefined;
1511
1601
  sourceToken: string;
1512
1602
  subsidize?: boolean | undefined;
1513
1603
  };
@@ -1537,7 +1627,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1537
1627
  recipient: string;
1538
1628
  sender: string;
1539
1629
  slippageBps?: number | undefined;
1540
- sourceChain: string;
1630
+ sourceChain?: string | undefined;
1541
1631
  sourceToken: string;
1542
1632
  subsidize?: boolean | undefined;
1543
1633
  };
@@ -1567,7 +1657,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1567
1657
  recipient: string;
1568
1658
  sender: string;
1569
1659
  slippageBps?: number | undefined;
1570
- sourceChain: string;
1660
+ sourceChain?: string | undefined;
1571
1661
  sourceToken: string;
1572
1662
  subsidize?: boolean | undefined;
1573
1663
  };
@@ -1597,7 +1687,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1597
1687
  recipient: string;
1598
1688
  sender: string;
1599
1689
  slippageBps?: number | undefined;
1600
- sourceChain: string;
1690
+ sourceChain?: string | undefined;
1601
1691
  sourceToken: string;
1602
1692
  subsidize?: boolean | undefined;
1603
1693
  };
@@ -1627,7 +1717,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1627
1717
  recipient: string;
1628
1718
  sender: string;
1629
1719
  slippageBps?: number | undefined;
1630
- sourceChain: string;
1720
+ sourceChain?: string | undefined;
1631
1721
  sourceToken: string;
1632
1722
  subsidize?: boolean | undefined;
1633
1723
  };
@@ -1657,7 +1747,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1657
1747
  recipient: string;
1658
1748
  sender: string;
1659
1749
  slippageBps?: number | undefined;
1660
- sourceChain: string;
1750
+ sourceChain?: string | undefined;
1661
1751
  sourceToken: string;
1662
1752
  subsidize?: boolean | undefined;
1663
1753
  };
@@ -1665,7 +1755,37 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1665
1755
  } | {
1666
1756
  output: {
1667
1757
  error: {
1668
- code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled";
1758
+ code: "route_policy_changed";
1759
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1760
+ message: string;
1761
+ };
1762
+ requestId: string;
1763
+ };
1764
+ outputFormat: "json";
1765
+ status: 409;
1766
+ input: {
1767
+ header: {
1768
+ 'idempotency-key': string;
1769
+ };
1770
+ } & {
1771
+ json: {
1772
+ amount: string;
1773
+ destinationChain?: string | undefined;
1774
+ destinationToken: string;
1775
+ mode: "exactDestination" | "exactSource";
1776
+ provider?: string | undefined;
1777
+ recipient: string;
1778
+ sender: string;
1779
+ slippageBps?: number | undefined;
1780
+ sourceChain?: string | undefined;
1781
+ sourceToken: string;
1782
+ subsidize?: boolean | undefined;
1783
+ };
1784
+ };
1785
+ } | {
1786
+ output: {
1787
+ error: {
1788
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
1669
1789
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
1670
1790
  message: string;
1671
1791
  };
@@ -1687,7 +1807,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1687
1807
  recipient: string;
1688
1808
  sender: string;
1689
1809
  slippageBps?: number | undefined;
1690
- sourceChain: string;
1810
+ sourceChain?: string | undefined;
1691
1811
  sourceToken: string;
1692
1812
  subsidize?: boolean | undefined;
1693
1813
  };
@@ -1717,7 +1837,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1717
1837
  recipient: string;
1718
1838
  sender: string;
1719
1839
  slippageBps?: number | undefined;
1720
- sourceChain: string;
1840
+ sourceChain?: string | undefined;
1721
1841
  sourceToken: string;
1722
1842
  subsidize?: boolean | undefined;
1723
1843
  };
@@ -1845,6 +1965,13 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1845
1965
  value: string;
1846
1966
  }[];
1847
1967
  type: "evm:calls";
1968
+ } | {
1969
+ calls: {
1970
+ data: string;
1971
+ to: string;
1972
+ value: string;
1973
+ }[];
1974
+ type: "tron:calls";
1848
1975
  };
1849
1976
  };
1850
1977
  outputFormat: "json";
@@ -1863,7 +1990,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1863
1990
  recipient: string;
1864
1991
  sender: string;
1865
1992
  slippageBps?: number | undefined;
1866
- sourceChain: string;
1993
+ sourceChain?: string | undefined;
1867
1994
  sourceToken: string;
1868
1995
  subsidize?: boolean | undefined;
1869
1996
  };
@@ -1893,7 +2020,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1893
2020
  recipient: string;
1894
2021
  sender: string;
1895
2022
  slippageBps?: number | undefined;
1896
- sourceChain: string;
2023
+ sourceChain?: string | undefined;
1897
2024
  sourceToken: string;
1898
2025
  subsidize?: boolean | undefined;
1899
2026
  };
@@ -1923,7 +2050,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1923
2050
  recipient: string;
1924
2051
  sender: string;
1925
2052
  slippageBps?: number | undefined;
1926
- sourceChain: string;
2053
+ sourceChain?: string | undefined;
1927
2054
  sourceToken: string;
1928
2055
  subsidize?: boolean | undefined;
1929
2056
  };
@@ -1953,7 +2080,7 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
1953
2080
  recipient: string;
1954
2081
  sender: string;
1955
2082
  slippageBps?: number | undefined;
1956
- sourceChain: string;
2083
+ sourceChain?: string | undefined;
1957
2084
  sourceToken: string;
1958
2085
  subsidize?: boolean | undefined;
1959
2086
  };
@@ -2347,6 +2474,32 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2347
2474
  } & {
2348
2475
  "/v1/routes/deposit-addresses": {
2349
2476
  $post: {
2477
+ output: {
2478
+ error: {
2479
+ code: "upstream_error";
2480
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2481
+ message: string;
2482
+ };
2483
+ requestId: string;
2484
+ };
2485
+ outputFormat: "json";
2486
+ status: 502;
2487
+ input: {
2488
+ header: {
2489
+ 'idempotency-key': string;
2490
+ };
2491
+ } & {
2492
+ json: {
2493
+ amount: string;
2494
+ destinationToken: string;
2495
+ recipient: string;
2496
+ refundAddress: string;
2497
+ sourceChain: string;
2498
+ sourceToken: string;
2499
+ subsidize?: boolean | undefined;
2500
+ };
2501
+ };
2502
+ } | {
2350
2503
  output: {
2351
2504
  error: {
2352
2505
  code: "api_key_malformed";
@@ -2453,14 +2606,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2453
2606
  } | {
2454
2607
  output: {
2455
2608
  error: {
2456
- code: "upstream_error";
2609
+ code: "body_invalid";
2457
2610
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2458
2611
  message: string;
2459
2612
  };
2460
2613
  requestId: string;
2461
2614
  };
2462
2615
  outputFormat: "json";
2463
- status: 502;
2616
+ status: 400;
2464
2617
  input: {
2465
2618
  header: {
2466
2619
  'idempotency-key': string;
@@ -2479,14 +2632,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2479
2632
  } | {
2480
2633
  output: {
2481
2634
  error: {
2482
- code: "body_invalid";
2635
+ code: "quote_not_available";
2483
2636
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2484
2637
  message: string;
2485
2638
  };
2486
2639
  requestId: string;
2487
2640
  };
2488
2641
  outputFormat: "json";
2489
- status: 400;
2642
+ status: 404;
2490
2643
  input: {
2491
2644
  header: {
2492
2645
  'idempotency-key': string;
@@ -2583,7 +2736,85 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2583
2736
  } | {
2584
2737
  output: {
2585
2738
  error: {
2586
- code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled";
2739
+ code: "deposit_address_not_available";
2740
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2741
+ message: string;
2742
+ };
2743
+ requestId: string;
2744
+ };
2745
+ outputFormat: "json";
2746
+ status: 404;
2747
+ input: {
2748
+ header: {
2749
+ 'idempotency-key': string;
2750
+ };
2751
+ } & {
2752
+ json: {
2753
+ amount: string;
2754
+ destinationToken: string;
2755
+ recipient: string;
2756
+ refundAddress: string;
2757
+ sourceChain: string;
2758
+ sourceToken: string;
2759
+ subsidize?: boolean | undefined;
2760
+ };
2761
+ };
2762
+ } | {
2763
+ output: {
2764
+ error: {
2765
+ code: "amount_too_low";
2766
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2767
+ message: string;
2768
+ };
2769
+ requestId: string;
2770
+ };
2771
+ outputFormat: "json";
2772
+ status: 400;
2773
+ input: {
2774
+ header: {
2775
+ 'idempotency-key': string;
2776
+ };
2777
+ } & {
2778
+ json: {
2779
+ amount: string;
2780
+ destinationToken: string;
2781
+ recipient: string;
2782
+ refundAddress: string;
2783
+ sourceChain: string;
2784
+ sourceToken: string;
2785
+ subsidize?: boolean | undefined;
2786
+ };
2787
+ };
2788
+ } | {
2789
+ output: {
2790
+ error: {
2791
+ code: "route_policy_changed";
2792
+ details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2793
+ message: string;
2794
+ };
2795
+ requestId: string;
2796
+ };
2797
+ outputFormat: "json";
2798
+ status: 409;
2799
+ input: {
2800
+ header: {
2801
+ 'idempotency-key': string;
2802
+ };
2803
+ } & {
2804
+ json: {
2805
+ amount: string;
2806
+ destinationToken: string;
2807
+ recipient: string;
2808
+ refundAddress: string;
2809
+ sourceChain: string;
2810
+ sourceToken: string;
2811
+ subsidize?: boolean | undefined;
2812
+ };
2813
+ };
2814
+ } | {
2815
+ output: {
2816
+ error: {
2817
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
2587
2818
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2588
2819
  message: string;
2589
2820
  };
@@ -2609,14 +2840,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2609
2840
  } | {
2610
2841
  output: {
2611
2842
  error: {
2612
- code: "deposit_address_not_available";
2843
+ code: "route_policy_identity_conflict";
2613
2844
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2614
2845
  message: string;
2615
2846
  };
2616
2847
  requestId: string;
2617
2848
  };
2618
2849
  outputFormat: "json";
2619
- status: 404;
2850
+ status: 409;
2620
2851
  input: {
2621
2852
  header: {
2622
2853
  'idempotency-key': string;
@@ -2816,14 +3047,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2816
3047
  $get: {
2817
3048
  output: {
2818
3049
  error: {
2819
- code: "api_key_malformed";
3050
+ code: "upstream_error";
2820
3051
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2821
3052
  message: string;
2822
3053
  };
2823
3054
  requestId: string;
2824
3055
  };
2825
3056
  outputFormat: "json";
2826
- status: 400;
3057
+ status: 502;
2827
3058
  input: {
2828
3059
  query?: {
2829
3060
  cursor?: string | string[];
@@ -2833,14 +3064,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2833
3064
  } | {
2834
3065
  output: {
2835
3066
  error: {
2836
- code: "api_key_invalid" | "api_key_missing";
3067
+ code: "query_invalid";
2837
3068
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2838
3069
  message: string;
2839
3070
  };
2840
3071
  requestId: string;
2841
3072
  };
2842
3073
  outputFormat: "json";
2843
- status: 401;
3074
+ status: 400;
2844
3075
  input: {
2845
3076
  query?: {
2846
3077
  cursor?: string | string[];
@@ -2850,14 +3081,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2850
3081
  } | {
2851
3082
  output: {
2852
3083
  error: {
2853
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3084
+ code: "api_key_malformed";
2854
3085
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2855
3086
  message: string;
2856
3087
  };
2857
3088
  requestId: string;
2858
3089
  };
2859
3090
  outputFormat: "json";
2860
- status: 403;
3091
+ status: 400;
2861
3092
  input: {
2862
3093
  query?: {
2863
3094
  cursor?: string | string[];
@@ -2867,14 +3098,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2867
3098
  } | {
2868
3099
  output: {
2869
3100
  error: {
2870
- code: "payment_required" | "rate_limit_exceeded";
3101
+ code: "api_key_invalid" | "api_key_missing";
2871
3102
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2872
3103
  message: string;
2873
3104
  };
2874
3105
  requestId: string;
2875
3106
  };
2876
3107
  outputFormat: "json";
2877
- status: 429;
3108
+ status: 401;
2878
3109
  input: {
2879
3110
  query?: {
2880
3111
  cursor?: string | string[];
@@ -2884,14 +3115,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2884
3115
  } | {
2885
3116
  output: {
2886
3117
  error: {
2887
- code: "query_invalid";
3118
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2888
3119
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2889
3120
  message: string;
2890
3121
  };
2891
3122
  requestId: string;
2892
3123
  };
2893
3124
  outputFormat: "json";
2894
- status: 400;
3125
+ status: 403;
2895
3126
  input: {
2896
3127
  query?: {
2897
3128
  cursor?: string | string[];
@@ -2901,14 +3132,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2901
3132
  } | {
2902
3133
  output: {
2903
3134
  error: {
2904
- code: "upstream_error";
3135
+ code: "payment_required" | "rate_limit_exceeded";
2905
3136
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
2906
3137
  message: string;
2907
3138
  };
2908
3139
  requestId: string;
2909
3140
  };
2910
3141
  outputFormat: "json";
2911
- status: 502;
3142
+ status: 429;
2912
3143
  input: {
2913
3144
  query?: {
2914
3145
  cursor?: string | string[];
@@ -2997,14 +3228,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
2997
3228
  $get: {
2998
3229
  output: {
2999
3230
  error: {
3000
- code: "api_key_malformed";
3231
+ code: "upstream_error";
3001
3232
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3002
3233
  message: string;
3003
3234
  };
3004
3235
  requestId: string;
3005
3236
  };
3006
3237
  outputFormat: "json";
3007
- status: 400;
3238
+ status: 502;
3008
3239
  input: {
3009
3240
  param: {
3010
3241
  id: string;
@@ -3013,14 +3244,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3013
3244
  } | {
3014
3245
  output: {
3015
3246
  error: {
3016
- code: "api_key_invalid" | "api_key_missing";
3247
+ code: "api_key_malformed";
3017
3248
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3018
3249
  message: string;
3019
3250
  };
3020
3251
  requestId: string;
3021
3252
  };
3022
3253
  outputFormat: "json";
3023
- status: 401;
3254
+ status: 400;
3024
3255
  input: {
3025
3256
  param: {
3026
3257
  id: string;
@@ -3029,14 +3260,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3029
3260
  } | {
3030
3261
  output: {
3031
3262
  error: {
3032
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3263
+ code: "api_key_invalid" | "api_key_missing";
3033
3264
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3034
3265
  message: string;
3035
3266
  };
3036
3267
  requestId: string;
3037
3268
  };
3038
3269
  outputFormat: "json";
3039
- status: 403;
3270
+ status: 401;
3040
3271
  input: {
3041
3272
  param: {
3042
3273
  id: string;
@@ -3045,14 +3276,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3045
3276
  } | {
3046
3277
  output: {
3047
3278
  error: {
3048
- code: "payment_required" | "rate_limit_exceeded";
3279
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3049
3280
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3050
3281
  message: string;
3051
3282
  };
3052
3283
  requestId: string;
3053
3284
  };
3054
3285
  outputFormat: "json";
3055
- status: 429;
3286
+ status: 403;
3056
3287
  input: {
3057
3288
  param: {
3058
3289
  id: string;
@@ -3061,14 +3292,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3061
3292
  } | {
3062
3293
  output: {
3063
3294
  error: {
3064
- code: "upstream_error";
3295
+ code: "payment_required" | "rate_limit_exceeded";
3065
3296
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3066
3297
  message: string;
3067
3298
  };
3068
3299
  requestId: string;
3069
3300
  };
3070
3301
  outputFormat: "json";
3071
- status: 502;
3302
+ status: 429;
3072
3303
  input: {
3073
3304
  param: {
3074
3305
  id: string;
@@ -3192,14 +3423,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3192
3423
  } | {
3193
3424
  output: {
3194
3425
  error: {
3195
- code: "api_key_malformed";
3426
+ code: "upstream_error";
3196
3427
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3197
3428
  message: string;
3198
3429
  };
3199
3430
  requestId: string;
3200
3431
  };
3201
3432
  outputFormat: "json";
3202
- status: 400;
3433
+ status: 502;
3203
3434
  input: {
3204
3435
  param: {
3205
3436
  id: string;
@@ -3208,14 +3439,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3208
3439
  } | {
3209
3440
  output: {
3210
3441
  error: {
3211
- code: "api_key_invalid" | "api_key_missing";
3442
+ code: "api_key_malformed";
3212
3443
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3213
3444
  message: string;
3214
3445
  };
3215
3446
  requestId: string;
3216
3447
  };
3217
3448
  outputFormat: "json";
3218
- status: 401;
3449
+ status: 400;
3219
3450
  input: {
3220
3451
  param: {
3221
3452
  id: string;
@@ -3224,14 +3455,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3224
3455
  } | {
3225
3456
  output: {
3226
3457
  error: {
3227
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3458
+ code: "api_key_invalid" | "api_key_missing";
3228
3459
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3229
3460
  message: string;
3230
3461
  };
3231
3462
  requestId: string;
3232
3463
  };
3233
3464
  outputFormat: "json";
3234
- status: 403;
3465
+ status: 401;
3235
3466
  input: {
3236
3467
  param: {
3237
3468
  id: string;
@@ -3240,14 +3471,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3240
3471
  } | {
3241
3472
  output: {
3242
3473
  error: {
3243
- code: "payment_required" | "rate_limit_exceeded";
3474
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3244
3475
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3245
3476
  message: string;
3246
3477
  };
3247
3478
  requestId: string;
3248
3479
  };
3249
3480
  outputFormat: "json";
3250
- status: 429;
3481
+ status: 403;
3251
3482
  input: {
3252
3483
  param: {
3253
3484
  id: string;
@@ -3256,14 +3487,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3256
3487
  } | {
3257
3488
  output: {
3258
3489
  error: {
3259
- code: "upstream_error";
3490
+ code: "payment_required" | "rate_limit_exceeded";
3260
3491
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3261
3492
  message: string;
3262
3493
  };
3263
3494
  requestId: string;
3264
3495
  };
3265
3496
  outputFormat: "json";
3266
- status: 502;
3497
+ status: 429;
3267
3498
  input: {
3268
3499
  param: {
3269
3500
  id: string;
@@ -3356,14 +3587,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3356
3587
  $get: {
3357
3588
  output: {
3358
3589
  error: {
3359
- code: "api_key_malformed";
3590
+ code: "upstream_error";
3360
3591
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3361
3592
  message: string;
3362
3593
  };
3363
3594
  requestId: string;
3364
3595
  };
3365
3596
  outputFormat: "json";
3366
- status: 400;
3597
+ status: 502;
3367
3598
  input: {
3368
3599
  query?: {
3369
3600
  depositAddress?: string | string[];
@@ -3381,14 +3612,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3381
3612
  } | {
3382
3613
  output: {
3383
3614
  error: {
3384
- code: "api_key_invalid" | "api_key_missing";
3615
+ code: "query_invalid";
3385
3616
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3386
3617
  message: string;
3387
3618
  };
3388
3619
  requestId: string;
3389
3620
  };
3390
3621
  outputFormat: "json";
3391
- status: 401;
3622
+ status: 400;
3392
3623
  input: {
3393
3624
  query?: {
3394
3625
  depositAddress?: string | string[];
@@ -3406,14 +3637,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3406
3637
  } | {
3407
3638
  output: {
3408
3639
  error: {
3409
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3640
+ code: "api_key_malformed";
3410
3641
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3411
3642
  message: string;
3412
3643
  };
3413
3644
  requestId: string;
3414
3645
  };
3415
3646
  outputFormat: "json";
3416
- status: 403;
3647
+ status: 400;
3417
3648
  input: {
3418
3649
  query?: {
3419
3650
  depositAddress?: string | string[];
@@ -3431,14 +3662,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3431
3662
  } | {
3432
3663
  output: {
3433
3664
  error: {
3434
- code: "payment_required" | "rate_limit_exceeded";
3665
+ code: "api_key_invalid" | "api_key_missing";
3435
3666
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3436
3667
  message: string;
3437
3668
  };
3438
3669
  requestId: string;
3439
3670
  };
3440
3671
  outputFormat: "json";
3441
- status: 429;
3672
+ status: 401;
3442
3673
  input: {
3443
3674
  query?: {
3444
3675
  depositAddress?: string | string[];
@@ -3456,14 +3687,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3456
3687
  } | {
3457
3688
  output: {
3458
3689
  error: {
3459
- code: "query_invalid";
3690
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3460
3691
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3461
3692
  message: string;
3462
3693
  };
3463
3694
  requestId: string;
3464
3695
  };
3465
3696
  outputFormat: "json";
3466
- status: 400;
3697
+ status: 403;
3467
3698
  input: {
3468
3699
  query?: {
3469
3700
  depositAddress?: string | string[];
@@ -3481,14 +3712,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3481
3712
  } | {
3482
3713
  output: {
3483
3714
  error: {
3484
- code: "upstream_error";
3715
+ code: "payment_required" | "rate_limit_exceeded";
3485
3716
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3486
3717
  message: string;
3487
3718
  };
3488
3719
  requestId: string;
3489
3720
  };
3490
3721
  outputFormat: "json";
3491
- status: 502;
3722
+ status: 429;
3492
3723
  input: {
3493
3724
  query?: {
3494
3725
  depositAddress?: string | string[];
@@ -3638,14 +3869,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3638
3869
  $get: {
3639
3870
  output: {
3640
3871
  error: {
3641
- code: "api_key_malformed";
3872
+ code: "upstream_error";
3642
3873
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3643
3874
  message: string;
3644
3875
  };
3645
3876
  requestId: string;
3646
3877
  };
3647
3878
  outputFormat: "json";
3648
- status: 400;
3879
+ status: 502;
3649
3880
  input: {
3650
3881
  param: {
3651
3882
  id: string;
@@ -3654,14 +3885,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3654
3885
  } | {
3655
3886
  output: {
3656
3887
  error: {
3657
- code: "api_key_invalid" | "api_key_missing";
3888
+ code: "api_key_malformed";
3658
3889
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3659
3890
  message: string;
3660
3891
  };
3661
3892
  requestId: string;
3662
3893
  };
3663
3894
  outputFormat: "json";
3664
- status: 401;
3895
+ status: 400;
3665
3896
  input: {
3666
3897
  param: {
3667
3898
  id: string;
@@ -3670,14 +3901,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3670
3901
  } | {
3671
3902
  output: {
3672
3903
  error: {
3673
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3904
+ code: "api_key_invalid" | "api_key_missing";
3674
3905
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3675
3906
  message: string;
3676
3907
  };
3677
3908
  requestId: string;
3678
3909
  };
3679
3910
  outputFormat: "json";
3680
- status: 403;
3911
+ status: 401;
3681
3912
  input: {
3682
3913
  param: {
3683
3914
  id: string;
@@ -3686,14 +3917,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3686
3917
  } | {
3687
3918
  output: {
3688
3919
  error: {
3689
- code: "payment_required" | "rate_limit_exceeded";
3920
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3690
3921
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3691
3922
  message: string;
3692
3923
  };
3693
3924
  requestId: string;
3694
3925
  };
3695
3926
  outputFormat: "json";
3696
- status: 429;
3927
+ status: 403;
3697
3928
  input: {
3698
3929
  param: {
3699
3930
  id: string;
@@ -3702,14 +3933,14 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3702
3933
  } | {
3703
3934
  output: {
3704
3935
  error: {
3705
- code: "upstream_error";
3936
+ code: "payment_required" | "rate_limit_exceeded";
3706
3937
  details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
3707
3938
  message: string;
3708
3939
  };
3709
3940
  requestId: string;
3710
3941
  };
3711
3942
  outputFormat: "json";
3712
- status: 502;
3943
+ status: 429;
3713
3944
  input: {
3714
3945
  param: {
3715
3946
  id: string;
@@ -3856,6 +4087,10 @@ export declare function routes(options?: routes.Options): import("hono/hono-base
3856
4087
  export declare namespace routes {
3857
4088
  /** Routes group configuration. */
3858
4089
  type Options = {
4090
+ /** Tempo account available to settle locally subsidized deposits. */
4091
+ depositSubsidyAccount?: string | undefined;
4092
+ /** Platform ceiling used when pinning a subsidized deposit-address commitment. */
4093
+ depositSubsidyMaxAmount?: string | undefined;
3859
4094
  /** Enqueues one deposit address for asynchronous reconciliation. */
3860
4095
  dispatchDepositReconciliation?: ((message: RoutesProvider.Webhook.receive.Dispatchable) => Promise<void>) | undefined;
3861
4096
  /** Enqueues one registered transfer for destination reconciliation. */
@@ -3866,6 +4101,10 @@ export declare namespace routes {
3866
4101
  recordLifecycleInterval?: ((interval: RoutesObservability.LifecycleInterval) => Promise<void>) | undefined;
3867
4102
  /** Read-only destination subsidy inventory, when settlement is configured. */
3868
4103
  transferSubsidy?: RoutesTransferSubsidy.Inventory | undefined;
4104
+ /** Read-only Solana destination subsidy inventory, when settlement is configured. */
4105
+ solanaTransferSubsidy?: RoutesSolanaTransferSubsidy.Inventory | undefined;
4106
+ /** Read-only Tron destination subsidy inventory, when settlement is configured. */
4107
+ tronTransferSubsidy?: RoutesTronTransferSubsidy.Inventory | undefined;
3869
4108
  /** Registers a created address with a source-chain observer. */
3870
4109
  registerDepositAddress?: ((address: RoutesDepositAddress.Public) => Promise<void>) | undefined;
3871
4110
  };