tapimo 0.15.1 → 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 (709) 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 +893 -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 +70 -70
  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 +529 -76
  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 +157 -157
  45. package/dist/admin/index.d.ts +0 -1
  46. package/dist/admin/index.d.ts.map +1 -1
  47. package/dist/admin/index.js +0 -1
  48. package/dist/admin/index.js.map +1 -1
  49. package/dist/admin/ui.generated.d.ts +1 -1
  50. package/dist/admin/ui.generated.d.ts.map +1 -1
  51. package/dist/admin/ui.generated.js +205 -201
  52. package/dist/admin/ui.generated.js.map +1 -1
  53. package/dist/analytics/Analytics.d.ts.map +1 -1
  54. package/dist/analytics/Analytics.js +65 -1
  55. package/dist/analytics/Analytics.js.map +1 -1
  56. package/dist/analytics/tables/requestEvents.d.ts +1 -1
  57. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  58. package/dist/analytics/tables/requestEvents.js +58 -59
  59. package/dist/analytics/tables/requestEvents.js.map +1 -1
  60. package/dist/apps/data/App.d.ts +2709 -2670
  61. package/dist/apps/data/App.d.ts.map +1 -1
  62. package/dist/apps/data/routes/activities.d.ts +357 -357
  63. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  64. package/dist/apps/data/routes/activities.js +50 -0
  65. package/dist/apps/data/routes/activities.js.map +1 -1
  66. package/dist/apps/data/routes/addresses.d.ts +248 -248
  67. package/dist/apps/data/routes/balances.d.ts +22 -22
  68. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  69. package/dist/apps/data/routes/balances.js +5 -7
  70. package/dist/apps/data/routes/balances.js.map +1 -1
  71. package/dist/apps/data/routes/blocks.d.ts +125 -125
  72. package/dist/apps/data/routes/coingecko.d.ts +54 -54
  73. package/dist/apps/data/routes/earn.d.ts +103 -12
  74. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  75. package/dist/apps/data/routes/earn.js +456 -220
  76. package/dist/apps/data/routes/earn.js.map +1 -1
  77. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  78. package/dist/apps/data/routes/exchanges.js +267 -97
  79. package/dist/apps/data/routes/exchanges.js.map +1 -1
  80. package/dist/apps/data/routes/fee-amm.d.ts +109 -127
  81. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  82. package/dist/apps/data/routes/fee-amm.js +83 -54
  83. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  84. package/dist/apps/data/routes/indexer.d.ts +43 -43
  85. package/dist/apps/data/routes/receipts.d.ts +235 -235
  86. package/dist/apps/data/routes/rpc.d.ts +30 -30
  87. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  88. package/dist/apps/data/routes/tokens.js +11 -6
  89. package/dist/apps/data/routes/tokens.js.map +1 -1
  90. package/dist/apps/data/routes/transactions.d.ts +2 -0
  91. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  92. package/dist/apps/data/routes/transactions.js +30 -22
  93. package/dist/apps/data/routes/transactions.js.map +1 -1
  94. package/dist/apps/data/routes/transfers.d.ts +77 -77
  95. package/dist/apps/data/routes/valuation.d.ts +32 -32
  96. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  97. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  98. package/dist/apps/data/routes/webhooks.js +1 -1
  99. package/dist/apps/data/routes/webhooks.js.map +1 -1
  100. package/dist/apps/data/routes/zones.d.ts +31 -31
  101. package/dist/apps/management/App.d.ts +2909 -2064
  102. package/dist/apps/management/App.d.ts.map +1 -1
  103. package/dist/apps/management/App.js +2 -0
  104. package/dist/apps/management/App.js.map +1 -1
  105. package/dist/apps/management/Billing.d.ts +2 -4
  106. package/dist/apps/management/Billing.d.ts.map +1 -1
  107. package/dist/apps/management/Billing.js +65 -26
  108. package/dist/apps/management/Billing.js.map +1 -1
  109. package/dist/apps/management/routes/api-keys.d.ts +257 -245
  110. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  111. package/dist/apps/management/routes/api-keys.js +70 -11
  112. package/dist/apps/management/routes/api-keys.js.map +1 -1
  113. package/dist/apps/management/routes/billing.d.ts +84 -84
  114. package/dist/apps/management/routes/cli.d.ts +912 -0
  115. package/dist/apps/management/routes/cli.d.ts.map +1 -0
  116. package/dist/apps/management/routes/cli.js +416 -0
  117. package/dist/apps/management/routes/cli.js.map +1 -0
  118. package/dist/apps/management/routes/faucet.d.ts +8 -8
  119. package/dist/apps/management/routes/invitations.d.ts +138 -138
  120. package/dist/apps/management/routes/invite-links.d.ts +172 -172
  121. package/dist/apps/management/routes/members.d.ts +16 -16
  122. package/dist/apps/management/routes/orgs.d.ts +104 -104
  123. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  124. package/dist/apps/management/routes/orgs.js +8 -2
  125. package/dist/apps/management/routes/orgs.js.map +1 -1
  126. package/dist/apps/management/routes/projects.d.ts +125 -125
  127. package/dist/apps/management/routes/usage.d.ts +8 -8
  128. package/dist/apps/management/routes/verified-token-requests.d.ts +86 -86
  129. package/dist/apps/management/routes/webhooks.d.ts +485 -485
  130. package/dist/apps/mpp/App.d.ts +44 -44
  131. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
  132. package/dist/apps/mpp/internal/Policy.js +4 -2
  133. package/dist/apps/mpp/internal/Policy.js.map +1 -1
  134. package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -1
  135. package/dist/apps/mpp/internal/Sponsorship.js +6 -4
  136. package/dist/apps/mpp/internal/Sponsorship.js.map +1 -1
  137. package/dist/apps/relay/App.d.ts +8 -0
  138. package/dist/apps/relay/App.d.ts.map +1 -1
  139. package/dist/apps/relay/App.js +16 -4
  140. package/dist/apps/relay/App.js.map +1 -1
  141. package/dist/apps/relay/Sponsorships.d.ts +4 -6
  142. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  143. package/dist/apps/relay/Sponsorships.js +71 -60
  144. package/dist/apps/relay/Sponsorships.js.map +1 -1
  145. package/dist/apps/routes/Access.d.ts +53 -0
  146. package/dist/apps/routes/Access.d.ts.map +1 -1
  147. package/dist/apps/routes/Access.js +121 -0
  148. package/dist/apps/routes/Access.js.map +1 -1
  149. package/dist/apps/routes/App.d.ts +397 -158
  150. package/dist/apps/routes/App.d.ts.map +1 -1
  151. package/dist/apps/routes/App.js.map +1 -1
  152. package/dist/apps/routes/routes/chains.d.ts +25 -25
  153. package/dist/apps/routes/routes/deposit-addresses.d.ts +169 -61
  154. package/dist/apps/routes/routes/deposit-addresses.d.ts.map +1 -1
  155. package/dist/apps/routes/routes/deposit-addresses.js +217 -32
  156. package/dist/apps/routes/routes/deposit-addresses.js.map +1 -1
  157. package/dist/apps/routes/routes/quotes.d.ts +171 -81
  158. package/dist/apps/routes/routes/quotes.d.ts.map +1 -1
  159. package/dist/apps/routes/routes/quotes.js +101 -27
  160. package/dist/apps/routes/routes/quotes.js.map +1 -1
  161. package/dist/apps/routes/routes/transfers.d.ts +532 -480
  162. package/dist/apps/routes/routes/transfers.d.ts.map +1 -1
  163. package/dist/apps/routes/routes/transfers.js +182 -37
  164. package/dist/apps/routes/routes/transfers.js.map +1 -1
  165. package/dist/cli/ApiKeys.d.ts +120 -0
  166. package/dist/cli/ApiKeys.d.ts.map +1 -0
  167. package/dist/cli/ApiKeys.js +138 -0
  168. package/dist/cli/ApiKeys.js.map +1 -0
  169. package/dist/cli/Cli.d.ts +92 -34
  170. package/dist/cli/Cli.d.ts.map +1 -1
  171. package/dist/cli/Cli.js +188 -11
  172. package/dist/cli/Cli.js.map +1 -1
  173. package/dist/cli/Credentials.d.ts +95 -0
  174. package/dist/cli/Credentials.d.ts.map +1 -0
  175. package/dist/cli/Credentials.js +110 -0
  176. package/dist/cli/Credentials.js.map +1 -0
  177. package/dist/cli/Spec.d.ts +59 -0
  178. package/dist/cli/Spec.d.ts.map +1 -0
  179. package/dist/cli/Spec.js +77 -0
  180. package/dist/cli/Spec.js.map +1 -0
  181. package/dist/cli/bin.js +5 -1
  182. package/dist/cli/bin.js.map +1 -1
  183. package/dist/cli/commands/admin.d.ts +5 -5
  184. package/dist/cli/commands/admin.d.ts.map +1 -1
  185. package/dist/cli/commands/auth.d.ts +73 -0
  186. package/dist/cli/commands/auth.d.ts.map +1 -0
  187. package/dist/cli/commands/auth.js +204 -0
  188. package/dist/cli/commands/auth.js.map +1 -0
  189. package/dist/cli/commands/keys.d.ts +17 -0
  190. package/dist/cli/commands/keys.d.ts.map +1 -0
  191. package/dist/cli/commands/keys.js +109 -0
  192. package/dist/cli/commands/keys.js.map +1 -0
  193. package/dist/cloudflare.d.ts +27 -2
  194. package/dist/cloudflare.d.ts.map +1 -1
  195. package/dist/cloudflare.js +144 -17
  196. package/dist/cloudflare.js.map +1 -1
  197. package/dist/db/Db.d.ts +23 -0
  198. package/dist/db/Db.d.ts.map +1 -1
  199. package/dist/db/Db.js +413 -1
  200. package/dist/db/Db.js.map +1 -1
  201. package/dist/db/Schema.d.ts +44 -1
  202. package/dist/db/Schema.d.ts.map +1 -1
  203. package/dist/db/Schema.js +56 -3
  204. package/dist/db/Schema.js.map +1 -1
  205. package/dist/db/tables/apiKeyAdmissions.d.ts +28 -2
  206. package/dist/db/tables/apiKeyAdmissions.d.ts.map +1 -1
  207. package/dist/db/tables/apiKeyAdmissions.js +65 -9
  208. package/dist/db/tables/apiKeyAdmissions.js.map +1 -1
  209. package/dist/db/tables/apiKeyOwnerTombstones.d.ts +2 -0
  210. package/dist/db/tables/apiKeyOwnerTombstones.d.ts.map +1 -1
  211. package/dist/db/tables/apiKeyOwnerTombstones.js +2 -2
  212. package/dist/db/tables/apiKeyOwnerTombstones.js.map +1 -1
  213. package/dist/db/tables/authAccounts.d.ts.map +1 -1
  214. package/dist/db/tables/authAccounts.js +1 -0
  215. package/dist/db/tables/authAccounts.js.map +1 -1
  216. package/dist/db/tables/earnVaults.d.ts +5 -1
  217. package/dist/db/tables/earnVaults.d.ts.map +1 -1
  218. package/dist/db/tables/earnVaults.js +12 -1
  219. package/dist/db/tables/earnVaults.js.map +1 -1
  220. package/dist/db/tables/organizations.d.ts +4 -2
  221. package/dist/db/tables/organizations.d.ts.map +1 -1
  222. package/dist/db/tables/organizations.js +8 -34
  223. package/dist/db/tables/organizations.js.map +1 -1
  224. package/dist/db/tables/requestUsage.d.ts +5 -1
  225. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  226. package/dist/db/tables/requestUsage.js +10 -2
  227. package/dist/db/tables/requestUsage.js.map +1 -1
  228. package/dist/db/tables/rewardEligibilityAssociations.d.ts +13 -0
  229. package/dist/db/tables/rewardEligibilityAssociations.d.ts.map +1 -1
  230. package/dist/db/tables/rewardEligibilityAssociations.js +11 -0
  231. package/dist/db/tables/rewardEligibilityAssociations.js.map +1 -1
  232. package/dist/db/tables/rewardRuns.d.ts.map +1 -1
  233. package/dist/db/tables/rewardRuns.js +4 -0
  234. package/dist/db/tables/rewardRuns.js.map +1 -1
  235. package/dist/db/tables/rewardTransactionAttempts.d.ts.map +1 -1
  236. package/dist/db/tables/rewardTransactionAttempts.js +2 -0
  237. package/dist/db/tables/rewardTransactionAttempts.js.map +1 -1
  238. package/dist/db/tables/routesDepositAddresses.d.ts +29 -0
  239. package/dist/db/tables/routesDepositAddresses.d.ts.map +1 -1
  240. package/dist/db/tables/routesDepositAddresses.js +84 -31
  241. package/dist/db/tables/routesDepositAddresses.js.map +1 -1
  242. package/dist/db/tables/routesDeposits.d.ts.map +1 -1
  243. package/dist/db/tables/routesDeposits.js +31 -21
  244. package/dist/db/tables/routesDeposits.js.map +1 -1
  245. package/dist/db/tables/routesIdempotency.d.ts.map +1 -1
  246. package/dist/db/tables/routesIdempotency.js +2 -0
  247. package/dist/db/tables/routesIdempotency.js.map +1 -1
  248. package/dist/db/tables/routesPolicies.d.ts +58 -0
  249. package/dist/db/tables/routesPolicies.d.ts.map +1 -0
  250. package/dist/db/tables/routesPolicies.js +198 -0
  251. package/dist/db/tables/routesPolicies.js.map +1 -0
  252. package/dist/db/tables/routesTransferSubsidies.d.ts +22 -0
  253. package/dist/db/tables/routesTransferSubsidies.d.ts.map +1 -1
  254. package/dist/db/tables/routesTransferSubsidies.js +41 -0
  255. package/dist/db/tables/routesTransferSubsidies.js.map +1 -1
  256. package/dist/db/tables/routesTransferSubsidyNonces.d.ts.map +1 -1
  257. package/dist/db/tables/routesTransferSubsidyNonces.js +12 -4
  258. package/dist/db/tables/routesTransferSubsidyNonces.js.map +1 -1
  259. package/dist/db/tables/routesTransfers.d.ts +26 -1
  260. package/dist/db/tables/routesTransfers.d.ts.map +1 -1
  261. package/dist/db/tables/routesTransfers.js +36 -6
  262. package/dist/db/tables/routesTransfers.js.map +1 -1
  263. package/dist/db/tables/sponsoredTransactions.d.ts +45 -13
  264. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  265. package/dist/db/tables/sponsoredTransactions.js +144 -33
  266. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  267. package/dist/db/tables/users.d.ts +2 -0
  268. package/dist/db/tables/users.d.ts.map +1 -1
  269. package/dist/db/tables/users.js +11 -0
  270. package/dist/db/tables/users.js.map +1 -1
  271. package/dist/handlers/internal/multisig.d.ts +1 -1
  272. package/dist/handlers/internal/multisig.d.ts.map +1 -1
  273. package/dist/handlers/internal/multisig.js +3 -2
  274. package/dist/handlers/internal/multisig.js.map +1 -1
  275. package/dist/handlers/relay.d.ts +2 -0
  276. package/dist/handlers/relay.d.ts.map +1 -1
  277. package/dist/handlers/relay.js +34 -15
  278. package/dist/handlers/relay.js.map +1 -1
  279. package/dist/internal/Auth.d.ts +57 -6
  280. package/dist/internal/Auth.d.ts.map +1 -1
  281. package/dist/internal/Auth.js +182 -78
  282. package/dist/internal/Auth.js.map +1 -1
  283. package/dist/internal/BetterAuth.d.ts +22 -0
  284. package/dist/internal/BetterAuth.d.ts.map +1 -1
  285. package/dist/internal/BetterAuth.js +17 -14
  286. package/dist/internal/BetterAuth.js.map +1 -1
  287. package/dist/internal/Cache.d.ts +5 -0
  288. package/dist/internal/Cache.d.ts.map +1 -1
  289. package/dist/internal/Cache.js +3 -1
  290. package/dist/internal/Cache.js.map +1 -1
  291. package/dist/internal/CliAuth.d.ts +243 -0
  292. package/dist/internal/CliAuth.d.ts.map +1 -0
  293. package/dist/internal/CliAuth.js +249 -0
  294. package/dist/internal/CliAuth.js.map +1 -0
  295. package/dist/internal/EarnSharePrices.d.ts +1 -1
  296. package/dist/internal/EarnSharePrices.d.ts.map +1 -1
  297. package/dist/internal/EarnSharePrices.js +7 -3
  298. package/dist/internal/EarnSharePrices.js.map +1 -1
  299. package/dist/internal/EarnVaults.d.ts +47 -0
  300. package/dist/internal/EarnVaults.d.ts.map +1 -1
  301. package/dist/internal/EarnVaults.js +188 -4
  302. package/dist/internal/EarnVaults.js.map +1 -1
  303. package/dist/internal/EarnWithdrawals.d.ts +73 -0
  304. package/dist/internal/EarnWithdrawals.d.ts.map +1 -0
  305. package/dist/internal/EarnWithdrawals.js +189 -0
  306. package/dist/internal/EarnWithdrawals.js.map +1 -0
  307. package/dist/internal/ExecutionContext.d.ts +21 -0
  308. package/dist/internal/ExecutionContext.d.ts.map +1 -0
  309. package/dist/internal/ExecutionContext.js +16 -0
  310. package/dist/internal/ExecutionContext.js.map +1 -0
  311. package/dist/internal/Log.d.ts +7 -3
  312. package/dist/internal/Log.d.ts.map +1 -1
  313. package/dist/internal/Log.js +163 -130
  314. package/dist/internal/Log.js.map +1 -1
  315. package/dist/internal/MetricSink.d.ts.map +1 -1
  316. package/dist/internal/MetricSink.js +26 -1
  317. package/dist/internal/MetricSink.js.map +1 -1
  318. package/dist/internal/RateLimit.d.ts +67 -0
  319. package/dist/internal/RateLimit.d.ts.map +1 -1
  320. package/dist/internal/RateLimit.js +174 -27
  321. package/dist/internal/RateLimit.js.map +1 -1
  322. package/dist/internal/Store.d.ts +6 -0
  323. package/dist/internal/Store.d.ts.map +1 -1
  324. package/dist/internal/Store.js +4 -5
  325. package/dist/internal/Store.js.map +1 -1
  326. package/dist/internal/Timing.d.ts +6 -0
  327. package/dist/internal/Timing.d.ts.map +1 -1
  328. package/dist/internal/Timing.js +21 -1
  329. package/dist/internal/Timing.js.map +1 -1
  330. package/dist/internal/Tron.d.ts +124 -0
  331. package/dist/internal/Tron.d.ts.map +1 -0
  332. package/dist/internal/Tron.js +202 -0
  333. package/dist/internal/Tron.js.map +1 -0
  334. package/dist/internal/Viem.d.ts +4 -0
  335. package/dist/internal/Viem.d.ts.map +1 -1
  336. package/dist/internal/Viem.js +25 -6
  337. package/dist/internal/Viem.js.map +1 -1
  338. package/dist/internal/rewards/Read.d.ts +2 -2
  339. package/dist/internal/rewards/Read.d.ts.map +1 -1
  340. package/dist/internal/rewards/Read.js +11 -2
  341. package/dist/internal/rewards/Read.js.map +1 -1
  342. package/dist/internal/routes/Action.d.ts +27 -0
  343. package/dist/internal/routes/Action.d.ts.map +1 -1
  344. package/dist/internal/routes/Action.js +49 -1
  345. package/dist/internal/routes/Action.js.map +1 -1
  346. package/dist/internal/routes/Chain.d.ts +2 -0
  347. package/dist/internal/routes/Chain.d.ts.map +1 -1
  348. package/dist/internal/routes/Chain.js +4 -0
  349. package/dist/internal/routes/Chain.js.map +1 -1
  350. package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
  351. package/dist/internal/routes/DepositAddress.js +5 -0
  352. package/dist/internal/routes/DepositAddress.js.map +1 -1
  353. package/dist/internal/routes/Evidence.d.ts.map +1 -1
  354. package/dist/internal/routes/Evidence.js +6 -2
  355. package/dist/internal/routes/Evidence.js.map +1 -1
  356. package/dist/internal/routes/EvmTransferSettlement.d.ts +17 -0
  357. package/dist/internal/routes/EvmTransferSettlement.d.ts.map +1 -0
  358. package/dist/internal/routes/EvmTransferSettlement.js +196 -0
  359. package/dist/internal/routes/EvmTransferSettlement.js.map +1 -0
  360. package/dist/internal/routes/Policy.d.ts +161 -0
  361. package/dist/internal/routes/Policy.d.ts.map +1 -0
  362. package/dist/internal/routes/Policy.js +249 -0
  363. package/dist/internal/routes/Policy.js.map +1 -0
  364. package/dist/internal/routes/Provider.d.ts +66 -3
  365. package/dist/internal/routes/Provider.d.ts.map +1 -1
  366. package/dist/internal/routes/Provider.js +106 -27
  367. package/dist/internal/routes/Provider.js.map +1 -1
  368. package/dist/internal/routes/Quota.d.ts +57 -0
  369. package/dist/internal/routes/Quota.d.ts.map +1 -0
  370. package/dist/internal/routes/Quota.js +144 -0
  371. package/dist/internal/routes/Quota.js.map +1 -0
  372. package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
  373. package/dist/internal/routes/Reconciliation.js +163 -47
  374. package/dist/internal/routes/Reconciliation.js.map +1 -1
  375. package/dist/internal/routes/SolanaTransferSettlement.d.ts +12 -0
  376. package/dist/internal/routes/SolanaTransferSettlement.d.ts.map +1 -0
  377. package/dist/internal/routes/SolanaTransferSettlement.js +220 -0
  378. package/dist/internal/routes/SolanaTransferSettlement.js.map +1 -0
  379. package/dist/internal/routes/SolanaTransferSubsidy.d.ts +172 -0
  380. package/dist/internal/routes/SolanaTransferSubsidy.d.ts.map +1 -0
  381. package/dist/internal/routes/SolanaTransferSubsidy.js +564 -0
  382. package/dist/internal/routes/SolanaTransferSubsidy.js.map +1 -0
  383. package/dist/internal/routes/Subsidy.d.ts +2 -2
  384. package/dist/internal/routes/Subsidy.d.ts.map +1 -1
  385. package/dist/internal/routes/Subsidy.js +2 -2
  386. package/dist/internal/routes/Subsidy.js.map +1 -1
  387. package/dist/internal/routes/Transfer.d.ts +229 -1
  388. package/dist/internal/routes/Transfer.d.ts.map +1 -1
  389. package/dist/internal/routes/Transfer.js +644 -7
  390. package/dist/internal/routes/Transfer.js.map +1 -1
  391. package/dist/internal/routes/TransferReconciliation.d.ts +6 -0
  392. package/dist/internal/routes/TransferReconciliation.d.ts.map +1 -1
  393. package/dist/internal/routes/TransferReconciliation.js +83 -159
  394. package/dist/internal/routes/TransferReconciliation.js.map +1 -1
  395. package/dist/internal/routes/TransferSettlement.d.ts +45 -0
  396. package/dist/internal/routes/TransferSettlement.d.ts.map +1 -0
  397. package/dist/internal/routes/TransferSettlement.js +2 -0
  398. package/dist/internal/routes/TransferSettlement.js.map +1 -0
  399. package/dist/internal/routes/TransferSubsidy.d.ts +23 -8
  400. package/dist/internal/routes/TransferSubsidy.d.ts.map +1 -1
  401. package/dist/internal/routes/TransferSubsidy.js +64 -5
  402. package/dist/internal/routes/TransferSubsidy.js.map +1 -1
  403. package/dist/internal/routes/TronTransferSettlement.d.ts +12 -0
  404. package/dist/internal/routes/TronTransferSettlement.d.ts.map +1 -0
  405. package/dist/internal/routes/TronTransferSettlement.js +201 -0
  406. package/dist/internal/routes/TronTransferSettlement.js.map +1 -0
  407. package/dist/internal/routes/TronTransferSubsidy.d.ts +174 -0
  408. package/dist/internal/routes/TronTransferSubsidy.d.ts.map +1 -0
  409. package/dist/internal/routes/TronTransferSubsidy.js +439 -0
  410. package/dist/internal/routes/TronTransferSubsidy.js.map +1 -0
  411. package/dist/internal/routes/index.d.ts +3 -0
  412. package/dist/internal/routes/index.d.ts.map +1 -1
  413. package/dist/internal/routes/index.js +3 -0
  414. package/dist/internal/routes/index.js.map +1 -1
  415. package/dist/internal/routes/providers/across.d.ts +3 -0
  416. package/dist/internal/routes/providers/across.d.ts.map +1 -1
  417. package/dist/internal/routes/providers/across.js +11 -0
  418. package/dist/internal/routes/providers/across.js.map +1 -1
  419. package/dist/internal/routes/providers/legacyMesh.d.ts +29 -0
  420. package/dist/internal/routes/providers/legacyMesh.d.ts.map +1 -0
  421. package/dist/internal/routes/providers/legacyMesh.js +474 -0
  422. package/dist/internal/routes/providers/legacyMesh.js.map +1 -0
  423. package/dist/internal/routes/providers/legacyMeshDelivery.d.ts +59 -0
  424. package/dist/internal/routes/providers/legacyMeshDelivery.d.ts.map +1 -0
  425. package/dist/internal/routes/providers/legacyMeshDelivery.js +229 -0
  426. package/dist/internal/routes/providers/legacyMeshDelivery.js.map +1 -0
  427. package/dist/internal/routes/providers/legacyMeshOutbound.d.ts +19 -0
  428. package/dist/internal/routes/providers/legacyMeshOutbound.d.ts.map +1 -0
  429. package/dist/internal/routes/providers/legacyMeshOutbound.js +457 -0
  430. package/dist/internal/routes/providers/legacyMeshOutbound.js.map +1 -0
  431. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts +123 -0
  432. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.d.ts.map +1 -0
  433. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js +333 -0
  434. package/dist/internal/routes/providers/legacyMeshOutboundDelivery.js.map +1 -0
  435. package/dist/internal/routes/providers/propAmm.d.ts +70 -0
  436. package/dist/internal/routes/providers/propAmm.d.ts.map +1 -0
  437. package/dist/internal/routes/providers/propAmm.js +524 -0
  438. package/dist/internal/routes/providers/propAmm.js.map +1 -0
  439. package/dist/internal/routes/providers/relay.d.ts +3 -0
  440. package/dist/internal/routes/providers/relay.d.ts.map +1 -1
  441. package/dist/internal/routes/providers/relay.js +352 -41
  442. package/dist/internal/routes/providers/relay.js.map +1 -1
  443. package/dist/internal/routes/providers/rhino.d.ts +3 -0
  444. package/dist/internal/routes/providers/rhino.d.ts.map +1 -1
  445. package/dist/internal/routes/providers/rhino.js +11 -0
  446. package/dist/internal/routes/providers/rhino.js.map +1 -1
  447. package/dist/internal/routes/providers/squid.d.ts +3 -0
  448. package/dist/internal/routes/providers/squid.d.ts.map +1 -1
  449. package/dist/internal/routes/providers/squid.js +19 -0
  450. package/dist/internal/routes/providers/squid.js.map +1 -1
  451. package/dist/internal/routes/providers/stargate.d.ts.map +1 -1
  452. package/dist/internal/routes/providers/stargate.js +22 -9
  453. package/dist/internal/routes/providers/stargate.js.map +1 -1
  454. package/dist/internal/routes/providers/symbiosis.d.ts.map +1 -1
  455. package/dist/internal/routes/providers/symbiosis.js +13 -17
  456. package/dist/internal/routes/providers/symbiosis.js.map +1 -1
  457. package/dist/providers/index.d.ts +14 -0
  458. package/dist/providers/index.d.ts.map +1 -1
  459. package/dist/providers/index.js +6 -0
  460. package/dist/providers/index.js.map +1 -1
  461. package/package.json +16 -6
  462. package/src/ApiKey.ts +7 -3
  463. package/src/ApiKeys.test.ts +652 -8
  464. package/src/ApiKeys.ts +191 -11
  465. package/src/App.test.ts +405 -18
  466. package/src/App.ts +51 -15
  467. package/src/Client.test-d.ts +157 -10
  468. package/src/Client.test.ts +4 -4
  469. package/src/Scope.ts +1 -2
  470. package/src/admin/App.ts +11 -5
  471. package/src/admin/apps/api-keys.test.ts +98 -2
  472. package/src/admin/apps/api-keys.ts +21 -12
  473. package/src/admin/apps/earn-vaults.test.ts +76 -7
  474. package/src/admin/apps/earn-vaults.ts +47 -8
  475. package/src/admin/apps/organizations.test.ts +147 -31
  476. package/src/admin/apps/organizations.ts +5 -4
  477. package/src/admin/apps/route-policies.test.ts +220 -0
  478. package/src/admin/apps/route-policies.ts +322 -0
  479. package/src/admin/apps/routes-support.test.ts +107 -2
  480. package/src/admin/apps/routes-support.ts +43 -3
  481. package/src/admin/apps/routes.test.ts +150 -0
  482. package/src/admin/apps/routes.ts +97 -1
  483. package/src/admin/apps/scopes.test.ts +1 -1
  484. package/src/admin/index.ts +0 -1
  485. package/src/admin/ui/plugin.ts +2 -1
  486. package/src/admin/ui/src/components/Dialog.tsx +1 -1
  487. package/src/admin/ui/src/components/EarnVaultForm.tsx +45 -0
  488. package/src/admin/ui/src/components/RoutePicker.tsx +79 -0
  489. package/src/admin/ui/src/lib/earn-vaults.ts +1 -1
  490. package/src/admin/ui/src/lib/route-policies.test.ts +452 -0
  491. package/src/admin/ui/src/lib/route-policies.ts +232 -0
  492. package/src/admin/ui/src/lib/routes.ts +34 -0
  493. package/src/admin/ui/src/routeTree.gen.ts +21 -0
  494. package/src/admin/ui/src/routes/api-keys.tsx +21 -2
  495. package/src/admin/ui/src/routes/early-access.tsx +1 -0
  496. package/src/admin/ui/src/routes/earn.vaults.tsx +1 -0
  497. package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +22 -0
  498. package/src/admin/ui/src/routes/earn.vaults_.new.tsx +10 -0
  499. package/src/admin/ui/src/routes/organizations.tsx +1 -0
  500. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +18 -3
  501. package/src/admin/ui/src/routes/route-policies.tsx +678 -0
  502. package/src/admin/ui/src/routes/routes.tsx +85 -2
  503. package/src/admin/ui/src/routes/routes_.support.tsx +6 -22
  504. package/src/admin/ui/src/routes/subsidies.tsx +1 -0
  505. package/src/admin/ui/src/routes/verified-tokens.tsx +1 -0
  506. package/src/admin/ui.generated.ts +258 -202
  507. package/src/analytics/Analytics.test.ts +4 -50
  508. package/src/analytics/Analytics.ts +65 -1
  509. package/src/analytics/tables/requestEvents.test.ts +402 -1
  510. package/src/analytics/tables/requestEvents.ts +62 -93
  511. package/src/apps/data/routes/activities.test.ts +315 -14
  512. package/src/apps/data/routes/activities.ts +60 -0
  513. package/src/apps/data/routes/balances.ts +5 -7
  514. package/src/apps/data/routes/earn.bench.ts +18 -0
  515. package/src/apps/data/routes/earn.local.test.ts +507 -0
  516. package/src/apps/data/routes/earn.test.ts +405 -127
  517. package/src/apps/data/routes/earn.ts +660 -270
  518. package/src/apps/data/routes/exchanges.bench.ts +3 -1
  519. package/src/apps/data/routes/exchanges.test.ts +166 -2
  520. package/src/apps/data/routes/exchanges.ts +308 -101
  521. package/src/apps/data/routes/fee-amm.test.ts +134 -2
  522. package/src/apps/data/routes/fee-amm.ts +122 -60
  523. package/src/apps/data/routes/receipts.test.ts +21 -18
  524. package/src/apps/data/routes/rpc.test.ts +2 -2
  525. package/src/apps/data/routes/tokens.provenance.test.ts +157 -0
  526. package/src/apps/data/routes/tokens.test.ts +4 -4
  527. package/src/apps/data/routes/tokens.ts +11 -6
  528. package/src/apps/data/routes/transactions.test.ts +29 -0
  529. package/src/apps/data/routes/transactions.ts +33 -22
  530. package/src/apps/data/routes/webhooks.test.ts +12 -3
  531. package/src/apps/data/routes/webhooks.ts +2 -1
  532. package/src/apps/management/App.ts +4 -0
  533. package/src/apps/management/Billing.test.ts +253 -27
  534. package/src/apps/management/Billing.ts +83 -29
  535. package/src/apps/management/routes/api-keys.test.ts +1 -1
  536. package/src/apps/management/routes/api-keys.ts +85 -11
  537. package/src/apps/management/routes/billing.test.ts +68 -4
  538. package/src/apps/management/routes/cli.test.ts +370 -0
  539. package/src/apps/management/routes/cli.ts +533 -0
  540. package/src/apps/management/routes/me.test.ts +14 -4
  541. package/src/apps/management/routes/orgs.test.ts +108 -4
  542. package/src/apps/management/routes/orgs.ts +7 -2
  543. package/src/apps/management/routes/usage.test.ts +2 -2
  544. package/src/apps/mpp/internal/Policy.test.ts +51 -4
  545. package/src/apps/mpp/internal/Policy.ts +6 -2
  546. package/src/apps/mpp/internal/Sponsorship.test.ts +29 -0
  547. package/src/apps/mpp/internal/Sponsorship.ts +6 -4
  548. package/src/apps/relay/App.test.ts +85 -1
  549. package/src/apps/relay/App.ts +28 -4
  550. package/src/apps/relay/Sponsorships.test.ts +97 -1
  551. package/src/apps/relay/Sponsorships.ts +77 -66
  552. package/src/apps/routes/Access.test.ts +319 -0
  553. package/src/apps/routes/Access.ts +147 -0
  554. package/src/apps/routes/App.ts +10 -0
  555. package/src/apps/routes/routes/chains.test.ts +3 -2
  556. package/src/apps/routes/routes/deposit-addresses.test.ts +978 -34
  557. package/src/apps/routes/routes/deposit-addresses.ts +243 -32
  558. package/src/apps/routes/routes/propAmm.local.test.ts +951 -0
  559. package/src/apps/routes/routes/quotes.test.ts +81 -8
  560. package/src/apps/routes/routes/quotes.ts +109 -27
  561. package/src/apps/routes/routes/transfers.test.ts +252 -15
  562. package/src/apps/routes/routes/transfers.ts +212 -33
  563. package/src/cli/ApiKeys.test.ts +265 -0
  564. package/src/cli/ApiKeys.ts +189 -0
  565. package/src/cli/Cli.test.ts +188 -0
  566. package/src/cli/Cli.ts +280 -12
  567. package/src/cli/Credentials.test.ts +122 -0
  568. package/src/cli/Credentials.ts +144 -0
  569. package/src/cli/Spec.test.ts +133 -0
  570. package/src/cli/Spec.ts +132 -0
  571. package/src/cli/bin.test.ts +49 -0
  572. package/src/cli/bin.ts +5 -1
  573. package/src/cli/commands/auth.test.ts +138 -0
  574. package/src/cli/commands/auth.ts +254 -0
  575. package/src/cli/commands/keys.test.ts +68 -0
  576. package/src/cli/commands/keys.ts +125 -0
  577. package/src/cloudflare.ts +184 -36
  578. package/src/db/Db.test.ts +877 -0
  579. package/src/db/Db.ts +498 -1
  580. package/src/db/Schema.ts +75 -4
  581. package/src/db/tables/apiKeyAdmissions.test.ts +57 -0
  582. package/src/db/tables/apiKeyAdmissions.ts +101 -11
  583. package/src/db/tables/apiKeyOwnerTombstones.ts +2 -2
  584. package/src/db/tables/authAccounts.test.ts +30 -0
  585. package/src/db/tables/authAccounts.ts +1 -0
  586. package/src/db/tables/earnVaults.test.ts +34 -0
  587. package/src/db/tables/earnVaults.ts +17 -2
  588. package/src/db/tables/organizations.test.ts +148 -84
  589. package/src/db/tables/organizations.ts +11 -43
  590. package/src/db/tables/requestUsage.ts +13 -2
  591. package/src/db/tables/rewardCampaigns.test.ts +163 -0
  592. package/src/db/tables/rewardEligibilityAssociations.test.ts +14 -0
  593. package/src/db/tables/rewardEligibilityAssociations.ts +24 -0
  594. package/src/db/tables/rewardRuns.ts +4 -0
  595. package/src/db/tables/rewardTransactionAttempts.ts +2 -0
  596. package/src/db/tables/routesDepositAddresses.test.ts +263 -0
  597. package/src/db/tables/routesDepositAddresses.ts +118 -34
  598. package/src/db/tables/routesDeposits.test.ts +66 -5
  599. package/src/db/tables/routesDeposits.ts +47 -26
  600. package/src/db/tables/routesIdempotency.test.ts +80 -0
  601. package/src/db/tables/routesIdempotency.ts +2 -0
  602. package/src/db/tables/routesPolicies.test.ts +143 -0
  603. package/src/db/tables/routesPolicies.ts +251 -0
  604. package/src/db/tables/routesTransferSubsidies.ts +64 -0
  605. package/src/db/tables/routesTransferSubsidyNonces.ts +16 -4
  606. package/src/db/tables/routesTransfers.test.ts +183 -2
  607. package/src/db/tables/routesTransfers.ts +65 -6
  608. package/src/db/tables/sponsoredTransactions.test.ts +351 -76
  609. package/src/db/tables/sponsoredTransactions.ts +182 -38
  610. package/src/db/tables/users.test.ts +51 -0
  611. package/src/db/tables/users.ts +12 -0
  612. package/src/handlers/internal/multisig.store.test.ts +120 -0
  613. package/src/handlers/internal/multisig.test.ts +389 -0
  614. package/src/handlers/internal/multisig.ts +13 -10
  615. package/src/handlers/relay.test.ts +259 -83
  616. package/src/handlers/relay.ts +36 -17
  617. package/src/internal/Auth.test.ts +291 -8
  618. package/src/internal/Auth.ts +227 -96
  619. package/src/internal/BetterAuth.test.ts +58 -22
  620. package/src/internal/BetterAuth.ts +23 -17
  621. package/src/internal/Cache.ts +3 -1
  622. package/src/internal/CliAuth.test.ts +279 -0
  623. package/src/internal/CliAuth.ts +319 -0
  624. package/src/internal/EarnSharePrices.test.ts +25 -0
  625. package/src/internal/EarnSharePrices.ts +9 -2
  626. package/src/internal/EarnVaults.test.ts +67 -0
  627. package/src/internal/EarnVaults.ts +299 -4
  628. package/src/internal/EarnWithdrawals.test.ts +315 -0
  629. package/src/internal/EarnWithdrawals.ts +266 -0
  630. package/src/internal/ExecutionContext.ts +31 -0
  631. package/src/internal/Log.test.ts +210 -0
  632. package/src/internal/Log.ts +180 -142
  633. package/src/internal/MetricSink.test.ts +190 -15
  634. package/src/internal/MetricSink.ts +27 -1
  635. package/src/internal/RateLimit.test.ts +144 -8
  636. package/src/internal/RateLimit.ts +254 -26
  637. package/src/internal/Store.ts +4 -5
  638. package/src/internal/Timing.test.ts +32 -0
  639. package/src/internal/Timing.ts +20 -1
  640. package/src/internal/Tron.test-d.ts +22 -0
  641. package/src/internal/Tron.test.ts +94 -0
  642. package/src/internal/Tron.ts +289 -0
  643. package/src/internal/Viem.rpc.test.ts +76 -0
  644. package/src/internal/Viem.ts +29 -6
  645. package/src/internal/rewards/Read.test.ts +109 -0
  646. package/src/internal/rewards/Read.ts +13 -4
  647. package/src/internal/routes/Action.test.ts +70 -0
  648. package/src/internal/routes/Action.ts +76 -1
  649. package/src/internal/routes/Chain.test.ts +18 -0
  650. package/src/internal/routes/Chain.ts +5 -0
  651. package/src/internal/routes/DepositAddress.ts +5 -0
  652. package/src/internal/routes/Evidence.test.ts +64 -0
  653. package/src/internal/routes/Evidence.ts +11 -3
  654. package/src/internal/routes/EvmTransferSettlement.ts +213 -0
  655. package/src/internal/routes/Policy.test.ts +316 -0
  656. package/src/internal/routes/Policy.ts +399 -0
  657. package/src/internal/routes/Provider.test.ts +103 -2
  658. package/src/internal/routes/Provider.ts +149 -27
  659. package/src/internal/routes/Quota.test.ts +149 -0
  660. package/src/internal/routes/Quota.ts +226 -0
  661. package/src/internal/routes/Reconciliation.local.test.ts +285 -0
  662. package/src/internal/routes/Reconciliation.test.ts +371 -13
  663. package/src/internal/routes/Reconciliation.ts +193 -42
  664. package/src/internal/routes/SolanaTransferSettlement.ts +232 -0
  665. package/src/internal/routes/SolanaTransferSubsidy.test.ts +471 -0
  666. package/src/internal/routes/SolanaTransferSubsidy.ts +760 -0
  667. package/src/internal/routes/SourceObservation.test.ts +221 -0
  668. package/src/internal/routes/Subsidy.local.test.ts +46 -0
  669. package/src/internal/routes/Subsidy.ts +4 -2
  670. package/src/internal/routes/Transfer.solana.test.ts +389 -0
  671. package/src/internal/routes/Transfer.test.ts +130 -1
  672. package/src/internal/routes/Transfer.tron.test.ts +172 -0
  673. package/src/internal/routes/Transfer.ts +866 -8
  674. package/src/internal/routes/TransferReconciliation.test.ts +26 -4
  675. package/src/internal/routes/TransferReconciliation.ts +91 -166
  676. package/src/internal/routes/TransferSettlement.ts +48 -0
  677. package/src/internal/routes/TransferSubsidy.local.test.ts +143 -0
  678. package/src/internal/routes/TransferSubsidy.test.ts +34 -4
  679. package/src/internal/routes/TransferSubsidy.ts +87 -12
  680. package/src/internal/routes/TronTransferSettlement.ts +212 -0
  681. package/src/internal/routes/TronTransferSubsidy.test.ts +109 -0
  682. package/src/internal/routes/TronTransferSubsidy.ts +619 -0
  683. package/src/internal/routes/index.test.ts +3 -0
  684. package/src/internal/routes/index.ts +3 -0
  685. package/src/internal/routes/providers/across.ts +13 -0
  686. package/src/internal/routes/providers/index.test.ts +141 -0
  687. package/src/internal/routes/providers/legacyMesh.test.ts +484 -0
  688. package/src/internal/routes/providers/legacyMesh.ts +633 -0
  689. package/src/internal/routes/providers/legacyMeshDelivery.test.ts +306 -0
  690. package/src/internal/routes/providers/legacyMeshDelivery.ts +320 -0
  691. package/src/internal/routes/providers/legacyMeshOutbound.test.ts +401 -0
  692. package/src/internal/routes/providers/legacyMeshOutbound.ts +566 -0
  693. package/src/internal/routes/providers/legacyMeshOutboundDelivery.ts +473 -0
  694. package/src/internal/routes/providers/propAmm.ts +640 -0
  695. package/src/internal/routes/providers/relay.test.ts +1263 -41
  696. package/src/internal/routes/providers/relay.ts +423 -38
  697. package/src/internal/routes/providers/rhino.ts +14 -1
  698. package/src/internal/routes/providers/squid.ts +21 -0
  699. package/src/internal/routes/providers/stargate.test.ts +105 -1
  700. package/src/internal/routes/providers/stargate.ts +22 -9
  701. package/src/internal/routes/providers/symbiosis.ts +13 -47
  702. package/src/providers/index.test.ts +2 -0
  703. package/src/providers/index.ts +18 -0
  704. package/dist/admin/Access.d.ts +0 -39
  705. package/dist/admin/Access.d.ts.map +0 -1
  706. package/dist/admin/Access.js +0 -73
  707. package/dist/admin/Access.js.map +0 -1
  708. package/src/admin/Access.test.ts +0 -130
  709. package/src/admin/Access.ts +0 -85
