tapimo 0.19.0 → 0.20.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 (494) hide show
  1. package/README.md +13 -5
  2. package/dist/ApiKey.d.ts +2 -2
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +2 -2
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +85 -11
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +218 -56
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +12543 -13912
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +4 -5
  13. package/dist/App.js.map +1 -1
  14. package/dist/Scope.d.ts +12 -20
  15. package/dist/Scope.d.ts.map +1 -1
  16. package/dist/Scope.js +20 -36
  17. package/dist/Scope.js.map +1 -1
  18. package/dist/admin/App.d.ts +871 -828
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/App.js +14 -26
  21. package/dist/admin/App.js.map +1 -1
  22. package/dist/admin/apps/api-keys.d.ts +93 -186
  23. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  24. package/dist/admin/apps/api-keys.js +3 -5
  25. package/dist/admin/apps/api-keys.js.map +1 -1
  26. package/dist/admin/apps/audit-logs.d.ts +18 -18
  27. package/dist/admin/apps/audit-logs.js +1 -1
  28. package/dist/admin/apps/audit-logs.js.map +1 -1
  29. package/dist/admin/apps/earn-vaults.d.ts +27 -27
  30. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  31. package/dist/admin/apps/earn-vaults.js +11 -5
  32. package/dist/admin/apps/earn-vaults.js.map +1 -1
  33. package/dist/admin/apps/organizations.d.ts +17 -17
  34. package/dist/admin/apps/prop-amms.d.ts +4 -4
  35. package/dist/admin/apps/routes-support.js +1 -38
  36. package/dist/admin/apps/routes-support.js.map +1 -1
  37. package/dist/admin/apps/routes.d.ts +153 -153
  38. package/dist/admin/apps/sentinel.d.ts +4 -4
  39. package/dist/admin/apps/verified-tokens.d.ts +24 -24
  40. package/dist/admin/apps/zone-delegation-requests.d.ts +332 -0
  41. package/dist/admin/apps/zone-delegation-requests.d.ts.map +1 -0
  42. package/dist/admin/apps/zone-delegation-requests.js +200 -0
  43. package/dist/admin/apps/zone-delegation-requests.js.map +1 -0
  44. package/dist/admin/apps/zone-delegations.d.ts +512 -52
  45. package/dist/admin/apps/zone-delegations.d.ts.map +1 -1
  46. package/dist/admin/apps/zone-delegations.js +134 -44
  47. package/dist/admin/apps/zone-delegations.js.map +1 -1
  48. package/dist/admin/index.d.ts +1 -1
  49. package/dist/admin/index.d.ts.map +1 -1
  50. package/dist/admin/index.js +1 -1
  51. package/dist/admin/index.js.map +1 -1
  52. package/dist/admin/ui.generated.d.ts +1 -1
  53. package/dist/admin/ui.generated.d.ts.map +1 -1
  54. package/dist/admin/ui.generated.js +341 -397
  55. package/dist/admin/ui.generated.js.map +1 -1
  56. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  57. package/dist/analytics/tables/requestEvents.js +4 -2
  58. package/dist/analytics/tables/requestEvents.js.map +1 -1
  59. package/dist/apps/data/App.d.ts +11932 -13214
  60. package/dist/apps/data/App.d.ts.map +1 -1
  61. package/dist/apps/data/App.js +32 -13
  62. package/dist/apps/data/App.js.map +1 -1
  63. package/dist/apps/data/ZoneSelection.d.ts +1 -1
  64. package/dist/apps/data/ZoneSelection.d.ts.map +1 -1
  65. package/dist/apps/data/ZoneSelection.js +2 -2
  66. package/dist/apps/data/ZoneSelection.js.map +1 -1
  67. package/dist/apps/data/routes/activities.d.ts +60 -27
  68. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  69. package/dist/apps/data/routes/activities.js +91 -16
  70. package/dist/apps/data/routes/activities.js.map +1 -1
  71. package/dist/apps/data/routes/addresses.d.ts +893 -875
  72. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  73. package/dist/apps/data/routes/balances.d.ts +36 -36
  74. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  75. package/dist/apps/data/routes/balances.js +3 -1
  76. package/dist/apps/data/routes/balances.js.map +1 -1
  77. package/dist/apps/data/routes/blocks.d.ts +40 -40
  78. package/dist/apps/data/routes/blocks.d.ts.map +1 -1
  79. package/dist/apps/data/routes/blocks.js +3 -7
  80. package/dist/apps/data/routes/blocks.js.map +1 -1
  81. package/dist/apps/data/routes/coingecko.d.ts +236 -236
  82. package/dist/apps/data/routes/earn-transactions.d.ts +14 -14
  83. package/dist/apps/data/routes/earn.d.ts +261 -1445
  84. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  85. package/dist/apps/data/routes/earn.js +64 -490
  86. package/dist/apps/data/routes/earn.js.map +1 -1
  87. package/dist/apps/data/routes/exchanges.d.ts +144 -144
  88. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  89. package/dist/apps/data/routes/exchanges.js +5 -15
  90. package/dist/apps/data/routes/exchanges.js.map +1 -1
  91. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  92. package/dist/apps/data/routes/fee-amm.js +3 -9
  93. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  94. package/dist/apps/data/routes/indexer.d.ts +13 -13
  95. package/dist/apps/data/routes/receipts.d.ts +53 -53
  96. package/dist/apps/data/routes/receipts.js +1 -1
  97. package/dist/apps/data/routes/receipts.js.map +1 -1
  98. package/dist/apps/data/routes/rpc.d.ts +52 -0
  99. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  100. package/dist/apps/data/routes/rpc.js +19 -18
  101. package/dist/apps/data/routes/rpc.js.map +1 -1
  102. package/dist/apps/data/routes/tokenlist.d.ts +14 -14
  103. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  104. package/dist/apps/data/routes/tokenlist.js +1 -3
  105. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  106. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  107. package/dist/apps/data/routes/tokens.js +7 -5
  108. package/dist/apps/data/routes/tokens.js.map +1 -1
  109. package/dist/apps/data/routes/transactions.d.ts +281 -281
  110. package/dist/apps/data/routes/transactions.js +3 -3
  111. package/dist/apps/data/routes/transactions.js.map +1 -1
  112. package/dist/apps/data/routes/transfers.d.ts +12 -12
  113. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  114. package/dist/apps/data/routes/transfers.js +1 -3
  115. package/dist/apps/data/routes/transfers.js.map +1 -1
  116. package/dist/apps/data/routes/valuation.d.ts +30 -30
  117. package/dist/apps/data/routes/valuation.d.ts.map +1 -1
  118. package/dist/apps/data/routes/valuation.js +1 -3
  119. package/dist/apps/data/routes/valuation.js.map +1 -1
  120. package/dist/apps/data/routes/verified-tokens.d.ts +86 -86
  121. package/dist/apps/data/routes/webhooks.d.ts +102 -102
  122. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  123. package/dist/apps/data/routes/webhooks.js +9 -23
  124. package/dist/apps/data/routes/webhooks.js.map +1 -1
  125. package/dist/apps/data/routes/zone-deposits.d.ts +16 -16
  126. package/dist/apps/data/routes/zone-withdrawals.d.ts +31 -31
  127. package/dist/apps/data/routes/zones.d.ts +28 -28
  128. package/dist/apps/management/App.d.ts +18 -102
  129. package/dist/apps/management/App.d.ts.map +1 -1
  130. package/dist/apps/management/App.js +1 -1
  131. package/dist/apps/management/App.js.map +1 -1
  132. package/dist/apps/management/routes/api-keys.d.ts +253 -339
  133. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  134. package/dist/apps/management/routes/api-keys.js +25 -11
  135. package/dist/apps/management/routes/api-keys.js.map +1 -1
  136. package/dist/apps/management/routes/billing.d.ts +92 -92
  137. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  138. package/dist/apps/management/routes/billing.js +5 -13
  139. package/dist/apps/management/routes/billing.js.map +1 -1
  140. package/dist/apps/management/routes/cli.d.ts.map +1 -1
  141. package/dist/apps/management/routes/cli.js +3 -9
  142. package/dist/apps/management/routes/cli.js.map +1 -1
  143. package/dist/apps/management/routes/faucet.d.ts +16 -16
  144. package/dist/apps/management/routes/fee-payer-usage.d.ts +38 -38
  145. package/dist/apps/management/routes/fee-payer-usage.d.ts.map +1 -1
  146. package/dist/apps/management/routes/fee-payer-usage.js +2 -4
  147. package/dist/apps/management/routes/fee-payer-usage.js.map +1 -1
  148. package/dist/apps/management/routes/invitations.d.ts +52 -52
  149. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  150. package/dist/apps/management/routes/invitations.js +4 -12
  151. package/dist/apps/management/routes/invitations.js.map +1 -1
  152. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  153. package/dist/apps/management/routes/invite-links.js +6 -14
  154. package/dist/apps/management/routes/invite-links.js.map +1 -1
  155. package/dist/apps/management/routes/me.d.ts +6 -6
  156. package/dist/apps/management/routes/me.d.ts.map +1 -1
  157. package/dist/apps/management/routes/me.js +3 -7
  158. package/dist/apps/management/routes/me.js.map +1 -1
  159. package/dist/apps/management/routes/members.d.ts +84 -84
  160. package/dist/apps/management/routes/members.d.ts.map +1 -1
  161. package/dist/apps/management/routes/members.js +2 -4
  162. package/dist/apps/management/routes/members.js.map +1 -1
  163. package/dist/apps/management/routes/orgs.d.ts +44 -44
  164. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  165. package/dist/apps/management/routes/orgs.js +2 -6
  166. package/dist/apps/management/routes/orgs.js.map +1 -1
  167. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  168. package/dist/apps/management/routes/projects.js +2 -6
  169. package/dist/apps/management/routes/projects.js.map +1 -1
  170. package/dist/apps/management/routes/route-usage.d.ts +34 -34
  171. package/dist/apps/management/routes/route-usage.d.ts.map +1 -1
  172. package/dist/apps/management/routes/route-usage.js +2 -4
  173. package/dist/apps/management/routes/route-usage.js.map +1 -1
  174. package/dist/apps/management/routes/routes-access-requests.d.ts +120 -91
  175. package/dist/apps/management/routes/routes-access-requests.d.ts.map +1 -1
  176. package/dist/apps/management/routes/routes-access-requests.js +49 -9
  177. package/dist/apps/management/routes/routes-access-requests.js.map +1 -1
  178. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  179. package/dist/apps/management/routes/usage.js +8 -16
  180. package/dist/apps/management/routes/usage.js.map +1 -1
  181. package/dist/apps/management/routes/verified-token-requests.d.ts +39 -39
  182. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  183. package/dist/apps/management/routes/verified-token-requests.js +3 -7
  184. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  185. package/dist/apps/management/routes/webhooks.d.ts +2089 -2089
  186. package/dist/apps/management/routes/zone-delegations.d.ts +14 -17
  187. package/dist/apps/management/routes/zone-delegations.d.ts.map +1 -1
  188. package/dist/apps/management/routes/zone-delegations.js +1 -6
  189. package/dist/apps/management/routes/zone-delegations.js.map +1 -1
  190. package/dist/apps/mpp/App.d.ts +44 -44
  191. package/dist/apps/mpp/App.js +3 -3
  192. package/dist/apps/mpp/App.js.map +1 -1
  193. package/dist/apps/mpp/internal/Adapter.js +1 -1
  194. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  195. package/dist/apps/mpp/internal/Error.d.ts.map +1 -1
  196. package/dist/apps/mpp/internal/Error.js +1 -0
  197. package/dist/apps/mpp/internal/Error.js.map +1 -1
  198. package/dist/apps/mpp/internal/Policy.d.ts +5 -1
  199. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -1
  200. package/dist/apps/mpp/internal/Policy.js +35 -13
  201. package/dist/apps/mpp/internal/Policy.js.map +1 -1
  202. package/dist/apps/relay/App.d.ts +2 -2
  203. package/dist/apps/relay/App.d.ts.map +1 -1
  204. package/dist/apps/relay/App.js +25 -16
  205. package/dist/apps/relay/App.js.map +1 -1
  206. package/dist/apps/routes/App.d.ts +311 -311
  207. package/dist/apps/routes/routes/deposit-addresses.d.ts +1099 -1099
  208. package/dist/apps/routes/routes/list.d.ts +74 -74
  209. package/dist/apps/routes/routes/transfers.d.ts +94 -94
  210. package/dist/cli/ApiKeys.d.ts +19 -26
  211. package/dist/cli/ApiKeys.d.ts.map +1 -1
  212. package/dist/db/Db.d.ts +3 -3
  213. package/dist/db/Db.d.ts.map +1 -1
  214. package/dist/db/Db.js +27 -0
  215. package/dist/db/Db.js.map +1 -1
  216. package/dist/db/Schema.d.ts +28 -62
  217. package/dist/db/Schema.d.ts.map +1 -1
  218. package/dist/db/Schema.js +18 -18
  219. package/dist/db/Schema.js.map +1 -1
  220. package/dist/db/tables/rewardRuns.d.ts +21 -0
  221. package/dist/db/tables/rewardRuns.d.ts.map +1 -1
  222. package/dist/db/tables/rewardRuns.js +19 -0
  223. package/dist/db/tables/rewardRuns.js.map +1 -1
  224. package/dist/db/tables/routesAccessRequests.d.ts +13 -0
  225. package/dist/db/tables/routesAccessRequests.d.ts.map +1 -1
  226. package/dist/db/tables/routesAccessRequests.js +12 -0
  227. package/dist/db/tables/routesAccessRequests.js.map +1 -1
  228. package/dist/db/tables/zoneDelegationRequests.d.ts +165 -0
  229. package/dist/db/tables/zoneDelegationRequests.d.ts.map +1 -0
  230. package/dist/db/tables/{zoneKeyRequests.js → zoneDelegationRequests.js} +43 -42
  231. package/dist/db/tables/zoneDelegationRequests.js.map +1 -0
  232. package/dist/db/tables/zoneDelegations.d.ts +11 -5
  233. package/dist/db/tables/zoneDelegations.d.ts.map +1 -1
  234. package/dist/db/tables/zoneDelegations.js +21 -3
  235. package/dist/db/tables/zoneDelegations.js.map +1 -1
  236. package/dist/handlers/internal/accounts.d.ts +7 -0
  237. package/dist/handlers/internal/accounts.d.ts.map +1 -0
  238. package/dist/handlers/internal/{multisig.js → accounts.js} +10 -10
  239. package/dist/handlers/internal/{multisig.js.map → accounts.js.map} +1 -1
  240. package/dist/handlers/internal/sponsorship.js +17 -17
  241. package/dist/handlers/internal/sponsorship.js.map +1 -1
  242. package/dist/handlers/relay.d.ts +6 -6
  243. package/dist/handlers/relay.d.ts.map +1 -1
  244. package/dist/handlers/relay.js +15 -15
  245. package/dist/handlers/relay.js.map +1 -1
  246. package/dist/internal/Auth.d.ts.map +1 -1
  247. package/dist/internal/Auth.js +4 -8
  248. package/dist/internal/Auth.js.map +1 -1
  249. package/dist/internal/EarnRates.d.ts.map +1 -1
  250. package/dist/internal/EarnRates.js +1 -3
  251. package/dist/internal/EarnRates.js.map +1 -1
  252. package/dist/internal/EarnVaults.js +2 -2
  253. package/dist/internal/Log.d.ts +2 -4
  254. package/dist/internal/Log.d.ts.map +1 -1
  255. package/dist/internal/Log.js +0 -3
  256. package/dist/internal/Log.js.map +1 -1
  257. package/dist/internal/Response.d.ts +1 -1
  258. package/dist/internal/Response.d.ts.map +1 -1
  259. package/dist/internal/Response.js +0 -3
  260. package/dist/internal/Response.js.map +1 -1
  261. package/dist/internal/Schema.d.ts +11 -0
  262. package/dist/internal/Schema.d.ts.map +1 -1
  263. package/dist/internal/Schema.js +24 -1
  264. package/dist/internal/Schema.js.map +1 -1
  265. package/dist/internal/ZoneAccess.d.ts +70 -35
  266. package/dist/internal/ZoneAccess.d.ts.map +1 -1
  267. package/dist/internal/ZoneAccess.js +312 -131
  268. package/dist/internal/ZoneAccess.js.map +1 -1
  269. package/dist/internal/ZoneDelegation.d.ts +7 -19
  270. package/dist/internal/ZoneDelegation.d.ts.map +1 -1
  271. package/dist/internal/ZoneDelegation.js +8 -29
  272. package/dist/internal/ZoneDelegation.js.map +1 -1
  273. package/dist/internal/{ZoneKeyApproval.d.ts → ZoneDelegationApproval.d.ts} +3 -5
  274. package/dist/internal/ZoneDelegationApproval.d.ts.map +1 -0
  275. package/dist/internal/ZoneDelegationApproval.js +16 -0
  276. package/dist/internal/ZoneDelegationApproval.js.map +1 -0
  277. package/dist/internal/ZoneKeyRewrite.d.ts +98 -0
  278. package/dist/internal/ZoneKeyRewrite.d.ts.map +1 -0
  279. package/dist/internal/ZoneKeyRewrite.js +151 -0
  280. package/dist/internal/ZoneKeyRewrite.js.map +1 -0
  281. package/dist/internal/rewards/Campaigns.d.ts +2 -0
  282. package/dist/internal/rewards/Campaigns.d.ts.map +1 -1
  283. package/dist/internal/rewards/Campaigns.js.map +1 -1
  284. package/dist/internal/rewards/Distributions.d.ts.map +1 -1
  285. package/dist/internal/rewards/Distributions.js +2 -6
  286. package/dist/internal/rewards/Distributions.js.map +1 -1
  287. package/dist/internal/rewards/Monitor.d.ts +4 -1
  288. package/dist/internal/rewards/Monitor.d.ts.map +1 -1
  289. package/dist/internal/rewards/Monitor.js +19 -2
  290. package/dist/internal/rewards/Monitor.js.map +1 -1
  291. package/dist/internal/rewards/Runner.d.ts.map +1 -1
  292. package/dist/internal/rewards/Runner.js +9 -1
  293. package/dist/internal/rewards/Runner.js.map +1 -1
  294. package/dist/internal/routes/Action.d.ts.map +1 -1
  295. package/dist/internal/routes/Action.js +2 -3
  296. package/dist/internal/routes/Action.js.map +1 -1
  297. package/dist/internal/routes/Deposit.d.ts.map +1 -1
  298. package/dist/internal/routes/Deposit.js +2 -6
  299. package/dist/internal/routes/Deposit.js.map +1 -1
  300. package/dist/internal/routes/DepositAddress.d.ts.map +1 -1
  301. package/dist/internal/routes/DepositAddress.js +4 -10
  302. package/dist/internal/routes/DepositAddress.js.map +1 -1
  303. package/dist/internal/routes/Policy.d.ts.map +1 -1
  304. package/dist/internal/routes/Policy.js +2 -1
  305. package/dist/internal/routes/Policy.js.map +1 -1
  306. package/dist/internal/routes/Provider.js +8 -8
  307. package/dist/internal/routes/Provider.js.map +1 -1
  308. package/dist/internal/routes/Reconciliation.d.ts.map +1 -1
  309. package/dist/internal/routes/Reconciliation.js +3 -2
  310. package/dist/internal/routes/Reconciliation.js.map +1 -1
  311. package/dist/internal/routes/Transfer.d.ts.map +1 -1
  312. package/dist/internal/routes/Transfer.js +4 -12
  313. package/dist/internal/routes/Transfer.js.map +1 -1
  314. package/dist/internal/routes/UniversalDepositAddress.d.ts.map +1 -1
  315. package/dist/internal/routes/UniversalDepositAddress.js +3 -6
  316. package/dist/internal/routes/UniversalDepositAddress.js.map +1 -1
  317. package/dist/internal/routes/providers/SquidOrder.d.ts.map +1 -1
  318. package/dist/internal/routes/providers/SquidOrder.js +3 -2
  319. package/dist/internal/routes/providers/SquidOrder.js.map +1 -1
  320. package/dist/internal/routes/providers/relay.d.ts.map +1 -1
  321. package/dist/internal/routes/providers/relay.js +4 -3
  322. package/dist/internal/routes/providers/relay.js.map +1 -1
  323. package/package.json +20 -5
  324. package/src/ApiKey.ts +2 -2
  325. package/src/ApiKeys.test.ts +284 -51
  326. package/src/ApiKeys.ts +297 -64
  327. package/src/App.ts +4 -5
  328. package/src/Client.test-d.ts +33 -126
  329. package/src/Scope.test.ts +26 -45
  330. package/src/Scope.ts +24 -37
  331. package/src/admin/App.test.ts +51 -4
  332. package/src/admin/App.ts +25 -33
  333. package/src/admin/Mcp.test.ts +2 -1
  334. package/src/admin/apps/api-keys.test.ts +90 -20
  335. package/src/admin/apps/api-keys.ts +5 -8
  336. package/src/admin/apps/audit-logs.ts +1 -1
  337. package/src/admin/apps/earn-vaults.test.ts +19 -19
  338. package/src/admin/apps/earn-vaults.ts +11 -5
  339. package/src/admin/apps/routes-support.test.ts +254 -3
  340. package/src/admin/apps/routes-support.ts +1 -44
  341. package/src/admin/apps/scopes.test.ts +3 -3
  342. package/src/admin/apps/zone-delegation-requests.test.ts +246 -0
  343. package/src/admin/apps/zone-delegation-requests.ts +240 -0
  344. package/src/admin/apps/zone-delegations.test.ts +218 -58
  345. package/src/admin/apps/zone-delegations.ts +146 -46
  346. package/src/admin/index.ts +1 -1
  347. package/src/admin/ui/src/components/ApiKeyForm.tsx +4 -3
  348. package/src/admin/ui/src/lib/config.ts +3 -3
  349. package/src/admin/ui/src/lib/query-client.ts +1 -1
  350. package/src/admin/ui/src/lib/review-queues.ts +10 -10
  351. package/src/admin/ui/src/lib/routes-setup.test.ts +1 -2
  352. package/src/admin/ui/src/lib/routes-setup.ts +3 -5
  353. package/src/admin/ui/src/lib/scopes.test.ts +3 -6
  354. package/src/admin/ui/src/lib/scopes.ts +2 -9
  355. package/src/admin/ui/src/lib/{zone-key-requests.ts → zone-delegation-requests.ts} +27 -31
  356. package/src/admin/ui/src/routeTree.gen.ts +17 -17
  357. package/src/admin/ui/src/routes/__root.tsx +1 -1
  358. package/src/admin/ui/src/routes/api-keys.tsx +2 -15
  359. package/src/admin/ui/src/routes/audit-logs.tsx +2 -2
  360. package/src/admin/ui/src/routes/index.tsx +11 -11
  361. package/src/admin/ui/src/routes/organizations.tsx +3 -1
  362. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +3 -1
  363. package/src/admin/ui/src/routes/organizations_.$orgId_.setup.tsx +1 -3
  364. package/src/admin/ui/src/routes/{zone-key-requests.tsx → zone-delegation-requests.tsx} +228 -172
  365. package/src/admin/ui/vite.config.ts +14 -1
  366. package/src/admin/ui.generated.ts +412 -583
  367. package/src/analytics/tables/requestEvents.test.ts +13 -3
  368. package/src/analytics/tables/requestEvents.ts +4 -3
  369. package/src/apps/data/App.test.ts +72 -35
  370. package/src/apps/data/App.ts +29 -13
  371. package/src/apps/data/ZoneSelection.test.ts +53 -70
  372. package/src/apps/data/ZoneSelection.ts +2 -2
  373. package/src/apps/data/routes/activities.test.ts +140 -6
  374. package/src/apps/data/routes/activities.ts +124 -18
  375. package/src/apps/data/routes/balances.ts +5 -1
  376. package/src/apps/data/routes/blocks.ts +9 -13
  377. package/src/apps/data/routes/earn-transactions.local.test.ts +6 -1
  378. package/src/apps/data/routes/earn-transactions.test.ts +7 -3
  379. package/src/apps/data/routes/earn.bench.ts +0 -14
  380. package/src/apps/data/routes/earn.discovery.test.ts +4 -39
  381. package/src/apps/data/routes/earn.local.test.ts +27 -34
  382. package/src/apps/data/routes/earn.test.ts +172 -490
  383. package/src/apps/data/routes/earn.ts +103 -652
  384. package/src/apps/data/routes/exchanges.ts +20 -30
  385. package/src/apps/data/routes/fee-amm.ts +12 -18
  386. package/src/apps/data/routes/indexer.test.ts +14 -12
  387. package/src/apps/data/routes/receipts.ts +1 -1
  388. package/src/apps/data/routes/rpc.test.ts +23 -18
  389. package/src/apps/data/routes/rpc.ts +21 -21
  390. package/src/apps/data/routes/rpc.zone.test.ts +60 -6
  391. package/src/apps/data/routes/tokenlist.ts +4 -6
  392. package/src/apps/data/routes/tokens.test.ts +20 -0
  393. package/src/apps/data/routes/tokens.ts +10 -5
  394. package/src/apps/data/routes/transactions.ts +3 -3
  395. package/src/apps/data/routes/transfers.ts +4 -6
  396. package/src/apps/data/routes/valuation.test.ts +2 -4
  397. package/src/apps/data/routes/valuation.ts +4 -6
  398. package/src/apps/data/routes/webhooks.test.ts +1 -5
  399. package/src/apps/data/routes/webhooks.ts +30 -44
  400. package/src/apps/data/routes/zones.test.ts +35 -19
  401. package/src/apps/management/App.ts +3 -1
  402. package/src/apps/management/routes/api-keys.test.ts +112 -22
  403. package/src/apps/management/routes/api-keys.ts +30 -15
  404. package/src/apps/management/routes/billing.ts +17 -25
  405. package/src/apps/management/routes/cli.ts +12 -18
  406. package/src/apps/management/routes/fee-payer-usage.ts +5 -4
  407. package/src/apps/management/routes/invitations.ts +16 -21
  408. package/src/apps/management/routes/invite-links.ts +18 -26
  409. package/src/apps/management/routes/me.ts +9 -13
  410. package/src/apps/management/routes/members.ts +5 -7
  411. package/src/apps/management/routes/orgs.ts +8 -12
  412. package/src/apps/management/routes/projects.ts +8 -12
  413. package/src/apps/management/routes/route-usage.ts +5 -4
  414. package/src/apps/management/routes/routes-access-requests.test.ts +64 -2
  415. package/src/apps/management/routes/routes-access-requests.ts +99 -15
  416. package/src/apps/management/routes/scopes.test.ts +3 -3
  417. package/src/apps/management/routes/usage.ts +20 -28
  418. package/src/apps/management/routes/verified-token-requests.ts +9 -13
  419. package/src/apps/management/routes/zone-delegations.test.ts +3 -5
  420. package/src/apps/management/routes/zone-delegations.ts +4 -9
  421. package/src/apps/mpp/App.ts +3 -3
  422. package/src/apps/mpp/Mpp.zone.test.ts +49 -18
  423. package/src/apps/mpp/internal/Adapter.ts +1 -1
  424. package/src/apps/mpp/internal/Error.test.ts +3 -0
  425. package/src/apps/mpp/internal/Error.ts +1 -0
  426. package/src/apps/mpp/internal/Policy.test.ts +9 -8
  427. package/src/apps/mpp/internal/Policy.ts +37 -14
  428. package/src/apps/relay/App.sandbox.test.ts +15 -14
  429. package/src/apps/relay/App.test.ts +120 -61
  430. package/src/apps/relay/App.ts +28 -18
  431. package/src/apps/relay/App.zone-billing.test.ts +9 -4
  432. package/src/apps/routes/App.test.ts +21 -22
  433. package/src/db/Db.ts +34 -3
  434. package/src/db/Schema.ts +26 -26
  435. package/src/db/tables/rewardRuns.ts +39 -0
  436. package/src/db/tables/routesAccessRequests.test.ts +65 -0
  437. package/src/db/tables/routesAccessRequests.ts +25 -0
  438. package/src/db/tables/{zoneKeyRequests.test.ts → zoneDelegationRequests.test.ts} +36 -77
  439. package/src/db/tables/{zoneKeyRequests.ts → zoneDelegationRequests.ts} +69 -52
  440. package/src/db/tables/zoneDelegations.test.ts +5 -6
  441. package/src/db/tables/zoneDelegations.ts +25 -8
  442. package/src/handlers/internal/{multisig.store.test.ts → accounts.store.test.ts} +16 -16
  443. package/src/handlers/internal/{multisig.test.ts → accounts.test.ts} +85 -82
  444. package/src/handlers/internal/{multisig.ts → accounts.ts} +9 -9
  445. package/src/handlers/internal/sponsorship.ts +20 -20
  446. package/src/handlers/relay.test.ts +48 -46
  447. package/src/handlers/relay.ts +26 -26
  448. package/src/internal/Auth.test.ts +6 -2
  449. package/src/internal/Auth.ts +4 -10
  450. package/src/internal/EarnRates.ts +4 -6
  451. package/src/internal/EarnVaults.ts +2 -2
  452. package/src/internal/Log.test-d.ts +1 -0
  453. package/src/internal/Log.test.ts +4 -6
  454. package/src/internal/Log.ts +2 -6
  455. package/src/internal/Response.ts +0 -3
  456. package/src/internal/Schema.test.ts +42 -0
  457. package/src/internal/Schema.ts +36 -1
  458. package/src/internal/ZoneAccess.test.ts +515 -312
  459. package/src/internal/ZoneAccess.ts +410 -158
  460. package/src/internal/ZoneDelegation.test.ts +1 -41
  461. package/src/internal/ZoneDelegation.ts +10 -48
  462. package/src/internal/ZoneDelegationApproval.test.ts +22 -0
  463. package/src/internal/{ZoneKeyApproval.ts → ZoneDelegationApproval.ts} +4 -11
  464. package/src/internal/ZoneKeyRewrite.ts +231 -0
  465. package/src/internal/rewards/Campaigns.ts +2 -0
  466. package/src/internal/rewards/Distributions.ts +8 -12
  467. package/src/internal/rewards/Monitor.test.ts +64 -0
  468. package/src/internal/rewards/Monitor.ts +27 -4
  469. package/src/internal/rewards/Runner.ts +9 -1
  470. package/src/internal/routes/Action.ts +5 -6
  471. package/src/internal/routes/Deposit.ts +8 -12
  472. package/src/internal/routes/DepositAddress.ts +13 -19
  473. package/src/internal/routes/Policy.ts +2 -1
  474. package/src/internal/routes/Provider.ts +8 -8
  475. package/src/internal/routes/Reconciliation.ts +3 -2
  476. package/src/internal/routes/Transfer.ts +16 -24
  477. package/src/internal/routes/UniversalDepositAddress.ts +9 -12
  478. package/src/internal/routes/providers/SquidOrder.ts +3 -2
  479. package/src/internal/routes/providers/relay.ts +4 -3
  480. package/dist/admin/apps/zone-key-requests.d.ts +0 -406
  481. package/dist/admin/apps/zone-key-requests.d.ts.map +0 -1
  482. package/dist/admin/apps/zone-key-requests.js +0 -183
  483. package/dist/admin/apps/zone-key-requests.js.map +0 -1
  484. package/dist/db/tables/zoneKeyRequests.d.ts +0 -289
  485. package/dist/db/tables/zoneKeyRequests.d.ts.map +0 -1
  486. package/dist/db/tables/zoneKeyRequests.js.map +0 -1
  487. package/dist/handlers/internal/multisig.d.ts +0 -7
  488. package/dist/handlers/internal/multisig.d.ts.map +0 -1
  489. package/dist/internal/ZoneKeyApproval.d.ts.map +0 -1
  490. package/dist/internal/ZoneKeyApproval.js +0 -21
  491. package/dist/internal/ZoneKeyApproval.js.map +0 -1
  492. package/src/admin/apps/zone-key-requests.test.ts +0 -272
  493. package/src/admin/apps/zone-key-requests.ts +0 -231
  494. package/src/internal/ZoneKeyApproval.test.ts +0 -46