@@ -1,7 +1,9 @@
1
1
  import * as z from 'zod/mini';
2
2
  import type * as App from '../../../App.js';
3
3
  import * as RoutesObservability from '../../../internal/routes/Observability.js';
4
+ import type * as RoutesSolanaTransferSubsidy from '../../../internal/routes/SolanaTransferSubsidy.js';
4
5
  import * as RoutesTransferSubsidy from '../../../internal/routes/TransferSubsidy.js';
6
+ import type * as RoutesTronTransferSubsidy from '../../../internal/routes/TronTransferSubsidy.js';
5
7
  import * as RoutesTransferReconciliation from '../../../internal/routes/TransferReconciliation.js';
6
8
  import * as Response from '../../../internal/Response.js';
7
9
  import type * as Webhooks from '../../../internal/Webhooks.js';
@@ -383,7 +385,7 @@ export declare namespace schema {
383
385
  recipient: z.ZodMiniString<string>;
384
386
  sender: z.ZodMiniString<string>;
385
387
  slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
386
- sourceChain: z.ZodMiniString<string>;
388
+ sourceChain: z.ZodMiniOptional<z.ZodMiniString<string>>;
387
389
  sourceToken: z.ZodMiniString<string>;
388
390
  subsidize: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
389
391
  }, z.core.$strict>;
@@ -564,6 +566,13 @@ export declare namespace schema {
564
566
  value: z.ZodMiniString<string>;
565
567
  }, z.core.$strip>>;
566
568
  type: z.ZodMiniLiteral<"evm:calls">;
569
+ }, z.core.$strip>, z.ZodMiniObject<{
570
+ calls: z.ZodMiniArray<z.ZodMiniObject<{
571
+ data: z.ZodMiniString<string>;
572
+ to: z.ZodMiniString<string>;
573
+ value: z.ZodMiniString<string>;
574
+ }, z.core.$strip>>;
575
+ type: z.ZodMiniLiteral<"tron:calls">;
567
576
  }, z.core.$strip>], "type">;
568
577
  }, z.core.$strip>;
569
578
  }
@@ -579,7 +588,7 @@ export declare namespace schema {
579
588
  recipient: z.ZodMiniString<string>;
580
589
  sender: z.ZodMiniString<string>;
581
590
  slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
582
- sourceChain: z.ZodMiniString<string>;
591
+ sourceChain: z.ZodMiniNonOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
583
592
  sourceToken: z.ZodMiniString<string>;
584
593
  vaultAddress: z.ZodMiniString<string>;
585
594
  }, z.core.$strict>;
@@ -603,7 +612,7 @@ export declare namespace schema {
603
612
  recipientFallback: z.ZodMiniString<string>;
604
613
  sender: z.ZodMiniString<string>;
605
614
  slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
606
- sourceChain: z.ZodMiniString<string>;
615
+ sourceChain: z.ZodMiniNonOptional<z.ZodMiniOptional<z.ZodMiniString<string>>>;
607
616
  sourceToken: z.ZodMiniString<string>;
608
617
  }, z.core.$strict>;