@@ -1782,83 +1782,15 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1782
1782
  "/v1/routes/deposit-addresses/quote": {
1783
1783
  $get: {
1784
1784
  output: {
1785
- destinationAmount: {
1786
- baseUnits: string;
1787
- currency: string;
1788
- decimals: number;
1789
- formatted: string;
1790
- };
1791
- destinationAmountMin: {
1792
- baseUnits: string;
1793
- currency: string;
1794
- decimals: number;
1795
- formatted: string;
1796
- };
1797
- destinationChain: {
1798
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
1799
- id: string;
1800
- kind: "evm" | "solana" | "stellar" | "tron";
1801
- name: string;
1802
- };
1803
- destinationToken: {
1804
- address: string;
1805
- currency: string;
1806
- decimals: number;
1807
- name: string;
1808
- standard: string;
1809
- symbol: string;
1810
- tokenKey: string;
1811
- verified: boolean;
1812
- };
1813
- fees: {
1814
- amount: {
1815
- baseUnits: string;
1816
- currency: string;
1817
- decimals: number;
1818
- formatted: string;
1819
- };
1820
- side: "destination" | "source";
1821
- token: {
1822
- address: string;
1823
- currency: string;
1824
- decimals: number;
1825
- name: string;
1826
- standard: string;
1827
- symbol: string;
1828
- tokenKey: string;
1829
- verified: boolean;
1830
- };
1831
- }[];
1832
- quote: {
1833
- expiresAt?: string | undefined;
1834
- sampledAt: string;
1835
- };
1836
- sourceAmount: {
1837
- baseUnits: string;
1838
- currency: string;
1839
- decimals: number;
1840
- formatted: string;
1841
- };
1842
- sourceChain: {
1843
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
1844
- id: string;
1845
- kind: "evm" | "solana" | "stellar" | "tron";
1846
- name: string;
1847
- };
1848
- sourceToken: {
1849
- address: string;
1850
- currency: string;
1851
- decimals: number;
1852
- name: string;
1853
- standard: string;
1854
- symbol: string;
1855
- tokenKey: string;
1856
- verified: boolean;
1785
+ error: {
1786
+ code: "api_key_malformed";
1787
+ details?: readonly Response.error.Detail[] | undefined;
1788
+ message: string;
1857
1789
  };
1858
- subsidize: boolean;
1790
+ requestId: string;
1859
1791
  };
1860
1792
  outputFormat: "json";
1861
- status: 200;
1793
+ status: 400;
1862
1794
  input: {
1863
1795
  query: {
1864
1796
  amount: string | string[];
@@ -1873,14 +1805,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1873
1805
  } | {
1874
1806
  output: {
1875
1807
  error: {
1876
- code: "api_key_malformed";
1808
+ code: "api_key_invalid" | "api_key_missing";
1877
1809
  details?: readonly Response.error.Detail[] | undefined;
1878
1810
  message: string;
1879
1811
  };
1880
1812
  requestId: string;
1881
1813
  };
1882
1814
  outputFormat: "json";
1883
- status: 400;
1815
+ status: 401;
1884
1816
  input: {
1885
1817
  query: {
1886
1818
  amount: string | string[];
@@ -1895,14 +1827,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1895
1827
  } | {
1896
1828
  output: {
1897
1829
  error: {
1898
- code: "query_invalid";
1830
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1899
1831
  details?: readonly Response.error.Detail[] | undefined;
1900
1832
  message: string;
1901
1833
  };
1902
1834
  requestId: string;
1903
1835
  };
1904
1836
  outputFormat: "json";
1905
- status: 400;
1837
+ status: 403;
1906
1838
  input: {
1907
1839
  query: {
1908
1840
  amount: string | string[];
@@ -1917,14 +1849,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1917
1849
  } | {
1918
1850
  output: {
1919
1851
  error: {
1920
- code: "amount_too_low";
1852
+ code: "payment_required" | "rate_limit_exceeded";
1921
1853
  details?: readonly Response.error.Detail[] | undefined;
1922
1854
  message: string;
1923
1855
  };
1924
1856
  requestId: string;
1925
1857
  };
1926
1858
  outputFormat: "json";
1927
- status: 400;
1859
+ status: 429;
1928
1860
  input: {
1929
1861
  query: {
1930
1862
  amount: string | string[];
@@ -1939,14 +1871,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1939
1871
  } | {
1940
1872
  output: {
1941
1873
  error: {
1942
- code: "api_key_invalid" | "api_key_missing";
1874
+ code: "query_invalid";
1943
1875
  details?: readonly Response.error.Detail[] | undefined;
1944
1876
  message: string;
1945
1877
  };
1946
1878
  requestId: string;
1947
1879
  };
1948
1880
  outputFormat: "json";
1949
- status: 401;
1881
+ status: 400;
1950
1882
  input: {
1951
1883
  query: {
1952
1884
  amount: string | string[];
@@ -1961,14 +1893,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1961
1893
  } | {
1962
1894
  output: {
1963
1895
  error: {
1964
- code: "unauthorized";
1896
+ code: "upstream_error";
1965
1897
  details?: readonly Response.error.Detail[] | undefined;
1966
1898
  message: string;
1967
1899
  };
1968
1900
  requestId: string;
1969
1901
  };
1970
1902
  outputFormat: "json";
1971
- status: 401;
1903
+ status: 502;
1972
1904
  input: {
1973
1905
  query: {
1974
1906
  amount: string | string[];
@@ -1983,14 +1915,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
1983
1915
  } | {
1984
1916
  output: {
1985
1917
  error: {
1986
- code: "api_key_forbidden" | "api_key_ip_forbidden";
1918
+ code: "unauthorized";
1987
1919
  details?: readonly Response.error.Detail[] | undefined;
1988
1920
  message: string;
1989
1921
  };
1990
1922
  requestId: string;
1991
1923
  };
1992
1924
  outputFormat: "json";
1993
- status: 403;
1925
+ status: 401;
1994
1926
  input: {
1995
1927
  query: {
1996
1928
  amount: string | string[];
@@ -2005,14 +1937,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2005
1937
  } | {
2006
1938
  output: {
2007
1939
  error: {
2008
- code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
1940
+ code: "quote_not_available";
2009
1941
  details?: readonly Response.error.Detail[] | undefined;
2010
1942
  message: string;
2011
1943
  };
2012
1944
  requestId: string;
2013
1945
  };
2014
1946
  outputFormat: "json";
2015
- status: 403;
1947
+ status: 404;
2016
1948
  input: {
2017
1949
  query: {
2018
1950
  amount: string | string[];
@@ -2026,15 +1958,83 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2026
1958
  };
2027
1959
  } | {
2028
1960
  output: {
2029
- error: {
2030
- code: "quote_not_available";
2031
- details?: readonly Response.error.Detail[] | undefined;
2032
- message: string;
1961
+ destinationAmount: {
1962
+ baseUnits: string;
1963
+ currency: string;
1964
+ decimals: number;
1965
+ formatted: string;
2033
1966
  };
2034
- requestId: string;
1967
+ destinationAmountMin: {
1968
+ baseUnits: string;
1969
+ currency: string;
1970
+ decimals: number;
1971
+ formatted: string;
1972
+ };
1973
+ destinationChain: {
1974
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
1975
+ id: string;
1976
+ kind: "evm" | "solana" | "stellar" | "tron";
1977
+ name: string;
1978
+ };
1979
+ destinationToken: {
1980
+ address: string;
1981
+ currency: string;
1982
+ decimals: number;
1983
+ name: string;
1984
+ standard: string;
1985
+ symbol: string;
1986
+ tokenKey: string;
1987
+ verified: boolean;
1988
+ };
1989
+ fees: {
1990
+ amount: {
1991
+ baseUnits: string;
1992
+ currency: string;
1993
+ decimals: number;
1994
+ formatted: string;
1995
+ };
1996
+ side: "destination" | "source";
1997
+ token: {
1998
+ address: string;
1999
+ currency: string;
2000
+ decimals: number;
2001
+ name: string;
2002
+ standard: string;
2003
+ symbol: string;
2004
+ tokenKey: string;
2005
+ verified: boolean;
2006
+ };
2007
+ }[];
2008
+ quote: {
2009
+ expiresAt?: string | undefined;
2010
+ sampledAt: string;
2011
+ };
2012
+ sourceAmount: {
2013
+ baseUnits: string;
2014
+ currency: string;
2015
+ decimals: number;
2016
+ formatted: string;
2017
+ };
2018
+ sourceChain: {
2019
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
2020
+ id: string;
2021
+ kind: "evm" | "solana" | "stellar" | "tron";
2022
+ name: string;
2023
+ };
2024
+ sourceToken: {
2025
+ address: string;
2026
+ currency: string;
2027
+ decimals: number;
2028
+ name: string;
2029
+ standard: string;
2030
+ symbol: string;
2031
+ tokenKey: string;
2032
+ verified: boolean;
2033
+ };
2034
+ subsidize: boolean;
2035
2035
  };
2036
2036
  outputFormat: "json";
2037
- status: 404;
2037
+ status: 200;
2038
2038
  input: {
2039
2039
  query: {
2040
2040
  amount: string | string[];
@@ -2071,14 +2071,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2071
2071
  } | {
2072
2072
  output: {
2073
2073
  error: {
2074
- code: "payment_required" | "rate_limit_exceeded";
2074
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
2075
2075
  details?: readonly Response.error.Detail[] | undefined;
2076
2076
  message: string;
2077
2077
  };
2078
2078
  requestId: string;
2079
2079
  };
2080
2080
  outputFormat: "json";
2081
- status: 429;
2081
+ status: 403;
2082
2082
  input: {
2083
2083
  query: {
2084
2084
  amount: string | string[];
@@ -2093,14 +2093,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2093
2093
  } | {
2094
2094
  output: {
2095
2095
  error: {
2096
- code: "upstream_error";
2096
+ code: "amount_too_low";
2097
2097
  details?: readonly Response.error.Detail[] | undefined;
2098
2098
  message: string;
2099
2099
  };
2100
2100
  requestId: string;
2101
2101
  };
2102
2102
  outputFormat: "json";
2103
- status: 502;
2103
+ status: 400;
2104
2104
  input: {
2105
2105
  query: {
2106
2106
  amount: string | string[];
@@ -2118,131 +2118,41 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2118
2118
  "/v1/routes/deposit-addresses": {
2119
2119
  $post: {
2120
2120
  output: {
2121
- address: string;
2122
- createdAt: string;
2123
- destinationChain: {
2124
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
2125
- id: string;
2126
- kind: "evm" | "solana" | "stellar" | "tron";
2127
- name: string;
2121
+ error: {
2122
+ code: "payload_too_large";
2123
+ details?: readonly Response.error.Detail[] | undefined;
2124
+ message: string;
2128
2125
  };
2129
- destinationToken: {
2130
- address: string;
2131
- currency: string;
2132
- decimals: number;
2133
- name: string;
2134
- standard: string;
2135
- symbol: string;
2136
- tokenKey: string;
2137
- verified: boolean;
2126
+ requestId: string;
2127
+ };
2128
+ outputFormat: "json";
2129
+ status: 413;
2130
+ input: {
2131
+ header: {
2132
+ 'idempotency-key': string;
2138
2133
  };
2139
- id: string;
2140
- recipient: string;
2141
- refundAddress: string;
2142
- sourceChain: {
2143
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
2144
- id: string;
2145
- kind: "evm" | "solana" | "stellar" | "tron";
2146
- name: string;
2134
+ } & {
2135
+ json: {
2136
+ amount: string;
2137
+ destinationToken: string;
2138
+ recipient: string;
2139
+ refundAddress: string;
2140
+ sourceChain: string;
2141
+ sourceToken: string;
2142
+ subsidize?: boolean | undefined;
2147
2143
  };
2148
- sourceToken: {
2149
- address: string;
2150
- currency: string;
2151
- decimals: number;
2152
- name: string;
2153
- standard: string;
2154
- symbol: string;
2155
- tokenKey: string;
2156
- verified: boolean;
2157
- };
2158
- status: "action-required" | "active";
2159
- subsidize: boolean;
2160
- updatedAt: string;
2161
- } | {
2162
- address: string;
2163
- createdAt: string;
2164
- destinationChain: {
2165
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
2166
- id: string;
2167
- kind: "evm" | "solana" | "stellar" | "tron";
2168
- name: string;
2169
- };
2170
- destinationToken: {
2171
- address: string;
2172
- currency: string;
2173
- decimals: number;
2174
- name: string;
2175
- standard: string;
2176
- symbol: string;
2177
- tokenKey: string;
2178
- verified: boolean;
2179
- };
2180
- id: string;
2181
- recipient: string;
2182
- refundAddress: string;
2183
- sourceChain: {
2184
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
2185
- id: string;
2186
- kind: "evm" | "solana" | "stellar" | "tron";
2187
- name: string;
2188
- };
2189
- sourceToken: {
2190
- address: string;
2191
- currency: string;
2192
- decimals: number;
2193
- name: string;
2194
- standard: string;
2195
- symbol: string;
2196
- tokenKey: string;
2197
- verified: boolean;
2198
- };
2199
- status: "action-required" | "active";
2200
- subsidize: boolean;
2201
- updatedAt: string;
2202
- destinationAmount: {
2203
- baseUnits: string;
2204
- currency: string;
2205
- decimals: number;
2206
- formatted: string;
2207
- };
2208
- destinationAmountMin: {
2209
- baseUnits: string;
2210
- currency: string;
2211
- decimals: number;
2212
- formatted: string;
2213
- };
2214
- fees: {
2215
- amount: {
2216
- baseUnits: string;
2217
- currency: string;
2218
- decimals: number;
2219
- formatted: string;
2220
- };
2221
- side: "destination" | "source";
2222
- token: {
2223
- address: string;
2224
- currency: string;
2225
- decimals: number;
2226
- name: string;
2227
- standard: string;
2228
- symbol: string;
2229
- tokenKey: string;
2230
- verified: boolean;
2231
- };
2232
- }[];
2233
- quote: {
2234
- expiresAt?: string | undefined;
2235
- sampledAt: string;
2236
- };
2237
- sourceAmount: {
2238
- baseUnits: string;
2239
- currency: string;
2240
- decimals: number;
2241
- formatted: string;
2144
+ };
2145
+ } | {
2146
+ output: {
2147
+ error: {
2148
+ code: "api_key_malformed";
2149
+ details?: readonly Response.error.Detail[] | undefined;
2150
+ message: string;
2242
2151
  };
2152
+ requestId: string;
2243
2153
  };
2244
2154
  outputFormat: "json";
2245
- status: 200;
2155
+ status: 400;
2246
2156
  input: {
2247
2157
  header: {
2248
2158
  'idempotency-key': string;
@@ -2261,14 +2171,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2261
2171
  } | {
2262
2172
  output: {
2263
2173
  error: {
2264
- code: "api_key_malformed";
2174
+ code: "api_key_invalid" | "api_key_missing";
2265
2175
  details?: readonly Response.error.Detail[] | undefined;
2266
2176
  message: string;
2267
2177
  };
2268
2178
  requestId: string;
2269
2179
  };
2270
2180
  outputFormat: "json";
2271
- status: 400;
2181
+ status: 401;
2272
2182
  input: {
2273
2183
  header: {
2274
2184
  'idempotency-key': string;
@@ -2287,14 +2197,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2287
2197
  } | {
2288
2198
  output: {
2289
2199
  error: {
2290
- code: "body_invalid";
2200
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2291
2201
  details?: readonly Response.error.Detail[] | undefined;
2292
2202
  message: string;
2293
2203
  };
2294
2204
  requestId: string;
2295
2205
  };
2296
2206
  outputFormat: "json";
2297
- status: 400;
2207
+ status: 403;
2298
2208
  input: {
2299
2209
  header: {
2300
2210
  'idempotency-key': string;
@@ -2313,14 +2223,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2313
2223
  } | {
2314
2224
  output: {
2315
2225
  error: {
2316
- code: "amount_too_low";
2226
+ code: "payment_required" | "rate_limit_exceeded";
2317
2227
  details?: readonly Response.error.Detail[] | undefined;
2318
2228
  message: string;
2319
2229
  };
2320
2230
  requestId: string;
2321
2231
  };
2322
2232
  outputFormat: "json";
2323
- status: 400;
2233
+ status: 429;
2324
2234
  input: {
2325
2235
  header: {
2326
2236
  'idempotency-key': string;
@@ -2339,14 +2249,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2339
2249
  } | {
2340
2250
  output: {
2341
2251
  error: {
2342
- code: "api_key_invalid" | "api_key_missing";
2252
+ code: "upstream_error";
2343
2253
  details?: readonly Response.error.Detail[] | undefined;
2344
2254
  message: string;
2345
2255
  };
2346
2256
  requestId: string;
2347
2257
  };
2348
2258
  outputFormat: "json";
2349
- status: 401;
2259
+ status: 502;
2350
2260
  input: {
2351
2261
  header: {
2352
2262
  'idempotency-key': string;
@@ -2391,14 +2301,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2391
2301
  } | {
2392
2302
  output: {
2393
2303
  error: {
2394
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2304
+ code: "quote_not_available";
2395
2305
  details?: readonly Response.error.Detail[] | undefined;
2396
2306
  message: string;
2397
2307
  };
2398
2308
  requestId: string;
2399
2309
  };
2400
2310
  outputFormat: "json";
2401
- status: 403;
2311
+ status: 404;
2402
2312
  input: {
2403
2313
  header: {
2404
2314
  'idempotency-key': string;
@@ -2417,14 +2327,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2417
2327
  } | {
2418
2328
  output: {
2419
2329
  error: {
2420
- code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
2330
+ code: "route_policy_changed";
2421
2331
  details?: readonly Response.error.Detail[] | undefined;
2422
2332
  message: string;
2423
2333
  };
2424
2334
  requestId: string;
2425
2335
  };
2426
2336
  outputFormat: "json";
2427
- status: 403;
2337
+ status: 409;
2428
2338
  input: {
2429
2339
  header: {
2430
2340
  'idempotency-key': string;
@@ -2443,14 +2353,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2443
2353
  } | {
2444
2354
  output: {
2445
2355
  error: {
2446
- code: "quote_not_available";
2356
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
2447
2357
  details?: readonly Response.error.Detail[] | undefined;
2448
2358
  message: string;
2449
2359
  };
2450
2360
  requestId: string;
2451
2361
  };
2452
2362
  outputFormat: "json";
2453
- status: 404;
2363
+ status: 403;
2454
2364
  input: {
2455
2365
  header: {
2456
2366
  'idempotency-key': string;
@@ -2469,14 +2379,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2469
2379
  } | {
2470
2380
  output: {
2471
2381
  error: {
2472
- code: "deposit_address_not_available";
2382
+ code: "amount_too_low";
2473
2383
  details?: readonly Response.error.Detail[] | undefined;
2474
2384
  message: string;
2475
2385
  };
2476
2386
  requestId: string;
2477
2387
  };
2478
2388
  outputFormat: "json";
2479
- status: 404;
2389
+ status: 400;
2480
2390
  input: {
2481
2391
  header: {
2482
2392
  'idempotency-key': string;
@@ -2495,14 +2405,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2495
2405
  } | {
2496
2406
  output: {
2497
2407
  error: {
2498
- code: "route_policy_changed";
2408
+ code: "body_invalid";
2499
2409
  details?: readonly Response.error.Detail[] | undefined;
2500
2410
  message: string;
2501
2411
  };
2502
2412
  requestId: string;
2503
2413
  };
2504
2414
  outputFormat: "json";
2505
- status: 409;
2415
+ status: 400;
2506
2416
  input: {
2507
2417
  header: {
2508
2418
  'idempotency-key': string;
@@ -2573,14 +2483,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2573
2483
  } | {
2574
2484
  output: {
2575
2485
  error: {
2576
- code: "route_policy_identity_conflict";
2486
+ code: "deposit_address_not_available";
2577
2487
  details?: readonly Response.error.Detail[] | undefined;
2578
2488
  message: string;
2579
2489
  };
2580
2490
  requestId: string;
2581
2491
  };
2582
2492
  outputFormat: "json";
2583
- status: 409;
2493
+ status: 404;
2584
2494
  input: {
2585
2495
  header: {
2586
2496
  'idempotency-key': string;
@@ -2599,7 +2509,7 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2599
2509
  } | {
2600
2510
  output: {
2601
2511
  error: {
2602
- code: "routes_deposit_address_not_active";
2512
+ code: "route_policy_identity_conflict";
2603
2513
  details?: readonly Response.error.Detail[] | undefined;
2604
2514
  message: string;
2605
2515
  };
@@ -2625,14 +2535,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2625
2535
  } | {
2626
2536
  output: {
2627
2537
  error: {
2628
- code: "payload_too_large";
2538
+ code: "routes_deposit_address_not_active";
2629
2539
  details?: readonly Response.error.Detail[] | undefined;
2630
2540
  message: string;
2631
2541
  };
2632
2542
  requestId: string;
2633
2543
  };
2634
2544
  outputFormat: "json";
2635
- status: 413;
2545
+ status: 409;
2636
2546
  input: {
2637
2547
  header: {
2638
2548
  'idempotency-key': string;
@@ -2650,15 +2560,131 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2650
2560
  };
2651
2561
  } | {
2652
2562
  output: {
2653
- error: {
2654
- code: "payment_required" | "rate_limit_exceeded";
2655
- details?: readonly Response.error.Detail[] | undefined;
2656
- message: string;
2563
+ address: string;
2564
+ createdAt: string;
2565
+ destinationChain: {
2566
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
2567
+ id: string;
2568
+ kind: "evm" | "solana" | "stellar" | "tron";
2569
+ name: string;
2570
+ };
2571
+ destinationToken: {
2572
+ address: string;
2573
+ currency: string;
2574
+ decimals: number;
2575
+ name: string;
2576
+ standard: string;
2577
+ symbol: string;
2578
+ tokenKey: string;
2579
+ verified: boolean;
2580
+ };
2581
+ id: string;
2582
+ recipient: string;
2583
+ refundAddress: string;
2584
+ sourceChain: {
2585
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
2586
+ id: string;
2587
+ kind: "evm" | "solana" | "stellar" | "tron";
2588
+ name: string;
2589
+ };
2590
+ sourceToken: {
2591
+ address: string;
2592
+ currency: string;
2593
+ decimals: number;
2594
+ name: string;
2595
+ standard: string;
2596
+ symbol: string;
2597
+ tokenKey: string;
2598
+ verified: boolean;
2599
+ };
2600
+ status: "action-required" | "active";
2601
+ subsidize: boolean;
2602
+ updatedAt: string;
2603
+ } | {
2604
+ address: string;
2605
+ createdAt: string;
2606
+ destinationChain: {
2607
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
2608
+ id: string;
2609
+ kind: "evm" | "solana" | "stellar" | "tron";
2610
+ name: string;
2611
+ };
2612
+ destinationToken: {
2613
+ address: string;
2614
+ currency: string;
2615
+ decimals: number;
2616
+ name: string;
2617
+ standard: string;
2618
+ symbol: string;
2619
+ tokenKey: string;
2620
+ verified: boolean;
2621
+ };
2622
+ id: string;
2623
+ recipient: string;
2624
+ refundAddress: string;
2625
+ sourceChain: {
2626
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
2627
+ id: string;
2628
+ kind: "evm" | "solana" | "stellar" | "tron";
2629
+ name: string;
2630
+ };
2631
+ sourceToken: {
2632
+ address: string;
2633
+ currency: string;
2634
+ decimals: number;
2635
+ name: string;
2636
+ standard: string;
2637
+ symbol: string;
2638
+ tokenKey: string;
2639
+ verified: boolean;
2640
+ };
2641
+ status: "action-required" | "active";
2642
+ subsidize: boolean;
2643
+ updatedAt: string;
2644
+ destinationAmount: {
2645
+ baseUnits: string;
2646
+ currency: string;
2647
+ decimals: number;
2648
+ formatted: string;
2649
+ };
2650
+ destinationAmountMin: {
2651
+ baseUnits: string;
2652
+ currency: string;
2653
+ decimals: number;
2654
+ formatted: string;
2655
+ };
2656
+ fees: {
2657
+ amount: {
2658
+ baseUnits: string;
2659
+ currency: string;
2660
+ decimals: number;
2661
+ formatted: string;
2662
+ };
2663
+ side: "destination" | "source";
2664
+ token: {
2665
+ address: string;
2666
+ currency: string;
2667
+ decimals: number;
2668
+ name: string;
2669
+ standard: string;
2670
+ symbol: string;
2671
+ tokenKey: string;
2672
+ verified: boolean;
2673
+ };
2674
+ }[];
2675
+ quote: {
2676
+ expiresAt?: string | undefined;
2677
+ sampledAt: string;
2678
+ };
2679
+ sourceAmount: {
2680
+ baseUnits: string;
2681
+ currency: string;
2682
+ decimals: number;
2683
+ formatted: string;
2657
2684
  };
2658
- requestId: string;
2659
2685
  };
2660
2686
  outputFormat: "json";
2661
- status: 429;
2687
+ status: 200;
2662
2688
  input: {
2663
2689
  header: {
2664
2690
  'idempotency-key': string;
@@ -2674,6 +2700,95 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2674
2700
  subsidize?: boolean | undefined;
2675
2701
  };
2676
2702
  };
2703
+ };
2704
+ };
2705
+ } & {
2706
+ "/v1/routes/deposit-addresses": {
2707
+ $get: {
2708
+ output: {
2709
+ error: {
2710
+ code: "api_key_malformed";
2711
+ details?: readonly Response.error.Detail[] | undefined;
2712
+ message: string;
2713
+ };
2714
+ requestId: string;
2715
+ };
2716
+ outputFormat: "json";
2717
+ status: 400;
2718
+ input: {
2719
+ query?: {
2720
+ cursor?: string | string[];
2721
+ limit?: string | string[];
2722
+ } | undefined;
2723
+ };
2724
+ } | {
2725
+ output: {
2726
+ error: {
2727
+ code: "api_key_invalid" | "api_key_missing";
2728
+ details?: readonly Response.error.Detail[] | undefined;
2729
+ message: string;
2730
+ };
2731
+ requestId: string;
2732
+ };
2733
+ outputFormat: "json";
2734
+ status: 401;
2735
+ input: {
2736
+ query?: {
2737
+ cursor?: string | string[];
2738
+ limit?: string | string[];
2739
+ } | undefined;
2740
+ };
2741
+ } | {
2742
+ output: {
2743
+ error: {
2744
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2745
+ details?: readonly Response.error.Detail[] | undefined;
2746
+ message: string;
2747
+ };
2748
+ requestId: string;
2749
+ };
2750
+ outputFormat: "json";
2751
+ status: 403;
2752
+ input: {
2753
+ query?: {
2754
+ cursor?: string | string[];
2755
+ limit?: string | string[];
2756
+ } | undefined;
2757
+ };
2758
+ } | {
2759
+ output: {
2760
+ error: {
2761
+ code: "payment_required" | "rate_limit_exceeded";
2762
+ details?: readonly Response.error.Detail[] | undefined;
2763
+ message: string;
2764
+ };
2765
+ requestId: string;
2766
+ };
2767
+ outputFormat: "json";
2768
+ status: 429;
2769
+ input: {
2770
+ query?: {
2771
+ cursor?: string | string[];
2772
+ limit?: string | string[];
2773
+ } | undefined;
2774
+ };
2775
+ } | {
2776
+ output: {
2777
+ error: {
2778
+ code: "query_invalid";
2779
+ details?: readonly Response.error.Detail[] | undefined;
2780
+ message: string;
2781
+ };
2782
+ requestId: string;
2783
+ };
2784
+ outputFormat: "json";
2785
+ status: 400;
2786
+ input: {
2787
+ query?: {
2788
+ cursor?: string | string[];
2789
+ limit?: string | string[];
2790
+ } | undefined;
2791
+ };
2677
2792
  } | {
2678
2793
  output: {
2679
2794
  error: {
@@ -2686,25 +2801,29 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2686
2801
  outputFormat: "json";
2687
2802
  status: 502;
2688
2803
  input: {
2689
- header: {
2690
- 'idempotency-key': string;
2691
- };
2692
- } & {
2693
- json: {
2694
- amount: string;
2695
- destinationToken: string;
2696
- recipient: string;
2697
- refundAddress: string;
2698
- sourceChain: string;
2699
- sourceToken: string;
2700
- subsidize?: boolean | undefined;
2804
+ query?: {
2805
+ cursor?: string | string[];
2806
+ limit?: string | string[];
2807
+ } | undefined;
2808
+ };
2809
+ } | {
2810
+ output: {
2811
+ error: {
2812
+ code: "unauthorized";
2813
+ details?: readonly Response.error.Detail[] | undefined;
2814
+ message: string;
2701
2815
  };
2816
+ requestId: string;
2702
2817
  };
2703
- };
2704
- };
2705
- } & {
2706
- "/v1/routes/deposit-addresses": {
2707
- $get: {
2818
+ outputFormat: "json";
2819
+ status: 401;
2820
+ input: {
2821
+ query?: {
2822
+ cursor?: string | string[];
2823
+ limit?: string | string[];
2824
+ } | undefined;
2825
+ };
2826
+ } | {
2708
2827
  output: {
2709
2828
  data: {
2710
2829
  address: string;
@@ -2751,34 +2870,21 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2751
2870
  nextCursor: string | null;
2752
2871
  };
2753
2872
  outputFormat: "json";
2754
- status: 200;
2755
- input: {
2756
- query?: {
2757
- cursor?: string | string[];
2758
- limit?: string | string[];
2759
- } | undefined;
2760
- };
2761
- } | {
2762
- output: {
2763
- error: {
2764
- code: "api_key_malformed";
2765
- details?: readonly Response.error.Detail[] | undefined;
2766
- message: string;
2767
- };
2768
- requestId: string;
2769
- };
2770
- outputFormat: "json";
2771
- status: 400;
2873
+ status: 200;
2772
2874
  input: {
2773
2875
  query?: {
2774
2876
  cursor?: string | string[];
2775
2877
  limit?: string | string[];
2776
2878
  } | undefined;
2777
2879
  };
2778
- } | {
2880
+ };
2881
+ };
2882
+ } & {
2883
+ "/v1/routes/deposit-addresses/:id{rda_[A-Za-z0-9_-]+}": {
2884
+ $get: {
2779
2885
  output: {
2780
2886
  error: {
2781
- code: "query_invalid";
2887
+ code: "api_key_malformed";
2782
2888
  details?: readonly Response.error.Detail[] | undefined;
2783
2889
  message: string;
2784
2890
  };
@@ -2787,10 +2893,9 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2787
2893
  outputFormat: "json";
2788
2894
  status: 400;
2789
2895
  input: {
2790
- query?: {
2791
- cursor?: string | string[];
2792
- limit?: string | string[];
2793
- } | undefined;
2896
+ param: {
2897
+ id: string;
2898
+ };
2794
2899
  };
2795
2900
  } | {
2796
2901
  output: {
@@ -2804,84 +2909,75 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2804
2909
  outputFormat: "json";
2805
2910
  status: 401;
2806
2911
  input: {
2807
- query?: {
2808
- cursor?: string | string[];
2809
- limit?: string | string[];
2810
- } | undefined;
2912
+ param: {
2913
+ id: string;
2914
+ };
2811
2915
  };
2812
2916
  } | {
2813
2917
  output: {
2814
2918
  error: {
2815
- code: "unauthorized";
2919
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
2816
2920
  details?: readonly Response.error.Detail[] | undefined;
2817
2921
  message: string;
2818
2922
  };
2819
2923
  requestId: string;
2820
2924
  };
2821
2925
  outputFormat: "json";
2822
- status: 401;
2926
+ status: 403;
2823
2927
  input: {
2824
- query?: {
2825
- cursor?: string | string[];
2826
- limit?: string | string[];
2827
- } | undefined;
2928
+ param: {
2929
+ id: string;
2930
+ };
2828
2931
  };
2829
2932
  } | {
2830
2933
  output: {
2831
2934
  error: {
2832
- code: "api_key_forbidden" | "api_key_ip_forbidden";
2935
+ code: "payment_required" | "rate_limit_exceeded";
2833
2936
  details?: readonly Response.error.Detail[] | undefined;
2834
2937
  message: string;
2835
2938
  };
2836
2939
  requestId: string;
2837
2940
  };
2838
2941
  outputFormat: "json";
2839
- status: 403;
2942
+ status: 429;
2840
2943
  input: {
2841
- query?: {
2842
- cursor?: string | string[];
2843
- limit?: string | string[];
2844
- } | undefined;
2944
+ param: {
2945
+ id: string;
2946
+ };
2845
2947
  };
2846
2948
  } | {
2847
2949
  output: {
2848
2950
  error: {
2849
- code: "payment_required" | "rate_limit_exceeded";
2951
+ code: "upstream_error";
2850
2952
  details?: readonly Response.error.Detail[] | undefined;
2851
2953
  message: string;
2852
2954
  };
2853
2955
  requestId: string;
2854
2956
  };
2855
2957
  outputFormat: "json";
2856
- status: 429;
2958
+ status: 502;
2857
2959
  input: {
2858
- query?: {
2859
- cursor?: string | string[];
2860
- limit?: string | string[];
2861
- } | undefined;
2960
+ param: {
2961
+ id: string;
2962
+ };
2862
2963
  };
2863
2964
  } | {
2864
2965
  output: {
2865
2966
  error: {
2866
- code: "upstream_error";
2967
+ code: "unauthorized";
2867
2968
  details?: readonly Response.error.Detail[] | undefined;
2868
2969
  message: string;
2869
2970
  };
2870
2971
  requestId: string;
2871
2972
  };
2872
2973
  outputFormat: "json";
2873
- status: 502;
2974
+ status: 401;
2874
2975
  input: {
2875
- query?: {
2876
- cursor?: string | string[];
2877
- limit?: string | string[];
2878
- } | undefined;
2976
+ param: {
2977
+ id: string;
2978
+ };
2879
2979
  };
2880
- };
2881
- };
2882
- } & {
2883
- "/v1/routes/deposit-addresses/:id{rda_[A-Za-z0-9_-]+}": {
2884
- $get: {
2980
+ } | {
2885
2981
  output: {
2886
2982
  address: string;
2887
2983
  createdAt: string;
@@ -2931,22 +3027,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2931
3027
  id: string;
2932
3028
  };
2933
3029
  };
2934
- } | {
2935
- output: {
2936
- error: {
2937
- code: "api_key_malformed";
2938
- details?: readonly Response.error.Detail[] | undefined;
2939
- message: string;
2940
- };
2941
- requestId: string;
2942
- };
2943
- outputFormat: "json";
2944
- status: 400;
2945
- input: {
2946
- param: {
2947
- id: string;
2948
- };
2949
- };
2950
3030
  } | {
2951
3031
  output: {
2952
3032
  error: {
@@ -2963,54 +3043,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
2963
3043
  id: string;
2964
3044
  };
2965
3045
  };
2966
- } | {
2967
- output: {
2968
- error: {
2969
- code: "api_key_invalid" | "api_key_missing";
2970
- details?: readonly Response.error.Detail[] | undefined;
2971
- message: string;
2972
- };
2973
- requestId: string;
2974
- };
2975
- outputFormat: "json";
2976
- status: 401;
2977
- input: {
2978
- param: {
2979
- id: string;
2980
- };
2981
- };
2982
- } | {
2983
- output: {
2984
- error: {
2985
- code: "unauthorized";
2986
- details?: readonly Response.error.Detail[] | undefined;
2987
- message: string;
2988
- };
2989
- requestId: string;
2990
- };
2991
- outputFormat: "json";
2992
- status: 401;
2993
- input: {
2994
- param: {
2995
- id: string;
2996
- };
2997
- };
2998
- } | {
2999
- output: {
3000
- error: {
3001
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3002
- details?: readonly Response.error.Detail[] | undefined;
3003
- message: string;
3004
- };
3005
- requestId: string;
3006
- };
3007
- outputFormat: "json";
3008
- status: 403;
3009
- input: {
3010
- param: {
3011
- id: string;
3012
- };
3013
- };
3014
3046
  } | {
3015
3047
  output: {
3016
3048
  error: {
@@ -3027,38 +3059,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3027
3059
  id: string;
3028
3060
  };
3029
3061
  };
3030
- } | {
3031
- output: {
3032
- error: {
3033
- code: "payment_required" | "rate_limit_exceeded";
3034
- details?: readonly Response.error.Detail[] | undefined;
3035
- message: string;
3036
- };
3037
- requestId: string;
3038
- };
3039
- outputFormat: "json";
3040
- status: 429;
3041
- input: {
3042
- param: {
3043
- id: string;
3044
- };
3045
- };
3046
- } | {
3047
- output: {
3048
- error: {
3049
- code: "upstream_error";
3050
- details?: readonly Response.error.Detail[] | undefined;
3051
- message: string;
3052
- };
3053
- requestId: string;
3054
- };
3055
- outputFormat: "json";
3056
- status: 502;
3057
- input: {
3058
- param: {
3059
- id: string;
3060
- };
3061
- };
3062
3062
  };
3063
3063
  };
3064
3064
  } & {
@@ -3091,14 +3091,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3091
3091
  } | {
3092
3092
  output: {
3093
3093
  error: {
3094
- code: "param_invalid";
3094
+ code: "api_key_invalid" | "api_key_missing";
3095
3095
  details?: readonly Response.error.Detail[] | undefined;
3096
3096
  message: string;
3097
3097
  };
3098
3098
  requestId: string;
3099
3099
  };
3100
3100
  outputFormat: "json";
3101
- status: 400;
3101
+ status: 401;
3102
3102
  input: {
3103
3103
  param: {
3104
3104
  id: string;
@@ -3107,14 +3107,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3107
3107
  } | {
3108
3108
  output: {
3109
3109
  error: {
3110
- code: "api_key_invalid" | "api_key_missing";
3110
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3111
3111
  details?: readonly Response.error.Detail[] | undefined;
3112
3112
  message: string;
3113
3113
  };
3114
3114
  requestId: string;
3115
3115
  };
3116
3116
  outputFormat: "json";
3117
- status: 401;
3117
+ status: 403;
3118
3118
  input: {
3119
3119
  param: {
3120
3120
  id: string;
@@ -3123,14 +3123,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3123
3123
  } | {
3124
3124
  output: {
3125
3125
  error: {
3126
- code: "unauthorized";
3126
+ code: "payment_required" | "rate_limit_exceeded";
3127
3127
  details?: readonly Response.error.Detail[] | undefined;
3128
3128
  message: string;
3129
3129
  };
3130
3130
  requestId: string;
3131
3131
  };
3132
3132
  outputFormat: "json";
3133
- status: 401;
3133
+ status: 429;
3134
3134
  input: {
3135
3135
  param: {
3136
3136
  id: string;
@@ -3139,14 +3139,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3139
3139
  } | {
3140
3140
  output: {
3141
3141
  error: {
3142
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3142
+ code: "upstream_error";
3143
3143
  details?: readonly Response.error.Detail[] | undefined;
3144
3144
  message: string;
3145
3145
  };
3146
3146
  requestId: string;
3147
3147
  };
3148
3148
  outputFormat: "json";
3149
- status: 403;
3149
+ status: 502;
3150
3150
  input: {
3151
3151
  param: {
3152
3152
  id: string;
@@ -3155,14 +3155,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3155
3155
  } | {
3156
3156
  output: {
3157
3157
  error: {
3158
- code: "routes_deposit_address_not_found";
3158
+ code: "unauthorized";
3159
3159
  details?: readonly Response.error.Detail[] | undefined;
3160
3160
  message: string;
3161
3161
  };
3162
3162
  requestId: string;
3163
3163
  };
3164
3164
  outputFormat: "json";
3165
- status: 404;
3165
+ status: 401;
3166
3166
  input: {
3167
3167
  param: {
3168
3168
  id: string;
@@ -3187,14 +3187,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3187
3187
  } | {
3188
3188
  output: {
3189
3189
  error: {
3190
- code: "payment_required" | "rate_limit_exceeded";
3190
+ code: "param_invalid";
3191
3191
  details?: readonly Response.error.Detail[] | undefined;
3192
3192
  message: string;
3193
3193
  };
3194
3194
  requestId: string;
3195
3195
  };
3196
3196
  outputFormat: "json";
3197
- status: 429;
3197
+ status: 400;
3198
3198
  input: {
3199
3199
  param: {
3200
3200
  id: string;
@@ -3203,14 +3203,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3203
3203
  } | {
3204
3204
  output: {
3205
3205
  error: {
3206
- code: "not_implemented";
3206
+ code: "routes_deposit_address_not_found";
3207
3207
  details?: readonly Response.error.Detail[] | undefined;
3208
3208
  message: string;
3209
3209
  };
3210
3210
  requestId: string;
3211
3211
  };
3212
3212
  outputFormat: "json";
3213
- status: 501;
3213
+ status: 404;
3214
3214
  input: {
3215
3215
  param: {
3216
3216
  id: string;
@@ -3219,14 +3219,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3219
3219
  } | {
3220
3220
  output: {
3221
3221
  error: {
3222
- code: "upstream_error";
3222
+ code: "not_implemented";
3223
3223
  details?: readonly Response.error.Detail[] | undefined;
3224
3224
  message: string;
3225
3225
  };
3226
3226
  requestId: string;
3227
3227
  };
3228
3228
  outputFormat: "json";
3229
- status: 502;
3229
+ status: 501;
3230
3230
  input: {
3231
3231
  param: {
3232
3232
  id: string;
@@ -3238,56 +3238,15 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3238
3238
  "/v1/routes/deposit-addresses/universal": {
3239
3239
  $post: {
3240
3240
  output: {
3241
- addresses: {
3242
- address: string;
3243
- family: "evm" | "solana" | "tron";
3244
- id: string;
3245
- refundAddress: string;
3246
- sources: {
3247
- chain: {
3248
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
3249
- id: string;
3250
- kind: "evm" | "solana" | "stellar" | "tron";
3251
- name: string;
3252
- };
3253
- token: {
3254
- address: string;
3255
- currency: string;
3256
- decimals: number;
3257
- name: string;
3258
- standard: string;
3259
- symbol: string;
3260
- tokenKey: string;
3261
- verified: boolean;
3262
- };
3263
- }[];
3264
- status: "action-required" | "active";
3265
- }[];
3266
- createdAt: string;
3267
- destinationChain: {
3268
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
3269
- id: string;
3270
- kind: "evm" | "solana" | "stellar" | "tron";
3271
- name: string;
3272
- };
3273
- destinationToken: {
3274
- address: string;
3275
- currency: string;
3276
- decimals: number;
3277
- name: string;
3278
- standard: string;
3279
- symbol: string;
3280
- tokenKey: string;
3281
- verified: boolean;
3241
+ error: {
3242
+ code: "payload_too_large";
3243
+ details?: readonly Response.error.Detail[] | undefined;
3244
+ message: string;
3282
3245
  };
3283
- id: string;
3284
- recipient: string;
3285
- status: "action-required" | "active";
3286
- subsidize: boolean;
3287
- updatedAt: string;
3246
+ requestId: string;
3288
3247
  };
3289
3248
  outputFormat: "json";
3290
- status: 200;
3249
+ status: 413;
3291
3250
  input: {
3292
3251
  header: {
3293
3252
  'idempotency-key': string;
@@ -3336,14 +3295,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3336
3295
  } | {
3337
3296
  output: {
3338
3297
  error: {
3339
- code: "body_invalid";
3298
+ code: "api_key_invalid" | "api_key_missing";
3340
3299
  details?: readonly Response.error.Detail[] | undefined;
3341
3300
  message: string;
3342
3301
  };
3343
3302
  requestId: string;
3344
3303
  };
3345
3304
  outputFormat: "json";
3346
- status: 400;
3305
+ status: 401;
3347
3306
  input: {
3348
3307
  header: {
3349
3308
  'idempotency-key': string;
@@ -3364,14 +3323,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3364
3323
  } | {
3365
3324
  output: {
3366
3325
  error: {
3367
- code: "amount_too_low";
3326
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3368
3327
  details?: readonly Response.error.Detail[] | undefined;
3369
3328
  message: string;
3370
3329
  };
3371
3330
  requestId: string;
3372
3331
  };
3373
3332
  outputFormat: "json";
3374
- status: 400;
3333
+ status: 403;
3375
3334
  input: {
3376
3335
  header: {
3377
3336
  'idempotency-key': string;
@@ -3392,14 +3351,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3392
3351
  } | {
3393
3352
  output: {
3394
3353
  error: {
3395
- code: "api_key_invalid" | "api_key_missing";
3354
+ code: "payment_required" | "rate_limit_exceeded";
3396
3355
  details?: readonly Response.error.Detail[] | undefined;
3397
3356
  message: string;
3398
3357
  };
3399
3358
  requestId: string;
3400
3359
  };
3401
3360
  outputFormat: "json";
3402
- status: 401;
3361
+ status: 429;
3403
3362
  input: {
3404
3363
  header: {
3405
3364
  'idempotency-key': string;
@@ -3420,14 +3379,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3420
3379
  } | {
3421
3380
  output: {
3422
3381
  error: {
3423
- code: "unauthorized";
3382
+ code: "upstream_error";
3424
3383
  details?: readonly Response.error.Detail[] | undefined;
3425
3384
  message: string;
3426
3385
  };
3427
3386
  requestId: string;
3428
3387
  };
3429
3388
  outputFormat: "json";
3430
- status: 401;
3389
+ status: 502;
3431
3390
  input: {
3432
3391
  header: {
3433
3392
  'idempotency-key': string;
@@ -3448,14 +3407,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3448
3407
  } | {
3449
3408
  output: {
3450
3409
  error: {
3451
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3410
+ code: "unauthorized";
3452
3411
  details?: readonly Response.error.Detail[] | undefined;
3453
3412
  message: string;
3454
3413
  };
3455
3414
  requestId: string;
3456
3415
  };
3457
3416
  outputFormat: "json";
3458
- status: 403;
3417
+ status: 401;
3459
3418
  input: {
3460
3419
  header: {
3461
3420
  'idempotency-key': string;
@@ -3476,14 +3435,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3476
3435
  } | {
3477
3436
  output: {
3478
3437
  error: {
3479
- code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
3438
+ code: "quote_not_available";
3480
3439
  details?: readonly Response.error.Detail[] | undefined;
3481
3440
  message: string;
3482
3441
  };
3483
3442
  requestId: string;
3484
3443
  };
3485
3444
  outputFormat: "json";
3486
- status: 403;
3445
+ status: 404;
3487
3446
  input: {
3488
3447
  header: {
3489
3448
  'idempotency-key': string;
@@ -3504,14 +3463,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3504
3463
  } | {
3505
3464
  output: {
3506
3465
  error: {
3507
- code: "quote_not_available";
3466
+ code: "route_policy_changed";
3508
3467
  details?: readonly Response.error.Detail[] | undefined;
3509
3468
  message: string;
3510
3469
  };
3511
3470
  requestId: string;
3512
3471
  };
3513
3472
  outputFormat: "json";
3514
- status: 404;
3473
+ status: 409;
3515
3474
  input: {
3516
3475
  header: {
3517
3476
  'idempotency-key': string;
@@ -3532,14 +3491,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3532
3491
  } | {
3533
3492
  output: {
3534
3493
  error: {
3535
- code: "deposit_address_not_available";
3494
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
3536
3495
  details?: readonly Response.error.Detail[] | undefined;
3537
3496
  message: string;
3538
3497
  };
3539
3498
  requestId: string;
3540
3499
  };
3541
3500
  outputFormat: "json";
3542
- status: 404;
3501
+ status: 403;
3543
3502
  input: {
3544
3503
  header: {
3545
3504
  'idempotency-key': string;
@@ -3560,14 +3519,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3560
3519
  } | {
3561
3520
  output: {
3562
3521
  error: {
3563
- code: "route_policy_changed";
3522
+ code: "amount_too_low";
3564
3523
  details?: readonly Response.error.Detail[] | undefined;
3565
3524
  message: string;
3566
3525
  };
3567
3526
  requestId: string;
3568
3527
  };
3569
3528
  outputFormat: "json";
3570
- status: 409;
3529
+ status: 400;
3571
3530
  input: {
3572
3531
  header: {
3573
3532
  'idempotency-key': string;
@@ -3588,14 +3547,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3588
3547
  } | {
3589
3548
  output: {
3590
3549
  error: {
3591
- code: "idempotency_conflict";
3550
+ code: "body_invalid";
3592
3551
  details?: readonly Response.error.Detail[] | undefined;
3593
3552
  message: string;
3594
3553
  };
3595
3554
  requestId: string;
3596
3555
  };
3597
3556
  outputFormat: "json";
3598
- status: 409;
3557
+ status: 400;
3599
3558
  input: {
3600
3559
  header: {
3601
3560
  'idempotency-key': string;
@@ -3616,7 +3575,7 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3616
3575
  } | {
3617
3576
  output: {
3618
3577
  error: {
3619
- code: "idempotency_in_progress";
3578
+ code: "idempotency_conflict";
3620
3579
  details?: readonly Response.error.Detail[] | undefined;
3621
3580
  message: string;
3622
3581
  };
@@ -3644,7 +3603,7 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3644
3603
  } | {
3645
3604
  output: {
3646
3605
  error: {
3647
- code: "route_policy_identity_conflict";
3606
+ code: "idempotency_in_progress";
3648
3607
  details?: readonly Response.error.Detail[] | undefined;
3649
3608
  message: string;
3650
3609
  };
@@ -3672,14 +3631,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3672
3631
  } | {
3673
3632
  output: {
3674
3633
  error: {
3675
- code: "routes_deposit_address_not_active";
3634
+ code: "deposit_address_not_available";
3676
3635
  details?: readonly Response.error.Detail[] | undefined;
3677
3636
  message: string;
3678
3637
  };
3679
3638
  requestId: string;
3680
3639
  };
3681
3640
  outputFormat: "json";
3682
- status: 409;
3641
+ status: 404;
3683
3642
  input: {
3684
3643
  header: {
3685
3644
  'idempotency-key': string;
@@ -3700,14 +3659,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3700
3659
  } | {
3701
3660
  output: {
3702
3661
  error: {
3703
- code: "payload_too_large";
3662
+ code: "route_policy_identity_conflict";
3704
3663
  details?: readonly Response.error.Detail[] | undefined;
3705
3664
  message: string;
3706
3665
  };
3707
3666
  requestId: string;
3708
3667
  };
3709
3668
  outputFormat: "json";
3710
- status: 413;
3669
+ status: 409;
3711
3670
  input: {
3712
3671
  header: {
3713
3672
  'idempotency-key': string;
@@ -3728,14 +3687,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3728
3687
  } | {
3729
3688
  output: {
3730
3689
  error: {
3731
- code: "payment_required" | "rate_limit_exceeded";
3690
+ code: "routes_deposit_address_not_active";
3732
3691
  details?: readonly Response.error.Detail[] | undefined;
3733
3692
  message: string;
3734
3693
  };
3735
3694
  requestId: string;
3736
3695
  };
3737
3696
  outputFormat: "json";
3738
- status: 429;
3697
+ status: 409;
3739
3698
  input: {
3740
3699
  header: {
3741
3700
  'idempotency-key': string;
@@ -3755,15 +3714,56 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3755
3714
  };
3756
3715
  } | {
3757
3716
  output: {
3758
- error: {
3759
- code: "upstream_error";
3760
- details?: readonly Response.error.Detail[] | undefined;
3761
- message: string;
3717
+ addresses: {
3718
+ address: string;
3719
+ family: "evm" | "solana" | "tron";
3720
+ id: string;
3721
+ refundAddress: string;
3722
+ sources: {
3723
+ chain: {
3724
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
3725
+ id: string;
3726
+ kind: "evm" | "solana" | "stellar" | "tron";
3727
+ name: string;
3728
+ };
3729
+ token: {
3730
+ address: string;
3731
+ currency: string;
3732
+ decimals: number;
3733
+ name: string;
3734
+ standard: string;
3735
+ symbol: string;
3736
+ tokenKey: string;
3737
+ verified: boolean;
3738
+ };
3739
+ }[];
3740
+ status: "action-required" | "active";
3741
+ }[];
3742
+ createdAt: string;
3743
+ destinationChain: {
3744
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
3745
+ id: string;
3746
+ kind: "evm" | "solana" | "stellar" | "tron";
3747
+ name: string;
3762
3748
  };
3763
- requestId: string;
3749
+ destinationToken: {
3750
+ address: string;
3751
+ currency: string;
3752
+ decimals: number;
3753
+ name: string;
3754
+ standard: string;
3755
+ symbol: string;
3756
+ tokenKey: string;
3757
+ verified: boolean;
3758
+ };
3759
+ id: string;
3760
+ recipient: string;
3761
+ status: "action-required" | "active";
3762
+ subsidize: boolean;
3763
+ updatedAt: string;
3764
3764
  };
3765
3765
  outputFormat: "json";
3766
- status: 502;
3766
+ status: 200;
3767
3767
  input: {
3768
3768
  header: {
3769
3769
  'idempotency-key': string;
@@ -3786,67 +3786,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3786
3786
  } & {
3787
3787
  "/v1/routes/deposit-addresses/universal": {
3788
3788
  $get: {
3789
- output: {
3790
- data: {
3791
- addresses: {
3792
- address: string;
3793
- family: "evm" | "solana" | "tron";
3794
- id: string;
3795
- refundAddress: string;
3796
- sources: {
3797
- chain: {
3798
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
3799
- id: string;
3800
- kind: "evm" | "solana" | "stellar" | "tron";
3801
- name: string;
3802
- };
3803
- token: {
3804
- address: string;
3805
- currency: string;
3806
- decimals: number;
3807
- name: string;
3808
- standard: string;
3809
- symbol: string;
3810
- tokenKey: string;
3811
- verified: boolean;
3812
- };
3813
- }[];
3814
- status: "action-required" | "active";
3815
- }[];
3816
- createdAt: string;
3817
- destinationChain: {
3818
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
3819
- id: string;
3820
- kind: "evm" | "solana" | "stellar" | "tron";
3821
- name: string;
3822
- };
3823
- destinationToken: {
3824
- address: string;
3825
- currency: string;
3826
- decimals: number;
3827
- name: string;
3828
- standard: string;
3829
- symbol: string;
3830
- tokenKey: string;
3831
- verified: boolean;
3832
- };
3833
- id: string;
3834
- recipient: string;
3835
- status: "action-required" | "active";
3836
- subsidize: boolean;
3837
- updatedAt: string;
3838
- }[];
3839
- nextCursor: string | null;
3840
- };
3841
- outputFormat: "json";
3842
- status: 200;
3843
- input: {
3844
- query?: {
3845
- cursor?: string | string[];
3846
- limit?: string | string[];
3847
- } | undefined;
3848
- };
3849
- } | {
3850
3789
  output: {
3851
3790
  error: {
3852
3791
  code: "api_key_malformed";
@@ -3866,14 +3805,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3866
3805
  } | {
3867
3806
  output: {
3868
3807
  error: {
3869
- code: "query_invalid";
3808
+ code: "api_key_invalid" | "api_key_missing";
3870
3809
  details?: readonly Response.error.Detail[] | undefined;
3871
3810
  message: string;
3872
3811
  };
3873
3812
  requestId: string;
3874
3813
  };
3875
3814
  outputFormat: "json";
3876
- status: 400;
3815
+ status: 401;
3877
3816
  input: {
3878
3817
  query?: {
3879
3818
  cursor?: string | string[];
@@ -3883,14 +3822,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3883
3822
  } | {
3884
3823
  output: {
3885
3824
  error: {
3886
- code: "api_key_invalid" | "api_key_missing";
3825
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
3887
3826
  details?: readonly Response.error.Detail[] | undefined;
3888
3827
  message: string;
3889
3828
  };
3890
3829
  requestId: string;
3891
3830
  };
3892
3831
  outputFormat: "json";
3893
- status: 401;
3832
+ status: 403;
3894
3833
  input: {
3895
3834
  query?: {
3896
3835
  cursor?: string | string[];
@@ -3900,14 +3839,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3900
3839
  } | {
3901
3840
  output: {
3902
3841
  error: {
3903
- code: "unauthorized";
3842
+ code: "payment_required" | "rate_limit_exceeded";
3904
3843
  details?: readonly Response.error.Detail[] | undefined;
3905
3844
  message: string;
3906
3845
  };
3907
3846
  requestId: string;
3908
3847
  };
3909
3848
  outputFormat: "json";
3910
- status: 401;
3849
+ status: 429;
3911
3850
  input: {
3912
3851
  query?: {
3913
3852
  cursor?: string | string[];
@@ -3917,14 +3856,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3917
3856
  } | {
3918
3857
  output: {
3919
3858
  error: {
3920
- code: "api_key_forbidden" | "api_key_ip_forbidden";
3859
+ code: "query_invalid";
3921
3860
  details?: readonly Response.error.Detail[] | undefined;
3922
3861
  message: string;
3923
3862
  };
3924
3863
  requestId: string;
3925
3864
  };
3926
3865
  outputFormat: "json";
3927
- status: 403;
3866
+ status: 400;
3928
3867
  input: {
3929
3868
  query?: {
3930
3869
  cursor?: string | string[];
@@ -3934,14 +3873,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3934
3873
  } | {
3935
3874
  output: {
3936
3875
  error: {
3937
- code: "payment_required" | "rate_limit_exceeded";
3876
+ code: "upstream_error";
3938
3877
  details?: readonly Response.error.Detail[] | undefined;
3939
3878
  message: string;
3940
3879
  };
3941
3880
  requestId: string;
3942
3881
  };
3943
3882
  outputFormat: "json";
3944
- status: 429;
3883
+ status: 502;
3945
3884
  input: {
3946
3885
  query?: {
3947
3886
  cursor?: string | string[];
@@ -3951,82 +3890,86 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
3951
3890
  } | {
3952
3891
  output: {
3953
3892
  error: {
3954
- code: "upstream_error";
3893
+ code: "unauthorized";
3955
3894
  details?: readonly Response.error.Detail[] | undefined;
3956
3895
  message: string;
3957
3896
  };
3958
3897
  requestId: string;
3959
3898
  };
3960
3899
  outputFormat: "json";
3961
- status: 502;
3900
+ status: 401;
3962
3901
  input: {
3963
3902
  query?: {
3964
3903
  cursor?: string | string[];
3965
3904
  limit?: string | string[];
3966
3905
  } | undefined;
3967
3906
  };
3968
- };
3969
- };
3970
- } & {
3971
- "/v1/routes/deposit-addresses/universal/:id{uda_[A-Za-z0-9_-]+}": {
3972
- $get: {
3907
+ } | {
3973
3908
  output: {
3974
- addresses: {
3975
- address: string;
3976
- family: "evm" | "solana" | "tron";
3977
- id: string;
3978
- refundAddress: string;
3979
- sources: {
3980
- chain: {
3981
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
3982
- id: string;
3983
- kind: "evm" | "solana" | "stellar" | "tron";
3984
- name: string;
3985
- };
3986
- token: {
3987
- address: string;
3988
- currency: string;
3989
- decimals: number;
3990
- name: string;
3991
- standard: string;
3992
- symbol: string;
3993
- tokenKey: string;
3994
- verified: boolean;
3995
- };
3909
+ data: {
3910
+ addresses: {
3911
+ address: string;
3912
+ family: "evm" | "solana" | "tron";
3913
+ id: string;
3914
+ refundAddress: string;
3915
+ sources: {
3916
+ chain: {
3917
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
3918
+ id: string;
3919
+ kind: "evm" | "solana" | "stellar" | "tron";
3920
+ name: string;
3921
+ };
3922
+ token: {
3923
+ address: string;
3924
+ currency: string;
3925
+ decimals: number;
3926
+ name: string;
3927
+ standard: string;
3928
+ symbol: string;
3929
+ tokenKey: string;
3930
+ verified: boolean;
3931
+ };
3932
+ }[];
3933
+ status: "action-required" | "active";
3996
3934
  }[];
3935
+ createdAt: string;
3936
+ destinationChain: {
3937
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
3938
+ id: string;
3939
+ kind: "evm" | "solana" | "stellar" | "tron";
3940
+ name: string;
3941
+ };
3942
+ destinationToken: {
3943
+ address: string;
3944
+ currency: string;
3945
+ decimals: number;
3946
+ name: string;
3947
+ standard: string;
3948
+ symbol: string;
3949
+ tokenKey: string;
3950
+ verified: boolean;
3951
+ };
3952
+ id: string;
3953
+ recipient: string;
3997
3954
  status: "action-required" | "active";
3955
+ subsidize: boolean;
3956
+ updatedAt: string;
3998
3957
  }[];
3999
- createdAt: string;
4000
- destinationChain: {
4001
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4002
- id: string;
4003
- kind: "evm" | "solana" | "stellar" | "tron";
4004
- name: string;
4005
- };
4006
- destinationToken: {
4007
- address: string;
4008
- currency: string;
4009
- decimals: number;
4010
- name: string;
4011
- standard: string;
4012
- symbol: string;
4013
- tokenKey: string;
4014
- verified: boolean;
4015
- };
4016
- id: string;
4017
- recipient: string;
4018
- status: "action-required" | "active";
4019
- subsidize: boolean;
4020
- updatedAt: string;
3958
+ nextCursor: string | null;
4021
3959
  };
4022
3960
  outputFormat: "json";
4023
3961
  status: 200;
4024
3962
  input: {
4025
- param: {
4026
- id: string;
4027
- };
3963
+ query?: {
3964
+ cursor?: string | string[];
3965
+ limit?: string | string[];
3966
+ } | undefined;
4028
3967
  };
4029
- } | {
3968
+ };
3969
+ };
3970
+ } & {
3971
+ "/v1/routes/deposit-addresses/universal/:id{uda_[A-Za-z0-9_-]+}": {
3972
+ $get: {
4030
3973
  output: {
4031
3974
  error: {
4032
3975
  code: "api_key_malformed";
@@ -4045,14 +3988,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4045
3988
  } | {
4046
3989
  output: {
4047
3990
  error: {
4048
- code: "param_invalid";
3991
+ code: "api_key_invalid" | "api_key_missing";
4049
3992
  details?: readonly Response.error.Detail[] | undefined;
4050
3993
  message: string;
4051
3994
  };
4052
3995
  requestId: string;
4053
3996
  };
4054
3997
  outputFormat: "json";
4055
- status: 400;
3998
+ status: 401;
4056
3999
  input: {
4057
4000
  param: {
4058
4001
  id: string;
@@ -4061,14 +4004,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4061
4004
  } | {
4062
4005
  output: {
4063
4006
  error: {
4064
- code: "api_key_invalid" | "api_key_missing";
4007
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4065
4008
  details?: readonly Response.error.Detail[] | undefined;
4066
4009
  message: string;
4067
4010
  };
4068
4011
  requestId: string;
4069
4012
  };
4070
4013
  outputFormat: "json";
4071
- status: 401;
4014
+ status: 403;
4072
4015
  input: {
4073
4016
  param: {
4074
4017
  id: string;
@@ -4077,14 +4020,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4077
4020
  } | {
4078
4021
  output: {
4079
4022
  error: {
4080
- code: "unauthorized";
4023
+ code: "payment_required" | "rate_limit_exceeded";
4081
4024
  details?: readonly Response.error.Detail[] | undefined;
4082
4025
  message: string;
4083
4026
  };
4084
4027
  requestId: string;
4085
4028
  };
4086
4029
  outputFormat: "json";
4087
- status: 401;
4030
+ status: 429;
4088
4031
  input: {
4089
4032
  param: {
4090
4033
  id: string;
@@ -4093,14 +4036,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4093
4036
  } | {
4094
4037
  output: {
4095
4038
  error: {
4096
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4039
+ code: "upstream_error";
4097
4040
  details?: readonly Response.error.Detail[] | undefined;
4098
4041
  message: string;
4099
4042
  };
4100
4043
  requestId: string;
4101
4044
  };
4102
4045
  outputFormat: "json";
4103
- status: 403;
4046
+ status: 502;
4104
4047
  input: {
4105
4048
  param: {
4106
4049
  id: string;
@@ -4109,14 +4052,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4109
4052
  } | {
4110
4053
  output: {
4111
4054
  error: {
4112
- code: "routes_deposit_address_not_found";
4055
+ code: "unauthorized";
4113
4056
  details?: readonly Response.error.Detail[] | undefined;
4114
4057
  message: string;
4115
4058
  };
4116
4059
  requestId: string;
4117
4060
  };
4118
4061
  outputFormat: "json";
4119
- status: 404;
4062
+ status: 401;
4120
4063
  input: {
4121
4064
  param: {
4122
4065
  id: string;
@@ -4125,14 +4068,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4125
4068
  } | {
4126
4069
  output: {
4127
4070
  error: {
4128
- code: "payment_required" | "rate_limit_exceeded";
4071
+ code: "param_invalid";
4129
4072
  details?: readonly Response.error.Detail[] | undefined;
4130
4073
  message: string;
4131
4074
  };
4132
4075
  requestId: string;
4133
4076
  };
4134
4077
  outputFormat: "json";
4135
- status: 429;
4078
+ status: 400;
4136
4079
  input: {
4137
4080
  param: {
4138
4081
  id: string;
@@ -4141,14 +4084,71 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4141
4084
  } | {
4142
4085
  output: {
4143
4086
  error: {
4144
- code: "upstream_error";
4087
+ code: "routes_deposit_address_not_found";
4145
4088
  details?: readonly Response.error.Detail[] | undefined;
4146
4089
  message: string;
4147
4090
  };
4148
4091
  requestId: string;
4149
4092
  };
4150
4093
  outputFormat: "json";
4151
- status: 502;
4094
+ status: 404;
4095
+ input: {
4096
+ param: {
4097
+ id: string;
4098
+ };
4099
+ };
4100
+ } | {
4101
+ output: {
4102
+ addresses: {
4103
+ address: string;
4104
+ family: "evm" | "solana" | "tron";
4105
+ id: string;
4106
+ refundAddress: string;
4107
+ sources: {
4108
+ chain: {
4109
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
4110
+ id: string;
4111
+ kind: "evm" | "solana" | "stellar" | "tron";
4112
+ name: string;
4113
+ };
4114
+ token: {
4115
+ address: string;
4116
+ currency: string;
4117
+ decimals: number;
4118
+ name: string;
4119
+ standard: string;
4120
+ symbol: string;
4121
+ tokenKey: string;
4122
+ verified: boolean;
4123
+ };
4124
+ }[];
4125
+ status: "action-required" | "active";
4126
+ }[];
4127
+ createdAt: string;
4128
+ destinationChain: {
4129
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
4130
+ id: string;
4131
+ kind: "evm" | "solana" | "stellar" | "tron";
4132
+ name: string;
4133
+ };
4134
+ destinationToken: {
4135
+ address: string;
4136
+ currency: string;
4137
+ decimals: number;
4138
+ name: string;
4139
+ standard: string;
4140
+ symbol: string;
4141
+ tokenKey: string;
4142
+ verified: boolean;
4143
+ };
4144
+ id: string;
4145
+ recipient: string;
4146
+ status: "action-required" | "active";
4147
+ subsidize: boolean;
4148
+ updatedAt: string;
4149
+ };
4150
+ outputFormat: "json";
4151
+ status: 200;
4152
4152
  input: {
4153
4153
  param: {
4154
4154
  id: string;
@@ -4186,14 +4186,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4186
4186
  } | {
4187
4187
  output: {
4188
4188
  error: {
4189
- code: "param_invalid";
4189
+ code: "api_key_invalid" | "api_key_missing";
4190
4190
  details?: readonly Response.error.Detail[] | undefined;
4191
4191
  message: string;
4192
4192
  };
4193
4193
  requestId: string;
4194
4194
  };
4195
4195
  outputFormat: "json";
4196
- status: 400;
4196
+ status: 401;
4197
4197
  input: {
4198
4198
  param: {
4199
4199
  id: string;
@@ -4202,14 +4202,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4202
4202
  } | {
4203
4203
  output: {
4204
4204
  error: {
4205
- code: "api_key_invalid" | "api_key_missing";
4205
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4206
4206
  details?: readonly Response.error.Detail[] | undefined;
4207
4207
  message: string;
4208
4208
  };
4209
4209
  requestId: string;
4210
4210
  };
4211
4211
  outputFormat: "json";
4212
- status: 401;
4212
+ status: 403;
4213
4213
  input: {
4214
4214
  param: {
4215
4215
  id: string;
@@ -4218,14 +4218,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4218
4218
  } | {
4219
4219
  output: {
4220
4220
  error: {
4221
- code: "unauthorized";
4221
+ code: "payment_required" | "rate_limit_exceeded";
4222
4222
  details?: readonly Response.error.Detail[] | undefined;
4223
4223
  message: string;
4224
4224
  };
4225
4225
  requestId: string;
4226
4226
  };
4227
4227
  outputFormat: "json";
4228
- status: 401;
4228
+ status: 429;
4229
4229
  input: {
4230
4230
  param: {
4231
4231
  id: string;
@@ -4234,14 +4234,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4234
4234
  } | {
4235
4235
  output: {
4236
4236
  error: {
4237
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4237
+ code: "upstream_error";
4238
4238
  details?: readonly Response.error.Detail[] | undefined;
4239
4239
  message: string;
4240
4240
  };
4241
4241
  requestId: string;
4242
4242
  };
4243
4243
  outputFormat: "json";
4244
- status: 403;
4244
+ status: 502;
4245
4245
  input: {
4246
4246
  param: {
4247
4247
  id: string;
@@ -4250,14 +4250,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4250
4250
  } | {
4251
4251
  output: {
4252
4252
  error: {
4253
- code: "routes_deposit_address_not_found";
4253
+ code: "unauthorized";
4254
4254
  details?: readonly Response.error.Detail[] | undefined;
4255
4255
  message: string;
4256
4256
  };
4257
4257
  requestId: string;
4258
4258
  };
4259
4259
  outputFormat: "json";
4260
- status: 404;
4260
+ status: 401;
4261
4261
  input: {
4262
4262
  param: {
4263
4263
  id: string;
@@ -4282,14 +4282,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4282
4282
  } | {
4283
4283
  output: {
4284
4284
  error: {
4285
- code: "payment_required" | "rate_limit_exceeded";
4285
+ code: "param_invalid";
4286
4286
  details?: readonly Response.error.Detail[] | undefined;
4287
4287
  message: string;
4288
4288
  };
4289
4289
  requestId: string;
4290
4290
  };
4291
4291
  outputFormat: "json";
4292
- status: 429;
4292
+ status: 400;
4293
4293
  input: {
4294
4294
  param: {
4295
4295
  id: string;
@@ -4298,14 +4298,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4298
4298
  } | {
4299
4299
  output: {
4300
4300
  error: {
4301
- code: "not_implemented";
4301
+ code: "routes_deposit_address_not_found";
4302
4302
  details?: readonly Response.error.Detail[] | undefined;
4303
4303
  message: string;
4304
4304
  };
4305
4305
  requestId: string;
4306
4306
  };
4307
4307
  outputFormat: "json";
4308
- status: 501;
4308
+ status: 404;
4309
4309
  input: {
4310
4310
  param: {
4311
4311
  id: string;
@@ -4314,108 +4314,34 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4314
4314
  } | {
4315
4315
  output: {
4316
4316
  error: {
4317
- code: "upstream_error";
4317
+ code: "not_implemented";
4318
4318
  details?: readonly Response.error.Detail[] | undefined;
4319
4319
  message: string;
4320
4320
  };
4321
4321
  requestId: string;
4322
4322
  };
4323
4323
  outputFormat: "json";
4324
- status: 502;
4325
- input: {
4326
- param: {
4327
- id: string;
4328
- };
4329
- };
4330
- };
4331
- };
4332
- } & {
4333
- "/v1/routes/deposits": {
4334
- $get: {
4335
- output: {
4336
- data: {
4337
- createdAt: string;
4338
- depositAddressId: string;
4339
- detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
4340
- destinationAmount?: {
4341
- baseUnits: string;
4342
- currency: string;
4343
- decimals: number;
4344
- formatted: string;
4345
- } | undefined;
4346
- destinationAmountRequired?: {
4347
- baseUnits: string;
4348
- currency: string;
4349
- decimals: number;
4350
- formatted: string;
4351
- } | undefined;
4352
- destinationChain: {
4353
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4354
- id: string;
4355
- kind: "evm" | "solana" | "stellar" | "tron";
4356
- name: string;
4357
- };
4358
- destinationToken: {
4359
- address: string;
4360
- currency: string;
4361
- decimals: number;
4362
- name: string;
4363
- standard: string;
4364
- symbol: string;
4365
- tokenKey: string;
4366
- verified: boolean;
4367
- };
4368
- destinationTransactionHashes?: readonly string[] | undefined;
4369
- id: string;
4370
- recipient: string;
4371
- refundAddress: string;
4372
- refundAmount?: {
4373
- baseUnits: string;
4374
- currency: string;
4375
- decimals: number;
4376
- formatted: string;
4377
- } | undefined;
4378
- refundTransactionHashes?: readonly string[] | undefined;
4379
- sender?: string | undefined;
4380
- sourceAmount?: {
4381
- baseUnits: string;
4382
- currency: string;
4383
- decimals: number;
4384
- formatted: string;
4385
- } | undefined;
4386
- sourceChain: {
4387
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4388
- id: string;
4389
- kind: "evm" | "solana" | "stellar" | "tron";
4390
- name: string;
4391
- };
4392
- sourceToken: {
4393
- address: string;
4394
- currency: string;
4395
- decimals: number;
4396
- name: string;
4397
- standard: string;
4398
- symbol: string;
4399
- tokenKey: string;
4400
- verified: boolean;
4401
- };
4402
- sourceTransactionHashes: readonly string[];
4403
- sourceTransferIndex?: number | undefined;
4404
- status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
4405
- statusReason?: {
4406
- code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
4407
- message: string;
4408
- } | undefined;
4409
- updatedAt: string;
4410
- }[];
4411
- meta?: {
4412
- totalCountCapped: boolean;
4413
- totalCount: number;
4414
- } | undefined;
4415
- nextCursor: string | null;
4416
- };
4417
- outputFormat: "json";
4418
- status: 200;
4324
+ status: 501;
4325
+ input: {
4326
+ param: {
4327
+ id: string;
4328
+ };
4329
+ };
4330
+ };
4331
+ };
4332
+ } & {
4333
+ "/v1/routes/deposits": {
4334
+ $get: {
4335
+ output: {
4336
+ error: {
4337
+ code: "api_key_malformed";
4338
+ details?: readonly Response.error.Detail[] | undefined;
4339
+ message: string;
4340
+ };
4341
+ requestId: string;
4342
+ };
4343
+ outputFormat: "json";
4344
+ status: 400;
4419
4345
  input: {
4420
4346
  query?: {
4421
4347
  depositAddress?: string | string[];
@@ -4433,14 +4359,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4433
4359
  } | {
4434
4360
  output: {
4435
4361
  error: {
4436
- code: "api_key_malformed";
4362
+ code: "api_key_invalid" | "api_key_missing";
4437
4363
  details?: readonly Response.error.Detail[] | undefined;
4438
4364
  message: string;
4439
4365
  };
4440
4366
  requestId: string;
4441
4367
  };
4442
4368
  outputFormat: "json";
4443
- status: 400;
4369
+ status: 401;
4444
4370
  input: {
4445
4371
  query?: {
4446
4372
  depositAddress?: string | string[];
@@ -4458,14 +4384,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4458
4384
  } | {
4459
4385
  output: {
4460
4386
  error: {
4461
- code: "query_invalid";
4387
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4462
4388
  details?: readonly Response.error.Detail[] | undefined;
4463
4389
  message: string;
4464
4390
  };
4465
4391
  requestId: string;
4466
4392
  };
4467
4393
  outputFormat: "json";
4468
- status: 400;
4394
+ status: 403;
4469
4395
  input: {
4470
4396
  query?: {
4471
4397
  depositAddress?: string | string[];
@@ -4483,14 +4409,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4483
4409
  } | {
4484
4410
  output: {
4485
4411
  error: {
4486
- code: "api_key_invalid" | "api_key_missing";
4412
+ code: "payment_required" | "rate_limit_exceeded";
4487
4413
  details?: readonly Response.error.Detail[] | undefined;
4488
4414
  message: string;
4489
4415
  };
4490
4416
  requestId: string;
4491
4417
  };
4492
4418
  outputFormat: "json";
4493
- status: 401;
4419
+ status: 429;
4494
4420
  input: {
4495
4421
  query?: {
4496
4422
  depositAddress?: string | string[];
@@ -4508,14 +4434,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4508
4434
  } | {
4509
4435
  output: {
4510
4436
  error: {
4511
- code: "unauthorized";
4437
+ code: "query_invalid";
4512
4438
  details?: readonly Response.error.Detail[] | undefined;
4513
4439
  message: string;
4514
4440
  };
4515
4441
  requestId: string;
4516
4442
  };
4517
4443
  outputFormat: "json";
4518
- status: 401;
4444
+ status: 400;
4519
4445
  input: {
4520
4446
  query?: {
4521
4447
  depositAddress?: string | string[];
@@ -4533,14 +4459,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4533
4459
  } | {
4534
4460
  output: {
4535
4461
  error: {
4536
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4462
+ code: "upstream_error";
4537
4463
  details?: readonly Response.error.Detail[] | undefined;
4538
4464
  message: string;
4539
4465
  };
4540
4466
  requestId: string;
4541
4467
  };
4542
4468
  outputFormat: "json";
4543
- status: 403;
4469
+ status: 502;
4544
4470
  input: {
4545
4471
  query?: {
4546
4472
  depositAddress?: string | string[];
@@ -4558,14 +4484,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4558
4484
  } | {
4559
4485
  output: {
4560
4486
  error: {
4561
- code: "payment_required" | "rate_limit_exceeded";
4487
+ code: "unauthorized";
4562
4488
  details?: readonly Response.error.Detail[] | undefined;
4563
4489
  message: string;
4564
4490
  };
4565
4491
  requestId: string;
4566
4492
  };
4567
4493
  outputFormat: "json";
4568
- status: 429;
4494
+ status: 401;
4569
4495
  input: {
4570
4496
  query?: {
4571
4497
  depositAddress?: string | string[];
@@ -4582,15 +4508,89 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4582
4508
  };
4583
4509
  } | {
4584
4510
  output: {
4585
- error: {
4586
- code: "upstream_error";
4587
- details?: readonly Response.error.Detail[] | undefined;
4588
- message: string;
4589
- };
4590
- requestId: string;
4511
+ data: {
4512
+ createdAt: string;
4513
+ depositAddressId: string;
4514
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
4515
+ destinationAmount?: {
4516
+ baseUnits: string;
4517
+ currency: string;
4518
+ decimals: number;
4519
+ formatted: string;
4520
+ } | undefined;
4521
+ destinationAmountRequired?: {
4522
+ baseUnits: string;
4523
+ currency: string;
4524
+ decimals: number;
4525
+ formatted: string;
4526
+ } | undefined;
4527
+ destinationChain: {
4528
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
4529
+ id: string;
4530
+ kind: "evm" | "solana" | "stellar" | "tron";
4531
+ name: string;
4532
+ };
4533
+ destinationToken: {
4534
+ address: string;
4535
+ currency: string;
4536
+ decimals: number;
4537
+ name: string;
4538
+ standard: string;
4539
+ symbol: string;
4540
+ tokenKey: string;
4541
+ verified: boolean;
4542
+ };
4543
+ destinationTransactionHashes?: readonly string[] | undefined;
4544
+ id: string;
4545
+ recipient: string;
4546
+ refundAddress: string;
4547
+ refundAmount?: {
4548
+ baseUnits: string;
4549
+ currency: string;
4550
+ decimals: number;
4551
+ formatted: string;
4552
+ } | undefined;
4553
+ refundTransactionHashes?: readonly string[] | undefined;
4554
+ sender?: string | undefined;
4555
+ sourceAmount?: {
4556
+ baseUnits: string;
4557
+ currency: string;
4558
+ decimals: number;
4559
+ formatted: string;
4560
+ } | undefined;
4561
+ sourceChain: {
4562
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
4563
+ id: string;
4564
+ kind: "evm" | "solana" | "stellar" | "tron";
4565
+ name: string;
4566
+ };
4567
+ sourceToken: {
4568
+ address: string;
4569
+ currency: string;
4570
+ decimals: number;
4571
+ name: string;
4572
+ standard: string;
4573
+ symbol: string;
4574
+ tokenKey: string;
4575
+ verified: boolean;
4576
+ };
4577
+ sourceTransactionHashes: readonly string[];
4578
+ sourceTransferIndex?: number | undefined;
4579
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
4580
+ statusReason?: {
4581
+ code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
4582
+ message: string;
4583
+ } | undefined;
4584
+ updatedAt: string;
4585
+ }[];
4586
+ meta?: {
4587
+ totalCountCapped: boolean;
4588
+ totalCount: number;
4589
+ } | undefined;
4590
+ nextCursor: string | null;
4591
4591
  };
4592
4592
  outputFormat: "json";
4593
- status: 502;
4593
+ status: 200;
4594
4594
  input: {
4595
4595
  query?: {
4596
4596
  depositAddress?: string | string[];
@@ -4610,89 +4610,6 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4610
4610
  } & {
4611
4611
  "/v1/routes/deposits/:id{rdp_[A-Za-z0-9_-]+}": {
4612
4612
  $get: {
4613
- output: {
4614
- createdAt: string;
4615
- depositAddressId: string;
4616
- detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
4617
- destinationAmount?: {
4618
- baseUnits: string;
4619
- currency: string;
4620
- decimals: number;
4621
- formatted: string;
4622
- } | undefined;
4623
- destinationAmountRequired?: {
4624
- baseUnits: string;
4625
- currency: string;
4626
- decimals: number;
4627
- formatted: string;
4628
- } | undefined;
4629
- destinationChain: {
4630
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4631
- id: string;
4632
- kind: "evm" | "solana" | "stellar" | "tron";
4633
- name: string;
4634
- };
4635
- destinationToken: {
4636
- address: string;
4637
- currency: string;
4638
- decimals: number;
4639
- name: string;
4640
- standard: string;
4641
- symbol: string;
4642
- tokenKey: string;
4643
- verified: boolean;
4644
- };
4645
- destinationTransactionHashes?: readonly string[] | undefined;
4646
- id: string;
4647
- recipient: string;
4648
- refundAddress: string;
4649
- refundAmount?: {
4650
- baseUnits: string;
4651
- currency: string;
4652
- decimals: number;
4653
- formatted: string;
4654
- } | undefined;
4655
- refundTransactionHashes?: readonly string[] | undefined;
4656
- sender?: string | undefined;
4657
- sourceAmount?: {
4658
- baseUnits: string;
4659
- currency: string;
4660
- decimals: number;
4661
- formatted: string;
4662
- } | undefined;
4663
- sourceChain: {
4664
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4665
- id: string;
4666
- kind: "evm" | "solana" | "stellar" | "tron";
4667
- name: string;
4668
- };
4669
- sourceToken: {
4670
- address: string;
4671
- currency: string;
4672
- decimals: number;
4673
- name: string;
4674
- standard: string;
4675
- symbol: string;
4676
- tokenKey: string;
4677
- verified: boolean;
4678
- };
4679
- sourceTransactionHashes: readonly string[];
4680
- sourceTransferIndex?: number | undefined;
4681
- status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
4682
- statusReason?: {
4683
- code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
4684
- message: string;
4685
- } | undefined;
4686
- updatedAt: string;
4687
- };
4688
- outputFormat: "json";
4689
- status: 200;
4690
- input: {
4691
- param: {
4692
- id: string;
4693
- };
4694
- };
4695
- } | {
4696
4613
  output: {
4697
4614
  error: {
4698
4615
  code: "api_key_malformed";
@@ -4711,14 +4628,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4711
4628
  } | {
4712
4629
  output: {
4713
4630
  error: {
4714
- code: "param_invalid";
4631
+ code: "api_key_invalid" | "api_key_missing";
4715
4632
  details?: readonly Response.error.Detail[] | undefined;
4716
4633
  message: string;
4717
4634
  };
4718
4635
  requestId: string;
4719
4636
  };
4720
4637
  outputFormat: "json";
4721
- status: 400;
4638
+ status: 401;
4722
4639
  input: {
4723
4640
  param: {
4724
4641
  id: string;
@@ -4727,14 +4644,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4727
4644
  } | {
4728
4645
  output: {
4729
4646
  error: {
4730
- code: "api_key_invalid" | "api_key_missing";
4647
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4731
4648
  details?: readonly Response.error.Detail[] | undefined;
4732
4649
  message: string;
4733
4650
  };
4734
4651
  requestId: string;
4735
4652
  };
4736
4653
  outputFormat: "json";
4737
- status: 401;
4654
+ status: 403;
4738
4655
  input: {
4739
4656
  param: {
4740
4657
  id: string;
@@ -4743,14 +4660,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4743
4660
  } | {
4744
4661
  output: {
4745
4662
  error: {
4746
- code: "unauthorized";
4663
+ code: "payment_required" | "rate_limit_exceeded";
4747
4664
  details?: readonly Response.error.Detail[] | undefined;
4748
4665
  message: string;
4749
4666
  };
4750
4667
  requestId: string;
4751
4668
  };
4752
4669
  outputFormat: "json";
4753
- status: 401;
4670
+ status: 429;
4754
4671
  input: {
4755
4672
  param: {
4756
4673
  id: string;
@@ -4759,14 +4676,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4759
4676
  } | {
4760
4677
  output: {
4761
4678
  error: {
4762
- code: "api_key_forbidden" | "api_key_ip_forbidden";
4679
+ code: "upstream_error";
4763
4680
  details?: readonly Response.error.Detail[] | undefined;
4764
4681
  message: string;
4765
4682
  };
4766
4683
  requestId: string;
4767
4684
  };
4768
4685
  outputFormat: "json";
4769
- status: 403;
4686
+ status: 502;
4770
4687
  input: {
4771
4688
  param: {
4772
4689
  id: string;
@@ -4775,14 +4692,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4775
4692
  } | {
4776
4693
  output: {
4777
4694
  error: {
4778
- code: "routes_deposit_not_found";
4695
+ code: "unauthorized";
4779
4696
  details?: readonly Response.error.Detail[] | undefined;
4780
4697
  message: string;
4781
4698
  };
4782
4699
  requestId: string;
4783
4700
  };
4784
4701
  outputFormat: "json";
4785
- status: 404;
4702
+ status: 401;
4786
4703
  input: {
4787
4704
  param: {
4788
4705
  id: string;
@@ -4791,14 +4708,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4791
4708
  } | {
4792
4709
  output: {
4793
4710
  error: {
4794
- code: "payment_required" | "rate_limit_exceeded";
4711
+ code: "param_invalid";
4795
4712
  details?: readonly Response.error.Detail[] | undefined;
4796
4713
  message: string;
4797
4714
  };
4798
4715
  requestId: string;
4799
4716
  };
4800
4717
  outputFormat: "json";
4801
- status: 429;
4718
+ status: 400;
4802
4719
  input: {
4803
4720
  param: {
4804
4721
  id: string;
@@ -4807,26 +4724,36 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4807
4724
  } | {
4808
4725
  output: {
4809
4726
  error: {
4810
- code: "upstream_error";
4727
+ code: "routes_deposit_not_found";
4811
4728
  details?: readonly Response.error.Detail[] | undefined;
4812
4729
  message: string;
4813
4730
  };
4814
4731
  requestId: string;
4815
4732
  };
4816
4733
  outputFormat: "json";
4817
- status: 502;
4734
+ status: 404;
4818
4735
  input: {
4819
4736
  param: {
4820
4737
  id: string;
4821
4738
  };
4822
4739
  };
4823
- };
4824
- };
4825
- } & {
4826
- "/v2/routes/deposit-addresses": {
4827
- $post: {
4740
+ } | {
4828
4741
  output: {
4829
4742
  createdAt: string;
4743
+ depositAddressId: string;
4744
+ detectionTrigger?: "chain" | "manual" | "poll" | "webhook" | undefined;
4745
+ destinationAmount?: {
4746
+ baseUnits: string;
4747
+ currency: string;
4748
+ decimals: number;
4749
+ formatted: string;
4750
+ } | undefined;
4751
+ destinationAmountRequired?: {
4752
+ baseUnits: string;
4753
+ currency: string;
4754
+ decimals: number;
4755
+ formatted: string;
4756
+ } | undefined;
4830
4757
  destinationChain: {
4831
4758
  addressFormat: "base58" | "base58check" | "hex" | "strkey";
4832
4759
  id: string;
@@ -4843,39 +4770,71 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4843
4770
  tokenKey: string;
4844
4771
  verified: boolean;
4845
4772
  };
4773
+ destinationTransactionHashes?: readonly string[] | undefined;
4774
+ id: string;
4846
4775
  recipient: string;
4847
- status: "action-required" | "active";
4848
- subsidize: boolean;
4849
- updatedAt: string;
4850
- addresses: {
4851
- address: string;
4852
- refundAddress: string;
4853
- sources: {
4854
- chain: {
4855
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
4856
- id: string;
4857
- kind: "evm" | "solana" | "stellar" | "tron";
4858
- name: string;
4859
- };
4860
- token: {
4861
- address: string;
4862
- currency: string;
4863
- decimals: number;
4864
- name: string;
4865
- standard: string;
4866
- symbol: string;
4867
- tokenKey: string;
4868
- verified: boolean;
4869
- };
4870
- }[];
4871
- status: "action-required" | "active";
4872
- family: "evm" | "solana" | "stellar" | "tron";
4776
+ refundAddress: string;
4777
+ refundAmount?: {
4778
+ baseUnits: string;
4779
+ currency: string;
4780
+ decimals: number;
4781
+ formatted: string;
4782
+ } | undefined;
4783
+ refundTransactionHashes?: readonly string[] | undefined;
4784
+ sender?: string | undefined;
4785
+ sourceAmount?: {
4786
+ baseUnits: string;
4787
+ currency: string;
4788
+ decimals: number;
4789
+ formatted: string;
4790
+ } | undefined;
4791
+ sourceChain: {
4792
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
4873
4793
  id: string;
4874
- }[];
4875
- id: string;
4794
+ kind: "evm" | "solana" | "stellar" | "tron";
4795
+ name: string;
4796
+ };
4797
+ sourceToken: {
4798
+ address: string;
4799
+ currency: string;
4800
+ decimals: number;
4801
+ name: string;
4802
+ standard: string;
4803
+ symbol: string;
4804
+ tokenKey: string;
4805
+ verified: boolean;
4806
+ };
4807
+ sourceTransactionHashes: readonly string[];
4808
+ sourceTransferIndex?: number | undefined;
4809
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
4810
+ statusReason?: {
4811
+ code: "billing_past_due" | "billing_required" | "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "routes_subsidy_limit_exceeded" | "routes_subsidy_not_enabled" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
4812
+ message: string;
4813
+ } | undefined;
4814
+ updatedAt: string;
4876
4815
  };
4877
4816
  outputFormat: "json";
4878
4817
  status: 200;
4818
+ input: {
4819
+ param: {
4820
+ id: string;
4821
+ };
4822
+ };
4823
+ };
4824
+ };
4825
+ } & {
4826
+ "/v2/routes/deposit-addresses": {
4827
+ $post: {
4828
+ output: {
4829
+ error: {
4830
+ code: "payload_too_large";
4831
+ details?: readonly Response.error.Detail[] | undefined;
4832
+ message: string;
4833
+ };
4834
+ requestId: string;
4835
+ };
4836
+ outputFormat: "json";
4837
+ status: 413;
4879
4838
  input: {
4880
4839
  header: {
4881
4840
  'idempotency-key': string;
@@ -4930,14 +4889,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4930
4889
  } | {
4931
4890
  output: {
4932
4891
  error: {
4933
- code: "body_invalid";
4892
+ code: "api_key_invalid" | "api_key_missing";
4934
4893
  details?: readonly Response.error.Detail[] | undefined;
4935
4894
  message: string;
4936
4895
  };
4937
4896
  requestId: string;
4938
4897
  };
4939
4898
  outputFormat: "json";
4940
- status: 400;
4899
+ status: 401;
4941
4900
  input: {
4942
4901
  header: {
4943
4902
  'idempotency-key': string;
@@ -4961,14 +4920,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4961
4920
  } | {
4962
4921
  output: {
4963
4922
  error: {
4964
- code: "amount_too_low";
4923
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
4965
4924
  details?: readonly Response.error.Detail[] | undefined;
4966
4925
  message: string;
4967
4926
  };
4968
4927
  requestId: string;
4969
4928
  };
4970
4929
  outputFormat: "json";
4971
- status: 400;
4930
+ status: 403;
4972
4931
  input: {
4973
4932
  header: {
4974
4933
  'idempotency-key': string;
@@ -4992,14 +4951,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
4992
4951
  } | {
4993
4952
  output: {
4994
4953
  error: {
4995
- code: "api_key_invalid" | "api_key_missing";
4954
+ code: "payment_required" | "rate_limit_exceeded";
4996
4955
  details?: readonly Response.error.Detail[] | undefined;
4997
4956
  message: string;
4998
4957
  };
4999
4958
  requestId: string;
5000
4959
  };
5001
4960
  outputFormat: "json";
5002
- status: 401;
4961
+ status: 429;
5003
4962
  input: {
5004
4963
  header: {
5005
4964
  'idempotency-key': string;
@@ -5023,14 +4982,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5023
4982
  } | {
5024
4983
  output: {
5025
4984
  error: {
5026
- code: "unauthorized";
4985
+ code: "upstream_error";
5027
4986
  details?: readonly Response.error.Detail[] | undefined;
5028
4987
  message: string;
5029
4988
  };
5030
4989
  requestId: string;
5031
4990
  };
5032
4991
  outputFormat: "json";
5033
- status: 401;
4992
+ status: 502;
5034
4993
  input: {
5035
4994
  header: {
5036
4995
  'idempotency-key': string;
@@ -5054,14 +5013,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5054
5013
  } | {
5055
5014
  output: {
5056
5015
  error: {
5057
- code: "api_key_forbidden" | "api_key_ip_forbidden";
5016
+ code: "unauthorized";
5058
5017
  details?: readonly Response.error.Detail[] | undefined;
5059
5018
  message: string;
5060
5019
  };
5061
5020
  requestId: string;
5062
5021
  };
5063
5022
  outputFormat: "json";
5064
- status: 403;
5023
+ status: 401;
5065
5024
  input: {
5066
5025
  header: {
5067
5026
  'idempotency-key': string;
@@ -5085,14 +5044,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5085
5044
  } | {
5086
5045
  output: {
5087
5046
  error: {
5088
- code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
5047
+ code: "quote_not_available";
5089
5048
  details?: readonly Response.error.Detail[] | undefined;
5090
5049
  message: string;
5091
5050
  };
5092
5051
  requestId: string;
5093
5052
  };
5094
5053
  outputFormat: "json";
5095
- status: 403;
5054
+ status: 404;
5096
5055
  input: {
5097
5056
  header: {
5098
5057
  'idempotency-key': string;
@@ -5116,14 +5075,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5116
5075
  } | {
5117
5076
  output: {
5118
5077
  error: {
5119
- code: "quote_not_available";
5078
+ code: "route_policy_changed";
5120
5079
  details?: readonly Response.error.Detail[] | undefined;
5121
5080
  message: string;
5122
5081
  };
5123
5082
  requestId: string;
5124
5083
  };
5125
5084
  outputFormat: "json";
5126
- status: 404;
5085
+ status: 409;
5127
5086
  input: {
5128
5087
  header: {
5129
5088
  'idempotency-key': string;
@@ -5147,14 +5106,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5147
5106
  } | {
5148
5107
  output: {
5149
5108
  error: {
5150
- code: "deposit_address_not_available";
5109
+ code: "billing_past_due" | "billing_required" | "routes_not_allowed" | "routes_subsidy_not_allowed" | "routes_subsidy_not_enabled" | "routes_suspended";
5151
5110
  details?: readonly Response.error.Detail[] | undefined;
5152
5111
  message: string;
5153
5112
  };
5154
5113
  requestId: string;
5155
5114
  };
5156
5115
  outputFormat: "json";
5157
- status: 404;
5116
+ status: 403;
5158
5117
  input: {
5159
5118
  header: {
5160
5119
  'idempotency-key': string;
@@ -5178,14 +5137,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5178
5137
  } | {
5179
5138
  output: {
5180
5139
  error: {
5181
- code: "route_policy_changed";
5140
+ code: "amount_too_low";
5182
5141
  details?: readonly Response.error.Detail[] | undefined;
5183
5142
  message: string;
5184
5143
  };
5185
5144
  requestId: string;
5186
5145
  };
5187
5146
  outputFormat: "json";
5188
- status: 409;
5147
+ status: 400;
5189
5148
  input: {
5190
5149
  header: {
5191
5150
  'idempotency-key': string;
@@ -5209,14 +5168,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5209
5168
  } | {
5210
5169
  output: {
5211
5170
  error: {
5212
- code: "idempotency_conflict";
5171
+ code: "body_invalid";
5213
5172
  details?: readonly Response.error.Detail[] | undefined;
5214
5173
  message: string;
5215
5174
  };
5216
5175
  requestId: string;
5217
5176
  };
5218
5177
  outputFormat: "json";
5219
- status: 409;
5178
+ status: 400;
5220
5179
  input: {
5221
5180
  header: {
5222
5181
  'idempotency-key': string;
@@ -5240,7 +5199,7 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5240
5199
  } | {
5241
5200
  output: {
5242
5201
  error: {
5243
- code: "idempotency_in_progress";
5202
+ code: "idempotency_conflict";
5244
5203
  details?: readonly Response.error.Detail[] | undefined;
5245
5204
  message: string;
5246
5205
  };
@@ -5271,7 +5230,7 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5271
5230
  } | {
5272
5231
  output: {
5273
5232
  error: {
5274
- code: "route_policy_identity_conflict";
5233
+ code: "idempotency_in_progress";
5275
5234
  details?: readonly Response.error.Detail[] | undefined;
5276
5235
  message: string;
5277
5236
  };
@@ -5302,14 +5261,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5302
5261
  } | {
5303
5262
  output: {
5304
5263
  error: {
5305
- code: "routes_deposit_address_not_active";
5264
+ code: "deposit_address_not_available";
5306
5265
  details?: readonly Response.error.Detail[] | undefined;
5307
5266
  message: string;
5308
5267
  };
5309
5268
  requestId: string;
5310
5269
  };
5311
5270
  outputFormat: "json";
5312
- status: 409;
5271
+ status: 404;
5313
5272
  input: {
5314
5273
  header: {
5315
5274
  'idempotency-key': string;
@@ -5333,14 +5292,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5333
5292
  } | {
5334
5293
  output: {
5335
5294
  error: {
5336
- code: "payload_too_large";
5295
+ code: "route_policy_identity_conflict";
5337
5296
  details?: readonly Response.error.Detail[] | undefined;
5338
5297
  message: string;
5339
5298
  };
5340
5299
  requestId: string;
5341
5300
  };
5342
5301
  outputFormat: "json";
5343
- status: 413;
5302
+ status: 409;
5344
5303
  input: {
5345
5304
  header: {
5346
5305
  'idempotency-key': string;
@@ -5364,14 +5323,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5364
5323
  } | {
5365
5324
  output: {
5366
5325
  error: {
5367
- code: "payment_required" | "rate_limit_exceeded";
5326
+ code: "routes_deposit_address_not_active";
5368
5327
  details?: readonly Response.error.Detail[] | undefined;
5369
5328
  message: string;
5370
5329
  };
5371
5330
  requestId: string;
5372
5331
  };
5373
5332
  outputFormat: "json";
5374
- status: 429;
5333
+ status: 409;
5375
5334
  input: {
5376
5335
  header: {
5377
5336
  'idempotency-key': string;
@@ -5394,15 +5353,56 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5394
5353
  };
5395
5354
  } | {
5396
5355
  output: {
5397
- error: {
5398
- code: "upstream_error";
5399
- details?: readonly Response.error.Detail[] | undefined;
5400
- message: string;
5356
+ createdAt: string;
5357
+ destinationChain: {
5358
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5359
+ id: string;
5360
+ kind: "evm" | "solana" | "stellar" | "tron";
5361
+ name: string;
5401
5362
  };
5402
- requestId: string;
5363
+ destinationToken: {
5364
+ address: string;
5365
+ currency: string;
5366
+ decimals: number;
5367
+ name: string;
5368
+ standard: string;
5369
+ symbol: string;
5370
+ tokenKey: string;
5371
+ verified: boolean;
5372
+ };
5373
+ recipient: string;
5374
+ status: "action-required" | "active";
5375
+ subsidize: boolean;
5376
+ updatedAt: string;
5377
+ addresses: {
5378
+ address: string;
5379
+ refundAddress: string;
5380
+ sources: {
5381
+ chain: {
5382
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5383
+ id: string;
5384
+ kind: "evm" | "solana" | "stellar" | "tron";
5385
+ name: string;
5386
+ };
5387
+ token: {
5388
+ address: string;
5389
+ currency: string;
5390
+ decimals: number;
5391
+ name: string;
5392
+ standard: string;
5393
+ symbol: string;
5394
+ tokenKey: string;
5395
+ verified: boolean;
5396
+ };
5397
+ }[];
5398
+ status: "action-required" | "active";
5399
+ family: "evm" | "solana" | "stellar" | "tron";
5400
+ id: string;
5401
+ }[];
5402
+ id: string;
5403
5403
  };
5404
5404
  outputFormat: "json";
5405
- status: 502;
5405
+ status: 200;
5406
5406
  input: {
5407
5407
  header: {
5408
5408
  'idempotency-key': string;
@@ -5429,59 +5429,15 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5429
5429
  "/v2/routes/deposit-addresses": {
5430
5430
  $get: {
5431
5431
  output: {
5432
- data: {
5433
- createdAt: string;
5434
- destinationChain: {
5435
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
5436
- id: string;
5437
- kind: "evm" | "solana" | "stellar" | "tron";
5438
- name: string;
5439
- };
5440
- destinationToken: {
5441
- address: string;
5442
- currency: string;
5443
- decimals: number;
5444
- name: string;
5445
- standard: string;
5446
- symbol: string;
5447
- tokenKey: string;
5448
- verified: boolean;
5449
- };
5450
- recipient: string;
5451
- status: "action-required" | "active";
5452
- subsidize: boolean;
5453
- updatedAt: string;
5454
- addresses: {
5455
- address: string;
5456
- refundAddress: string;
5457
- sources: {
5458
- chain: {
5459
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
5460
- id: string;
5461
- kind: "evm" | "solana" | "stellar" | "tron";
5462
- name: string;
5463
- };
5464
- token: {
5465
- address: string;
5466
- currency: string;
5467
- decimals: number;
5468
- name: string;
5469
- standard: string;
5470
- symbol: string;
5471
- tokenKey: string;
5472
- verified: boolean;
5473
- };
5474
- }[];
5475
- status: "action-required" | "active";
5476
- family: "evm" | "solana" | "stellar" | "tron";
5477
- id: string;
5478
- }[];
5479
- id: string;
5480
- }[];
5481
- nextCursor: string | null;
5432
+ error: {
5433
+ code: "api_key_malformed";
5434
+ details?: readonly Response.error.Detail[] | undefined;
5435
+ message: string;
5436
+ };
5437
+ requestId: string;
5482
5438
  };
5483
5439
  outputFormat: "json";
5484
- status: 200;
5440
+ status: 400;
5485
5441
  input: {
5486
5442
  query?: {
5487
5443
  cursor?: string | string[];
@@ -5491,14 +5447,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5491
5447
  } | {
5492
5448
  output: {
5493
5449
  error: {
5494
- code: "api_key_malformed";
5450
+ code: "api_key_invalid" | "api_key_missing";
5495
5451
  details?: readonly Response.error.Detail[] | undefined;
5496
5452
  message: string;
5497
5453
  };
5498
5454
  requestId: string;
5499
5455
  };
5500
5456
  outputFormat: "json";
5501
- status: 400;
5457
+ status: 401;
5502
5458
  input: {
5503
5459
  query?: {
5504
5460
  cursor?: string | string[];
@@ -5508,14 +5464,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5508
5464
  } | {
5509
5465
  output: {
5510
5466
  error: {
5511
- code: "query_invalid";
5467
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5512
5468
  details?: readonly Response.error.Detail[] | undefined;
5513
5469
  message: string;
5514
5470
  };
5515
5471
  requestId: string;
5516
5472
  };
5517
5473
  outputFormat: "json";
5518
- status: 400;
5474
+ status: 403;
5519
5475
  input: {
5520
5476
  query?: {
5521
5477
  cursor?: string | string[];
@@ -5525,14 +5481,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5525
5481
  } | {
5526
5482
  output: {
5527
5483
  error: {
5528
- code: "api_key_invalid" | "api_key_missing";
5484
+ code: "payment_required" | "rate_limit_exceeded";
5529
5485
  details?: readonly Response.error.Detail[] | undefined;
5530
5486
  message: string;
5531
5487
  };
5532
5488
  requestId: string;
5533
5489
  };
5534
5490
  outputFormat: "json";
5535
- status: 401;
5491
+ status: 429;
5536
5492
  input: {
5537
5493
  query?: {
5538
5494
  cursor?: string | string[];
@@ -5542,14 +5498,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5542
5498
  } | {
5543
5499
  output: {
5544
5500
  error: {
5545
- code: "unauthorized";
5501
+ code: "query_invalid";
5546
5502
  details?: readonly Response.error.Detail[] | undefined;
5547
5503
  message: string;
5548
5504
  };
5549
5505
  requestId: string;
5550
5506
  };
5551
5507
  outputFormat: "json";
5552
- status: 401;
5508
+ status: 400;
5553
5509
  input: {
5554
5510
  query?: {
5555
5511
  cursor?: string | string[];
@@ -5559,14 +5515,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5559
5515
  } | {
5560
5516
  output: {
5561
5517
  error: {
5562
- code: "api_key_forbidden" | "api_key_ip_forbidden";
5518
+ code: "upstream_error";
5563
5519
  details?: readonly Response.error.Detail[] | undefined;
5564
5520
  message: string;
5565
5521
  };
5566
5522
  requestId: string;
5567
5523
  };
5568
5524
  outputFormat: "json";
5569
- status: 403;
5525
+ status: 502;
5570
5526
  input: {
5571
5527
  query?: {
5572
5528
  cursor?: string | string[];
@@ -5576,14 +5532,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5576
5532
  } | {
5577
5533
  output: {
5578
5534
  error: {
5579
- code: "payment_required" | "rate_limit_exceeded";
5535
+ code: "unauthorized";
5580
5536
  details?: readonly Response.error.Detail[] | undefined;
5581
5537
  message: string;
5582
5538
  };
5583
5539
  requestId: string;
5584
5540
  };
5585
5541
  outputFormat: "json";
5586
- status: 429;
5542
+ status: 401;
5587
5543
  input: {
5588
5544
  query?: {
5589
5545
  cursor?: string | string[];
@@ -5592,15 +5548,59 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5592
5548
  };
5593
5549
  } | {
5594
5550
  output: {
5595
- error: {
5596
- code: "upstream_error";
5597
- details?: readonly Response.error.Detail[] | undefined;
5598
- message: string;
5599
- };
5600
- requestId: string;
5551
+ data: {
5552
+ createdAt: string;
5553
+ destinationChain: {
5554
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5555
+ id: string;
5556
+ kind: "evm" | "solana" | "stellar" | "tron";
5557
+ name: string;
5558
+ };
5559
+ destinationToken: {
5560
+ address: string;
5561
+ currency: string;
5562
+ decimals: number;
5563
+ name: string;
5564
+ standard: string;
5565
+ symbol: string;
5566
+ tokenKey: string;
5567
+ verified: boolean;
5568
+ };
5569
+ recipient: string;
5570
+ status: "action-required" | "active";
5571
+ subsidize: boolean;
5572
+ updatedAt: string;
5573
+ addresses: {
5574
+ address: string;
5575
+ refundAddress: string;
5576
+ sources: {
5577
+ chain: {
5578
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5579
+ id: string;
5580
+ kind: "evm" | "solana" | "stellar" | "tron";
5581
+ name: string;
5582
+ };
5583
+ token: {
5584
+ address: string;
5585
+ currency: string;
5586
+ decimals: number;
5587
+ name: string;
5588
+ standard: string;
5589
+ symbol: string;
5590
+ tokenKey: string;
5591
+ verified: boolean;
5592
+ };
5593
+ }[];
5594
+ status: "action-required" | "active";
5595
+ family: "evm" | "solana" | "stellar" | "tron";
5596
+ id: string;
5597
+ }[];
5598
+ id: string;
5599
+ }[];
5600
+ nextCursor: string | null;
5601
5601
  };
5602
5602
  outputFormat: "json";
5603
- status: 502;
5603
+ status: 200;
5604
5604
  input: {
5605
5605
  query?: {
5606
5606
  cursor?: string | string[];
@@ -5613,56 +5613,15 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5613
5613
  "/v2/routes/deposit-addresses/:id{[fru]da_[A-Za-z0-9_-]+}": {
5614
5614
  $get: {
5615
5615
  output: {
5616
- createdAt: string;
5617
- destinationChain: {
5618
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
5619
- id: string;
5620
- kind: "evm" | "solana" | "stellar" | "tron";
5621
- name: string;
5622
- };
5623
- destinationToken: {
5624
- address: string;
5625
- currency: string;
5626
- decimals: number;
5627
- name: string;
5628
- standard: string;
5629
- symbol: string;
5630
- tokenKey: string;
5631
- verified: boolean;
5616
+ error: {
5617
+ code: "api_key_malformed";
5618
+ details?: readonly Response.error.Detail[] | undefined;
5619
+ message: string;
5632
5620
  };
5633
- recipient: string;
5634
- status: "action-required" | "active";
5635
- subsidize: boolean;
5636
- updatedAt: string;
5637
- addresses: {
5638
- address: string;
5639
- refundAddress: string;
5640
- sources: {
5641
- chain: {
5642
- addressFormat: "base58" | "base58check" | "hex" | "strkey";
5643
- id: string;
5644
- kind: "evm" | "solana" | "stellar" | "tron";
5645
- name: string;
5646
- };
5647
- token: {
5648
- address: string;
5649
- currency: string;
5650
- decimals: number;
5651
- name: string;
5652
- standard: string;
5653
- symbol: string;
5654
- tokenKey: string;
5655
- verified: boolean;
5656
- };
5657
- }[];
5658
- status: "action-required" | "active";
5659
- family: "evm" | "solana" | "stellar" | "tron";
5660
- id: string;
5661
- }[];
5662
- id: string;
5621
+ requestId: string;
5663
5622
  };
5664
5623
  outputFormat: "json";
5665
- status: 200;
5624
+ status: 400;
5666
5625
  input: {
5667
5626
  param: {
5668
5627
  id: string;
@@ -5671,14 +5630,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5671
5630
  } | {
5672
5631
  output: {
5673
5632
  error: {
5674
- code: "api_key_malformed";
5633
+ code: "api_key_invalid" | "api_key_missing";
5675
5634
  details?: readonly Response.error.Detail[] | undefined;
5676
5635
  message: string;
5677
5636
  };
5678
5637
  requestId: string;
5679
5638
  };
5680
5639
  outputFormat: "json";
5681
- status: 400;
5640
+ status: 401;
5682
5641
  input: {
5683
5642
  param: {
5684
5643
  id: string;
@@ -5687,14 +5646,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5687
5646
  } | {
5688
5647
  output: {
5689
5648
  error: {
5690
- code: "param_invalid";
5649
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5691
5650
  details?: readonly Response.error.Detail[] | undefined;
5692
5651
  message: string;
5693
5652
  };
5694
5653
  requestId: string;
5695
5654
  };
5696
5655
  outputFormat: "json";
5697
- status: 400;
5656
+ status: 403;
5698
5657
  input: {
5699
5658
  param: {
5700
5659
  id: string;
@@ -5703,14 +5662,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5703
5662
  } | {
5704
5663
  output: {
5705
5664
  error: {
5706
- code: "api_key_invalid" | "api_key_missing";
5665
+ code: "payment_required" | "rate_limit_exceeded";
5707
5666
  details?: readonly Response.error.Detail[] | undefined;
5708
5667
  message: string;
5709
5668
  };
5710
5669
  requestId: string;
5711
5670
  };
5712
5671
  outputFormat: "json";
5713
- status: 401;
5672
+ status: 429;
5714
5673
  input: {
5715
5674
  param: {
5716
5675
  id: string;
@@ -5719,14 +5678,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5719
5678
  } | {
5720
5679
  output: {
5721
5680
  error: {
5722
- code: "unauthorized";
5681
+ code: "upstream_error";
5723
5682
  details?: readonly Response.error.Detail[] | undefined;
5724
5683
  message: string;
5725
5684
  };
5726
5685
  requestId: string;
5727
5686
  };
5728
5687
  outputFormat: "json";
5729
- status: 401;
5688
+ status: 502;
5730
5689
  input: {
5731
5690
  param: {
5732
5691
  id: string;
@@ -5735,14 +5694,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5735
5694
  } | {
5736
5695
  output: {
5737
5696
  error: {
5738
- code: "api_key_forbidden" | "api_key_ip_forbidden";
5697
+ code: "unauthorized";
5739
5698
  details?: readonly Response.error.Detail[] | undefined;
5740
5699
  message: string;
5741
5700
  };
5742
5701
  requestId: string;
5743
5702
  };
5744
5703
  outputFormat: "json";
5745
- status: 403;
5704
+ status: 401;
5746
5705
  input: {
5747
5706
  param: {
5748
5707
  id: string;
@@ -5751,14 +5710,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5751
5710
  } | {
5752
5711
  output: {
5753
5712
  error: {
5754
- code: "routes_deposit_address_not_found";
5713
+ code: "param_invalid";
5755
5714
  details?: readonly Response.error.Detail[] | undefined;
5756
5715
  message: string;
5757
5716
  };
5758
5717
  requestId: string;
5759
5718
  };
5760
5719
  outputFormat: "json";
5761
- status: 404;
5720
+ status: 400;
5762
5721
  input: {
5763
5722
  param: {
5764
5723
  id: string;
@@ -5767,14 +5726,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5767
5726
  } | {
5768
5727
  output: {
5769
5728
  error: {
5770
- code: "payment_required" | "rate_limit_exceeded";
5729
+ code: "routes_deposit_address_not_found";
5771
5730
  details?: readonly Response.error.Detail[] | undefined;
5772
5731
  message: string;
5773
5732
  };
5774
5733
  requestId: string;
5775
5734
  };
5776
5735
  outputFormat: "json";
5777
- status: 429;
5736
+ status: 404;
5778
5737
  input: {
5779
5738
  param: {
5780
5739
  id: string;
@@ -5782,15 +5741,56 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5782
5741
  };
5783
5742
  } | {
5784
5743
  output: {
5785
- error: {
5786
- code: "upstream_error";
5787
- details?: readonly Response.error.Detail[] | undefined;
5788
- message: string;
5744
+ createdAt: string;
5745
+ destinationChain: {
5746
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5747
+ id: string;
5748
+ kind: "evm" | "solana" | "stellar" | "tron";
5749
+ name: string;
5789
5750
  };
5790
- requestId: string;
5751
+ destinationToken: {
5752
+ address: string;
5753
+ currency: string;
5754
+ decimals: number;
5755
+ name: string;
5756
+ standard: string;
5757
+ symbol: string;
5758
+ tokenKey: string;
5759
+ verified: boolean;
5760
+ };
5761
+ recipient: string;
5762
+ status: "action-required" | "active";
5763
+ subsidize: boolean;
5764
+ updatedAt: string;
5765
+ addresses: {
5766
+ address: string;
5767
+ refundAddress: string;
5768
+ sources: {
5769
+ chain: {
5770
+ addressFormat: "base58" | "base58check" | "hex" | "strkey";
5771
+ id: string;
5772
+ kind: "evm" | "solana" | "stellar" | "tron";
5773
+ name: string;
5774
+ };
5775
+ token: {
5776
+ address: string;
5777
+ currency: string;
5778
+ decimals: number;
5779
+ name: string;
5780
+ standard: string;
5781
+ symbol: string;
5782
+ tokenKey: string;
5783
+ verified: boolean;
5784
+ };
5785
+ }[];
5786
+ status: "action-required" | "active";
5787
+ family: "evm" | "solana" | "stellar" | "tron";
5788
+ id: string;
5789
+ }[];
5790
+ id: string;
5791
5791
  };
5792
5792
  outputFormat: "json";
5793
- status: 502;
5793
+ status: 200;
5794
5794
  input: {
5795
5795
  param: {
5796
5796
  id: string;
@@ -5828,14 +5828,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5828
5828
  } | {
5829
5829
  output: {
5830
5830
  error: {
5831
- code: "param_invalid";
5831
+ code: "api_key_invalid" | "api_key_missing";
5832
5832
  details?: readonly Response.error.Detail[] | undefined;
5833
5833
  message: string;
5834
5834
  };
5835
5835
  requestId: string;
5836
5836
  };
5837
5837
  outputFormat: "json";
5838
- status: 400;
5838
+ status: 401;
5839
5839
  input: {
5840
5840
  param: {
5841
5841
  id: string;
@@ -5844,14 +5844,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5844
5844
  } | {
5845
5845
  output: {
5846
5846
  error: {
5847
- code: "api_key_invalid" | "api_key_missing";
5847
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
5848
5848
  details?: readonly Response.error.Detail[] | undefined;
5849
5849
  message: string;
5850
5850
  };
5851
5851
  requestId: string;
5852
5852
  };
5853
5853
  outputFormat: "json";
5854
- status: 401;
5854
+ status: 403;
5855
5855
  input: {
5856
5856
  param: {
5857
5857
  id: string;
@@ -5860,14 +5860,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5860
5860
  } | {
5861
5861
  output: {
5862
5862
  error: {
5863
- code: "unauthorized";
5863
+ code: "payment_required" | "rate_limit_exceeded";
5864
5864
  details?: readonly Response.error.Detail[] | undefined;
5865
5865
  message: string;
5866
5866
  };
5867
5867
  requestId: string;
5868
5868
  };
5869
5869
  outputFormat: "json";
5870
- status: 401;
5870
+ status: 429;
5871
5871
  input: {
5872
5872
  param: {
5873
5873
  id: string;
@@ -5876,14 +5876,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5876
5876
  } | {
5877
5877
  output: {
5878
5878
  error: {
5879
- code: "api_key_forbidden" | "api_key_ip_forbidden";
5879
+ code: "upstream_error";
5880
5880
  details?: readonly Response.error.Detail[] | undefined;
5881
5881
  message: string;
5882
5882
  };
5883
5883
  requestId: string;
5884
5884
  };
5885
5885
  outputFormat: "json";
5886
- status: 403;
5886
+ status: 502;
5887
5887
  input: {
5888
5888
  param: {
5889
5889
  id: string;
@@ -5892,14 +5892,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5892
5892
  } | {
5893
5893
  output: {
5894
5894
  error: {
5895
- code: "routes_deposit_address_not_found";
5895
+ code: "unauthorized";
5896
5896
  details?: readonly Response.error.Detail[] | undefined;
5897
5897
  message: string;
5898
5898
  };
5899
5899
  requestId: string;
5900
5900
  };
5901
5901
  outputFormat: "json";
5902
- status: 404;
5902
+ status: 401;
5903
5903
  input: {
5904
5904
  param: {
5905
5905
  id: string;
@@ -5924,14 +5924,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5924
5924
  } | {
5925
5925
  output: {
5926
5926
  error: {
5927
- code: "payment_required" | "rate_limit_exceeded";
5927
+ code: "param_invalid";
5928
5928
  details?: readonly Response.error.Detail[] | undefined;
5929
5929
  message: string;
5930
5930
  };
5931
5931
  requestId: string;
5932
5932
  };
5933
5933
  outputFormat: "json";
5934
- status: 429;
5934
+ status: 400;
5935
5935
  input: {
5936
5936
  param: {
5937
5937
  id: string;
@@ -5940,14 +5940,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5940
5940
  } | {
5941
5941
  output: {
5942
5942
  error: {
5943
- code: "not_implemented";
5943
+ code: "routes_deposit_address_not_found";
5944
5944
  details?: readonly Response.error.Detail[] | undefined;
5945
5945
  message: string;
5946
5946
  };
5947
5947
  requestId: string;
5948
5948
  };
5949
5949
  outputFormat: "json";
5950
- status: 501;
5950
+ status: 404;
5951
5951
  input: {
5952
5952
  param: {
5953
5953
  id: string;
@@ -5956,14 +5956,14 @@ export declare function depositAddresses(options?: depositAddresses.Options): im
5956
5956
  } | {
5957
5957
  output: {
5958
5958
  error: {
5959
- code: "upstream_error";
5959
+ code: "not_implemented";
5960
5960
  details?: readonly Response.error.Detail[] | undefined;
5961
5961
  message: string;
5962
5962
  };
5963
5963
  requestId: string;
5964
5964
  };
5965
5965
  outputFormat: "json";
5966
- status: 502;
5966
+ status: 501;
5967
5967
  input: {
5968
5968
  param: {
5969
5969
  id: string;