609
618
  /** Required headers for Zone route transfer creation. */
@@ -785,13 +794,15 @@ export declare namespace schema {
785
794
  version: z.ZodMiniNumber<number>;
786
795
  }, z.core.$strip>;
787
796
  }
797
+ /** EVM hashes or native Tron transaction IDs, validated against the stored source chain before use. */
798
+ const SourceTransactionHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>;
788
799
  /** Schemas for the registerRoutesTransferSourceTransaction operation. */
789
800
  namespace registerRoutesTransferSourceTransaction {
790
801
  /** Source transaction registration request body. */
791
802
  const Body: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
792
- transactionHash: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
803
+ transactionHash: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>;
793
804
  }, z.core.$strict>, z.ZodMiniObject<{
794
- transactionHashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>>;
805
+ transactionHashes: z.ZodMiniArray<z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string, string>>>;
795
806
  }, z.core.$strict>]>;
796
807
  /** Path parameters for source transaction registration. */
797
808
  const Params: z.ZodMiniObject<{
@@ -970,6 +981,139 @@ export declare namespace schema {
970
981
  export declare function transfers(options?: transfers.Options): import("hono/hono-base").HonoBase<App.Environment, {
971
982
  "/v1/routes/transfers": {
972
983
  $get: {
984
+ output: {
985
+ error: {
986
+ code: "api_key_malformed";
987
+ details?: readonly Response.error.Detail[] | undefined;
988
+ message: string;
989
+ };
990
+ requestId: string;
991
+ };
992
+ outputFormat: "json";
993
+ status: 400;
994
+ input: {
995
+ query?: {
996
+ cursor?: string | string[];
997
+ include?: string | string[];
998
+ limit?: string | string[];
999
+ status?: string | string[];
1000
+ } | undefined;
1001
+ };
1002
+ } | {
1003
+ output: {
1004
+ error: {
1005
+ code: "api_key_invalid" | "api_key_missing";
1006
+ details?: readonly Response.error.Detail[] | undefined;
1007
+ message: string;
1008
+ };
1009
+ requestId: string;
1010
+ };
1011
+ outputFormat: "json";
1012
+ status: 401;
1013
+ input: {
1014
+ query?: {
1015
+ cursor?: string | string[];
1016
+ include?: string | string[];
1017
+ limit?: string | string[];
1018
+ status?: string | string[];
1019
+ } | undefined;
1020
+ };
1021
+ } | {
1022
+ output: {
1023
+ error: {
1024
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1025
+ details?: readonly Response.error.Detail[] | undefined;
1026
+ message: string;
1027
+ };
1028
+ requestId: string;
1029
+ };
1030
+ outputFormat: "json";
1031
+ status: 403;
1032
+ input: {
1033
+ query?: {
1034
+ cursor?: string | string[];
1035
+ include?: string | string[];
1036
+ limit?: string | string[];
1037
+ status?: string | string[];
1038
+ } | undefined;
1039
+ };
1040
+ } | {
1041
+ output: {
1042
+ error: {
1043
+ code: "payment_required" | "rate_limit_exceeded";
1044
+ details?: readonly Response.error.Detail[] | undefined;
1045
+ message: string;
1046
+ };
1047
+ requestId: string;
1048
+ };
1049
+ outputFormat: "json";
1050
+ status: 429;
1051
+ input: {
1052
+ query?: {
1053
+ cursor?: string | string[];
1054
+ include?: string | string[];
1055
+ limit?: string | string[];
1056
+ status?: string | string[];
1057
+ } | undefined;
1058
+ };
1059
+ } | {
1060
+ output: {
1061
+ error: {
1062
+ code: "query_invalid";
1063
+ details?: readonly Response.error.Detail[] | undefined;
1064
+ message: string;
1065
+ };
1066
+ requestId: string;
1067
+ };
1068
+ outputFormat: "json";
1069
+ status: 400;
1070
+ input: {
1071
+ query?: {
1072
+ cursor?: string | string[];
1073
+ include?: string | string[];
1074
+ limit?: string | string[];
1075
+ status?: string | string[];
1076
+ } | undefined;
1077
+ };
1078
+ } | {
1079
+ output: {
1080
+ error: {
1081
+ code: "upstream_error";
1082
+ details?: readonly Response.error.Detail[] | undefined;
1083
+ message: string;
1084
+ };
1085
+ requestId: string;
1086
+ };
1087
+ outputFormat: "json";
1088
+ status: 502;
1089
+ input: {
1090
+ query?: {
1091
+ cursor?: string | string[];
1092
+ include?: string | string[];
1093
+ limit?: string | string[];
1094
+ status?: string | string[];
1095
+ } | undefined;
1096
+ };
1097
+ } | {
1098
+ output: {
1099
+ error: {
1100
+ code: "unauthorized";
1101
+ details?: readonly Response.error.Detail[] | undefined;
1102
+ message: string;
1103
+ };
1104
+ requestId: string;
1105
+ };
1106
+ outputFormat: "json";
1107
+ status: 401;
1108
+ input: {
1109
+ query?: {
1110
+ cursor?: string | string[];
1111
+ include?: string | string[];
1112
+ limit?: string | string[];
1113
+ status?: string | string[];
1114
+ } | undefined;
1115
+ };
1116
+ } | {
973
1117
  output: {
974
1118
  data: {
975
1119
  createdAt: string;
@@ -1103,7 +1247,11 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1103
1247
  status?: string | string[];
1104
1248
  } | undefined;
1105
1249
  };
1106
- } | {
1250
+ };
1251
+ };
1252
+ } & {
1253
+ "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}": {
1254
+ $get: {
1107
1255
  output: {
1108
1256
  error: {
1109
1257
  code: "api_key_malformed";
@@ -1115,132 +1263,123 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1115
1263
  outputFormat: "json";
1116
1264
  status: 400;
1117
1265
  input: {
1118
- query?: {
1119
- cursor?: string | string[];
1120
- include?: string | string[];
1121
- limit?: string | string[];
1122
- status?: string | string[];
1123
- } | undefined;
1266
+ param: {
1267
+ id: string;
1268
+ };
1124
1269
  };
1125
1270
  } | {
1126
1271
  output: {
1127
1272
  error: {
1128
- code: "query_invalid";
1273
+ code: "api_key_invalid" | "api_key_missing";
1129
1274
  details?: readonly Response.error.Detail[] | undefined;
1130
1275
  message: string;
1131
1276
  };
1132
1277
  requestId: string;
1133
1278
  };
1134
1279
  outputFormat: "json";
1135
- status: 400;
1280
+ status: 401;
1136
1281
  input: {
1137
- query?: {
1138
- cursor?: string | string[];
1139
- include?: string | string[];
1140
- limit?: string | string[];
1141
- status?: string | string[];
1142
- } | undefined;
1282
+ param: {
1283
+ id: string;
1284
+ };
1143
1285
  };
1144
1286
  } | {
1145
1287
  output: {
1146
1288
  error: {
1147
- code: "api_key_invalid" | "api_key_missing";
1289
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1148
1290
  details?: readonly Response.error.Detail[] | undefined;
1149
1291
  message: string;
1150
1292
  };
1151
1293
  requestId: string;
1152
1294
  };
1153
1295
  outputFormat: "json";
1154
- status: 401;
1296
+ status: 403;
1155
1297
  input: {
1156
- query?: {
1157
- cursor?: string | string[];
1158
- include?: string | string[];
1159
- limit?: string | string[];
1160
- status?: string | string[];
1161
- } | undefined;
1298
+ param: {
1299
+ id: string;
1300
+ };
1162
1301
  };
1163
1302
  } | {
1164
1303
  output: {
1165
1304
  error: {
1166
- code: "unauthorized";
1305
+ code: "payment_required" | "rate_limit_exceeded";
1167
1306
  details?: readonly Response.error.Detail[] | undefined;
1168
1307
  message: string;
1169
1308
  };
1170
1309
  requestId: string;
1171
1310
  };
1172
1311
  outputFormat: "json";
1173
- status: 401;
1312
+ status: 429;
1174
1313
  input: {
1175
- query?: {
1176
- cursor?: string | string[];
1177
- include?: string | string[];
1178
- limit?: string | string[];
1179
- status?: string | string[];
1180
- } | undefined;
1314
+ param: {
1315
+ id: string;
1316
+ };
1181
1317
  };
1182
1318
  } | {
1183
1319
  output: {
1184
1320
  error: {
1185
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1321
+ code: "upstream_error";
1186
1322
  details?: readonly Response.error.Detail[] | undefined;
1187
1323
  message: string;
1188
1324
  };
1189
1325
  requestId: string;
1190
1326
  };
1191
1327
  outputFormat: "json";
1192
- status: 403;
1328
+ status: 502;
1193
1329
  input: {
1194
- query?: {
1195
- cursor?: string | string[];
1196
- include?: string | string[];
1197
- limit?: string | string[];
1198
- status?: string | string[];
1199
- } | undefined;
1330
+ param: {
1331
+ id: string;
1332
+ };
1200
1333
  };
1201
1334
  } | {
1202
1335
  output: {
1203
1336
  error: {
1204
- code: "payment_required" | "rate_limit_exceeded";
1337
+ code: "unauthorized";
1205
1338
  details?: readonly Response.error.Detail[] | undefined;
1206
1339
  message: string;
1207
1340
  };
1208
1341
  requestId: string;
1209
1342
  };
1210
1343
  outputFormat: "json";
1211
- status: 429;
1344
+ status: 401;
1212
1345
  input: {
1213
- query?: {
1214
- cursor?: string | string[];
1215
- include?: string | string[];
1216
- limit?: string | string[];
1217
- status?: string | string[];
1218
- } | undefined;
1346
+ param: {
1347
+ id: string;
1348
+ };
1219
1349
  };
1220
1350
  } | {
1221
1351
  output: {
1222
1352
  error: {
1223
- code: "upstream_error";
1353
+ code: "param_invalid";
1224
1354
  details?: readonly Response.error.Detail[] | undefined;
1225
1355
  message: string;
1226
1356
  };
1227
1357
  requestId: string;
1228
1358
  };
1229
1359
  outputFormat: "json";
1230
- status: 502;
1360
+ status: 400;
1231
1361
  input: {
1232
- query?: {
1233
- cursor?: string | string[];
1234
- include?: string | string[];
1235
- limit?: string | string[];
1236
- status?: string | string[];
1237
- } | undefined;
1362
+ param: {
1363
+ id: string;
1364
+ };
1238
1365
  };
1239
- };
1240
- };
1241
- } & {
1242
- "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}": {
1243
- $get: {
1366
+ } | {
1367
+ output: {
1368
+ error: {
1369
+ code: "routes_transfer_not_found";
1370
+ details?: readonly Response.error.Detail[] | undefined;
1371
+ message: string;
1372
+ };
1373
+ requestId: string;
1374
+ };
1375
+ outputFormat: "json";
1376
+ status: 404;
1377
+ input: {
1378
+ param: {
1379
+ id: string;
1380
+ };
1381
+ };
1382
+ } | {
1244
1383
  output: {
1245
1384
  createdAt: string;
1246
1385
  destinationAmount?: {
@@ -1364,9 +1503,13 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1364
1503
  id: string;
1365
1504
  };
1366
1505
  };
1367
- } | {
1368
- output: {
1369
- error: {
1506
+ };
1507
+ };
1508
+ } & {
1509
+ "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}/source-transactions": {
1510
+ $post: {
1511
+ output: {
1512
+ error: {
1370
1513
  code: "api_key_malformed";
1371
1514
  details?: readonly Response.error.Detail[] | undefined;
1372
1515
  message: string;
@@ -1379,124 +1522,190 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1379
1522
  param: {
1380
1523
  id: string;
1381
1524
  };
1525
+ } & {
1526
+ json: {
1527
+ transactionHash: string;
1528
+ } | {
1529
+ transactionHashes: string[];
1530
+ };
1382
1531
  };
1383
1532
  } | {
1384
1533
  output: {
1385
1534
  error: {
1386
- code: "param_invalid";
1535
+ code: "api_key_invalid" | "api_key_missing";
1387
1536
  details?: readonly Response.error.Detail[] | undefined;
1388
1537
  message: string;
1389
1538
  };
1390
1539
  requestId: string;
1391
1540
  };
1392
1541
  outputFormat: "json";
1393
- status: 400;
1542
+ status: 401;
1394
1543
  input: {
1395
1544
  param: {
1396
1545
  id: string;
1397
1546
  };
1547
+ } & {
1548
+ json: {
1549
+ transactionHash: string;
1550
+ } | {
1551
+ transactionHashes: string[];
1552
+ };
1398
1553
  };
1399
1554
  } | {
1400
1555
  output: {
1401
1556
  error: {
1402
- code: "api_key_invalid" | "api_key_missing";
1557
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1403
1558
  details?: readonly Response.error.Detail[] | undefined;
1404
1559
  message: string;
1405
1560
  };
1406
1561
  requestId: string;
1407
1562
  };
1408
1563
  outputFormat: "json";
1409
- status: 401;
1564
+ status: 403;
1410
1565
  input: {
1411
1566
  param: {
1412
1567
  id: string;
1413
1568
  };
1569
+ } & {
1570
+ json: {
1571
+ transactionHash: string;
1572
+ } | {
1573
+ transactionHashes: string[];
1574
+ };
1414
1575
  };
1415
1576
  } | {
1416
1577
  output: {
1417
1578
  error: {
1418
- code: "unauthorized";
1579
+ code: "payment_required" | "rate_limit_exceeded";
1419
1580
  details?: readonly Response.error.Detail[] | undefined;
1420
1581
  message: string;
1421
1582
  };
1422
1583
  requestId: string;
1423
1584
  };
1424
1585
  outputFormat: "json";
1425
- status: 401;
1586
+ status: 429;
1426
1587
  input: {
1427
1588
  param: {
1428
1589
  id: string;
1429
1590
  };
1591
+ } & {
1592
+ json: {
1593
+ transactionHash: string;
1594
+ } | {
1595
+ transactionHashes: string[];
1596
+ };
1430
1597
  };
1431
1598
  } | {
1432
1599
  output: {
1433
1600
  error: {
1434
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1601
+ code: "upstream_error";
1435
1602
  details?: readonly Response.error.Detail[] | undefined;
1436
1603
  message: string;
1437
1604
  };
1438
1605
  requestId: string;
1439
1606
  };
1440
1607
  outputFormat: "json";
1441
- status: 403;
1608
+ status: 502;
1442
1609
  input: {
1443
1610
  param: {
1444
1611
  id: string;
1445
1612
  };
1613
+ } & {
1614
+ json: {
1615
+ transactionHash: string;
1616
+ } | {
1617
+ transactionHashes: string[];
1618
+ };
1446
1619
  };
1447
1620
  } | {
1448
1621
  output: {
1449
1622
  error: {
1450
- code: "routes_transfer_not_found";
1623
+ code: "body_invalid";
1451
1624
  details?: readonly Response.error.Detail[] | undefined;
1452
1625
  message: string;
1453
1626
  };
1454
1627
  requestId: string;
1455
1628
  };
1456
1629
  outputFormat: "json";
1457
- status: 404;
1630
+ status: 400;
1631
+ input: {
1632
+ param: {
1633
+ id: string;
1634
+ };
1635
+ } & {
1636
+ json: {
1637
+ transactionHash: string;
1638
+ } | {
1639
+ transactionHashes: string[];
1640
+ };
1641
+ };
1642
+ } | {
1643
+ output: {
1644
+ error: {
1645
+ code: "unauthorized";
1646
+ details?: readonly Response.error.Detail[] | undefined;
1647
+ message: string;
1648
+ };
1649
+ requestId: string;
1650
+ };
1651
+ outputFormat: "json";
1652
+ status: 401;
1458
1653
  input: {
1459
1654
  param: {
1460
1655
  id: string;
1461
1656
  };
1657
+ } & {
1658
+ json: {
1659
+ transactionHash: string;
1660
+ } | {
1661
+ transactionHashes: string[];
1662
+ };
1462
1663
  };
1463
1664
  } | {
1464
1665
  output: {
1465
1666
  error: {
1466
- code: "payment_required" | "rate_limit_exceeded";
1667
+ code: "param_invalid";
1467
1668
  details?: readonly Response.error.Detail[] | undefined;
1468
1669
  message: string;
1469
1670
  };
1470
1671
  requestId: string;
1471
1672
  };
1472
1673
  outputFormat: "json";
1473
- status: 429;
1674
+ status: 400;
1474
1675
  input: {
1475
1676
  param: {
1476
1677
  id: string;
1477
1678
  };
1679
+ } & {
1680
+ json: {
1681
+ transactionHash: string;
1682
+ } | {
1683
+ transactionHashes: string[];
1684
+ };
1478
1685
  };
1479
1686
  } | {
1480
1687
  output: {
1481
1688
  error: {
1482
- code: "upstream_error";
1689
+ code: "routes_transfer_not_found";
1483
1690
  details?: readonly Response.error.Detail[] | undefined;
1484
1691
  message: string;
1485
1692
  };
1486
1693
  requestId: string;
1487
1694
  };
1488
1695
  outputFormat: "json";
1489
- status: 502;
1696
+ status: 404;
1490
1697
  input: {
1491
1698
  param: {
1492
1699
  id: string;
1493
1700
  };
1701
+ } & {
1702
+ json: {
1703
+ transactionHash: string;
1704
+ } | {
1705
+ transactionHashes: string[];
1706
+ };
1494
1707
  };
1495
- };
1496
- };
1497
- } & {
1498
- "/v1/routes/transfers/:id{rtr_[A-Za-z0-9_-]+}/source-transactions": {
1499
- $post: {
1708
+ } | {
1500
1709
  output: {
1501
1710
  createdAt: string;
1502
1711
  destinationAmount?: {
@@ -1621,75 +1830,31 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1621
1830
  };
1622
1831
  } & {
1623
1832
  json: {
1624
- transactionHash: `0x${string}`;
1625
- } | {
1626
- transactionHashes: `0x${string}`[];
1627
- };
1628
- };
1629
- } | {
1630
- output: {
1631
- error: {
1632
- code: "api_key_malformed";
1633
- details?: readonly Response.error.Detail[] | undefined;
1634
- message: string;
1635
- };
1636
- requestId: string;
1637
- };
1638
- outputFormat: "json";
1639
- status: 400;
1640
- input: {
1641
- param: {
1642
- id: string;
1643
- };
1644
- } & {
1645
- json: {
1646
- transactionHash: `0x${string}`;
1647
- } | {
1648
- transactionHashes: `0x${string}`[];
1649
- };
1650
- };
1651
- } | {
1652
- output: {
1653
- error: {
1654
- code: "param_invalid";
1655
- details?: readonly Response.error.Detail[] | undefined;
1656
- message: string;
1657
- };
1658
- requestId: string;
1659
- };
1660
- outputFormat: "json";
1661
- status: 400;
1662
- input: {
1663
- param: {
1664
- id: string;
1665
- };
1666
- } & {
1667
- json: {
1668
- transactionHash: `0x${string}`;
1833
+ transactionHash: string;
1669
1834
  } | {
1670
- transactionHashes: `0x${string}`[];
1835
+ transactionHashes: string[];
1671
1836
  };
1672
1837
  };
1673
1838
  } | {
1674
1839
  output: {
1675
1840
  error: {
1676
- code: "body_invalid";
1841
+ code: "not_implemented";
1677
1842
  details?: readonly Response.error.Detail[] | undefined;
1678
1843
  message: string;
1679
1844
  };
1680
1845
  requestId: string;
1681
1846
  };
1682
1847
  outputFormat: "json";
1683
- status: 400;
1848
+ status: 501;
1684
1849
  input: {
1685
1850
  param: {
1686
1851
  id: string;
1687
1852
  };
1688
1853
  } & {
1689
1854
  json: {
1690
- transactionHash: `0x${string}`;
1855
+ transactionHash: string;
1691
1856
  } | {
1692
- transactionHashes: `0x${string}`[];
1857
+ transactionHashes: string[];
1693
1858
  };
1694
1859
  };
1695
1860
  } | {
@@ -1709,97 +1874,9 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1709
1874
  };
1710
1875
  } & {
1711
1876
  json: {
1712
- transactionHash: `0x${string}`;
1713
- } | {
1714
- transactionHashes: `0x${string}`[];
1715
- };
1716
- };
1717
- } | {
1718
- output: {
1719
- error: {
1720
- code: "api_key_invalid" | "api_key_missing";
1721
- details?: readonly Response.error.Detail[] | undefined;
1722
- message: string;
1723
- };
1724
- requestId: string;
1725
- };
1726
- outputFormat: "json";
1727
- status: 401;
1728
- input: {
1729
- param: {
1730
- id: string;
1731
- };
1732
- } & {
1733
- json: {
1734
- transactionHash: `0x${string}`;
1735
- } | {
1736
- transactionHashes: `0x${string}`[];
1737
- };
1738
- };
1739
- } | {
1740
- output: {
1741
- error: {
1742
- code: "unauthorized";
1743
- details?: readonly Response.error.Detail[] | undefined;
1744
- message: string;
1745
- };
1746
- requestId: string;
1747
- };
1748
- outputFormat: "json";
1749
- status: 401;
1750
- input: {
1751
- param: {
1752
- id: string;
1753
- };
1754
- } & {
1755
- json: {
1756
- transactionHash: `0x${string}`;
1877
+ transactionHash: string;
1757
1878
  } | {
1758
- transactionHashes: `0x${string}`[];
1759
- };
1760
- };
1761
- } | {
1762
- output: {
1763
- error: {
1764
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1765
- details?: readonly Response.error.Detail[] | undefined;
1766
- message: string;
1767
- };
1768
- requestId: string;
1769
- };
1770
- outputFormat: "json";
1771
- status: 403;
1772
- input: {
1773
- param: {
1774
- id: string;
1775
- };
1776
- } & {
1777
- json: {
1778
- transactionHash: `0x${string}`;
1779
- } | {
1780
- transactionHashes: `0x${string}`[];
1781
- };
1782
- };
1783
- } | {
1784
- output: {
1785
- error: {
1786
- code: "routes_transfer_not_found";
1787
- details?: readonly Response.error.Detail[] | undefined;
1788
- message: string;
1789
- };
1790
- requestId: string;
1791
- };
1792
- outputFormat: "json";
1793
- status: 404;
1794
- input: {
1795
- param: {
1796
- id: string;
1797
- };
1798
- } & {
1799
- json: {
1800
- transactionHash: `0x${string}`;
1801
- } | {
1802
- transactionHashes: `0x${string}`[];
1879
+ transactionHashes: string[];
1803
1880
  };
1804
1881
  };
1805
1882
  } | {
@@ -1819,9 +1896,9 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1819
1896
  };
1820
1897
  } & {
1821
1898
  json: {
1822
- transactionHash: `0x${string}`;
1899
+ transactionHash: string;
1823
1900
  } | {
1824
- transactionHashes: `0x${string}`[];
1901
+ transactionHashes: string[];
1825
1902
  };
1826
1903
  };
1827
1904
  } | {
@@ -1841,9 +1918,9 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1841
1918
  };
1842
1919
  } & {
1843
1920
  json: {
1844
- transactionHash: `0x${string}`;
1921
+ transactionHash: string;
1845
1922
  } | {
1846
- transactionHashes: `0x${string}`[];
1923
+ transactionHashes: string[];
1847
1924
  };
1848
1925
  };
1849
1926
  } | {
@@ -1863,75 +1940,9 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1863
1940
  };
1864
1941
  } & {
1865
1942
  json: {
1866
- transactionHash: `0x${string}`;
1867
- } | {
1868
- transactionHashes: `0x${string}`[];
1869
- };
1870
- };
1871
- } | {
1872
- output: {
1873
- error: {
1874
- code: "payment_required" | "rate_limit_exceeded";
1875
- details?: readonly Response.error.Detail[] | undefined;
1876
- message: string;
1877
- };
1878
- requestId: string;
1879
- };
1880
- outputFormat: "json";
1881
- status: 429;
1882
- input: {
1883
- param: {
1884
- id: string;
1885
- };
1886
- } & {
1887
- json: {
1888
- transactionHash: `0x${string}`;
1889
- } | {
1890
- transactionHashes: `0x${string}`[];
1891
- };
1892
- };
1893
- } | {
1894
- output: {
1895
- error: {
1896
- code: "not_implemented";
1897
- details?: readonly Response.error.Detail[] | undefined;
1898
- message: string;
1899
- };
1900
- requestId: string;
1901
- };
1902
- outputFormat: "json";
1903
- status: 501;
1904
- input: {
1905
- param: {
1906
- id: string;
1907
- };
1908
- } & {
1909
- json: {
1910
- transactionHash: `0x${string}`;
1911
- } | {
1912
- transactionHashes: `0x${string}`[];
1913
- };
1914
- };
1915
- } | {
1916
- output: {
1917
- error: {
1918
- code: "upstream_error";
1919
- details?: readonly Response.error.Detail[] | undefined;
1920
- message: string;
1921
- };
1922
- requestId: string;
1923
- };
1924
- outputFormat: "json";
1925
- status: 502;
1926
- input: {
1927
- param: {
1928
- id: string;
1929
- };
1930
- } & {
1931
- json: {
1932
- transactionHash: `0x${string}`;
1943
+ transactionHash: string;
1933
1944
  } | {
1934
- transactionHashes: `0x${string}`[];
1945
+ transactionHashes: string[];
1935
1946
  };
1936
1947
  };
1937
1948
  };
@@ -1939,132 +1950,16 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
1939
1950
  } & {
1940
1951
  "/v1/routes/transfers": {
1941
1952
  $post: {
1942
- output: {
1943
- createdAt: string;
1944
- destinationAmount?: {
1945
- baseUnits: string;
1946
- currency: string;
1947
- decimals: number;
1948
- formatted: string;
1949
- } | undefined;
1950
- destinationAmountMin?: {
1951
- baseUnits: string;
1952
- currency: string;
1953
- decimals: number;
1954
- formatted: string;
1955
- } | undefined;
1956
- destinationAmountRequired?: {
1957
- baseUnits: string;
1958
- currency: string;
1959
- decimals: number;
1960
- formatted: string;
1961
- } | undefined;
1962
- destinationChain: {
1963
- addressFormat: "base58" | "base58check" | "hex";
1964
- id: string;
1965
- kind: "evm" | "solana" | "tron";
1966
- name: string;
1967
- };
1968
- destinationToken: {
1969
- address: string;
1970
- currency: string;
1971
- decimals: number;
1972
- name: string;
1973
- standard: string;
1974
- symbol: string;
1975
- tokenKey: string;
1976
- verified: boolean;
1977
- };
1978
- destinationTransactionHashes?: string[] | undefined;
1979
- fees: {
1980
- amount: {
1981
- baseUnits: string;
1982
- currency: string;
1983
- decimals: number;
1984
- formatted: string;
1985
- };
1986
- side: "destination" | "source";
1987
- token: {
1988
- address: string;
1989
- currency: string;
1990
- decimals: number;
1991
- name: string;
1992
- standard: string;
1993
- symbol: string;
1994
- tokenKey: string;
1995
- verified: boolean;
1996
- };
1997
- type: "provider";
1998
- }[];
1999
- id: string;
2000
- method: "depositAddress" | "transaction";
2001
- mode: "exactDestination" | "exactSource";
2002
- provider: {
2003
- id: string;
2004
- name: string;
2005
- };
2006
- quote: {
2007
- expiresAt: string;
2008
- sampledAt: string;
2009
- };
2010
- recipient: string;
2011
- refundAddress?: string | undefined;
2012
- refundAmount?: {
2013
- baseUnits: string;
2014
- currency: string;
2015
- decimals: number;
2016
- formatted: string;
2017
- } | undefined;
2018
- refundTransactionHashes?: string[] | undefined;
2019
- sender?: string | undefined;
2020
- sourceAmount: {
2021
- baseUnits: string;
2022
- currency: string;
2023
- decimals: number;
2024
- formatted: string;
2025
- };
2026
- sourceAmountMax?: {
2027
- baseUnits: string;
2028
- currency: string;
2029
- decimals: number;
2030
- formatted: string;
2031
- } | undefined;
2032
- sourceChain: {
2033
- addressFormat: "base58" | "base58check" | "hex";
2034
- id: string;
2035
- kind: "evm" | "solana" | "tron";
2036
- name: string;
2037
- };
2038
- sourceToken: {
2039
- address: string;
2040
- currency: string;
2041
- decimals: number;
2042
- name: string;
2043
- standard: string;
2044
- symbol: string;
2045
- tokenKey: string;
2046
- verified: boolean;
2047
- };
2048
- sourceTransactionHashes?: string[] | undefined;
2049
- subsidize: boolean;
2050
- status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
2051
- statusReason?: {
2052
- code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2053
- message: string;
2054
- } | undefined;
2055
- updatedAt: string;
2056
- version: number;
2057
- action: {
2058
- calls: {
2059
- data: string;
2060
- to: string;
2061
- value: string;
2062
- }[];
2063
- type: "evm:calls";
1953
+ output: {
1954
+ error: {
1955
+ code: "api_key_malformed";
1956
+ details?: readonly Response.error.Detail[] | undefined;
1957
+ message: string;
2064
1958
  };
1959
+ requestId: string;
2065
1960
  };
2066
1961
  outputFormat: "json";
2067
- status: 200;
1962
+ status: 400;
2068
1963
  input: {
2069
1964
  header: {
2070
1965
  'idempotency-key': string;
@@ -2079,7 +1974,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2079
1974
  recipient: string;
2080
1975
  sender: string;
2081
1976
  slippageBps?: number | undefined;
2082
- sourceChain: string;
1977
+ sourceChain?: string | undefined;
2083
1978
  sourceToken: string;
2084
1979
  subsidize?: boolean | undefined;
2085
1980
  };
@@ -2087,14 +1982,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2087
1982
  } | {
2088
1983
  output: {
2089
1984
  error: {
2090
- code: "api_key_malformed";
1985
+ code: "api_key_invalid" | "api_key_missing";
2091
1986
  details?: readonly Response.error.Detail[] | undefined;
2092
1987
  message: string;
2093
1988
  };
2094
1989
  requestId: string;
2095
1990
  };
2096
1991
  outputFormat: "json";
2097
- status: 400;
1992
+ status: 401;
2098
1993
  input: {
2099
1994
  header: {
2100
1995
  'idempotency-key': string;
@@ -2109,7 +2004,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2109
2004
  recipient: string;
2110
2005
  sender: string;
2111
2006
  slippageBps?: number | undefined;
2112
- sourceChain: string;
2007
+ sourceChain?: string | undefined;
2113
2008
  sourceToken: string;
2114
2009
  subsidize?: boolean | undefined;
2115
2010
  };
@@ -2117,14 +2012,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2117
2012
  } | {
2118
2013
  output: {
2119
2014
  error: {
2120
- code: "body_invalid";
2015
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2121
2016
  details?: readonly Response.error.Detail[] | undefined;
2122
2017
  message: string;
2123
2018
  };
2124
2019
  requestId: string;
2125
2020
  };
2126
2021
  outputFormat: "json";
2127
- status: 400;
2022
+ status: 403;
2128
2023
  input: {
2129
2024
  header: {
2130
2025
  'idempotency-key': string;
@@ -2139,7 +2034,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2139
2034
  recipient: string;
2140
2035
  sender: string;
2141
2036
  slippageBps?: number | undefined;
2142
- sourceChain: string;
2037
+ sourceChain?: string | undefined;
2143
2038
  sourceToken: string;
2144
2039
  subsidize?: boolean | undefined;
2145
2040
  };
@@ -2147,14 +2042,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2147
2042
  } | {
2148
2043
  output: {
2149
2044
  error: {
2150
- code: "api_key_invalid" | "api_key_missing";
2045
+ code: "payment_required" | "rate_limit_exceeded";
2151
2046
  details?: readonly Response.error.Detail[] | undefined;
2152
2047
  message: string;
2153
2048
  };
2154
2049
  requestId: string;
2155
2050
  };
2156
2051
  outputFormat: "json";
2157
- status: 401;
2052
+ status: 429;
2158
2053
  input: {
2159
2054
  header: {
2160
2055
  'idempotency-key': string;
@@ -2169,7 +2064,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2169
2064
  recipient: string;
2170
2065
  sender: string;
2171
2066
  slippageBps?: number | undefined;
2172
- sourceChain: string;
2067
+ sourceChain?: string | undefined;
2173
2068
  sourceToken: string;
2174
2069
  subsidize?: boolean | undefined;
2175
2070
  };
@@ -2177,14 +2072,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2177
2072
  } | {
2178
2073
  output: {
2179
2074
  error: {
2180
- code: "unauthorized";
2075
+ code: "upstream_error";
2181
2076
  details?: readonly Response.error.Detail[] | undefined;
2182
2077
  message: string;
2183
2078
  };
2184
2079
  requestId: string;
2185
2080
  };
2186
2081
  outputFormat: "json";
2187
- status: 401;
2082
+ status: 502;
2188
2083
  input: {
2189
2084
  header: {
2190
2085
  'idempotency-key': string;
@@ -2199,7 +2094,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2199
2094
  recipient: string;
2200
2095
  sender: string;
2201
2096
  slippageBps?: number | undefined;
2202
- sourceChain: string;
2097
+ sourceChain?: string | undefined;
2203
2098
  sourceToken: string;
2204
2099
  subsidize?: boolean | undefined;
2205
2100
  };
@@ -2207,14 +2102,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2207
2102
  } | {
2208
2103
  output: {
2209
2104
  error: {
2210
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2105
+ code: "body_invalid";
2211
2106
  details?: readonly Response.error.Detail[] | undefined;
2212
2107
  message: string;
2213
2108
  };
2214
2109
  requestId: string;
2215
2110
  };
2216
2111
  outputFormat: "json";
2217
- status: 403;
2112
+ status: 400;
2218
2113
  input: {
2219
2114
  header: {
2220
2115
  'idempotency-key': string;
@@ -2229,7 +2124,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2229
2124
  recipient: string;
2230
2125
  sender: string;
2231
2126
  slippageBps?: number | undefined;
2232
- sourceChain: string;
2127
+ sourceChain?: string | undefined;
2233
2128
  sourceToken: string;
2234
2129
  subsidize?: boolean | undefined;
2235
2130
  };
@@ -2237,14 +2132,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2237
2132
  } | {
2238
2133
  output: {
2239
2134
  error: {
2240
- code: "billing_past_due" | "billing_required" | "routes_subsidy_not_enabled";
2135
+ code: "quote_not_available";
2241
2136
  details?: readonly Response.error.Detail[] | undefined;
2242
2137
  message: string;
2243
2138
  };
2244
2139
  requestId: string;
2245
2140
  };
2246
2141
  outputFormat: "json";
2247
- status: 403;
2142
+ status: 404;
2248
2143
  input: {
2249
2144
  header: {
2250
2145
  'idempotency-key': string;
@@ -2259,7 +2154,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2259
2154
  recipient: string;
2260
2155
  sender: string;
2261
2156
  slippageBps?: number | undefined;
2262
- sourceChain: string;
2157
+ sourceChain?: string | undefined;
2263
2158
  sourceToken: string;
2264
2159
  subsidize?: boolean | undefined;
2265
2160
  };
@@ -2267,14 +2162,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2267
2162
  } | {
2268
2163
  output: {
2269
2164
  error: {
2270
- code: "routes_subsidy_limit_exceeded";
2165
+ code: "unauthorized";
2271
2166
  details?: readonly Response.error.Detail[] | undefined;
2272
2167
  message: string;
2273
2168
  };
2274
2169
  requestId: string;
2275
2170
  };
2276
2171
  outputFormat: "json";
2277
- status: 403;
2172
+ status: 401;
2278
2173
  input: {
2279
2174
  header: {
2280
2175
  'idempotency-key': string;
@@ -2289,7 +2184,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2289
2184
  recipient: string;
2290
2185
  sender: string;
2291
2186
  slippageBps?: number | undefined;
2292
- sourceChain: string;
2187
+ sourceChain?: string | undefined;
2293
2188
  sourceToken: string;
2294
2189
  subsidize?: boolean | undefined;
2295
2190
  };
@@ -2297,14 +2192,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2297
2192
  } | {
2298
2193
  output: {
2299
2194
  error: {
2300
- code: "quote_not_available";
2195
+ code: "route_policy_changed";
2301
2196
  details?: readonly Response.error.Detail[] | undefined;
2302
2197
  message: string;
2303
2198
  };
2304
2199
  requestId: string;
2305
2200
  };
2306
2201
  outputFormat: "json";
2307
- status: 404;
2202
+ status: 409;
2308
2203
  input: {
2309
2204
  header: {
2310
2205
  'idempotency-key': string;
@@ -2319,7 +2214,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2319
2214
  recipient: string;
2320
2215
  sender: string;
2321
2216
  slippageBps?: number | undefined;
2322
- sourceChain: string;
2217
+ sourceChain?: string | undefined;
2323
2218
  sourceToken: string;
2324
2219
  subsidize?: boolean | undefined;
2325
2220
  };
@@ -2327,14 +2222,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2327
2222
  } | {
2328
2223
  output: {
2329
2224
  error: {
2330
- code: "idempotency_conflict";
2225
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
2331
2226
  details?: readonly Response.error.Detail[] | undefined;
2332
2227
  message: string;
2333
2228
  };
2334
2229
  requestId: string;
2335
2230
  };
2336
2231
  outputFormat: "json";
2337
- status: 409;
2232
+ status: 403;
2338
2233
  input: {
2339
2234
  header: {
2340
2235
  'idempotency-key': string;
@@ -2349,7 +2244,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2349
2244
  recipient: string;
2350
2245
  sender: string;
2351
2246
  slippageBps?: number | undefined;
2352
- sourceChain: string;
2247
+ sourceChain?: string | undefined;
2353
2248
  sourceToken: string;
2354
2249
  subsidize?: boolean | undefined;
2355
2250
  };
@@ -2357,14 +2252,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2357
2252
  } | {
2358
2253
  output: {
2359
2254
  error: {
2360
- code: "idempotency_in_progress";
2255
+ code: "not_implemented";
2361
2256
  details?: readonly Response.error.Detail[] | undefined;
2362
2257
  message: string;
2363
2258
  };
2364
2259
  requestId: string;
2365
2260
  };
2366
2261
  outputFormat: "json";
2367
- status: 409;
2262
+ status: 501;
2368
2263
  input: {
2369
2264
  header: {
2370
2265
  'idempotency-key': string;
@@ -2379,7 +2274,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2379
2274
  recipient: string;
2380
2275
  sender: string;
2381
2276
  slippageBps?: number | undefined;
2382
- sourceChain: string;
2277
+ sourceChain?: string | undefined;
2383
2278
  sourceToken: string;
2384
2279
  subsidize?: boolean | undefined;
2385
2280
  };
@@ -2387,14 +2282,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2387
2282
  } | {
2388
2283
  output: {
2389
2284
  error: {
2390
- code: "payment_required" | "rate_limit_exceeded";
2285
+ code: "idempotency_conflict";
2391
2286
  details?: readonly Response.error.Detail[] | undefined;
2392
2287
  message: string;
2393
2288
  };
2394
2289
  requestId: string;
2395
2290
  };
2396
2291
  outputFormat: "json";
2397
- status: 429;
2292
+ status: 409;
2398
2293
  input: {
2399
2294
  header: {
2400
2295
  'idempotency-key': string;
@@ -2409,7 +2304,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2409
2304
  recipient: string;
2410
2305
  sender: string;
2411
2306
  slippageBps?: number | undefined;
2412
- sourceChain: string;
2307
+ sourceChain?: string | undefined;
2413
2308
  sourceToken: string;
2414
2309
  subsidize?: boolean | undefined;
2415
2310
  };
@@ -2417,14 +2312,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2417
2312
  } | {
2418
2313
  output: {
2419
2314
  error: {
2420
- code: "not_implemented";
2315
+ code: "idempotency_in_progress";
2421
2316
  details?: readonly Response.error.Detail[] | undefined;
2422
2317
  message: string;
2423
2318
  };
2424
2319
  requestId: string;
2425
2320
  };
2426
2321
  outputFormat: "json";
2427
- status: 501;
2322
+ status: 409;
2428
2323
  input: {
2429
2324
  header: {
2430
2325
  'idempotency-key': string;
@@ -2439,7 +2334,160 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2439
2334
  recipient: string;
2440
2335
  sender: string;
2441
2336
  slippageBps?: number | undefined;
2442
- sourceChain: string;
2337
+ sourceChain?: string | undefined;
2338
+ sourceToken: string;
2339
+ subsidize?: boolean | undefined;
2340
+ };
2341
+ };
2342
+ } | {
2343
+ output: {
2344
+ createdAt: string;
2345
+ destinationAmount?: {
2346
+ baseUnits: string;
2347
+ currency: string;
2348
+ decimals: number;
2349
+ formatted: string;
2350
+ } | undefined;
2351
+ destinationAmountMin?: {
2352
+ baseUnits: string;
2353
+ currency: string;
2354
+ decimals: number;
2355
+ formatted: string;
2356
+ } | undefined;
2357
+ destinationAmountRequired?: {
2358
+ baseUnits: string;
2359
+ currency: string;
2360
+ decimals: number;
2361
+ formatted: string;
2362
+ } | undefined;
2363
+ destinationChain: {
2364
+ addressFormat: "base58" | "base58check" | "hex";
2365
+ id: string;
2366
+ kind: "evm" | "solana" | "tron";
2367
+ name: string;
2368
+ };
2369
+ destinationToken: {
2370
+ address: string;
2371
+ currency: string;
2372
+ decimals: number;
2373
+ name: string;
2374
+ standard: string;
2375
+ symbol: string;
2376
+ tokenKey: string;
2377
+ verified: boolean;
2378
+ };
2379
+ destinationTransactionHashes?: string[] | undefined;
2380
+ fees: {
2381
+ amount: {
2382
+ baseUnits: string;
2383
+ currency: string;
2384
+ decimals: number;
2385
+ formatted: string;
2386
+ };
2387
+ side: "destination" | "source";
2388
+ token: {
2389
+ address: string;
2390
+ currency: string;
2391
+ decimals: number;
2392
+ name: string;
2393
+ standard: string;
2394
+ symbol: string;
2395
+ tokenKey: string;
2396
+ verified: boolean;
2397
+ };
2398
+ type: "provider";
2399
+ }[];
2400
+ id: string;
2401
+ method: "depositAddress" | "transaction";
2402
+ mode: "exactDestination" | "exactSource";
2403
+ provider: {
2404
+ id: string;
2405
+ name: string;
2406
+ };
2407
+ quote: {
2408
+ expiresAt: string;
2409
+ sampledAt: string;
2410
+ };
2411
+ recipient: string;
2412
+ refundAddress?: string | undefined;
2413
+ refundAmount?: {
2414
+ baseUnits: string;
2415
+ currency: string;
2416
+ decimals: number;
2417
+ formatted: string;
2418
+ } | undefined;
2419
+ refundTransactionHashes?: string[] | undefined;
2420
+ sender?: string | undefined;
2421
+ sourceAmount: {
2422
+ baseUnits: string;
2423
+ currency: string;
2424
+ decimals: number;
2425
+ formatted: string;
2426
+ };
2427
+ sourceAmountMax?: {
2428
+ baseUnits: string;
2429
+ currency: string;
2430
+ decimals: number;
2431
+ formatted: string;
2432
+ } | undefined;
2433
+ sourceChain: {
2434
+ addressFormat: "base58" | "base58check" | "hex";
2435
+ id: string;
2436
+ kind: "evm" | "solana" | "tron";
2437
+ name: string;
2438
+ };
2439
+ sourceToken: {
2440
+ address: string;
2441
+ currency: string;
2442
+ decimals: number;
2443
+ name: string;
2444
+ standard: string;
2445
+ symbol: string;
2446
+ tokenKey: string;
2447
+ verified: boolean;
2448
+ };
2449
+ sourceTransactionHashes?: string[] | undefined;
2450
+ subsidize: boolean;
2451
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
2452
+ statusReason?: {
2453
+ code: "billing_past_due" | "billing_required" | "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2454
+ message: string;
2455
+ } | undefined;
2456
+ updatedAt: string;
2457
+ version: number;
2458
+ action: {
2459
+ calls: {
2460
+ data: string;
2461
+ to: string;
2462
+ value: string;
2463
+ }[];
2464
+ type: "evm:calls";
2465
+ } | {
2466
+ calls: {
2467
+ data: string;
2468
+ to: string;
2469
+ value: string;
2470
+ }[];
2471
+ type: "tron:calls";
2472
+ };
2473
+ };
2474
+ outputFormat: "json";
2475
+ status: 200;
2476
+ input: {
2477
+ header: {
2478
+ 'idempotency-key': string;
2479
+ };
2480
+ } & {
2481
+ json: {
2482
+ amount: string;
2483
+ destinationChain?: string | undefined;
2484
+ destinationToken: string;
2485
+ mode: "exactDestination" | "exactSource";
2486
+ provider?: string | undefined;
2487
+ recipient: string;
2488
+ sender: string;
2489
+ slippageBps?: number | undefined;
2490
+ sourceChain?: string | undefined;
2443
2491
  sourceToken: string;
2444
2492
  subsidize?: boolean | undefined;
2445
2493
  };
@@ -2447,14 +2495,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2447
2495
  } | {
2448
2496
  output: {
2449
2497
  error: {
2450
- code: "upstream_error";
2498
+ code: "routes_subsidy_limit_exceeded";
2451
2499
  details?: readonly Response.error.Detail[] | undefined;
2452
2500
  message: string;
2453
2501
  };
2454
2502
  requestId: string;
2455
2503
  };
2456
2504
  outputFormat: "json";
2457
- status: 502;
2505
+ status: 403;
2458
2506
  input: {
2459
2507
  header: {
2460
2508
  'idempotency-key': string;
@@ -2469,7 +2517,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2469
2517
  recipient: string;
2470
2518
  sender: string;
2471
2519
  slippageBps?: number | undefined;
2472
- sourceChain: string;
2520
+ sourceChain?: string | undefined;
2473
2521
  sourceToken: string;
2474
2522
  subsidize?: boolean | undefined;
2475
2523
  };
@@ -2499,7 +2547,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2499
2547
  recipient: string;
2500
2548
  sender: string;
2501
2549
  slippageBps?: number | undefined;
2502
- sourceChain: string;
2550
+ sourceChain?: string | undefined;
2503
2551
  sourceToken: string;
2504
2552
  subsidize?: boolean | undefined;
2505
2553
  };
@@ -2529,7 +2577,7 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2529
2577
  recipient: string;
2530
2578
  sender: string;
2531
2579
  slippageBps?: number | undefined;
2532
- sourceChain: string;
2580
+ sourceChain?: string | undefined;
2533
2581
  sourceToken: string;
2534
2582
  subsidize?: boolean | undefined;
2535
2583
  };
@@ -2568,14 +2616,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2568
2616
  } | {
2569
2617
  output: {
2570
2618
  error: {
2571
- code: "body_invalid";
2619
+ code: "api_key_invalid" | "api_key_missing";
2572
2620
  details?: readonly Response.error.Detail[] | undefined;
2573
2621
  message: string;
2574
2622
  };
2575
2623
  requestId: string;
2576
2624
  };
2577
2625
  outputFormat: "json";
2578
- status: 400;
2626
+ status: 401;
2579
2627
  input: {
2580
2628
  header: {
2581
2629
  'idempotency-key': string;
@@ -2595,14 +2643,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2595
2643
  } | {
2596
2644
  output: {
2597
2645
  error: {
2598
- code: "api_key_invalid" | "api_key_missing";
2646
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2599
2647
  details?: readonly Response.error.Detail[] | undefined;
2600
2648
  message: string;
2601
2649
  };
2602
2650
  requestId: string;
2603
2651
  };
2604
2652
  outputFormat: "json";
2605
- status: 401;
2653
+ status: 403;
2606
2654
  input: {
2607
2655
  header: {
2608
2656
  'idempotency-key': string;
@@ -2622,14 +2670,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2622
2670
  } | {
2623
2671
  output: {
2624
2672
  error: {
2625
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2673
+ code: "payment_required" | "rate_limit_exceeded";
2626
2674
  details?: readonly Response.error.Detail[] | undefined;
2627
2675
  message: string;
2628
2676
  };
2629
2677
  requestId: string;
2630
2678
  };
2631
2679
  outputFormat: "json";
2632
- status: 403;
2680
+ status: 429;
2633
2681
  input: {
2634
2682
  header: {
2635
2683
  'idempotency-key': string;
@@ -2649,14 +2697,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2649
2697
  } | {
2650
2698
  output: {
2651
2699
  error: {
2652
- code: "payment_required" | "rate_limit_exceeded";
2700
+ code: "body_invalid";
2653
2701
  details?: readonly Response.error.Detail[] | undefined;
2654
2702
  message: string;
2655
2703
  };
2656
2704
  requestId: string;
2657
2705
  };
2658
2706
  outputFormat: "json";
2659
- status: 429;
2707
+ status: 400;
2660
2708
  input: {
2661
2709
  header: {
2662
2710
  'idempotency-key': string;
@@ -2736,14 +2784,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2736
2784
  } | {
2737
2785
  output: {
2738
2786
  error: {
2739
- code: "body_invalid";
2787
+ code: "api_key_invalid" | "api_key_missing";
2740
2788
  details?: readonly Response.error.Detail[] | undefined;
2741
2789
  message: string;
2742
2790
  };
2743
2791
  requestId: string;
2744
2792
  };
2745
2793
  outputFormat: "json";
2746
- status: 400;
2794
+ status: 401;
2747
2795
  input: {
2748
2796
  header: {
2749
2797
  'idempotency-key': string;
@@ -2765,14 +2813,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2765
2813
  } | {
2766
2814
  output: {
2767
2815
  error: {
2768
- code: "api_key_invalid" | "api_key_missing";
2816
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2769
2817
  details?: readonly Response.error.Detail[] | undefined;
2770
2818
  message: string;
2771
2819
  };
2772
2820
  requestId: string;
2773
2821
  };
2774
2822
  outputFormat: "json";
2775
- status: 401;
2823
+ status: 403;
2776
2824
  input: {
2777
2825
  header: {
2778
2826
  'idempotency-key': string;
@@ -2794,14 +2842,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2794
2842
  } | {
2795
2843
  output: {
2796
2844
  error: {
2797
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2845
+ code: "payment_required" | "rate_limit_exceeded";
2798
2846
  details?: readonly Response.error.Detail[] | undefined;
2799
2847
  message: string;
2800
2848
  };
2801
2849
  requestId: string;
2802
2850
  };
2803
2851
  outputFormat: "json";
2804
- status: 403;
2852
+ status: 429;
2805
2853
  input: {
2806
2854
  header: {
2807
2855
  'idempotency-key': string;
@@ -2823,14 +2871,14 @@ export declare function transfers(options?: transfers.Options): import("hono/hon
2823
2871
  } | {
2824
2872
  output: {
2825
2873
  error: {
2826
- code: "payment_required" | "rate_limit_exceeded";
2874
+ code: "body_invalid";
2827
2875
  details?: readonly Response.error.Detail[] | undefined;
2828
2876
  message: string;
2829
2877
  };
2830
2878
  requestId: string;
2831
2879
  };
2832
2880
  outputFormat: "json";
2833
- status: 429;
2881
+ status: 400;
2834
2882
  input: {
2835
2883
  header: {
2836
2884
  'idempotency-key': string;
@@ -2892,6 +2940,10 @@ export declare namespace transfers {
2892
2940
  recordLifecycleInterval?: ((interval: RoutesObservability.LifecycleInterval) => Promise<void>) | undefined;
2893
2941
  /** Read-only destination subsidy inventory, when settlement is configured. */
2894
2942
  transferSubsidy?: RoutesTransferSubsidy.Inventory | undefined;
2943
+ /** Read-only Solana destination subsidy inventory, when settlement is configured. */
2944
+ solanaTransferSubsidy?: RoutesSolanaTransferSubsidy.Inventory | undefined;
2945
+ /** Read-only Tron destination subsidy inventory, when settlement is configured. */
2946
+ tronTransferSubsidy?: RoutesTronTransferSubsidy.Inventory | undefined;
2895
2947
  };
2896
2948
  }
2897
2949
  //# sourceMappingURL=transfers.d.ts.map