tapimo 0.7.0 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (689) hide show
  1. package/dist/ApiKeys.d.ts +24 -7
  2. package/dist/ApiKeys.d.ts.map +1 -1
  3. package/dist/ApiKeys.js +17 -5
  4. package/dist/ApiKeys.js.map +1 -1
  5. package/dist/App.d.ts +12104 -7861
  6. package/dist/App.d.ts.map +1 -1
  7. package/dist/App.js +191 -128
  8. package/dist/App.js.map +1 -1
  9. package/dist/Assets.d.ts +10 -0
  10. package/dist/Assets.d.ts.map +1 -1
  11. package/dist/Assets.js +17 -4
  12. package/dist/Assets.js.map +1 -1
  13. package/dist/Scope.d.ts +19 -8
  14. package/dist/Scope.d.ts.map +1 -1
  15. package/dist/Scope.js +25 -9
  16. package/dist/Scope.js.map +1 -1
  17. package/dist/Webhooks.d.ts +1 -1
  18. package/dist/admin/App.d.ts +601 -20
  19. package/dist/admin/App.d.ts.map +1 -1
  20. package/dist/admin/App.js +12 -2
  21. package/dist/admin/App.js.map +1 -1
  22. package/dist/admin/apps/api-keys.d.ts +94 -11
  23. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  24. package/dist/admin/apps/api-keys.js +141 -32
  25. package/dist/admin/apps/api-keys.js.map +1 -1
  26. package/dist/admin/apps/earn-vaults.d.ts +1069 -0
  27. package/dist/admin/apps/earn-vaults.d.ts.map +1 -0
  28. package/dist/admin/apps/earn-vaults.js +409 -0
  29. package/dist/admin/apps/earn-vaults.js.map +1 -0
  30. package/dist/admin/apps/verified-tokens.d.ts +166 -166
  31. package/dist/admin/ui.generated.d.ts +1 -1
  32. package/dist/admin/ui.generated.d.ts.map +1 -1
  33. package/dist/admin/ui.generated.js +151 -95
  34. package/dist/admin/ui.generated.js.map +1 -1
  35. package/dist/analytics/Analytics.d.ts +2 -0
  36. package/dist/analytics/Analytics.d.ts.map +1 -1
  37. package/dist/analytics/Analytics.js +18 -2
  38. package/dist/analytics/Analytics.js.map +1 -1
  39. package/dist/analytics/tables/requestEvents.d.ts +22 -1
  40. package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
  41. package/dist/analytics/tables/requestEvents.js +59 -39
  42. package/dist/analytics/tables/requestEvents.js.map +1 -1
  43. package/dist/apps/Zones.d.ts +8335 -0
  44. package/dist/apps/Zones.d.ts.map +1 -0
  45. package/dist/apps/Zones.js +38 -0
  46. package/dist/apps/Zones.js.map +1 -0
  47. package/dist/apps/data/App.d.ts +14377 -10165
  48. package/dist/apps/data/App.d.ts.map +1 -1
  49. package/dist/apps/data/App.js +91 -19
  50. package/dist/apps/data/App.js.map +1 -1
  51. package/dist/apps/data/FxOracle.d.ts +1 -1
  52. package/dist/apps/data/FxOracle.d.ts.map +1 -1
  53. package/dist/apps/data/index.d.ts +0 -1
  54. package/dist/apps/data/index.d.ts.map +1 -1
  55. package/dist/apps/data/index.js +0 -1
  56. package/dist/apps/data/index.js.map +1 -1
  57. package/dist/apps/data/routes/activities.d.ts +32 -32
  58. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  59. package/dist/apps/data/routes/activities.js +130 -65
  60. package/dist/apps/data/routes/activities.js.map +1 -1
  61. package/dist/apps/data/routes/addresses.d.ts +312 -312
  62. package/dist/apps/data/routes/balances.d.ts +18 -18
  63. package/dist/apps/data/routes/balances.js +5 -5
  64. package/dist/apps/data/routes/balances.js.map +1 -1
  65. package/dist/apps/data/routes/coingecko.d.ts +176 -176
  66. package/dist/apps/data/routes/coingecko.d.ts.map +1 -1
  67. package/dist/apps/data/routes/coingecko.js +62 -35
  68. package/dist/apps/data/routes/coingecko.js.map +1 -1
  69. package/dist/apps/data/routes/earn.d.ts +2144 -0
  70. package/dist/apps/data/routes/earn.d.ts.map +1 -0
  71. package/dist/apps/data/routes/earn.js +947 -0
  72. package/dist/apps/data/routes/earn.js.map +1 -0
  73. package/dist/apps/data/routes/exchanges.d.ts +1231 -324
  74. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  75. package/dist/apps/data/routes/exchanges.js +656 -193
  76. package/dist/apps/data/routes/exchanges.js.map +1 -1
  77. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  78. package/dist/apps/data/routes/fee-amm.js +59 -8
  79. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  80. package/dist/apps/data/routes/funding.d.ts +4092 -387
  81. package/dist/apps/data/routes/funding.d.ts.map +1 -1
  82. package/dist/apps/data/routes/funding.js +1403 -256
  83. package/dist/apps/data/routes/funding.js.map +1 -1
  84. package/dist/apps/data/routes/indexer.d.ts +5 -5
  85. package/dist/apps/data/routes/indexer.d.ts.map +1 -1
  86. package/dist/apps/data/routes/indexer.js +19 -2
  87. package/dist/apps/data/routes/indexer.js.map +1 -1
  88. package/dist/apps/data/routes/receipts.d.ts +265 -265
  89. package/dist/apps/data/routes/receipts.d.ts.map +1 -1
  90. package/dist/apps/data/routes/receipts.js +11 -11
  91. package/dist/apps/data/routes/receipts.js.map +1 -1
  92. package/dist/apps/data/routes/rpc.d.ts +5 -5
  93. package/dist/apps/data/routes/rpc.d.ts.map +1 -1
  94. package/dist/apps/data/routes/rpc.js +211 -22
  95. package/dist/apps/data/routes/rpc.js.map +1 -1
  96. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  97. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  98. package/dist/apps/data/routes/tokenlist.js +49 -9
  99. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  100. package/dist/apps/data/routes/tokens.d.ts +116 -88
  101. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  102. package/dist/apps/data/routes/tokens.js +198 -91
  103. package/dist/apps/data/routes/tokens.js.map +1 -1
  104. package/dist/apps/data/routes/transactions.d.ts +55 -55
  105. package/dist/apps/data/routes/transactions.d.ts.map +1 -1
  106. package/dist/apps/data/routes/transactions.js +78 -39
  107. package/dist/apps/data/routes/transactions.js.map +1 -1
  108. package/dist/apps/data/routes/transfers.d.ts +78 -29
  109. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  110. package/dist/apps/data/routes/transfers.js +165 -67
  111. package/dist/apps/data/routes/transfers.js.map +1 -1
  112. package/dist/apps/data/routes/valuation.d.ts +10 -10
  113. package/dist/apps/data/routes/valuation.js +2 -2
  114. package/dist/apps/data/routes/valuation.js.map +1 -1
  115. package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
  116. package/dist/apps/data/routes/verified-tokens.js +34 -9
  117. package/dist/apps/data/routes/verified-tokens.js.map +1 -1
  118. package/dist/apps/data/routes/webhooks.d.ts +5 -3
  119. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  120. package/dist/apps/data/routes/webhooks.js +175 -65
  121. package/dist/apps/data/routes/webhooks.js.map +1 -1
  122. package/dist/apps/data/routes/zones.d.ts +281 -0
  123. package/dist/apps/data/routes/zones.d.ts.map +1 -0
  124. package/dist/apps/data/routes/zones.js +252 -0
  125. package/dist/apps/data/routes/zones.js.map +1 -0
  126. package/dist/apps/docs/reference.js +6 -5
  127. package/dist/apps/docs/reference.js.map +1 -1
  128. package/dist/apps/index.d.ts +2 -1
  129. package/dist/apps/index.d.ts.map +1 -1
  130. package/dist/apps/index.js +2 -1
  131. package/dist/apps/index.js.map +1 -1
  132. package/dist/apps/management/App.d.ts +670 -670
  133. package/dist/apps/management/Billing.d.ts +8 -0
  134. package/dist/apps/management/Billing.d.ts.map +1 -1
  135. package/dist/apps/management/Billing.js +12 -0
  136. package/dist/apps/management/Billing.js.map +1 -1
  137. package/dist/apps/management/Error.d.ts +12 -0
  138. package/dist/apps/management/Error.d.ts.map +1 -0
  139. package/dist/apps/management/Error.js +10 -0
  140. package/dist/apps/management/Error.js.map +1 -0
  141. package/dist/apps/management/routes/api-keys.d.ts +5 -5
  142. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  143. package/dist/apps/management/routes/api-keys.js +2 -8
  144. package/dist/apps/management/routes/api-keys.js.map +1 -1
  145. package/dist/apps/management/routes/billing.d.ts +119 -119
  146. package/dist/apps/management/routes/faucet.d.ts +35 -35
  147. package/dist/apps/management/routes/invitations.d.ts +62 -62
  148. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  149. package/dist/apps/management/routes/invitations.js +4 -10
  150. package/dist/apps/management/routes/invitations.js.map +1 -1
  151. package/dist/apps/management/routes/invite-links.d.ts +30 -30
  152. package/dist/apps/management/routes/me.d.ts +6 -6
  153. package/dist/apps/management/routes/members.d.ts +78 -78
  154. package/dist/apps/management/routes/orgs.d.ts +48 -48
  155. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  156. package/dist/apps/management/routes/orgs.js +2 -8
  157. package/dist/apps/management/routes/orgs.js.map +1 -1
  158. package/dist/apps/management/routes/projects.d.ts +9 -9
  159. package/dist/apps/management/routes/scopes.js +2 -2
  160. package/dist/apps/management/routes/scopes.js.map +1 -1
  161. package/dist/apps/management/routes/usage.d.ts +80 -80
  162. package/dist/apps/management/routes/verified-token-requests.d.ts +36 -36
  163. package/dist/apps/management/routes/webhooks.d.ts +50 -50
  164. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  165. package/dist/apps/management/routes/webhooks.js +15 -3
  166. package/dist/apps/management/routes/webhooks.js.map +1 -1
  167. package/dist/apps/mpp/App.d.ts +55 -56
  168. package/dist/apps/mpp/App.d.ts.map +1 -1
  169. package/dist/apps/mpp/App.js +192 -27
  170. package/dist/apps/mpp/App.js.map +1 -1
  171. package/dist/apps/mpp/Mpp.d.ts +0 -20
  172. package/dist/apps/mpp/Mpp.d.ts.map +1 -1
  173. package/dist/apps/mpp/Mpp.js +0 -24
  174. package/dist/apps/mpp/Mpp.js.map +1 -1
  175. package/dist/apps/mpp/internal/Adapter.d.ts +40 -0
  176. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -0
  177. package/dist/apps/mpp/internal/Adapter.js +66 -0
  178. package/dist/apps/mpp/internal/Adapter.js.map +1 -0
  179. package/dist/apps/mpp/internal/Error.d.ts +4 -0
  180. package/dist/apps/mpp/internal/Error.d.ts.map +1 -0
  181. package/dist/apps/mpp/internal/Error.js +41 -0
  182. package/dist/apps/mpp/internal/Error.js.map +1 -0
  183. package/dist/apps/mpp/internal/Idempotency.d.ts +33 -0
  184. package/dist/apps/mpp/internal/Idempotency.d.ts.map +1 -0
  185. package/dist/apps/mpp/internal/Idempotency.js +28 -0
  186. package/dist/apps/mpp/internal/Idempotency.js.map +1 -0
  187. package/dist/apps/mpp/internal/Policy.d.ts +46 -0
  188. package/dist/apps/mpp/internal/Policy.d.ts.map +1 -0
  189. package/dist/apps/mpp/internal/Policy.js +57 -0
  190. package/dist/apps/mpp/internal/Policy.js.map +1 -0
  191. package/dist/apps/mpp/internal/ScreenManager.d.ts +27 -0
  192. package/dist/apps/mpp/internal/ScreenManager.d.ts.map +1 -0
  193. package/dist/apps/mpp/internal/ScreenManager.js +18 -0
  194. package/dist/apps/mpp/internal/ScreenManager.js.map +1 -0
  195. package/dist/apps/mpp/internal/Screening.d.ts +35 -0
  196. package/dist/apps/mpp/internal/Screening.d.ts.map +1 -0
  197. package/dist/apps/mpp/internal/Screening.js +20 -0
  198. package/dist/apps/mpp/internal/Screening.js.map +1 -0
  199. package/dist/apps/mpp/internal/Sponsorship.d.ts +36 -0
  200. package/dist/apps/mpp/internal/Sponsorship.d.ts.map +1 -0
  201. package/dist/apps/mpp/internal/Sponsorship.js +103 -0
  202. package/dist/apps/mpp/internal/Sponsorship.js.map +1 -0
  203. package/dist/apps/mpp/internal/Utils.d.ts +7 -0
  204. package/dist/apps/mpp/internal/Utils.d.ts.map +1 -0
  205. package/dist/apps/mpp/internal/Utils.js +24 -0
  206. package/dist/apps/mpp/internal/Utils.js.map +1 -0
  207. package/dist/apps/relay/App.js +184 -24
  208. package/dist/apps/relay/App.js.map +1 -1
  209. package/dist/apps/relay/Sponsorships.d.ts +4 -0
  210. package/dist/apps/relay/Sponsorships.d.ts.map +1 -1
  211. package/dist/apps/relay/Sponsorships.js +16 -7
  212. package/dist/apps/relay/Sponsorships.js.map +1 -1
  213. package/dist/db/Db.d.ts +20 -0
  214. package/dist/db/Db.d.ts.map +1 -1
  215. package/dist/db/Db.js +342 -0
  216. package/dist/db/Db.js.map +1 -1
  217. package/dist/db/Schema.d.ts +921 -1
  218. package/dist/db/Schema.d.ts.map +1 -1
  219. package/dist/db/Schema.js +269 -1
  220. package/dist/db/Schema.js.map +1 -1
  221. package/dist/db/tables/earnVaults.d.ts +68 -0
  222. package/dist/db/tables/earnVaults.d.ts.map +1 -0
  223. package/dist/db/tables/earnVaults.js +72 -0
  224. package/dist/db/tables/earnVaults.js.map +1 -0
  225. package/dist/db/tables/fundingCatalog.d.ts +56 -0
  226. package/dist/db/tables/fundingCatalog.d.ts.map +1 -0
  227. package/dist/db/tables/fundingCatalog.js +85 -0
  228. package/dist/db/tables/fundingCatalog.js.map +1 -0
  229. package/dist/db/tables/fundingDepositAddresses.d.ts +159 -0
  230. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -0
  231. package/dist/db/tables/fundingDepositAddresses.js +206 -0
  232. package/dist/db/tables/fundingDepositAddresses.js.map +1 -0
  233. package/dist/db/tables/fundingDeposits.d.ts +115 -0
  234. package/dist/db/tables/fundingDeposits.d.ts.map +1 -0
  235. package/dist/db/tables/fundingDeposits.js +100 -0
  236. package/dist/db/tables/fundingDeposits.js.map +1 -0
  237. package/dist/db/tables/fundingIdempotency.d.ts +91 -0
  238. package/dist/db/tables/fundingIdempotency.d.ts.map +1 -0
  239. package/dist/db/tables/fundingIdempotency.js +103 -0
  240. package/dist/db/tables/fundingIdempotency.js.map +1 -0
  241. package/dist/db/tables/fundingTransferEvents.d.ts +12 -0
  242. package/dist/db/tables/fundingTransferEvents.d.ts.map +1 -0
  243. package/dist/db/tables/fundingTransferEvents.js +18 -0
  244. package/dist/db/tables/fundingTransferEvents.js.map +1 -0
  245. package/dist/db/tables/fundingTransferTransactions.d.ts +15 -0
  246. package/dist/db/tables/fundingTransferTransactions.d.ts.map +1 -0
  247. package/dist/db/tables/fundingTransferTransactions.js +27 -0
  248. package/dist/db/tables/fundingTransferTransactions.js.map +1 -0
  249. package/dist/db/tables/fundingTransfers.d.ts +82 -0
  250. package/dist/db/tables/fundingTransfers.d.ts.map +1 -0
  251. package/dist/db/tables/fundingTransfers.js +89 -0
  252. package/dist/db/tables/fundingTransfers.js.map +1 -0
  253. package/dist/db/tables/organizations.d.ts +8 -0
  254. package/dist/db/tables/organizations.d.ts.map +1 -1
  255. package/dist/db/tables/organizations.js +35 -0
  256. package/dist/db/tables/organizations.js.map +1 -1
  257. package/dist/db/tables/projects.d.ts +8 -0
  258. package/dist/db/tables/projects.d.ts.map +1 -1
  259. package/dist/db/tables/projects.js +16 -0
  260. package/dist/db/tables/projects.js.map +1 -1
  261. package/dist/db/tables/requestUsage.d.ts +13 -0
  262. package/dist/db/tables/requestUsage.d.ts.map +1 -1
  263. package/dist/db/tables/requestUsage.js +16 -0
  264. package/dist/db/tables/requestUsage.js.map +1 -1
  265. package/dist/db/tables/sponsoredTransactions.d.ts +4 -2
  266. package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
  267. package/dist/db/tables/sponsoredTransactions.js +14 -4
  268. package/dist/db/tables/sponsoredTransactions.js.map +1 -1
  269. package/dist/db/tables/users.d.ts +8 -0
  270. package/dist/db/tables/users.d.ts.map +1 -1
  271. package/dist/db/tables/users.js +16 -0
  272. package/dist/db/tables/users.js.map +1 -1
  273. package/dist/db/tables/verifiedTokens.d.ts +14 -7
  274. package/dist/db/tables/verifiedTokens.d.ts.map +1 -1
  275. package/dist/db/tables/verifiedTokens.js +9 -7
  276. package/dist/db/tables/verifiedTokens.js.map +1 -1
  277. package/dist/db/tables/webhookSubscriptions.d.ts +31 -1
  278. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  279. package/dist/db/tables/webhookSubscriptions.js +24 -3
  280. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  281. package/dist/handlers/relay.js +108 -108
  282. package/dist/handlers/relay.js.map +1 -1
  283. package/dist/internal/Auth.d.ts +26 -0
  284. package/dist/internal/Auth.d.ts.map +1 -1
  285. package/dist/internal/Auth.js +35 -2
  286. package/dist/internal/Auth.js.map +1 -1
  287. package/dist/internal/Cache.d.ts.map +1 -1
  288. package/dist/internal/Cache.js +16 -10
  289. package/dist/internal/Cache.js.map +1 -1
  290. package/dist/internal/Cursor.js +1 -1
  291. package/dist/internal/Cursor.js.map +1 -1
  292. package/dist/internal/EarnRates.d.ts +89 -0
  293. package/dist/internal/EarnRates.d.ts.map +1 -0
  294. package/dist/internal/EarnRates.js +266 -0
  295. package/dist/internal/EarnRates.js.map +1 -0
  296. package/dist/internal/EarnVaults.d.ts +171 -0
  297. package/dist/internal/EarnVaults.d.ts.map +1 -0
  298. package/dist/internal/EarnVaults.js +547 -0
  299. package/dist/internal/EarnVaults.js.map +1 -0
  300. package/dist/internal/EdgeCache.d.ts +9 -2
  301. package/dist/internal/EdgeCache.d.ts.map +1 -1
  302. package/dist/internal/EdgeCache.js +36 -9
  303. package/dist/internal/EdgeCache.js.map +1 -1
  304. package/dist/internal/Id.d.ts +11 -0
  305. package/dist/internal/Id.d.ts.map +1 -1
  306. package/dist/internal/Id.js +13 -0
  307. package/dist/internal/Id.js.map +1 -1
  308. package/dist/internal/Idempotency.d.ts +83 -0
  309. package/dist/internal/Idempotency.d.ts.map +1 -0
  310. package/dist/internal/Idempotency.js +113 -0
  311. package/dist/internal/Idempotency.js.map +1 -0
  312. package/dist/internal/Log.d.ts +64 -9
  313. package/dist/internal/Log.d.ts.map +1 -1
  314. package/dist/internal/Log.js +29 -7
  315. package/dist/internal/Log.js.map +1 -1
  316. package/dist/internal/MetricSink.d.ts.map +1 -1
  317. package/dist/internal/MetricSink.js +47 -1
  318. package/dist/internal/MetricSink.js.map +1 -1
  319. package/dist/internal/OpenApi.d.ts +1 -1
  320. package/dist/internal/OpenApi.d.ts.map +1 -1
  321. package/dist/internal/OpenApi.js +3 -0
  322. package/dist/internal/OpenApi.js.map +1 -1
  323. package/dist/internal/Provider.d.ts +14 -0
  324. package/dist/internal/Provider.d.ts.map +1 -0
  325. package/dist/internal/Provider.js +5 -0
  326. package/dist/internal/Provider.js.map +1 -0
  327. package/dist/internal/Schema.d.ts +8 -3
  328. package/dist/internal/Schema.d.ts.map +1 -1
  329. package/dist/internal/Schema.js +24 -13
  330. package/dist/internal/Schema.js.map +1 -1
  331. package/dist/internal/Store.d.ts +6 -0
  332. package/dist/internal/Store.d.ts.map +1 -1
  333. package/dist/internal/Store.js +35 -0
  334. package/dist/internal/Store.js.map +1 -1
  335. package/dist/internal/Tidx.d.ts +43 -24
  336. package/dist/internal/Tidx.d.ts.map +1 -1
  337. package/dist/internal/Tidx.js +79 -11
  338. package/dist/internal/Tidx.js.map +1 -1
  339. package/dist/internal/Viem.d.ts +82 -65
  340. package/dist/internal/Viem.d.ts.map +1 -1
  341. package/dist/internal/Viem.js +83 -12
  342. package/dist/internal/Viem.js.map +1 -1
  343. package/dist/internal/WebhookDestination.d.ts.map +1 -1
  344. package/dist/internal/WebhookDestination.js +34 -28
  345. package/dist/internal/WebhookDestination.js.map +1 -1
  346. package/dist/internal/Webhooks.d.ts +9 -0
  347. package/dist/internal/Webhooks.d.ts.map +1 -1
  348. package/dist/internal/Webhooks.js +15 -10
  349. package/dist/internal/Webhooks.js.map +1 -1
  350. package/dist/internal/exchange/Provider.d.ts +219 -0
  351. package/dist/internal/exchange/Provider.d.ts.map +1 -0
  352. package/dist/internal/exchange/Provider.js +117 -0
  353. package/dist/internal/exchange/Provider.js.map +1 -0
  354. package/dist/internal/exchange/index.d.ts +2 -0
  355. package/dist/internal/exchange/index.d.ts.map +1 -0
  356. package/dist/internal/exchange/index.js +2 -0
  357. package/dist/internal/exchange/index.js.map +1 -0
  358. package/dist/internal/exchange/providers/uniswap.d.ts +57 -0
  359. package/dist/internal/exchange/providers/uniswap.d.ts.map +1 -0
  360. package/dist/internal/exchange/providers/uniswap.js +553 -0
  361. package/dist/internal/exchange/providers/uniswap.js.map +1 -0
  362. package/dist/internal/funding/Action.d.ts +55 -0
  363. package/dist/internal/funding/Action.d.ts.map +1 -0
  364. package/dist/internal/funding/Action.js +74 -0
  365. package/dist/internal/funding/Action.js.map +1 -0
  366. package/dist/internal/funding/Catalog.d.ts +107 -0
  367. package/dist/internal/funding/Catalog.d.ts.map +1 -0
  368. package/dist/internal/funding/Catalog.js +270 -0
  369. package/dist/internal/funding/Catalog.js.map +1 -0
  370. package/dist/internal/funding/Chain.d.ts +76 -0
  371. package/dist/internal/funding/Chain.d.ts.map +1 -0
  372. package/dist/internal/funding/Chain.js +38 -0
  373. package/dist/internal/funding/Chain.js.map +1 -0
  374. package/dist/internal/funding/Deposit.d.ts +366 -0
  375. package/dist/internal/funding/Deposit.d.ts.map +1 -0
  376. package/dist/internal/funding/Deposit.js +286 -0
  377. package/dist/internal/funding/Deposit.js.map +1 -0
  378. package/dist/internal/funding/DepositAddress.d.ts +345 -0
  379. package/dist/internal/funding/DepositAddress.d.ts.map +1 -0
  380. package/dist/internal/funding/DepositAddress.js +189 -0
  381. package/dist/internal/funding/DepositAddress.js.map +1 -0
  382. package/dist/internal/funding/Evidence.d.ts +52 -0
  383. package/dist/internal/funding/Evidence.d.ts.map +1 -0
  384. package/dist/internal/funding/Evidence.js +314 -0
  385. package/dist/internal/funding/Evidence.js.map +1 -0
  386. package/dist/internal/funding/Provider.d.ts +1186 -0
  387. package/dist/internal/funding/Provider.d.ts.map +1 -0
  388. package/dist/internal/funding/Provider.js +1081 -0
  389. package/dist/internal/funding/Provider.js.map +1 -0
  390. package/dist/internal/funding/Reconciliation.d.ts +113 -0
  391. package/dist/internal/funding/Reconciliation.d.ts.map +1 -0
  392. package/dist/internal/funding/Reconciliation.js +676 -0
  393. package/dist/internal/funding/Reconciliation.js.map +1 -0
  394. package/dist/internal/funding/Route.d.ts +21 -0
  395. package/dist/internal/funding/Route.d.ts.map +1 -0
  396. package/dist/internal/funding/Route.js +5 -0
  397. package/dist/internal/funding/Route.js.map +1 -0
  398. package/dist/internal/funding/Subsidy.d.ts +113 -0
  399. package/dist/internal/funding/Subsidy.d.ts.map +1 -0
  400. package/dist/internal/funding/Subsidy.js +138 -0
  401. package/dist/internal/funding/Subsidy.js.map +1 -0
  402. package/dist/internal/funding/Token.d.ts +41 -0
  403. package/dist/internal/funding/Token.d.ts.map +1 -0
  404. package/dist/internal/funding/Token.js +22 -0
  405. package/dist/internal/funding/Token.js.map +1 -0
  406. package/dist/internal/funding/Transfer.d.ts +643 -0
  407. package/dist/internal/funding/Transfer.d.ts.map +1 -0
  408. package/dist/internal/funding/Transfer.js +332 -0
  409. package/dist/internal/funding/Transfer.js.map +1 -0
  410. package/dist/internal/funding/index.d.ts +13 -0
  411. package/dist/internal/funding/index.d.ts.map +1 -0
  412. package/dist/internal/funding/index.js +13 -0
  413. package/dist/internal/funding/index.js.map +1 -0
  414. package/dist/internal/funding/providers/across.d.ts +21 -0
  415. package/dist/internal/funding/providers/across.d.ts.map +1 -0
  416. package/dist/internal/funding/providers/across.js +117 -0
  417. package/dist/internal/funding/providers/across.js.map +1 -0
  418. package/dist/internal/funding/providers/relay.d.ts +46 -0
  419. package/dist/internal/funding/providers/relay.d.ts.map +1 -0
  420. package/dist/internal/funding/providers/relay.js +464 -0
  421. package/dist/internal/funding/providers/relay.js.map +1 -0
  422. package/dist/internal/funding/providers/rhino.d.ts +15 -0
  423. package/dist/internal/funding/providers/rhino.d.ts.map +1 -0
  424. package/dist/internal/funding/providers/rhino.js +116 -0
  425. package/dist/internal/funding/providers/rhino.js.map +1 -0
  426. package/dist/internal/funding/providers/squid.d.ts +19 -0
  427. package/dist/internal/funding/providers/squid.d.ts.map +1 -0
  428. package/dist/internal/funding/providers/squid.js +120 -0
  429. package/dist/internal/funding/providers/squid.js.map +1 -0
  430. package/dist/internal/funding/providers/symbiosis.d.ts +20 -0
  431. package/dist/internal/funding/providers/symbiosis.d.ts.map +1 -0
  432. package/dist/internal/funding/providers/symbiosis.js +176 -0
  433. package/dist/internal/funding/providers/symbiosis.js.map +1 -0
  434. package/dist/internal/index.d.ts +5 -1
  435. package/dist/internal/index.d.ts.map +1 -1
  436. package/dist/internal/index.js +5 -1
  437. package/dist/internal/index.js.map +1 -1
  438. package/dist/internal/webhookDestinations/url.js +61 -57
  439. package/dist/internal/webhookDestinations/url.js.map +1 -1
  440. package/dist/providers/index.d.ts +43 -0
  441. package/dist/providers/index.d.ts.map +1 -0
  442. package/dist/providers/index.js +19 -0
  443. package/dist/providers/index.js.map +1 -0
  444. package/package.json +9 -4
  445. package/src/ApiKeys.test.ts +11 -7
  446. package/src/ApiKeys.ts +37 -9
  447. package/src/App.test.ts +85 -10
  448. package/src/App.ts +224 -137
  449. package/src/Assets.ts +29 -4
  450. package/src/Client.test-d.ts +650 -30
  451. package/src/Scope.test.ts +19 -0
  452. package/src/Scope.ts +28 -11
  453. package/src/Webhooks.test.ts +25 -0
  454. package/src/Webhooks.ts +1 -1
  455. package/src/admin/App.test.ts +9 -2
  456. package/src/admin/App.ts +32 -9
  457. package/src/admin/apps/api-keys.test.ts +167 -23
  458. package/src/admin/apps/api-keys.ts +166 -28
  459. package/src/admin/apps/earn-vaults.test.ts +338 -0
  460. package/src/admin/apps/earn-vaults.ts +572 -0
  461. package/src/admin/apps/scopes.test.ts +16 -1
  462. package/src/admin/ui/plugin.ts +2 -2
  463. package/src/admin/ui/src/components/EarnVaultForm.tsx +137 -0
  464. package/src/admin/ui/src/components/MobileProfile.tsx +2 -2
  465. package/src/admin/ui/src/components/Page.tsx +1 -1
  466. package/src/admin/ui/src/components/ThemeToggle.tsx +1 -1
  467. package/src/admin/ui/src/lib/api-keys.ts +37 -7
  468. package/src/admin/ui/src/lib/client.ts +1 -1
  469. package/src/admin/ui/src/lib/config.ts +1 -1
  470. package/src/admin/ui/src/lib/early-access.ts +8 -9
  471. package/src/admin/ui/src/lib/earn-vaults.ts +207 -0
  472. package/src/admin/ui/src/lib/format.ts +13 -0
  473. package/src/admin/ui/src/lib/organizations.test.ts +14 -4
  474. package/src/admin/ui/src/lib/organizations.ts +7 -1
  475. package/src/admin/ui/src/lib/response.ts +22 -0
  476. package/src/admin/ui/src/lib/scopes.test.ts +19 -11
  477. package/src/admin/ui/src/lib/scopes.ts +28 -7
  478. package/src/admin/ui/src/lib/verified-tokens.ts +10 -9
  479. package/src/admin/ui/src/routeTree.gen.ts +70 -7
  480. package/src/admin/ui/src/router.tsx +2 -2
  481. package/src/admin/ui/src/routes/__root.tsx +9 -8
  482. package/src/admin/ui/src/routes/api-keys.tsx +475 -64
  483. package/src/admin/ui/src/routes/early-access.tsx +5 -12
  484. package/src/admin/ui/src/routes/earn.vaults.tsx +348 -0
  485. package/src/admin/ui/src/routes/earn.vaults_.$vaultId.edit.tsx +154 -0
  486. package/src/admin/ui/src/routes/earn.vaults_.new.tsx +190 -0
  487. package/src/admin/ui/src/routes/organizations.tsx +4 -7
  488. package/src/admin/ui/src/routes/organizations_.$orgId.tsx +56 -54
  489. package/src/admin/ui/src/routes/verified-tokens.tsx +4 -4
  490. package/src/admin/ui/vite.config.ts +4 -1
  491. package/src/admin/ui.generated.ts +189 -95
  492. package/src/analytics/Analytics.test.ts +69 -10
  493. package/src/analytics/Analytics.ts +20 -1
  494. package/src/analytics/tables/requestEvents.ts +79 -37
  495. package/src/apps/Zones.test.ts +33 -0
  496. package/src/apps/Zones.ts +40 -0
  497. package/src/apps/composition.test.ts +84 -1
  498. package/src/apps/data/App.test.ts +38 -9
  499. package/src/apps/data/App.ts +96 -33
  500. package/src/apps/data/FxOracle.ts +1 -1
  501. package/src/apps/data/index.ts +0 -1
  502. package/src/apps/data/routes/activities.test.ts +82 -6
  503. package/src/apps/data/routes/activities.ts +131 -71
  504. package/src/apps/data/routes/balances.test.ts +50 -37
  505. package/src/apps/data/routes/balances.ts +5 -5
  506. package/src/apps/data/routes/blocks.test.ts +2 -0
  507. package/src/apps/data/routes/coingecko.test.ts +22 -0
  508. package/src/apps/data/routes/coingecko.ts +84 -48
  509. package/src/apps/data/routes/earn.test.ts +1108 -0
  510. package/src/apps/data/routes/earn.ts +1391 -0
  511. package/src/apps/data/routes/exchanges.test.ts +82 -33
  512. package/src/apps/data/routes/exchanges.ts +842 -227
  513. package/src/apps/data/routes/fee-amm.test.ts +4 -6
  514. package/src/apps/data/routes/fee-amm.ts +69 -12
  515. package/src/apps/data/routes/funding.test.ts +2712 -221
  516. package/src/apps/data/routes/funding.ts +1604 -387
  517. package/src/apps/data/routes/indexer.test.ts +43 -34
  518. package/src/apps/data/routes/indexer.ts +19 -2
  519. package/src/apps/data/routes/receipts.test.ts +5 -3
  520. package/src/apps/data/routes/receipts.ts +13 -11
  521. package/src/apps/data/routes/rpc.test.ts +446 -28
  522. package/src/apps/data/routes/rpc.ts +243 -25
  523. package/src/apps/data/routes/tokenlist.test.ts +15 -0
  524. package/src/apps/data/routes/tokenlist.ts +88 -22
  525. package/src/apps/data/routes/tokens.ts +262 -86
  526. package/src/apps/data/routes/transactions.test.ts +2 -0
  527. package/src/apps/data/routes/transactions.ts +77 -42
  528. package/src/apps/data/routes/transfers.test.ts +166 -4
  529. package/src/apps/data/routes/transfers.ts +216 -78
  530. package/src/apps/data/routes/valuation.test.ts +62 -9
  531. package/src/apps/data/routes/valuation.ts +2 -2
  532. package/src/apps/data/routes/verified-tokens.test.ts +51 -0
  533. package/src/apps/data/routes/verified-tokens.ts +52 -15
  534. package/src/apps/data/routes/webhooks.test.ts +432 -33
  535. package/src/apps/data/routes/webhooks.ts +189 -79
  536. package/src/apps/data/routes/zones.test.ts +473 -0
  537. package/src/apps/data/routes/zones.ts +338 -0
  538. package/src/apps/docs/reference.ts +8 -6
  539. package/src/apps/index.ts +2 -1
  540. package/src/apps/management/Billing.test.ts +29 -0
  541. package/src/apps/management/Billing.ts +23 -0
  542. package/src/apps/management/Error.ts +12 -0
  543. package/src/apps/management/routes/api-keys.test.ts +5 -3
  544. package/src/apps/management/routes/api-keys.ts +2 -9
  545. package/src/apps/management/routes/invitations.ts +4 -11
  546. package/src/apps/management/routes/orgs.ts +2 -9
  547. package/src/apps/management/routes/scopes.test.ts +7 -2
  548. package/src/apps/management/routes/scopes.ts +2 -2
  549. package/src/apps/management/routes/webhooks.test.ts +6 -1
  550. package/src/apps/management/routes/webhooks.ts +15 -3
  551. package/src/apps/mpp/App.ts +276 -29
  552. package/src/apps/mpp/Mpp.test.ts +631 -26
  553. package/src/apps/mpp/Mpp.ts +0 -42
  554. package/src/apps/mpp/internal/Adapter.ts +108 -3
  555. package/src/apps/mpp/internal/Error.test.ts +33 -0
  556. package/src/apps/mpp/internal/Error.ts +44 -6
  557. package/src/apps/mpp/internal/Idempotency.test.ts +213 -0
  558. package/src/apps/mpp/internal/Idempotency.ts +59 -5
  559. package/src/apps/mpp/internal/Policy.test.ts +122 -0
  560. package/src/apps/mpp/internal/Policy.ts +98 -0
  561. package/src/apps/mpp/internal/ScreenManager.test.ts +68 -0
  562. package/src/apps/mpp/internal/ScreenManager.ts +41 -0
  563. package/src/apps/mpp/internal/Screening.ts +40 -3
  564. package/src/apps/mpp/internal/Sponsorship.ts +144 -0
  565. package/src/apps/mpp/internal/Utils.ts +30 -0
  566. package/src/apps/relay/App.test.ts +495 -64
  567. package/src/apps/relay/App.ts +234 -24
  568. package/src/apps/relay/Sponsorships.test.ts +51 -0
  569. package/src/apps/relay/Sponsorships.ts +19 -7
  570. package/src/db/Db.ts +439 -0
  571. package/src/db/Schema.ts +325 -2
  572. package/src/db/tables/earnVaults.test.ts +185 -0
  573. package/src/db/tables/earnVaults.ts +151 -0
  574. package/src/db/tables/fundingCatalog.test.ts +108 -0
  575. package/src/db/tables/fundingCatalog.ts +157 -0
  576. package/src/db/tables/fundingDepositAddresses.test.ts +580 -0
  577. package/src/db/tables/fundingDepositAddresses.ts +376 -0
  578. package/src/db/tables/fundingDeposits.test.ts +261 -0
  579. package/src/db/tables/fundingDeposits.ts +229 -0
  580. package/src/db/tables/fundingIdempotency.test.ts +182 -0
  581. package/src/db/tables/fundingIdempotency.ts +180 -0
  582. package/src/db/tables/fundingTransferEvents.ts +28 -0
  583. package/src/db/tables/fundingTransferTransactions.test.ts +69 -0
  584. package/src/db/tables/fundingTransferTransactions.ts +37 -0
  585. package/src/db/tables/fundingTransfers.test.ts +89 -0
  586. package/src/db/tables/fundingTransfers.ts +153 -0
  587. package/src/db/tables/organizations.test.ts +88 -0
  588. package/src/db/tables/organizations.ts +42 -1
  589. package/src/db/tables/projects.ts +16 -0
  590. package/src/db/tables/requestUsage.ts +23 -0
  591. package/src/db/tables/sponsoredTransactions.test.ts +52 -2
  592. package/src/db/tables/sponsoredTransactions.ts +18 -6
  593. package/src/db/tables/users.ts +16 -0
  594. package/src/db/tables/verifiedTokens.ts +19 -14
  595. package/src/db/tables/webhookSubscriptions.ts +58 -3
  596. package/src/handlers/relay.test.ts +2 -0
  597. package/src/handlers/relay.ts +95 -99
  598. package/src/internal/Auth.test.ts +48 -0
  599. package/src/internal/Auth.ts +61 -2
  600. package/src/internal/Cache.ts +13 -9
  601. package/src/internal/Cursor.test.ts +2 -2
  602. package/src/internal/Cursor.ts +1 -1
  603. package/src/internal/EarnRates.test.ts +125 -0
  604. package/src/internal/EarnRates.ts +409 -0
  605. package/src/internal/EarnVaults.test.ts +195 -0
  606. package/src/internal/EarnVaults.ts +876 -0
  607. package/src/internal/EdgeCache.test.ts +37 -5
  608. package/src/internal/EdgeCache.ts +39 -7
  609. package/src/internal/Id.ts +14 -0
  610. package/src/internal/Idempotency.test.ts +109 -0
  611. package/src/internal/Idempotency.ts +237 -0
  612. package/src/internal/Log.test-d.ts +41 -8
  613. package/src/internal/Log.test.ts +189 -8
  614. package/src/internal/Log.ts +124 -17
  615. package/src/internal/MetricSink.test.ts +244 -4
  616. package/src/internal/MetricSink.ts +51 -1
  617. package/src/internal/OpenApi.ts +3 -0
  618. package/src/internal/Provider.test.ts +17 -0
  619. package/src/internal/Provider.ts +17 -0
  620. package/src/internal/Schema.test.ts +13 -0
  621. package/src/internal/Schema.ts +41 -24
  622. package/src/internal/Store.test.ts +25 -0
  623. package/src/internal/Store.ts +46 -0
  624. package/src/internal/Tidx.local.test.ts +78 -3
  625. package/src/internal/Tidx.test.ts +212 -18
  626. package/src/internal/Tidx.ts +112 -32
  627. package/src/internal/VerifiedTokens.test.ts +15 -0
  628. package/src/internal/Viem.test.ts +170 -17
  629. package/src/internal/Viem.ts +111 -28
  630. package/src/internal/WebhookDestination.ts +25 -23
  631. package/src/internal/Webhooks.test.ts +59 -0
  632. package/src/internal/Webhooks.ts +34 -10
  633. package/src/internal/exchange/Provider.test.ts +216 -0
  634. package/src/internal/exchange/Provider.ts +326 -0
  635. package/src/internal/exchange/index.test.ts +6 -0
  636. package/src/internal/exchange/index.ts +1 -0
  637. package/src/internal/exchange/providers/uniswap.test.ts +122 -0
  638. package/src/internal/exchange/providers/uniswap.ts +682 -0
  639. package/src/internal/funding/Action.test.ts +138 -0
  640. package/src/internal/funding/Action.ts +117 -0
  641. package/src/internal/funding/Catalog.test.ts +311 -0
  642. package/src/internal/funding/Catalog.ts +347 -0
  643. package/src/internal/funding/Chain.test.ts +79 -0
  644. package/src/internal/funding/Chain.ts +120 -0
  645. package/src/internal/funding/Deposit.test.ts +26 -0
  646. package/src/internal/funding/Deposit.ts +453 -0
  647. package/src/internal/funding/DepositAddress.test.ts +18 -0
  648. package/src/internal/funding/DepositAddress.ts +312 -0
  649. package/src/internal/funding/Evidence.test.ts +297 -0
  650. package/src/internal/funding/Evidence.ts +430 -0
  651. package/src/internal/funding/Provider.test.ts +1328 -0
  652. package/src/internal/funding/Provider.ts +1796 -0
  653. package/src/internal/funding/Reconciliation.local.test.ts +504 -0
  654. package/src/internal/funding/Reconciliation.test.ts +2020 -0
  655. package/src/internal/funding/Reconciliation.ts +930 -0
  656. package/src/internal/funding/Route.test.ts +66 -0
  657. package/src/internal/funding/Route.ts +29 -0
  658. package/src/internal/funding/Subsidy.local.test.ts +152 -0
  659. package/src/internal/funding/Subsidy.test.ts +75 -0
  660. package/src/internal/funding/Subsidy.ts +260 -0
  661. package/src/internal/funding/Token.test.ts +47 -0
  662. package/src/internal/funding/Token.ts +59 -0
  663. package/src/internal/funding/Transfer.test.ts +369 -0
  664. package/src/internal/funding/Transfer.ts +522 -0
  665. package/src/internal/funding/index.test.ts +20 -0
  666. package/src/internal/funding/index.ts +12 -0
  667. package/src/internal/funding/providers/across.ts +149 -0
  668. package/src/{apps/data/FundingQuoteProviders.test.ts → internal/funding/providers/index.test.ts} +178 -157
  669. package/src/internal/funding/providers/relay.test.ts +474 -0
  670. package/src/internal/funding/providers/relay.ts +559 -0
  671. package/src/internal/funding/providers/rhino.ts +139 -0
  672. package/src/internal/funding/providers/squid.ts +151 -0
  673. package/src/internal/funding/providers/symbiosis.ts +221 -0
  674. package/src/internal/index.test.ts +5 -1
  675. package/src/internal/index.ts +5 -1
  676. package/src/internal/webhookDestinations/url.ts +49 -45
  677. package/src/providers/index.test.ts +14 -0
  678. package/src/providers/index.ts +54 -0
  679. package/dist/apps/data/FundingQuoteProviders.d.ts +0 -174
  680. package/dist/apps/data/FundingQuoteProviders.d.ts.map +0 -1
  681. package/dist/apps/data/FundingQuoteProviders.js +0 -775
  682. package/dist/apps/data/FundingQuoteProviders.js.map +0 -1
  683. package/dist/internal/FundingQuotes.d.ts +0 -864
  684. package/dist/internal/FundingQuotes.d.ts.map +0 -1
  685. package/dist/internal/FundingQuotes.js +0 -672
  686. package/dist/internal/FundingQuotes.js.map +0 -1
  687. package/src/apps/data/FundingQuoteProviders.ts +0 -1043
  688. package/src/internal/FundingQuotes.test.ts +0 -456
  689. package/src/internal/FundingQuotes.ts +0 -944
@@ -1,6 +1,5 @@
1
1
  import * as z from 'zod/mini';
2
2
  import type * as App from '../../../App.js';
3
- import * as FundingQuotes from '../../../internal/FundingQuotes.js';
4
3
  import * as Response from '../../../internal/Response.js';
5
4
  /** Zod schemas owned by funding quote resources. */
6
5
  export declare namespace schema {
@@ -9,7 +8,7 @@ export declare namespace schema {
9
8
  addressFormat: z.ZodMiniEnum<{
10
9
  base58: "base58";
11
10
  base58check: "base58check";
12
- evm: "evm";
11
+ hex: "hex";
13
12
  }>;
14
13
  id: z.ZodMiniString<string>;
15
14
  kind: z.ZodMiniEnum<{
@@ -18,14 +17,12 @@ export declare namespace schema {
18
17
  tron: "tron";
19
18
  }>;
20
19
  name: z.ZodMiniString<string>;
21
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
22
20
  }, z.core.$strip>;
23
21
  /** Source or destination token reference. */
24
22
  const Token: z.ZodMiniObject<{
25
23
  address: z.ZodMiniString<string>;
26
24
  currency: z.ZodMiniString<string>;
27
25
  decimals: z.ZodMiniNumber<number>;
28
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
29
26
  name: z.ZodMiniString<string>;
30
27
  standard: z.ZodMiniString<string>;
31
28
  symbol: z.ZodMiniString<string>;
@@ -41,16 +38,8 @@ export declare namespace schema {
41
38
  }, z.core.$strip>;
42
39
  /** Provider summary embedded in a funding quote. */
43
40
  const ProviderRef: z.ZodMiniObject<{
44
- id: z.ZodMiniEnum<{
45
- across: "across";
46
- relay: "relay";
47
- rhino: "rhino";
48
- squid: "squid";
49
- symbiosis: "symbiosis";
50
- }>;
51
- kind: z.ZodMiniString<string>;
41
+ id: z.ZodMiniString<string>;
52
42
  name: z.ZodMiniString<string>;
53
- requiresApiKey: z.ZodMiniBoolean<boolean>;
54
43
  }, z.core.$strip>;
55
44
  /** Quote quality signals exposed directly instead of implied by list order. */
56
45
  const Quality: z.ZodMiniObject<{
@@ -85,7 +74,7 @@ export declare namespace schema {
85
74
  addressFormat: z.ZodMiniEnum<{
86
75
  base58: "base58";
87
76
  base58check: "base58check";
88
- evm: "evm";
77
+ hex: "hex";
89
78
  }>;
90
79
  id: z.ZodMiniString<string>;
91
80
  kind: z.ZodMiniEnum<{
@@ -94,13 +83,11 @@ export declare namespace schema {
94
83
  tron: "tron";
95
84
  }>;
96
85
  name: z.ZodMiniString<string>;
97
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
98
86
  }, z.core.$strip>;
99
87
  destinationToken: z.ZodMiniObject<{
100
88
  address: z.ZodMiniString<string>;
101
89
  currency: z.ZodMiniString<string>;
102
90
  decimals: z.ZodMiniNumber<number>;
103
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
104
91
  name: z.ZodMiniString<string>;
105
92
  standard: z.ZodMiniString<string>;
106
93
  symbol: z.ZodMiniString<string>;
@@ -109,16 +96,8 @@ export declare namespace schema {
109
96
  }, z.core.$strip>;
110
97
  id: z.ZodMiniString<string>;
111
98
  provider: z.ZodMiniObject<{
112
- id: z.ZodMiniEnum<{
113
- across: "across";
114
- relay: "relay";
115
- rhino: "rhino";
116
- squid: "squid";
117
- symbiosis: "symbiosis";
118
- }>;
119
- kind: z.ZodMiniString<string>;
99
+ id: z.ZodMiniString<string>;
120
100
  name: z.ZodMiniString<string>;
121
- requiresApiKey: z.ZodMiniBoolean<boolean>;
122
101
  }, z.core.$strip>;
123
102
  quality: z.ZodMiniObject<{
124
103
  estimatedSeconds: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -143,7 +122,7 @@ export declare namespace schema {
143
122
  addressFormat: z.ZodMiniEnum<{
144
123
  base58: "base58";
145
124
  base58check: "base58check";
146
- evm: "evm";
125
+ hex: "hex";
147
126
  }>;
148
127
  id: z.ZodMiniString<string>;
149
128
  kind: z.ZodMiniEnum<{
@@ -152,13 +131,11 @@ export declare namespace schema {
152
131
  tron: "tron";
153
132
  }>;
154
133
  name: z.ZodMiniString<string>;
155
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
156
134
  }, z.core.$strip>;
157
135
  sourceToken: z.ZodMiniObject<{
158
136
  address: z.ZodMiniString<string>;
159
137
  currency: z.ZodMiniString<string>;
160
138
  decimals: z.ZodMiniNumber<number>;
161
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
162
139
  name: z.ZodMiniString<string>;
163
140
  standard: z.ZodMiniString<string>;
164
141
  symbol: z.ZodMiniString<string>;
@@ -168,27 +145,15 @@ export declare namespace schema {
168
145
  }, z.core.$strip>;
169
146
  /** Funding quote provider catalog entry. */
170
147
  const Provider: z.ZodMiniObject<{
171
- id: z.ZodMiniEnum<{
172
- across: "across";
173
- relay: "relay";
174
- rhino: "rhino";
175
- squid: "squid";
176
- symbiosis: "symbiosis";
177
- }>;
178
- kind: z.ZodMiniString<string>;
148
+ id: z.ZodMiniString<string>;
179
149
  name: z.ZodMiniString<string>;
180
- requiresApiKey: z.ZodMiniBoolean<boolean>;
181
- status: z.ZodMiniEnum<{
182
- configured: "configured";
183
- unconfigured: "unconfigured";
184
- }>;
185
150
  }, z.core.$strip>;
186
151
  /** Chain inventory entry returned by the funding chains endpoint. */
187
152
  const ChainInventory: z.ZodMiniObject<{
188
153
  addressFormat: z.ZodMiniEnum<{
189
154
  base58: "base58";
190
155
  base58check: "base58check";
191
- evm: "evm";
156
+ hex: "hex";
192
157
  }>;
193
158
  id: z.ZodMiniString<string>;
194
159
  kind: z.ZodMiniEnum<{
@@ -197,12 +162,10 @@ export declare namespace schema {
197
162
  tron: "tron";
198
163
  }>;
199
164
  name: z.ZodMiniString<string>;
200
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
201
165
  tokens: z.ZodMiniArray<z.ZodMiniObject<{
202
166
  address: z.ZodMiniString<string>;
203
167
  currency: z.ZodMiniString<string>;
204
168
  decimals: z.ZodMiniNumber<number>;
205
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
206
169
  name: z.ZodMiniString<string>;
207
170
  standard: z.ZodMiniString<string>;
208
171
  symbol: z.ZodMiniString<string>;
@@ -215,13 +178,7 @@ export declare namespace schema {
215
178
  /** Query parameters for live funding quotes. */
216
179
  const Query: z.ZodMiniObject<{
217
180
  destinationToken: z.ZodMiniOptional<z.ZodMiniString<string>>;
218
- provider: z.ZodMiniOptional<z.ZodMiniEnum<{
219
- across: "across";
220
- relay: "relay";
221
- rhino: "rhino";
222
- squid: "squid";
223
- symbiosis: "symbiosis";
224
- }>>;
181
+ provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
225
182
  sourceAmount: z.ZodMiniString<string>;
226
183
  sourceAmountUnits: z.ZodMiniDefault<z.ZodMiniEnum<{
227
184
  baseUnits: "baseUnits";
@@ -249,7 +206,7 @@ export declare namespace schema {
249
206
  addressFormat: z.ZodMiniEnum<{
250
207
  base58: "base58";
251
208
  base58check: "base58check";
252
- evm: "evm";
209
+ hex: "hex";
253
210
  }>;
254
211
  id: z.ZodMiniString<string>;
255
212
  kind: z.ZodMiniEnum<{
@@ -258,13 +215,11 @@ export declare namespace schema {
258
215
  tron: "tron";
259
216
  }>;
260
217
  name: z.ZodMiniString<string>;
261
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
262
218
  }, z.core.$strip>;
263
219
  destinationToken: z.ZodMiniObject<{
264
220
  address: z.ZodMiniString<string>;
265
221
  currency: z.ZodMiniString<string>;
266
222
  decimals: z.ZodMiniNumber<number>;
267
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
268
223
  name: z.ZodMiniString<string>;
269
224
  standard: z.ZodMiniString<string>;
270
225
  symbol: z.ZodMiniString<string>;
@@ -273,16 +228,8 @@ export declare namespace schema {
273
228
  }, z.core.$strip>;
274
229
  id: z.ZodMiniString<string>;
275
230
  provider: z.ZodMiniObject<{
276
- id: z.ZodMiniEnum<{
277
- across: "across";
278
- relay: "relay";
279
- rhino: "rhino";
280
- squid: "squid";
281
- symbiosis: "symbiosis";
282
- }>;
283
- kind: z.ZodMiniString<string>;
231
+ id: z.ZodMiniString<string>;
284
232
  name: z.ZodMiniString<string>;
285
- requiresApiKey: z.ZodMiniBoolean<boolean>;
286
233
  }, z.core.$strip>;
287
234
  quality: z.ZodMiniObject<{
288
235
  estimatedSeconds: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -307,7 +254,7 @@ export declare namespace schema {
307
254
  addressFormat: z.ZodMiniEnum<{
308
255
  base58: "base58";
309
256
  base58check: "base58check";
310
- evm: "evm";
257
+ hex: "hex";
311
258
  }>;
312
259
  id: z.ZodMiniString<string>;
313
260
  kind: z.ZodMiniEnum<{
@@ -316,13 +263,11 @@ export declare namespace schema {
316
263
  tron: "tron";
317
264
  }>;
318
265
  name: z.ZodMiniString<string>;
319
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
320
266
  }, z.core.$strip>;
321
267
  sourceToken: z.ZodMiniObject<{
322
268
  address: z.ZodMiniString<string>;
323
269
  currency: z.ZodMiniString<string>;
324
270
  decimals: z.ZodMiniNumber<number>;
325
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
326
271
  name: z.ZodMiniString<string>;
327
272
  standard: z.ZodMiniString<string>;
328
273
  symbol: z.ZodMiniString<string>;
@@ -332,15 +277,15 @@ export declare namespace schema {
332
277
  }, z.core.$strip>>;
333
278
  }, z.core.$strip>;
334
279
  }
335
- /** Schemas for the listFundingChains operation. */
336
- namespace listFundingChains {
280
+ /** Schemas for the getFundingChains operation. */
281
+ namespace getFundingChains {
337
282
  /** Non-paginated source-chain inventory. */
338
283
  const Response: z.ZodMiniObject<{
339
284
  data: z.ZodMiniArray<z.ZodMiniObject<{
340
285
  addressFormat: z.ZodMiniEnum<{
341
286
  base58: "base58";
342
287
  base58check: "base58check";
343
- evm: "evm";
288
+ hex: "hex";
344
289
  }>;
345
290
  id: z.ZodMiniString<string>;
346
291
  kind: z.ZodMiniEnum<{
@@ -349,12 +294,10 @@ export declare namespace schema {
349
294
  tron: "tron";
350
295
  }>;
351
296
  name: z.ZodMiniString<string>;
352
- providerIds: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
353
297
  tokens: z.ZodMiniArray<z.ZodMiniObject<{
354
298
  address: z.ZodMiniString<string>;
355
299
  currency: z.ZodMiniString<string>;
356
300
  decimals: z.ZodMiniNumber<number>;
357
- metadata: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>;
358
301
  name: z.ZodMiniString<string>;
359
302
  standard: z.ZodMiniString<string>;
360
303
  symbol: z.ZodMiniString<string>;
@@ -364,281 +307,3583 @@ export declare namespace schema {
364
307
  }, z.core.$strip>>;
365
308
  }, z.core.$strip>;
366
309
  }
367
- /** Schemas for the listProviders operation. */
368
- namespace listProviders {
310
+ /** Schemas for the getFundingProviders operation. */
311
+ namespace getFundingProviders {
369
312
  /** Non-paginated funding quote provider catalog. */
370
313
  const Response: z.ZodMiniObject<{
371
314
  data: z.ZodMiniArray<z.ZodMiniObject<{
372
- id: z.ZodMiniEnum<{
373
- across: "across";
374
- relay: "relay";
375
- rhino: "rhino";
376
- squid: "squid";
377
- symbiosis: "symbiosis";
378
- }>;
379
- kind: z.ZodMiniString<string>;
315
+ id: z.ZodMiniString<string>;
380
316
  name: z.ZodMiniString<string>;
381
- requiresApiKey: z.ZodMiniBoolean<boolean>;
382
- status: z.ZodMiniEnum<{
383
- configured: "configured";
384
- unconfigured: "unconfigured";
385
- }>;
386
317
  }, z.core.$strip>>;
387
318
  }, z.core.$strip>;
388
319
  }
389
- }
390
- /** Mounts live funding quotes and their supporting inventory endpoints. */
391
- export declare function funding(options?: funding.Options): import("hono/hono-base").HonoBase<App.Environment, {
392
- "/v1/funding/quotes": {
393
- $get: {
394
- output: null;
395
- outputFormat: "body";
396
- status: 402;
397
- input: {
398
- query: {
399
- destinationToken?: string | string[];
400
- provider?: string | string[];
401
- sourceAmount: string | string[];
402
- sourceAmountUnits?: string | string[];
403
- sourceChain: string | string[];
404
- sourceToken: string | string[];
405
- };
406
- };
407
- } | {
408
- output: {
409
- error: {
410
- code: "upstream_error";
411
- details?: readonly Response.error.Detail[] | undefined;
412
- message: string;
413
- };
414
- requestId: string;
415
- };
416
- outputFormat: "json";
417
- status: 502;
418
- input: {
419
- query: {
420
- destinationToken?: string | string[];
421
- provider?: string | string[];
422
- sourceAmount: string | string[];
423
- sourceAmountUnits?: string | string[];
424
- sourceChain: string | string[];
425
- sourceToken: string | string[];
426
- };
427
- };
428
- } | {
429
- output: {
430
- error: {
431
- code: "api_key_malformed";
432
- details?: readonly Response.error.Detail[] | undefined;
433
- message: string;
434
- };
435
- requestId: string;
436
- };
437
- outputFormat: "json";
438
- status: 400;
439
- input: {
440
- query: {
441
- destinationToken?: string | string[];
442
- provider?: string | string[];
443
- sourceAmount: string | string[];
444
- sourceAmountUnits?: string | string[];
445
- sourceChain: string | string[];
446
- sourceToken: string | string[];
447
- };
448
- };
449
- } | {
450
- output: {
451
- error: {
452
- code: "api_key_invalid" | "api_key_missing";
453
- details?: readonly Response.error.Detail[] | undefined;
454
- message: string;
455
- };
456
- requestId: string;
457
- };
458
- outputFormat: "json";
459
- status: 401;
460
- input: {
461
- query: {
462
- destinationToken?: string | string[];
463
- provider?: string | string[];
464
- sourceAmount: string | string[];
465
- sourceAmountUnits?: string | string[];
466
- sourceChain: string | string[];
467
- sourceToken: string | string[];
468
- };
469
- };
470
- } | {
471
- output: {
472
- error: {
473
- code: "api_key_forbidden";
474
- details?: readonly Response.error.Detail[] | undefined;
475
- message: string;
476
- };
477
- requestId: string;
478
- };
479
- outputFormat: "json";
480
- status: 403;
481
- input: {
482
- query: {
483
- destinationToken?: string | string[];
484
- provider?: string | string[];
485
- sourceAmount: string | string[];
486
- sourceAmountUnits?: string | string[];
487
- sourceChain: string | string[];
488
- sourceToken: string | string[];
489
- };
490
- };
491
- } | {
492
- output: {
493
- error: {
494
- code: "payment_required" | "rate_limit_exceeded";
495
- details?: readonly Response.error.Detail[] | undefined;
496
- message: string;
497
- };
498
- requestId: string;
499
- };
500
- outputFormat: "json";
501
- status: 429;
502
- input: {
503
- query: {
504
- destinationToken?: string | string[];
505
- provider?: string | string[];
506
- sourceAmount: string | string[];
507
- sourceAmountUnits?: string | string[];
508
- sourceChain: string | string[];
509
- sourceToken: string | string[];
510
- };
511
- };
512
- } | {
513
- output: {
514
- error: {
515
- code: "query_invalid";
516
- details?: readonly Response.error.Detail[] | undefined;
517
- message: string;
518
- };
519
- requestId: string;
520
- };
521
- outputFormat: "json";
522
- status: 400;
523
- input: {
524
- query: {
525
- destinationToken?: string | string[];
526
- provider?: string | string[];
527
- sourceAmount: string | string[];
528
- sourceAmountUnits?: string | string[];
529
- sourceChain: string | string[];
530
- sourceToken: string | string[];
531
- };
532
- };
533
- } | {
534
- output: {
535
- data: {
536
- destinationAmount: {
537
- baseUnits: string;
538
- currency: string;
539
- decimals: number;
540
- formatted: string;
541
- };
542
- destinationAmountMin?: {
543
- baseUnits: string;
544
- currency: string;
545
- decimals: number;
546
- formatted: string;
547
- } | undefined;
548
- destinationChain: {
549
- addressFormat: "base58" | "base58check" | "evm";
550
- id: string;
551
- kind: "evm" | "solana" | "tron";
552
- name: string;
553
- providerIds?: {
554
- [x: string]: string;
555
- } | undefined;
556
- };
557
- destinationToken: {
558
- address: string;
559
- currency: string;
560
- decimals: number;
561
- metadata: {
562
- [x: string]: string;
563
- };
564
- name: string;
565
- standard: string;
566
- symbol: string;
567
- tokenKey: string;
568
- verified: boolean;
569
- };
570
- id: string;
571
- provider: {
572
- id: "across" | "relay" | "rhino" | "squid" | "symbiosis";
573
- kind: string;
574
- name: string;
575
- requiresApiKey: boolean;
576
- };
577
- quality: {
578
- estimatedSeconds?: number | undefined;
579
- liquiditySource: string;
580
- sourceDetail?: string | undefined;
581
- tier: "liquid" | "thin";
582
- };
583
- quote: {
584
- expiresAt?: string | undefined;
585
- sampledAt: string;
586
- };
587
- sourceAmount: {
588
- baseUnits: string;
589
- currency: string;
590
- decimals: number;
591
- formatted: string;
592
- };
593
- sourceChain: {
594
- addressFormat: "base58" | "base58check" | "evm";
595
- id: string;
596
- kind: "evm" | "solana" | "tron";
597
- name: string;
598
- providerIds?: {
599
- [x: string]: string;
600
- } | undefined;
601
- };
602
- sourceToken: {
603
- address: string;
604
- currency: string;
605
- decimals: number;
606
- metadata: {
607
- [x: string]: string;
608
- };
609
- name: string;
610
- standard: string;
611
- symbol: string;
612
- tokenKey: string;
613
- verified: boolean;
614
- };
615
- }[];
616
- };
617
- outputFormat: "json";
618
- status: 200;
619
- input: {
620
- query: {
621
- destinationToken?: string | string[];
622
- provider?: string | string[];
623
- sourceAmount: string | string[];
624
- sourceAmountUnits?: string | string[];
625
- sourceChain: string | string[];
626
- sourceToken: string | string[];
627
- };
628
- };
629
- };
630
- };
631
- } & {
632
- "/v1/funding/chains": {
633
- $get: {
634
- output: null;
635
- outputFormat: "body";
636
- status: 402;
637
- input: {};
638
- } | {
639
- output: {
320
+ /** A durable funding transfer. Reads never include the executable `action`. */
321
+ const Transfer: z.ZodMiniObject<{
322
+ createdAt: z.ZodMiniString<string>;
323
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
324
+ baseUnits: z.ZodMiniString<string>;
325
+ currency: z.ZodMiniString<string>;
326
+ decimals: z.ZodMiniNumber<number>;
327
+ formatted: z.ZodMiniString<string>;
328
+ }, z.core.$strip>>;
329
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
330
+ baseUnits: z.ZodMiniString<string>;
331
+ currency: z.ZodMiniString<string>;
332
+ decimals: z.ZodMiniNumber<number>;
333
+ formatted: z.ZodMiniString<string>;
334
+ }, z.core.$strip>>;
335
+ destinationChain: z.ZodMiniObject<{
336
+ addressFormat: z.ZodMiniEnum<{
337
+ base58: "base58";
338
+ base58check: "base58check";
339
+ hex: "hex";
340
+ }>;
341
+ id: z.ZodMiniString<string>;
342
+ kind: z.ZodMiniEnum<{
343
+ evm: "evm";
344
+ solana: "solana";
345
+ tron: "tron";
346
+ }>;
347
+ name: z.ZodMiniString<string>;
348
+ }, z.core.$strip>;
349
+ destinationToken: z.ZodMiniObject<{
350
+ address: z.ZodMiniString<string>;
351
+ currency: z.ZodMiniString<string>;
352
+ decimals: z.ZodMiniNumber<number>;
353
+ name: z.ZodMiniString<string>;
354
+ standard: z.ZodMiniString<string>;
355
+ symbol: z.ZodMiniString<string>;
356
+ tokenKey: z.ZodMiniString<string>;
357
+ verified: z.ZodMiniBoolean<boolean>;
358
+ }, z.core.$strip>;
359
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
360
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
361
+ amount: z.ZodMiniObject<{
362
+ baseUnits: z.ZodMiniString<string>;
363
+ currency: z.ZodMiniString<string>;
364
+ decimals: z.ZodMiniNumber<number>;
365
+ formatted: z.ZodMiniString<string>;
366
+ }, z.core.$strip>;
367
+ side: z.ZodMiniEnum<{
368
+ destination: "destination";
369
+ source: "source";
370
+ }>;
371
+ token: z.ZodMiniObject<{
372
+ address: z.ZodMiniString<string>;
373
+ currency: z.ZodMiniString<string>;
374
+ decimals: z.ZodMiniNumber<number>;
375
+ name: z.ZodMiniString<string>;
376
+ standard: z.ZodMiniString<string>;
377
+ symbol: z.ZodMiniString<string>;
378
+ tokenKey: z.ZodMiniString<string>;
379
+ verified: z.ZodMiniBoolean<boolean>;
380
+ }, z.core.$strip>;
381
+ type: z.ZodMiniEnum<{
382
+ provider: "provider";
383
+ }>;
384
+ }, z.core.$strip>>;
385
+ id: z.ZodMiniString<string>;
386
+ method: z.ZodMiniEnum<{
387
+ depositAddress: "depositAddress";
388
+ transaction: "transaction";
389
+ }>;
390
+ mode: z.ZodMiniEnum<{
391
+ exactDestination: "exactDestination";
392
+ exactSource: "exactSource";
393
+ }>;
394
+ provider: z.ZodMiniObject<{
395
+ id: z.ZodMiniString<string>;
396
+ name: z.ZodMiniString<string>;
397
+ }, z.core.$strip>;
398
+ quote: z.ZodMiniObject<{
399
+ expiresAt: z.ZodMiniString<string>;
400
+ sampledAt: z.ZodMiniString<string>;
401
+ }, z.core.$strip>;
402
+ recipient: z.ZodMiniString<string>;
403
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
404
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
405
+ baseUnits: z.ZodMiniString<string>;
406
+ currency: z.ZodMiniString<string>;
407
+ decimals: z.ZodMiniNumber<number>;
408
+ formatted: z.ZodMiniString<string>;
409
+ }, z.core.$strip>>;
410
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
411
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
412
+ sourceAmount: z.ZodMiniObject<{
413
+ baseUnits: z.ZodMiniString<string>;
414
+ currency: z.ZodMiniString<string>;
415
+ decimals: z.ZodMiniNumber<number>;
416
+ formatted: z.ZodMiniString<string>;
417
+ }, z.core.$strip>;
418
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
419
+ baseUnits: z.ZodMiniString<string>;
420
+ currency: z.ZodMiniString<string>;
421
+ decimals: z.ZodMiniNumber<number>;
422
+ formatted: z.ZodMiniString<string>;
423
+ }, z.core.$strip>>;
424
+ sourceChain: z.ZodMiniObject<{
425
+ addressFormat: z.ZodMiniEnum<{
426
+ base58: "base58";
427
+ base58check: "base58check";
428
+ hex: "hex";
429
+ }>;
430
+ id: z.ZodMiniString<string>;
431
+ kind: z.ZodMiniEnum<{
432
+ evm: "evm";
433
+ solana: "solana";
434
+ tron: "tron";
435
+ }>;
436
+ name: z.ZodMiniString<string>;
437
+ }, z.core.$strip>;
438
+ sourceToken: z.ZodMiniObject<{
439
+ address: z.ZodMiniString<string>;
440
+ currency: z.ZodMiniString<string>;
441
+ decimals: z.ZodMiniNumber<number>;
442
+ name: z.ZodMiniString<string>;
443
+ standard: z.ZodMiniString<string>;
444
+ symbol: z.ZodMiniString<string>;
445
+ tokenKey: z.ZodMiniString<string>;
446
+ verified: z.ZodMiniBoolean<boolean>;
447
+ }, z.core.$strip>;
448
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
449
+ status: z.ZodMiniEnum<{
450
+ "action-required": "action-required";
451
+ "awaiting-source": "awaiting-source";
452
+ completed: "completed";
453
+ expired: "expired";
454
+ processing: "processing";
455
+ refunded: "refunded";
456
+ refunding: "refunding";
457
+ }>;
458
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
459
+ code: z.ZodMiniEnum<{
460
+ destination_amount_below_minimum: "destination_amount_below_minimum";
461
+ destination_recovered: "destination_recovered";
462
+ manual_recovery_required: "manual_recovery_required";
463
+ refund_failed: "refund_failed";
464
+ source_amount_above_maximum: "source_amount_above_maximum";
465
+ source_amount_below_minimum: "source_amount_below_minimum";
466
+ source_chain_mismatch: "source_chain_mismatch";
467
+ source_token_mismatch: "source_token_mismatch";
468
+ }>;
469
+ message: z.ZodMiniString<string>;
470
+ }, z.core.$strip>>;
471
+ updatedAt: z.ZodMiniString<string>;
472
+ version: z.ZodMiniNumber<number>;
473
+ }, z.core.$strip>;
474
+ /** One reusable funding deposit address. */
475
+ const DepositAddress: z.ZodMiniObject<{
476
+ address: z.ZodMiniString<string>;
477
+ createdAt: z.ZodMiniString<string>;
478
+ destinationChain: z.ZodMiniObject<{
479
+ addressFormat: z.ZodMiniEnum<{
480
+ base58: "base58";
481
+ base58check: "base58check";
482
+ hex: "hex";
483
+ }>;
484
+ id: z.ZodMiniString<string>;
485
+ kind: z.ZodMiniEnum<{
486
+ evm: "evm";
487
+ solana: "solana";
488
+ tron: "tron";
489
+ }>;
490
+ name: z.ZodMiniString<string>;
491
+ }, z.core.$strip>;
492
+ destinationToken: z.ZodMiniObject<{
493
+ address: z.ZodMiniString<string>;
494
+ currency: z.ZodMiniString<string>;
495
+ decimals: z.ZodMiniNumber<number>;
496
+ name: z.ZodMiniString<string>;
497
+ standard: z.ZodMiniString<string>;
498
+ symbol: z.ZodMiniString<string>;
499
+ tokenKey: z.ZodMiniString<string>;
500
+ verified: z.ZodMiniBoolean<boolean>;
501
+ }, z.core.$strip>;
502
+ id: z.ZodMiniString<string>;
503
+ provider: z.ZodMiniObject<{
504
+ id: z.ZodMiniString<string>;
505
+ name: z.ZodMiniString<string>;
506
+ }, z.core.$strip>;
507
+ recipient: z.ZodMiniString<string>;
508
+ refundAddress: z.ZodMiniString<string>;
509
+ sourceChain: z.ZodMiniObject<{
510
+ addressFormat: z.ZodMiniEnum<{
511
+ base58: "base58";
512
+ base58check: "base58check";
513
+ hex: "hex";
514
+ }>;
515
+ id: z.ZodMiniString<string>;
516
+ kind: z.ZodMiniEnum<{
517
+ evm: "evm";
518
+ solana: "solana";
519
+ tron: "tron";
520
+ }>;
521
+ name: z.ZodMiniString<string>;
522
+ }, z.core.$strip>;
523
+ sourceToken: z.ZodMiniObject<{
524
+ address: z.ZodMiniString<string>;
525
+ currency: z.ZodMiniString<string>;
526
+ decimals: z.ZodMiniNumber<number>;
527
+ name: z.ZodMiniString<string>;
528
+ standard: z.ZodMiniString<string>;
529
+ symbol: z.ZodMiniString<string>;
530
+ tokenKey: z.ZodMiniString<string>;
531
+ verified: z.ZodMiniBoolean<boolean>;
532
+ }, z.core.$strip>;
533
+ status: z.ZodMiniEnum<{
534
+ "action-required": "action-required";
535
+ active: "active";
536
+ }>;
537
+ subsidize: z.ZodMiniBoolean<boolean>;
538
+ updatedAt: z.ZodMiniString<string>;
539
+ }, z.core.$strip>;
540
+ /** One detected funding deposit. */
541
+ const Deposit: z.ZodMiniObject<{
542
+ createdAt: z.ZodMiniString<string>;
543
+ depositAddressId: z.ZodMiniString<string>;
544
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
545
+ baseUnits: z.ZodMiniString<string>;
546
+ currency: z.ZodMiniString<string>;
547
+ decimals: z.ZodMiniNumber<number>;
548
+ formatted: z.ZodMiniString<string>;
549
+ }, z.core.$strip>>;
550
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
551
+ baseUnits: z.ZodMiniString<string>;
552
+ currency: z.ZodMiniString<string>;
553
+ decimals: z.ZodMiniNumber<number>;
554
+ formatted: z.ZodMiniString<string>;
555
+ }, z.core.$strip>>;
556
+ destinationChain: z.ZodMiniObject<{
557
+ addressFormat: z.ZodMiniEnum<{
558
+ base58: "base58";
559
+ base58check: "base58check";
560
+ hex: "hex";
561
+ }>;
562
+ id: z.ZodMiniString<string>;
563
+ kind: z.ZodMiniEnum<{
564
+ evm: "evm";
565
+ solana: "solana";
566
+ tron: "tron";
567
+ }>;
568
+ name: z.ZodMiniString<string>;
569
+ }, z.core.$strip>;
570
+ destinationToken: z.ZodMiniObject<{
571
+ address: z.ZodMiniString<string>;
572
+ currency: z.ZodMiniString<string>;
573
+ decimals: z.ZodMiniNumber<number>;
574
+ name: z.ZodMiniString<string>;
575
+ standard: z.ZodMiniString<string>;
576
+ symbol: z.ZodMiniString<string>;
577
+ tokenKey: z.ZodMiniString<string>;
578
+ verified: z.ZodMiniBoolean<boolean>;
579
+ }, z.core.$strip>;
580
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
581
+ id: z.ZodMiniString<string>;
582
+ provider: z.ZodMiniObject<{
583
+ id: z.ZodMiniString<string>;
584
+ name: z.ZodMiniString<string>;
585
+ }, z.core.$strip>;
586
+ recipient: z.ZodMiniString<string>;
587
+ refundAddress: z.ZodMiniString<string>;
588
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
589
+ baseUnits: z.ZodMiniString<string>;
590
+ currency: z.ZodMiniString<string>;
591
+ decimals: z.ZodMiniNumber<number>;
592
+ formatted: z.ZodMiniString<string>;
593
+ }, z.core.$strip>>;
594
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
595
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
596
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
597
+ baseUnits: z.ZodMiniString<string>;
598
+ currency: z.ZodMiniString<string>;
599
+ decimals: z.ZodMiniNumber<number>;
600
+ formatted: z.ZodMiniString<string>;
601
+ }, z.core.$strip>>;
602
+ sourceChain: z.ZodMiniObject<{
603
+ addressFormat: z.ZodMiniEnum<{
604
+ base58: "base58";
605
+ base58check: "base58check";
606
+ hex: "hex";
607
+ }>;
608
+ id: z.ZodMiniString<string>;
609
+ kind: z.ZodMiniEnum<{
610
+ evm: "evm";
611
+ solana: "solana";
612
+ tron: "tron";
613
+ }>;
614
+ name: z.ZodMiniString<string>;
615
+ }, z.core.$strip>;
616
+ sourceToken: z.ZodMiniObject<{
617
+ address: z.ZodMiniString<string>;
618
+ currency: z.ZodMiniString<string>;
619
+ decimals: z.ZodMiniNumber<number>;
620
+ name: z.ZodMiniString<string>;
621
+ standard: z.ZodMiniString<string>;
622
+ symbol: z.ZodMiniString<string>;
623
+ tokenKey: z.ZodMiniString<string>;
624
+ verified: z.ZodMiniBoolean<boolean>;
625
+ }, z.core.$strip>;
626
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
627
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
628
+ status: z.ZodMiniEnum<{
629
+ "action-required": "action-required";
630
+ bridging: "bridging";
631
+ completed: "completed";
632
+ detected: "detected";
633
+ refunded: "refunded";
634
+ refunding: "refunding";
635
+ settling: "settling";
636
+ }>;
637
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
638
+ code: z.ZodMiniEnum<{
639
+ delivery_failed: "delivery_failed";
640
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
641
+ manual_recovery_required: "manual_recovery_required";
642
+ refund_failed: "refund_failed";
643
+ source_amount_not_supported: "source_amount_not_supported";
644
+ source_token_mismatch: "source_token_mismatch";
645
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
646
+ subsidy_failed: "subsidy_failed";
647
+ }>;
648
+ message: z.ZodMiniString<string>;
649
+ }, z.core.$strip>>;
650
+ updatedAt: z.ZodMiniString<string>;
651
+ }, z.core.$strip>;
652
+ /** Schemas for the createFundingDepositAddress operation. */
653
+ namespace createFundingDepositAddress {
654
+ /** Funding deposit address creation request body. */
655
+ const Body: z.ZodMiniObject<{
656
+ amount: z.ZodMiniString<string>;
657
+ destinationToken: z.ZodMiniString<string>;
658
+ recipient: z.ZodMiniString<string>;
659
+ refundAddress: z.ZodMiniString<string>;
660
+ sourceChain: z.ZodMiniString<string>;
661
+ sourceToken: z.ZodMiniString<string>;
662
+ subsidize: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
663
+ }, z.core.$strict>;
664
+ /** Required headers for funding deposit address creation. */
665
+ const Headers: z.ZodMiniObject<{
666
+ 'idempotency-key': z.ZodMiniString<string>;
667
+ }, z.core.$strip>;
668
+ /** The reusable address, with quoted terms only when the provider address was newly stored. */
669
+ const Response: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
670
+ address: z.ZodMiniString<string>;
671
+ createdAt: z.ZodMiniString<string>;
672
+ destinationChain: z.ZodMiniObject<{
673
+ addressFormat: z.ZodMiniEnum<{
674
+ base58: "base58";
675
+ base58check: "base58check";
676
+ hex: "hex";
677
+ }>;
678
+ id: z.ZodMiniString<string>;
679
+ kind: z.ZodMiniEnum<{
680
+ evm: "evm";
681
+ solana: "solana";
682
+ tron: "tron";
683
+ }>;
684
+ name: z.ZodMiniString<string>;
685
+ }, z.core.$strip>;
686
+ destinationToken: z.ZodMiniObject<{
687
+ address: z.ZodMiniString<string>;
688
+ currency: z.ZodMiniString<string>;
689
+ decimals: z.ZodMiniNumber<number>;
690
+ name: z.ZodMiniString<string>;
691
+ standard: z.ZodMiniString<string>;
692
+ symbol: z.ZodMiniString<string>;
693
+ tokenKey: z.ZodMiniString<string>;
694
+ verified: z.ZodMiniBoolean<boolean>;
695
+ }, z.core.$strip>;
696
+ id: z.ZodMiniString<string>;
697
+ provider: z.ZodMiniObject<{
698
+ id: z.ZodMiniString<string>;
699
+ name: z.ZodMiniString<string>;
700
+ }, z.core.$strip>;
701
+ recipient: z.ZodMiniString<string>;
702
+ refundAddress: z.ZodMiniString<string>;
703
+ sourceChain: z.ZodMiniObject<{
704
+ addressFormat: z.ZodMiniEnum<{
705
+ base58: "base58";
706
+ base58check: "base58check";
707
+ hex: "hex";
708
+ }>;
709
+ id: z.ZodMiniString<string>;
710
+ kind: z.ZodMiniEnum<{
711
+ evm: "evm";
712
+ solana: "solana";
713
+ tron: "tron";
714
+ }>;
715
+ name: z.ZodMiniString<string>;
716
+ }, z.core.$strip>;
717
+ sourceToken: z.ZodMiniObject<{
718
+ address: z.ZodMiniString<string>;
719
+ currency: z.ZodMiniString<string>;
720
+ decimals: z.ZodMiniNumber<number>;
721
+ name: z.ZodMiniString<string>;
722
+ standard: z.ZodMiniString<string>;
723
+ symbol: z.ZodMiniString<string>;
724
+ tokenKey: z.ZodMiniString<string>;
725
+ verified: z.ZodMiniBoolean<boolean>;
726
+ }, z.core.$strip>;
727
+ status: z.ZodMiniEnum<{
728
+ "action-required": "action-required";
729
+ active: "active";
730
+ }>;
731
+ subsidize: z.ZodMiniBoolean<boolean>;
732
+ updatedAt: z.ZodMiniString<string>;
733
+ destinationAmount: z.ZodMiniObject<{
734
+ baseUnits: z.ZodMiniString<string>;
735
+ currency: z.ZodMiniString<string>;
736
+ decimals: z.ZodMiniNumber<number>;
737
+ formatted: z.ZodMiniString<string>;
738
+ }, z.core.$strip>;
739
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
740
+ baseUnits: z.ZodMiniString<string>;
741
+ currency: z.ZodMiniString<string>;
742
+ decimals: z.ZodMiniNumber<number>;
743
+ formatted: z.ZodMiniString<string>;
744
+ }, z.core.$strip>>;
745
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
746
+ amount: z.ZodMiniObject<{
747
+ baseUnits: z.ZodMiniString<string>;
748
+ currency: z.ZodMiniString<string>;
749
+ decimals: z.ZodMiniNumber<number>;
750
+ formatted: z.ZodMiniString<string>;
751
+ }, z.core.$strip>;
752
+ side: z.ZodMiniEnum<{
753
+ destination: "destination";
754
+ source: "source";
755
+ }>;
756
+ token: z.ZodMiniObject<{
757
+ address: z.ZodMiniString<string>;
758
+ currency: z.ZodMiniString<string>;
759
+ decimals: z.ZodMiniNumber<number>;
760
+ name: z.ZodMiniString<string>;
761
+ standard: z.ZodMiniString<string>;
762
+ symbol: z.ZodMiniString<string>;
763
+ tokenKey: z.ZodMiniString<string>;
764
+ verified: z.ZodMiniBoolean<boolean>;
765
+ }, z.core.$strip>;
766
+ type: z.ZodMiniEnum<{
767
+ provider: "provider";
768
+ }>;
769
+ }, z.core.$strip>>;
770
+ quote: z.ZodMiniObject<{
771
+ expiresAt: z.ZodMiniOptional<z.ZodMiniISODateTime>;
772
+ sampledAt: z.ZodMiniISODateTime;
773
+ }, z.core.$strip>;
774
+ sourceAmount: z.ZodMiniObject<{
775
+ baseUnits: z.ZodMiniString<string>;
776
+ currency: z.ZodMiniString<string>;
777
+ decimals: z.ZodMiniNumber<number>;
778
+ formatted: z.ZodMiniString<string>;
779
+ }, z.core.$strip>;
780
+ }, z.core.$strip>, z.ZodMiniObject<{
781
+ address: z.ZodMiniString<string>;
782
+ createdAt: z.ZodMiniString<string>;
783
+ destinationChain: z.ZodMiniObject<{
784
+ addressFormat: z.ZodMiniEnum<{
785
+ base58: "base58";
786
+ base58check: "base58check";
787
+ hex: "hex";
788
+ }>;
789
+ id: z.ZodMiniString<string>;
790
+ kind: z.ZodMiniEnum<{
791
+ evm: "evm";
792
+ solana: "solana";
793
+ tron: "tron";
794
+ }>;
795
+ name: z.ZodMiniString<string>;
796
+ }, z.core.$strip>;
797
+ destinationToken: z.ZodMiniObject<{
798
+ address: z.ZodMiniString<string>;
799
+ currency: z.ZodMiniString<string>;
800
+ decimals: z.ZodMiniNumber<number>;
801
+ name: z.ZodMiniString<string>;
802
+ standard: z.ZodMiniString<string>;
803
+ symbol: z.ZodMiniString<string>;
804
+ tokenKey: z.ZodMiniString<string>;
805
+ verified: z.ZodMiniBoolean<boolean>;
806
+ }, z.core.$strip>;
807
+ id: z.ZodMiniString<string>;
808
+ provider: z.ZodMiniObject<{
809
+ id: z.ZodMiniString<string>;
810
+ name: z.ZodMiniString<string>;
811
+ }, z.core.$strip>;
812
+ recipient: z.ZodMiniString<string>;
813
+ refundAddress: z.ZodMiniString<string>;
814
+ sourceChain: z.ZodMiniObject<{
815
+ addressFormat: z.ZodMiniEnum<{
816
+ base58: "base58";
817
+ base58check: "base58check";
818
+ hex: "hex";
819
+ }>;
820
+ id: z.ZodMiniString<string>;
821
+ kind: z.ZodMiniEnum<{
822
+ evm: "evm";
823
+ solana: "solana";
824
+ tron: "tron";
825
+ }>;
826
+ name: z.ZodMiniString<string>;
827
+ }, z.core.$strip>;
828
+ sourceToken: z.ZodMiniObject<{
829
+ address: z.ZodMiniString<string>;
830
+ currency: z.ZodMiniString<string>;
831
+ decimals: z.ZodMiniNumber<number>;
832
+ name: z.ZodMiniString<string>;
833
+ standard: z.ZodMiniString<string>;
834
+ symbol: z.ZodMiniString<string>;
835
+ tokenKey: z.ZodMiniString<string>;
836
+ verified: z.ZodMiniBoolean<boolean>;
837
+ }, z.core.$strip>;
838
+ status: z.ZodMiniEnum<{
839
+ "action-required": "action-required";
840
+ active: "active";
841
+ }>;
842
+ subsidize: z.ZodMiniBoolean<boolean>;
843
+ updatedAt: z.ZodMiniString<string>;
844
+ }, z.core.$strip>]>;
845
+ }
846
+ /** Schemas for the getFundingDepositAddress operation. */
847
+ namespace getFundingDepositAddress {
848
+ /** Path parameters for reading a funding deposit address. */
849
+ const Params: z.ZodMiniObject<{
850
+ id: z.ZodMiniString<string>;
851
+ }, z.core.$strip>;
852
+ /** One reusable funding deposit address. */
853
+ const Response: z.ZodMiniObject<{
854
+ address: z.ZodMiniString<string>;
855
+ createdAt: z.ZodMiniString<string>;
856
+ destinationChain: z.ZodMiniObject<{
857
+ addressFormat: z.ZodMiniEnum<{
858
+ base58: "base58";
859
+ base58check: "base58check";
860
+ hex: "hex";
861
+ }>;
862
+ id: z.ZodMiniString<string>;
863
+ kind: z.ZodMiniEnum<{
864
+ evm: "evm";
865
+ solana: "solana";
866
+ tron: "tron";
867
+ }>;
868
+ name: z.ZodMiniString<string>;
869
+ }, z.core.$strip>;
870
+ destinationToken: z.ZodMiniObject<{
871
+ address: z.ZodMiniString<string>;
872
+ currency: z.ZodMiniString<string>;
873
+ decimals: z.ZodMiniNumber<number>;
874
+ name: z.ZodMiniString<string>;
875
+ standard: z.ZodMiniString<string>;
876
+ symbol: z.ZodMiniString<string>;
877
+ tokenKey: z.ZodMiniString<string>;
878
+ verified: z.ZodMiniBoolean<boolean>;
879
+ }, z.core.$strip>;
880
+ id: z.ZodMiniString<string>;
881
+ provider: z.ZodMiniObject<{
882
+ id: z.ZodMiniString<string>;
883
+ name: z.ZodMiniString<string>;
884
+ }, z.core.$strip>;
885
+ recipient: z.ZodMiniString<string>;
886
+ refundAddress: z.ZodMiniString<string>;
887
+ sourceChain: z.ZodMiniObject<{
888
+ addressFormat: z.ZodMiniEnum<{
889
+ base58: "base58";
890
+ base58check: "base58check";
891
+ hex: "hex";
892
+ }>;
893
+ id: z.ZodMiniString<string>;
894
+ kind: z.ZodMiniEnum<{
895
+ evm: "evm";
896
+ solana: "solana";
897
+ tron: "tron";
898
+ }>;
899
+ name: z.ZodMiniString<string>;
900
+ }, z.core.$strip>;
901
+ sourceToken: z.ZodMiniObject<{
902
+ address: z.ZodMiniString<string>;
903
+ currency: z.ZodMiniString<string>;
904
+ decimals: z.ZodMiniNumber<number>;
905
+ name: z.ZodMiniString<string>;
906
+ standard: z.ZodMiniString<string>;
907
+ symbol: z.ZodMiniString<string>;
908
+ tokenKey: z.ZodMiniString<string>;
909
+ verified: z.ZodMiniBoolean<boolean>;
910
+ }, z.core.$strip>;
911
+ status: z.ZodMiniEnum<{
912
+ "action-required": "action-required";
913
+ active: "active";
914
+ }>;
915
+ subsidize: z.ZodMiniBoolean<boolean>;
916
+ updatedAt: z.ZodMiniString<string>;
917
+ }, z.core.$strip>;
918
+ }
919
+ /** Schemas for the listFundingDepositAddressDeposits operation. */
920
+ namespace listFundingDepositAddressDeposits {
921
+ /** Path parameters for listing one address's deposits. */
922
+ const Params: z.ZodMiniObject<{
923
+ id: z.ZodMiniString<string>;
924
+ }, z.core.$strip>;
925
+ /** Query parameters for listing one address's deposits. */
926
+ const Query: z.ZodMiniObject<{
927
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
928
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
929
+ }, z.core.$strip>;
930
+ /** One page of detected deposits. */
931
+ const Response: z.ZodMiniObject<{
932
+ data: z.ZodMiniArray<z.ZodMiniObject<{
933
+ createdAt: z.ZodMiniString<string>;
934
+ depositAddressId: z.ZodMiniString<string>;
935
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
936
+ baseUnits: z.ZodMiniString<string>;
937
+ currency: z.ZodMiniString<string>;
938
+ decimals: z.ZodMiniNumber<number>;
939
+ formatted: z.ZodMiniString<string>;
940
+ }, z.core.$strip>>;
941
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
942
+ baseUnits: z.ZodMiniString<string>;
943
+ currency: z.ZodMiniString<string>;
944
+ decimals: z.ZodMiniNumber<number>;
945
+ formatted: z.ZodMiniString<string>;
946
+ }, z.core.$strip>>;
947
+ destinationChain: z.ZodMiniObject<{
948
+ addressFormat: z.ZodMiniEnum<{
949
+ base58: "base58";
950
+ base58check: "base58check";
951
+ hex: "hex";
952
+ }>;
953
+ id: z.ZodMiniString<string>;
954
+ kind: z.ZodMiniEnum<{
955
+ evm: "evm";
956
+ solana: "solana";
957
+ tron: "tron";
958
+ }>;
959
+ name: z.ZodMiniString<string>;
960
+ }, z.core.$strip>;
961
+ destinationToken: z.ZodMiniObject<{
962
+ address: z.ZodMiniString<string>;
963
+ currency: z.ZodMiniString<string>;
964
+ decimals: z.ZodMiniNumber<number>;
965
+ name: z.ZodMiniString<string>;
966
+ standard: z.ZodMiniString<string>;
967
+ symbol: z.ZodMiniString<string>;
968
+ tokenKey: z.ZodMiniString<string>;
969
+ verified: z.ZodMiniBoolean<boolean>;
970
+ }, z.core.$strip>;
971
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
972
+ id: z.ZodMiniString<string>;
973
+ provider: z.ZodMiniObject<{
974
+ id: z.ZodMiniString<string>;
975
+ name: z.ZodMiniString<string>;
976
+ }, z.core.$strip>;
977
+ recipient: z.ZodMiniString<string>;
978
+ refundAddress: z.ZodMiniString<string>;
979
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
980
+ baseUnits: z.ZodMiniString<string>;
981
+ currency: z.ZodMiniString<string>;
982
+ decimals: z.ZodMiniNumber<number>;
983
+ formatted: z.ZodMiniString<string>;
984
+ }, z.core.$strip>>;
985
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
986
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
987
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
988
+ baseUnits: z.ZodMiniString<string>;
989
+ currency: z.ZodMiniString<string>;
990
+ decimals: z.ZodMiniNumber<number>;
991
+ formatted: z.ZodMiniString<string>;
992
+ }, z.core.$strip>>;
993
+ sourceChain: z.ZodMiniObject<{
994
+ addressFormat: z.ZodMiniEnum<{
995
+ base58: "base58";
996
+ base58check: "base58check";
997
+ hex: "hex";
998
+ }>;
999
+ id: z.ZodMiniString<string>;
1000
+ kind: z.ZodMiniEnum<{
1001
+ evm: "evm";
1002
+ solana: "solana";
1003
+ tron: "tron";
1004
+ }>;
1005
+ name: z.ZodMiniString<string>;
1006
+ }, z.core.$strip>;
1007
+ sourceToken: z.ZodMiniObject<{
1008
+ address: z.ZodMiniString<string>;
1009
+ currency: z.ZodMiniString<string>;
1010
+ decimals: z.ZodMiniNumber<number>;
1011
+ name: z.ZodMiniString<string>;
1012
+ standard: z.ZodMiniString<string>;
1013
+ symbol: z.ZodMiniString<string>;
1014
+ tokenKey: z.ZodMiniString<string>;
1015
+ verified: z.ZodMiniBoolean<boolean>;
1016
+ }, z.core.$strip>;
1017
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
1018
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1019
+ status: z.ZodMiniEnum<{
1020
+ "action-required": "action-required";
1021
+ bridging: "bridging";
1022
+ completed: "completed";
1023
+ detected: "detected";
1024
+ refunded: "refunded";
1025
+ refunding: "refunding";
1026
+ settling: "settling";
1027
+ }>;
1028
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
1029
+ code: z.ZodMiniEnum<{
1030
+ delivery_failed: "delivery_failed";
1031
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
1032
+ manual_recovery_required: "manual_recovery_required";
1033
+ refund_failed: "refund_failed";
1034
+ source_amount_not_supported: "source_amount_not_supported";
1035
+ source_token_mismatch: "source_token_mismatch";
1036
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
1037
+ subsidy_failed: "subsidy_failed";
1038
+ }>;
1039
+ message: z.ZodMiniString<string>;
1040
+ }, z.core.$strip>>;
1041
+ updatedAt: z.ZodMiniString<string>;
1042
+ }, z.core.$strip>>;
1043
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
1044
+ }, z.core.$strip>;
1045
+ }
1046
+ /** Schemas for the getFundingDeposit operation. */
1047
+ namespace getFundingDeposit {
1048
+ /** Path parameters for reading a funding deposit. */
1049
+ const Params: z.ZodMiniObject<{
1050
+ id: z.ZodMiniString<string>;
1051
+ }, z.core.$strip>;
1052
+ /** One detected funding deposit. */
1053
+ const Response: z.ZodMiniObject<{
1054
+ createdAt: z.ZodMiniString<string>;
1055
+ depositAddressId: z.ZodMiniString<string>;
1056
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1057
+ baseUnits: z.ZodMiniString<string>;
1058
+ currency: z.ZodMiniString<string>;
1059
+ decimals: z.ZodMiniNumber<number>;
1060
+ formatted: z.ZodMiniString<string>;
1061
+ }, z.core.$strip>>;
1062
+ destinationAmountRequired: z.ZodMiniOptional<z.ZodMiniObject<{
1063
+ baseUnits: z.ZodMiniString<string>;
1064
+ currency: z.ZodMiniString<string>;
1065
+ decimals: z.ZodMiniNumber<number>;
1066
+ formatted: z.ZodMiniString<string>;
1067
+ }, z.core.$strip>>;
1068
+ destinationChain: z.ZodMiniObject<{
1069
+ addressFormat: z.ZodMiniEnum<{
1070
+ base58: "base58";
1071
+ base58check: "base58check";
1072
+ hex: "hex";
1073
+ }>;
1074
+ id: z.ZodMiniString<string>;
1075
+ kind: z.ZodMiniEnum<{
1076
+ evm: "evm";
1077
+ solana: "solana";
1078
+ tron: "tron";
1079
+ }>;
1080
+ name: z.ZodMiniString<string>;
1081
+ }, z.core.$strip>;
1082
+ destinationToken: z.ZodMiniObject<{
1083
+ address: z.ZodMiniString<string>;
1084
+ currency: z.ZodMiniString<string>;
1085
+ decimals: z.ZodMiniNumber<number>;
1086
+ name: z.ZodMiniString<string>;
1087
+ standard: z.ZodMiniString<string>;
1088
+ symbol: z.ZodMiniString<string>;
1089
+ tokenKey: z.ZodMiniString<string>;
1090
+ verified: z.ZodMiniBoolean<boolean>;
1091
+ }, z.core.$strip>;
1092
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
1093
+ id: z.ZodMiniString<string>;
1094
+ provider: z.ZodMiniObject<{
1095
+ id: z.ZodMiniString<string>;
1096
+ name: z.ZodMiniString<string>;
1097
+ }, z.core.$strip>;
1098
+ recipient: z.ZodMiniString<string>;
1099
+ refundAddress: z.ZodMiniString<string>;
1100
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1101
+ baseUnits: z.ZodMiniString<string>;
1102
+ currency: z.ZodMiniString<string>;
1103
+ decimals: z.ZodMiniNumber<number>;
1104
+ formatted: z.ZodMiniString<string>;
1105
+ }, z.core.$strip>>;
1106
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
1107
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
1108
+ sourceAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1109
+ baseUnits: z.ZodMiniString<string>;
1110
+ currency: z.ZodMiniString<string>;
1111
+ decimals: z.ZodMiniNumber<number>;
1112
+ formatted: z.ZodMiniString<string>;
1113
+ }, z.core.$strip>>;
1114
+ sourceChain: z.ZodMiniObject<{
1115
+ addressFormat: z.ZodMiniEnum<{
1116
+ base58: "base58";
1117
+ base58check: "base58check";
1118
+ hex: "hex";
1119
+ }>;
1120
+ id: z.ZodMiniString<string>;
1121
+ kind: z.ZodMiniEnum<{
1122
+ evm: "evm";
1123
+ solana: "solana";
1124
+ tron: "tron";
1125
+ }>;
1126
+ name: z.ZodMiniString<string>;
1127
+ }, z.core.$strip>;
1128
+ sourceToken: z.ZodMiniObject<{
1129
+ address: z.ZodMiniString<string>;
1130
+ currency: z.ZodMiniString<string>;
1131
+ decimals: z.ZodMiniNumber<number>;
1132
+ name: z.ZodMiniString<string>;
1133
+ standard: z.ZodMiniString<string>;
1134
+ symbol: z.ZodMiniString<string>;
1135
+ tokenKey: z.ZodMiniString<string>;
1136
+ verified: z.ZodMiniBoolean<boolean>;
1137
+ }, z.core.$strip>;
1138
+ sourceTransactionHashes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>;
1139
+ sourceTransferIndex: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1140
+ status: z.ZodMiniEnum<{
1141
+ "action-required": "action-required";
1142
+ bridging: "bridging";
1143
+ completed: "completed";
1144
+ detected: "detected";
1145
+ refunded: "refunded";
1146
+ refunding: "refunding";
1147
+ settling: "settling";
1148
+ }>;
1149
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
1150
+ code: z.ZodMiniEnum<{
1151
+ delivery_failed: "delivery_failed";
1152
+ delivery_liquidity_unavailable: "delivery_liquidity_unavailable";
1153
+ manual_recovery_required: "manual_recovery_required";
1154
+ refund_failed: "refund_failed";
1155
+ source_amount_not_supported: "source_amount_not_supported";
1156
+ source_token_mismatch: "source_token_mismatch";
1157
+ subsidy_balance_unavailable: "subsidy_balance_unavailable";
1158
+ subsidy_failed: "subsidy_failed";
1159
+ }>;
1160
+ message: z.ZodMiniString<string>;
1161
+ }, z.core.$strip>>;
1162
+ updatedAt: z.ZodMiniString<string>;
1163
+ }, z.core.$strip>;
1164
+ }
1165
+ /** Schemas for the listFundingTransfers operation. */
1166
+ namespace listFundingTransfers {
1167
+ /** Query parameters for listing funding transfers. */
1168
+ const Query: z.ZodMiniObject<{
1169
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
1170
+ include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
1171
+ totalCount: "totalCount";
1172
+ }>>>;
1173
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
1174
+ status: z.ZodMiniOptional<z.ZodMiniEnum<{
1175
+ "action-required": "action-required";
1176
+ "awaiting-source": "awaiting-source";
1177
+ completed: "completed";
1178
+ expired: "expired";
1179
+ processing: "processing";
1180
+ refunded: "refunded";
1181
+ refunding: "refunding";
1182
+ }>>;
1183
+ }, z.core.$strip>;
1184
+ /** Paginated funding transfer list. */
1185
+ const Response: z.ZodMiniObject<{
1186
+ data: z.ZodMiniArray<z.ZodMiniObject<{
1187
+ createdAt: z.ZodMiniString<string>;
1188
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1189
+ baseUnits: z.ZodMiniString<string>;
1190
+ currency: z.ZodMiniString<string>;
1191
+ decimals: z.ZodMiniNumber<number>;
1192
+ formatted: z.ZodMiniString<string>;
1193
+ }, z.core.$strip>>;
1194
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
1195
+ baseUnits: z.ZodMiniString<string>;
1196
+ currency: z.ZodMiniString<string>;
1197
+ decimals: z.ZodMiniNumber<number>;
1198
+ formatted: z.ZodMiniString<string>;
1199
+ }, z.core.$strip>>;
1200
+ destinationChain: z.ZodMiniObject<{
1201
+ addressFormat: z.ZodMiniEnum<{
1202
+ base58: "base58";
1203
+ base58check: "base58check";
1204
+ hex: "hex";
1205
+ }>;
1206
+ id: z.ZodMiniString<string>;
1207
+ kind: z.ZodMiniEnum<{
1208
+ evm: "evm";
1209
+ solana: "solana";
1210
+ tron: "tron";
1211
+ }>;
1212
+ name: z.ZodMiniString<string>;
1213
+ }, z.core.$strip>;
1214
+ destinationToken: z.ZodMiniObject<{
1215
+ address: z.ZodMiniString<string>;
1216
+ currency: z.ZodMiniString<string>;
1217
+ decimals: z.ZodMiniNumber<number>;
1218
+ name: z.ZodMiniString<string>;
1219
+ standard: z.ZodMiniString<string>;
1220
+ symbol: z.ZodMiniString<string>;
1221
+ tokenKey: z.ZodMiniString<string>;
1222
+ verified: z.ZodMiniBoolean<boolean>;
1223
+ }, z.core.$strip>;
1224
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1225
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
1226
+ amount: z.ZodMiniObject<{
1227
+ baseUnits: z.ZodMiniString<string>;
1228
+ currency: z.ZodMiniString<string>;
1229
+ decimals: z.ZodMiniNumber<number>;
1230
+ formatted: z.ZodMiniString<string>;
1231
+ }, z.core.$strip>;
1232
+ side: z.ZodMiniEnum<{
1233
+ destination: "destination";
1234
+ source: "source";
1235
+ }>;
1236
+ token: z.ZodMiniObject<{
1237
+ address: z.ZodMiniString<string>;
1238
+ currency: z.ZodMiniString<string>;
1239
+ decimals: z.ZodMiniNumber<number>;
1240
+ name: z.ZodMiniString<string>;
1241
+ standard: z.ZodMiniString<string>;
1242
+ symbol: z.ZodMiniString<string>;
1243
+ tokenKey: z.ZodMiniString<string>;
1244
+ verified: z.ZodMiniBoolean<boolean>;
1245
+ }, z.core.$strip>;
1246
+ type: z.ZodMiniEnum<{
1247
+ provider: "provider";
1248
+ }>;
1249
+ }, z.core.$strip>>;
1250
+ id: z.ZodMiniString<string>;
1251
+ method: z.ZodMiniEnum<{
1252
+ depositAddress: "depositAddress";
1253
+ transaction: "transaction";
1254
+ }>;
1255
+ mode: z.ZodMiniEnum<{
1256
+ exactDestination: "exactDestination";
1257
+ exactSource: "exactSource";
1258
+ }>;
1259
+ provider: z.ZodMiniObject<{
1260
+ id: z.ZodMiniString<string>;
1261
+ name: z.ZodMiniString<string>;
1262
+ }, z.core.$strip>;
1263
+ quote: z.ZodMiniObject<{
1264
+ expiresAt: z.ZodMiniString<string>;
1265
+ sampledAt: z.ZodMiniString<string>;
1266
+ }, z.core.$strip>;
1267
+ recipient: z.ZodMiniString<string>;
1268
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
1269
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1270
+ baseUnits: z.ZodMiniString<string>;
1271
+ currency: z.ZodMiniString<string>;
1272
+ decimals: z.ZodMiniNumber<number>;
1273
+ formatted: z.ZodMiniString<string>;
1274
+ }, z.core.$strip>>;
1275
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1276
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
1277
+ sourceAmount: z.ZodMiniObject<{
1278
+ baseUnits: z.ZodMiniString<string>;
1279
+ currency: z.ZodMiniString<string>;
1280
+ decimals: z.ZodMiniNumber<number>;
1281
+ formatted: z.ZodMiniString<string>;
1282
+ }, z.core.$strip>;
1283
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
1284
+ baseUnits: z.ZodMiniString<string>;
1285
+ currency: z.ZodMiniString<string>;
1286
+ decimals: z.ZodMiniNumber<number>;
1287
+ formatted: z.ZodMiniString<string>;
1288
+ }, z.core.$strip>>;
1289
+ sourceChain: z.ZodMiniObject<{
1290
+ addressFormat: z.ZodMiniEnum<{
1291
+ base58: "base58";
1292
+ base58check: "base58check";
1293
+ hex: "hex";
1294
+ }>;
1295
+ id: z.ZodMiniString<string>;
1296
+ kind: z.ZodMiniEnum<{
1297
+ evm: "evm";
1298
+ solana: "solana";
1299
+ tron: "tron";
1300
+ }>;
1301
+ name: z.ZodMiniString<string>;
1302
+ }, z.core.$strip>;
1303
+ sourceToken: z.ZodMiniObject<{
1304
+ address: z.ZodMiniString<string>;
1305
+ currency: z.ZodMiniString<string>;
1306
+ decimals: z.ZodMiniNumber<number>;
1307
+ name: z.ZodMiniString<string>;
1308
+ standard: z.ZodMiniString<string>;
1309
+ symbol: z.ZodMiniString<string>;
1310
+ tokenKey: z.ZodMiniString<string>;
1311
+ verified: z.ZodMiniBoolean<boolean>;
1312
+ }, z.core.$strip>;
1313
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1314
+ status: z.ZodMiniEnum<{
1315
+ "action-required": "action-required";
1316
+ "awaiting-source": "awaiting-source";
1317
+ completed: "completed";
1318
+ expired: "expired";
1319
+ processing: "processing";
1320
+ refunded: "refunded";
1321
+ refunding: "refunding";
1322
+ }>;
1323
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
1324
+ code: z.ZodMiniEnum<{
1325
+ destination_amount_below_minimum: "destination_amount_below_minimum";
1326
+ destination_recovered: "destination_recovered";
1327
+ manual_recovery_required: "manual_recovery_required";
1328
+ refund_failed: "refund_failed";
1329
+ source_amount_above_maximum: "source_amount_above_maximum";
1330
+ source_amount_below_minimum: "source_amount_below_minimum";
1331
+ source_chain_mismatch: "source_chain_mismatch";
1332
+ source_token_mismatch: "source_token_mismatch";
1333
+ }>;
1334
+ message: z.ZodMiniString<string>;
1335
+ }, z.core.$strip>>;
1336
+ updatedAt: z.ZodMiniString<string>;
1337
+ version: z.ZodMiniNumber<number>;
1338
+ }, z.core.$strip>>;
1339
+ meta: z.ZodMiniOptional<z.ZodMiniObject<{
1340
+ totalCountCapped: z.ZodMiniBoolean<boolean>;
1341
+ totalCount: z.ZodMiniNumber<number>;
1342
+ }, z.core.$strip>>;
1343
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
1344
+ }, z.core.$strip>;
1345
+ }
1346
+ /** Schemas for the createFundingTransfer operation. */
1347
+ namespace createFundingTransfer {
1348
+ /** Funding transfer creation request body. */
1349
+ const Body: z.ZodMiniObject<{
1350
+ amount: z.ZodMiniString<string>;
1351
+ destinationToken: z.ZodMiniString<string>;
1352
+ mode: z.ZodMiniEnum<{
1353
+ exactDestination: "exactDestination";
1354
+ exactSource: "exactSource";
1355
+ }>;
1356
+ recipient: z.ZodMiniString<string>;
1357
+ sender: z.ZodMiniString<string>;
1358
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1359
+ sourceChain: z.ZodMiniString<string>;
1360
+ sourceToken: z.ZodMiniString<string>;
1361
+ }, z.core.$strict>;
1362
+ /** Required headers for funding transfer creation. */
1363
+ const Headers: z.ZodMiniObject<{
1364
+ 'idempotency-key': z.ZodMiniString<string>;
1365
+ }, z.core.$strip>;
1366
+ /** The created transfer with its one-time executable action. */
1367
+ const Response: z.ZodMiniObject<{
1368
+ createdAt: z.ZodMiniString<string>;
1369
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1370
+ baseUnits: z.ZodMiniString<string>;
1371
+ currency: z.ZodMiniString<string>;
1372
+ decimals: z.ZodMiniNumber<number>;
1373
+ formatted: z.ZodMiniString<string>;
1374
+ }, z.core.$strip>>;
1375
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
1376
+ baseUnits: z.ZodMiniString<string>;
1377
+ currency: z.ZodMiniString<string>;
1378
+ decimals: z.ZodMiniNumber<number>;
1379
+ formatted: z.ZodMiniString<string>;
1380
+ }, z.core.$strip>>;
1381
+ destinationChain: z.ZodMiniObject<{
1382
+ addressFormat: z.ZodMiniEnum<{
1383
+ base58: "base58";
1384
+ base58check: "base58check";
1385
+ hex: "hex";
1386
+ }>;
1387
+ id: z.ZodMiniString<string>;
1388
+ kind: z.ZodMiniEnum<{
1389
+ evm: "evm";
1390
+ solana: "solana";
1391
+ tron: "tron";
1392
+ }>;
1393
+ name: z.ZodMiniString<string>;
1394
+ }, z.core.$strip>;
1395
+ destinationToken: z.ZodMiniObject<{
1396
+ address: z.ZodMiniString<string>;
1397
+ currency: z.ZodMiniString<string>;
1398
+ decimals: z.ZodMiniNumber<number>;
1399
+ name: z.ZodMiniString<string>;
1400
+ standard: z.ZodMiniString<string>;
1401
+ symbol: z.ZodMiniString<string>;
1402
+ tokenKey: z.ZodMiniString<string>;
1403
+ verified: z.ZodMiniBoolean<boolean>;
1404
+ }, z.core.$strip>;
1405
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1406
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
1407
+ amount: z.ZodMiniObject<{
1408
+ baseUnits: z.ZodMiniString<string>;
1409
+ currency: z.ZodMiniString<string>;
1410
+ decimals: z.ZodMiniNumber<number>;
1411
+ formatted: z.ZodMiniString<string>;
1412
+ }, z.core.$strip>;
1413
+ side: z.ZodMiniEnum<{
1414
+ destination: "destination";
1415
+ source: "source";
1416
+ }>;
1417
+ token: z.ZodMiniObject<{
1418
+ address: z.ZodMiniString<string>;
1419
+ currency: z.ZodMiniString<string>;
1420
+ decimals: z.ZodMiniNumber<number>;
1421
+ name: z.ZodMiniString<string>;
1422
+ standard: z.ZodMiniString<string>;
1423
+ symbol: z.ZodMiniString<string>;
1424
+ tokenKey: z.ZodMiniString<string>;
1425
+ verified: z.ZodMiniBoolean<boolean>;
1426
+ }, z.core.$strip>;
1427
+ type: z.ZodMiniEnum<{
1428
+ provider: "provider";
1429
+ }>;
1430
+ }, z.core.$strip>>;
1431
+ id: z.ZodMiniString<string>;
1432
+ method: z.ZodMiniEnum<{
1433
+ depositAddress: "depositAddress";
1434
+ transaction: "transaction";
1435
+ }>;
1436
+ mode: z.ZodMiniEnum<{
1437
+ exactDestination: "exactDestination";
1438
+ exactSource: "exactSource";
1439
+ }>;
1440
+ provider: z.ZodMiniObject<{
1441
+ id: z.ZodMiniString<string>;
1442
+ name: z.ZodMiniString<string>;
1443
+ }, z.core.$strip>;
1444
+ quote: z.ZodMiniObject<{
1445
+ expiresAt: z.ZodMiniString<string>;
1446
+ sampledAt: z.ZodMiniString<string>;
1447
+ }, z.core.$strip>;
1448
+ recipient: z.ZodMiniString<string>;
1449
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
1450
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1451
+ baseUnits: z.ZodMiniString<string>;
1452
+ currency: z.ZodMiniString<string>;
1453
+ decimals: z.ZodMiniNumber<number>;
1454
+ formatted: z.ZodMiniString<string>;
1455
+ }, z.core.$strip>>;
1456
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1457
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
1458
+ sourceAmount: z.ZodMiniObject<{
1459
+ baseUnits: z.ZodMiniString<string>;
1460
+ currency: z.ZodMiniString<string>;
1461
+ decimals: z.ZodMiniNumber<number>;
1462
+ formatted: z.ZodMiniString<string>;
1463
+ }, z.core.$strip>;
1464
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
1465
+ baseUnits: z.ZodMiniString<string>;
1466
+ currency: z.ZodMiniString<string>;
1467
+ decimals: z.ZodMiniNumber<number>;
1468
+ formatted: z.ZodMiniString<string>;
1469
+ }, z.core.$strip>>;
1470
+ sourceChain: z.ZodMiniObject<{
1471
+ addressFormat: z.ZodMiniEnum<{
1472
+ base58: "base58";
1473
+ base58check: "base58check";
1474
+ hex: "hex";
1475
+ }>;
1476
+ id: z.ZodMiniString<string>;
1477
+ kind: z.ZodMiniEnum<{
1478
+ evm: "evm";
1479
+ solana: "solana";
1480
+ tron: "tron";
1481
+ }>;
1482
+ name: z.ZodMiniString<string>;
1483
+ }, z.core.$strip>;
1484
+ sourceToken: z.ZodMiniObject<{
1485
+ address: z.ZodMiniString<string>;
1486
+ currency: z.ZodMiniString<string>;
1487
+ decimals: z.ZodMiniNumber<number>;
1488
+ name: z.ZodMiniString<string>;
1489
+ standard: z.ZodMiniString<string>;
1490
+ symbol: z.ZodMiniString<string>;
1491
+ tokenKey: z.ZodMiniString<string>;
1492
+ verified: z.ZodMiniBoolean<boolean>;
1493
+ }, z.core.$strip>;
1494
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1495
+ status: z.ZodMiniEnum<{
1496
+ "action-required": "action-required";
1497
+ "awaiting-source": "awaiting-source";
1498
+ completed: "completed";
1499
+ expired: "expired";
1500
+ processing: "processing";
1501
+ refunded: "refunded";
1502
+ refunding: "refunding";
1503
+ }>;
1504
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
1505
+ code: z.ZodMiniEnum<{
1506
+ destination_amount_below_minimum: "destination_amount_below_minimum";
1507
+ destination_recovered: "destination_recovered";
1508
+ manual_recovery_required: "manual_recovery_required";
1509
+ refund_failed: "refund_failed";
1510
+ source_amount_above_maximum: "source_amount_above_maximum";
1511
+ source_amount_below_minimum: "source_amount_below_minimum";
1512
+ source_chain_mismatch: "source_chain_mismatch";
1513
+ source_token_mismatch: "source_token_mismatch";
1514
+ }>;
1515
+ message: z.ZodMiniString<string>;
1516
+ }, z.core.$strip>>;
1517
+ updatedAt: z.ZodMiniString<string>;
1518
+ version: z.ZodMiniNumber<number>;
1519
+ action: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
1520
+ calls: z.ZodMiniArray<z.ZodMiniObject<{
1521
+ data: z.ZodMiniString<string>;
1522
+ to: z.ZodMiniString<string>;
1523
+ value: z.ZodMiniString<string>;
1524
+ }, z.core.$strip>>;
1525
+ type: z.ZodMiniLiteral<"evm:calls">;
1526
+ }, z.core.$strip>], "type">;
1527
+ }, z.core.$strip>;
1528
+ }
1529
+ /** Schemas for the createFundingTransferVault operation. */
1530
+ namespace createFundingTransferVault {
1531
+ /** Funding transfer creation request for an Earn vault destination. */
1532
+ const Body: z.ZodMiniObject<{
1533
+ amount: z.ZodMiniString<string>;
1534
+ mode: z.ZodMiniEnum<{
1535
+ exactDestination: "exactDestination";
1536
+ exactSource: "exactSource";
1537
+ }>;
1538
+ recipient: z.ZodMiniString<string>;
1539
+ sender: z.ZodMiniString<string>;
1540
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1541
+ sourceChain: z.ZodMiniString<string>;
1542
+ sourceToken: z.ZodMiniString<string>;
1543
+ vaultAddress: z.ZodMiniString<string>;
1544
+ }, z.core.$strict>;
1545
+ /** Required headers for vault funding transfer creation. */
1546
+ const Headers: z.ZodMiniObject<{
1547
+ 'idempotency-key': z.ZodMiniString<string>;
1548
+ }, z.core.$strip>;
1549
+ }
1550
+ /** Schemas for the createFundingTransferZone operation. */
1551
+ namespace createFundingTransferZone {
1552
+ /** Funding transfer creation request for a Zone destination. */
1553
+ const Body: z.ZodMiniObject<{
1554
+ amount: z.ZodMiniString<string>;
1555
+ destinationChain: z.ZodMiniString<string>;
1556
+ destinationToken: z.ZodMiniString<string>;
1557
+ mode: z.ZodMiniEnum<{
1558
+ exactDestination: "exactDestination";
1559
+ exactSource: "exactSource";
1560
+ }>;
1561
+ recipient: z.ZodMiniString<string>;
1562
+ recipientFallback: z.ZodMiniString<string>;
1563
+ sender: z.ZodMiniString<string>;
1564
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1565
+ sourceChain: z.ZodMiniString<string>;
1566
+ sourceToken: z.ZodMiniString<string>;
1567
+ }, z.core.$strict>;
1568
+ /** Required headers for Zone funding transfer creation. */
1569
+ const Headers: z.ZodMiniObject<{
1570
+ 'idempotency-key': z.ZodMiniString<string>;
1571
+ }, z.core.$strip>;
1572
+ }
1573
+ /** Schemas for the getFundingTransfer operation. */
1574
+ namespace getFundingTransfer {
1575
+ /** Path parameters for a funding transfer read. */
1576
+ const Params: z.ZodMiniObject<{
1577
+ id: z.ZodMiniString<string>;
1578
+ }, z.core.$strip>;
1579
+ /** The funding transfer resource, returned directly. */
1580
+ const Response: z.ZodMiniObject<{
1581
+ createdAt: z.ZodMiniString<string>;
1582
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1583
+ baseUnits: z.ZodMiniString<string>;
1584
+ currency: z.ZodMiniString<string>;
1585
+ decimals: z.ZodMiniNumber<number>;
1586
+ formatted: z.ZodMiniString<string>;
1587
+ }, z.core.$strip>>;
1588
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
1589
+ baseUnits: z.ZodMiniString<string>;
1590
+ currency: z.ZodMiniString<string>;
1591
+ decimals: z.ZodMiniNumber<number>;
1592
+ formatted: z.ZodMiniString<string>;
1593
+ }, z.core.$strip>>;
1594
+ destinationChain: z.ZodMiniObject<{
1595
+ addressFormat: z.ZodMiniEnum<{
1596
+ base58: "base58";
1597
+ base58check: "base58check";
1598
+ hex: "hex";
1599
+ }>;
1600
+ id: z.ZodMiniString<string>;
1601
+ kind: z.ZodMiniEnum<{
1602
+ evm: "evm";
1603
+ solana: "solana";
1604
+ tron: "tron";
1605
+ }>;
1606
+ name: z.ZodMiniString<string>;
1607
+ }, z.core.$strip>;
1608
+ destinationToken: z.ZodMiniObject<{
1609
+ address: z.ZodMiniString<string>;
1610
+ currency: z.ZodMiniString<string>;
1611
+ decimals: z.ZodMiniNumber<number>;
1612
+ name: z.ZodMiniString<string>;
1613
+ standard: z.ZodMiniString<string>;
1614
+ symbol: z.ZodMiniString<string>;
1615
+ tokenKey: z.ZodMiniString<string>;
1616
+ verified: z.ZodMiniBoolean<boolean>;
1617
+ }, z.core.$strip>;
1618
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1619
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
1620
+ amount: z.ZodMiniObject<{
1621
+ baseUnits: z.ZodMiniString<string>;
1622
+ currency: z.ZodMiniString<string>;
1623
+ decimals: z.ZodMiniNumber<number>;
1624
+ formatted: z.ZodMiniString<string>;
1625
+ }, z.core.$strip>;
1626
+ side: z.ZodMiniEnum<{
1627
+ destination: "destination";
1628
+ source: "source";
1629
+ }>;
1630
+ token: z.ZodMiniObject<{
1631
+ address: z.ZodMiniString<string>;
1632
+ currency: z.ZodMiniString<string>;
1633
+ decimals: z.ZodMiniNumber<number>;
1634
+ name: z.ZodMiniString<string>;
1635
+ standard: z.ZodMiniString<string>;
1636
+ symbol: z.ZodMiniString<string>;
1637
+ tokenKey: z.ZodMiniString<string>;
1638
+ verified: z.ZodMiniBoolean<boolean>;
1639
+ }, z.core.$strip>;
1640
+ type: z.ZodMiniEnum<{
1641
+ provider: "provider";
1642
+ }>;
1643
+ }, z.core.$strip>>;
1644
+ id: z.ZodMiniString<string>;
1645
+ method: z.ZodMiniEnum<{
1646
+ depositAddress: "depositAddress";
1647
+ transaction: "transaction";
1648
+ }>;
1649
+ mode: z.ZodMiniEnum<{
1650
+ exactDestination: "exactDestination";
1651
+ exactSource: "exactSource";
1652
+ }>;
1653
+ provider: z.ZodMiniObject<{
1654
+ id: z.ZodMiniString<string>;
1655
+ name: z.ZodMiniString<string>;
1656
+ }, z.core.$strip>;
1657
+ quote: z.ZodMiniObject<{
1658
+ expiresAt: z.ZodMiniString<string>;
1659
+ sampledAt: z.ZodMiniString<string>;
1660
+ }, z.core.$strip>;
1661
+ recipient: z.ZodMiniString<string>;
1662
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
1663
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
1664
+ baseUnits: z.ZodMiniString<string>;
1665
+ currency: z.ZodMiniString<string>;
1666
+ decimals: z.ZodMiniNumber<number>;
1667
+ formatted: z.ZodMiniString<string>;
1668
+ }, z.core.$strip>>;
1669
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1670
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
1671
+ sourceAmount: z.ZodMiniObject<{
1672
+ baseUnits: z.ZodMiniString<string>;
1673
+ currency: z.ZodMiniString<string>;
1674
+ decimals: z.ZodMiniNumber<number>;
1675
+ formatted: z.ZodMiniString<string>;
1676
+ }, z.core.$strip>;
1677
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
1678
+ baseUnits: z.ZodMiniString<string>;
1679
+ currency: z.ZodMiniString<string>;
1680
+ decimals: z.ZodMiniNumber<number>;
1681
+ formatted: z.ZodMiniString<string>;
1682
+ }, z.core.$strip>>;
1683
+ sourceChain: z.ZodMiniObject<{
1684
+ addressFormat: z.ZodMiniEnum<{
1685
+ base58: "base58";
1686
+ base58check: "base58check";
1687
+ hex: "hex";
1688
+ }>;
1689
+ id: z.ZodMiniString<string>;
1690
+ kind: z.ZodMiniEnum<{
1691
+ evm: "evm";
1692
+ solana: "solana";
1693
+ tron: "tron";
1694
+ }>;
1695
+ name: z.ZodMiniString<string>;
1696
+ }, z.core.$strip>;
1697
+ sourceToken: z.ZodMiniObject<{
1698
+ address: z.ZodMiniString<string>;
1699
+ currency: z.ZodMiniString<string>;
1700
+ decimals: z.ZodMiniNumber<number>;
1701
+ name: z.ZodMiniString<string>;
1702
+ standard: z.ZodMiniString<string>;
1703
+ symbol: z.ZodMiniString<string>;
1704
+ tokenKey: z.ZodMiniString<string>;
1705
+ verified: z.ZodMiniBoolean<boolean>;
1706
+ }, z.core.$strip>;
1707
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
1708
+ status: z.ZodMiniEnum<{
1709
+ "action-required": "action-required";
1710
+ "awaiting-source": "awaiting-source";
1711
+ completed: "completed";
1712
+ expired: "expired";
1713
+ processing: "processing";
1714
+ refunded: "refunded";
1715
+ refunding: "refunding";
1716
+ }>;
1717
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
1718
+ code: z.ZodMiniEnum<{
1719
+ destination_amount_below_minimum: "destination_amount_below_minimum";
1720
+ destination_recovered: "destination_recovered";
1721
+ manual_recovery_required: "manual_recovery_required";
1722
+ refund_failed: "refund_failed";
1723
+ source_amount_above_maximum: "source_amount_above_maximum";
1724
+ source_amount_below_minimum: "source_amount_below_minimum";
1725
+ source_chain_mismatch: "source_chain_mismatch";
1726
+ source_token_mismatch: "source_token_mismatch";
1727
+ }>;
1728
+ message: z.ZodMiniString<string>;
1729
+ }, z.core.$strip>>;
1730
+ updatedAt: z.ZodMiniString<string>;
1731
+ version: z.ZodMiniNumber<number>;
1732
+ }, z.core.$strip>;
1733
+ }
1734
+ }
1735
+ /** Mounts live funding quotes and their supporting inventory endpoints. */
1736
+ export declare function funding(): import("hono/hono-base").HonoBase<App.Environment, {
1737
+ "/webhooks/funding/:providerId": {
1738
+ $post: {
1739
+ output: null;
1740
+ outputFormat: "body";
1741
+ status: 204;
1742
+ input: {
1743
+ param: {
1744
+ providerId: string;
1745
+ };
1746
+ };
1747
+ } | {
1748
+ output: null;
1749
+ outputFormat: "body";
1750
+ status: 400;
1751
+ input: {
1752
+ param: {
1753
+ providerId: string;
1754
+ };
1755
+ };
1756
+ } | {
1757
+ output: null;
1758
+ outputFormat: "body";
1759
+ status: 401;
1760
+ input: {
1761
+ param: {
1762
+ providerId: string;
1763
+ };
1764
+ };
1765
+ } | {
1766
+ output: null;
1767
+ outputFormat: "body";
1768
+ status: 404;
1769
+ input: {
1770
+ param: {
1771
+ providerId: string;
1772
+ };
1773
+ };
1774
+ };
1775
+ };
1776
+ } & {
1777
+ "/v1/funding/quotes": {
1778
+ $get: {
1779
+ output: null;
1780
+ outputFormat: "body";
1781
+ status: 402;
1782
+ input: {
1783
+ query: {
1784
+ destinationToken?: string | string[];
1785
+ provider?: string | string[];
1786
+ sourceAmount: string | string[];
1787
+ sourceAmountUnits?: string | string[];
1788
+ sourceChain: string | string[];
1789
+ sourceToken: string | string[];
1790
+ };
1791
+ };
1792
+ } | {
1793
+ output: {
1794
+ error: {
1795
+ code: "upstream_error";
1796
+ details?: readonly Response.error.Detail[] | undefined;
1797
+ message: string;
1798
+ };
1799
+ requestId: string;
1800
+ };
1801
+ outputFormat: "json";
1802
+ status: 502;
1803
+ input: {
1804
+ query: {
1805
+ destinationToken?: string | string[];
1806
+ provider?: string | string[];
1807
+ sourceAmount: string | string[];
1808
+ sourceAmountUnits?: string | string[];
1809
+ sourceChain: string | string[];
1810
+ sourceToken: string | string[];
1811
+ };
1812
+ };
1813
+ } | {
1814
+ output: {
1815
+ error: {
1816
+ code: "api_key_malformed";
1817
+ details?: readonly Response.error.Detail[] | undefined;
1818
+ message: string;
1819
+ };
1820
+ requestId: string;
1821
+ };
1822
+ outputFormat: "json";
1823
+ status: 400;
1824
+ input: {
1825
+ query: {
1826
+ destinationToken?: string | string[];
1827
+ provider?: string | string[];
1828
+ sourceAmount: string | string[];
1829
+ sourceAmountUnits?: string | string[];
1830
+ sourceChain: string | string[];
1831
+ sourceToken: string | string[];
1832
+ };
1833
+ };
1834
+ } | {
1835
+ output: {
1836
+ error: {
1837
+ code: "api_key_invalid" | "api_key_missing";
1838
+ details?: readonly Response.error.Detail[] | undefined;
1839
+ message: string;
1840
+ };
1841
+ requestId: string;
1842
+ };
1843
+ outputFormat: "json";
1844
+ status: 401;
1845
+ input: {
1846
+ query: {
1847
+ destinationToken?: string | string[];
1848
+ provider?: string | string[];
1849
+ sourceAmount: string | string[];
1850
+ sourceAmountUnits?: string | string[];
1851
+ sourceChain: string | string[];
1852
+ sourceToken: string | string[];
1853
+ };
1854
+ };
1855
+ } | {
1856
+ output: {
1857
+ error: {
1858
+ code: "api_key_forbidden";
1859
+ details?: readonly Response.error.Detail[] | undefined;
1860
+ message: string;
1861
+ };
1862
+ requestId: string;
1863
+ };
1864
+ outputFormat: "json";
1865
+ status: 403;
1866
+ input: {
1867
+ query: {
1868
+ destinationToken?: string | string[];
1869
+ provider?: string | string[];
1870
+ sourceAmount: string | string[];
1871
+ sourceAmountUnits?: string | string[];
1872
+ sourceChain: string | string[];
1873
+ sourceToken: string | string[];
1874
+ };
1875
+ };
1876
+ } | {
1877
+ output: {
1878
+ error: {
1879
+ code: "payment_required" | "rate_limit_exceeded";
1880
+ details?: readonly Response.error.Detail[] | undefined;
1881
+ message: string;
1882
+ };
1883
+ requestId: string;
1884
+ };
1885
+ outputFormat: "json";
1886
+ status: 429;
1887
+ input: {
1888
+ query: {
1889
+ destinationToken?: string | string[];
1890
+ provider?: string | string[];
1891
+ sourceAmount: string | string[];
1892
+ sourceAmountUnits?: string | string[];
1893
+ sourceChain: string | string[];
1894
+ sourceToken: string | string[];
1895
+ };
1896
+ };
1897
+ } | {
1898
+ output: {
1899
+ error: {
1900
+ code: "query_invalid";
1901
+ details?: readonly Response.error.Detail[] | undefined;
1902
+ message: string;
1903
+ };
1904
+ requestId: string;
1905
+ };
1906
+ outputFormat: "json";
1907
+ status: 400;
1908
+ input: {
1909
+ query: {
1910
+ destinationToken?: string | string[];
1911
+ provider?: string | string[];
1912
+ sourceAmount: string | string[];
1913
+ sourceAmountUnits?: string | string[];
1914
+ sourceChain: string | string[];
1915
+ sourceToken: string | string[];
1916
+ };
1917
+ };
1918
+ } | {
1919
+ output: {
1920
+ data: {
1921
+ destinationAmount: {
1922
+ baseUnits: string;
1923
+ currency: string;
1924
+ decimals: number;
1925
+ formatted: string;
1926
+ };
1927
+ destinationAmountMin?: {
1928
+ baseUnits: string;
1929
+ currency: string;
1930
+ decimals: number;
1931
+ formatted: string;
1932
+ } | undefined;
1933
+ destinationChain: {
1934
+ addressFormat: "base58" | "base58check" | "hex";
1935
+ id: string;
1936
+ kind: "evm" | "solana" | "tron";
1937
+ name: string;
1938
+ };
1939
+ destinationToken: {
1940
+ address: string;
1941
+ currency: string;
1942
+ decimals: number;
1943
+ name: string;
1944
+ standard: string;
1945
+ symbol: string;
1946
+ tokenKey: string;
1947
+ verified: boolean;
1948
+ };
1949
+ id: string;
1950
+ provider: {
1951
+ id: string;
1952
+ name: string;
1953
+ };
1954
+ quality: {
1955
+ estimatedSeconds?: number | undefined;
1956
+ liquiditySource: string;
1957
+ sourceDetail?: string | undefined;
1958
+ tier: "liquid" | "thin";
1959
+ };
1960
+ quote: {
1961
+ expiresAt?: string | undefined;
1962
+ sampledAt: string;
1963
+ };
1964
+ sourceAmount: {
1965
+ baseUnits: string;
1966
+ currency: string;
1967
+ decimals: number;
1968
+ formatted: string;
1969
+ };
1970
+ sourceChain: {
1971
+ addressFormat: "base58" | "base58check" | "hex";
1972
+ id: string;
1973
+ kind: "evm" | "solana" | "tron";
1974
+ name: string;
1975
+ };
1976
+ sourceToken: {
1977
+ address: string;
1978
+ currency: string;
1979
+ decimals: number;
1980
+ name: string;
1981
+ standard: string;
1982
+ symbol: string;
1983
+ tokenKey: string;
1984
+ verified: boolean;
1985
+ };
1986
+ }[];
1987
+ };
1988
+ outputFormat: "json";
1989
+ status: 200;
1990
+ input: {
1991
+ query: {
1992
+ destinationToken?: string | string[];
1993
+ provider?: string | string[];
1994
+ sourceAmount: string | string[];
1995
+ sourceAmountUnits?: string | string[];
1996
+ sourceChain: string | string[];
1997
+ sourceToken: string | string[];
1998
+ };
1999
+ };
2000
+ };
2001
+ };
2002
+ } & {
2003
+ "/v1/funding/chains": {
2004
+ $get: {
2005
+ output: null;
2006
+ outputFormat: "body";
2007
+ status: 402;
2008
+ input: {};
2009
+ } | {
2010
+ output: {
2011
+ error: {
2012
+ code: "api_key_malformed";
2013
+ details?: readonly Response.error.Detail[] | undefined;
2014
+ message: string;
2015
+ };
2016
+ requestId: string;
2017
+ };
2018
+ outputFormat: "json";
2019
+ status: 400;
2020
+ input: {};
2021
+ } | {
2022
+ output: {
2023
+ error: {
2024
+ code: "api_key_invalid" | "api_key_missing";
2025
+ details?: readonly Response.error.Detail[] | undefined;
2026
+ message: string;
2027
+ };
2028
+ requestId: string;
2029
+ };
2030
+ outputFormat: "json";
2031
+ status: 401;
2032
+ input: {};
2033
+ } | {
2034
+ output: {
2035
+ error: {
2036
+ code: "api_key_forbidden";
2037
+ details?: readonly Response.error.Detail[] | undefined;
2038
+ message: string;
2039
+ };
2040
+ requestId: string;
2041
+ };
2042
+ outputFormat: "json";
2043
+ status: 403;
2044
+ input: {};
2045
+ } | {
2046
+ output: {
2047
+ error: {
2048
+ code: "payment_required" | "rate_limit_exceeded";
2049
+ details?: readonly Response.error.Detail[] | undefined;
2050
+ message: string;
2051
+ };
2052
+ requestId: string;
2053
+ };
2054
+ outputFormat: "json";
2055
+ status: 429;
2056
+ input: {};
2057
+ } | {
2058
+ output: {
2059
+ data: {
2060
+ addressFormat: "base58" | "base58check" | "hex";
2061
+ id: string;
2062
+ kind: "evm" | "solana" | "tron";
2063
+ name: string;
2064
+ tokens: {
2065
+ address: string;
2066
+ currency: string;
2067
+ decimals: number;
2068
+ name: string;
2069
+ standard: string;
2070
+ symbol: string;
2071
+ tokenKey: string;
2072
+ verified: boolean;
2073
+ }[];
2074
+ }[];
2075
+ };
2076
+ outputFormat: "json";
2077
+ status: 200;
2078
+ input: {};
2079
+ };
2080
+ };
2081
+ } & {
2082
+ "/v1/funding/providers": {
2083
+ $get: {
2084
+ output: null;
2085
+ outputFormat: "body";
2086
+ status: 402;
2087
+ input: {};
2088
+ } | {
2089
+ output: {
2090
+ error: {
2091
+ code: "api_key_malformed";
2092
+ details?: readonly Response.error.Detail[] | undefined;
2093
+ message: string;
2094
+ };
2095
+ requestId: string;
2096
+ };
2097
+ outputFormat: "json";
2098
+ status: 400;
2099
+ input: {};
2100
+ } | {
2101
+ output: {
2102
+ error: {
2103
+ code: "api_key_invalid" | "api_key_missing";
2104
+ details?: readonly Response.error.Detail[] | undefined;
2105
+ message: string;
2106
+ };
2107
+ requestId: string;
2108
+ };
2109
+ outputFormat: "json";
2110
+ status: 401;
2111
+ input: {};
2112
+ } | {
2113
+ output: {
2114
+ error: {
2115
+ code: "api_key_forbidden";
2116
+ details?: readonly Response.error.Detail[] | undefined;
2117
+ message: string;
2118
+ };
2119
+ requestId: string;
2120
+ };
2121
+ outputFormat: "json";
2122
+ status: 403;
2123
+ input: {};
2124
+ } | {
2125
+ output: {
2126
+ error: {
2127
+ code: "payment_required" | "rate_limit_exceeded";
2128
+ details?: readonly Response.error.Detail[] | undefined;
2129
+ message: string;
2130
+ };
2131
+ requestId: string;
2132
+ };
2133
+ outputFormat: "json";
2134
+ status: 429;
2135
+ input: {};
2136
+ } | {
2137
+ output: {
2138
+ data: {
2139
+ id: string;
2140
+ name: string;
2141
+ }[];
2142
+ };
2143
+ outputFormat: "json";
2144
+ status: 200;
2145
+ input: {};
2146
+ };
2147
+ };
2148
+ } & {
2149
+ "/v1/funding/deposit-addresses": {
2150
+ $post: {
2151
+ output: {
2152
+ error: {
2153
+ code: "upstream_error";
2154
+ details?: readonly Response.error.Detail[] | undefined;
2155
+ message: string;
2156
+ };
2157
+ requestId: string;
2158
+ };
2159
+ outputFormat: "json";
2160
+ status: 502;
2161
+ input: {
2162
+ header: {
2163
+ 'idempotency-key': string;
2164
+ };
2165
+ } & {
2166
+ json: {
2167
+ amount: string;
2168
+ destinationToken: string;
2169
+ recipient: string;
2170
+ refundAddress: string;
2171
+ sourceChain: string;
2172
+ sourceToken: string;
2173
+ subsidize?: boolean | undefined;
2174
+ };
2175
+ };
2176
+ } | {
2177
+ output: {
2178
+ error: {
2179
+ code: "api_key_malformed";
2180
+ details?: readonly Response.error.Detail[] | undefined;
2181
+ message: string;
2182
+ };
2183
+ requestId: string;
2184
+ };
2185
+ outputFormat: "json";
2186
+ status: 400;
2187
+ input: {
2188
+ header: {
2189
+ 'idempotency-key': string;
2190
+ };
2191
+ } & {
2192
+ json: {
2193
+ amount: string;
2194
+ destinationToken: string;
2195
+ recipient: string;
2196
+ refundAddress: string;
2197
+ sourceChain: string;
2198
+ sourceToken: string;
2199
+ subsidize?: boolean | undefined;
2200
+ };
2201
+ };
2202
+ } | {
2203
+ output: {
2204
+ error: {
2205
+ code: "api_key_invalid" | "api_key_missing";
2206
+ details?: readonly Response.error.Detail[] | undefined;
2207
+ message: string;
2208
+ };
2209
+ requestId: string;
2210
+ };
2211
+ outputFormat: "json";
2212
+ status: 401;
2213
+ input: {
2214
+ header: {
2215
+ 'idempotency-key': string;
2216
+ };
2217
+ } & {
2218
+ json: {
2219
+ amount: string;
2220
+ destinationToken: string;
2221
+ recipient: string;
2222
+ refundAddress: string;
2223
+ sourceChain: string;
2224
+ sourceToken: string;
2225
+ subsidize?: boolean | undefined;
2226
+ };
2227
+ };
2228
+ } | {
2229
+ output: {
2230
+ error: {
2231
+ code: "api_key_forbidden";
2232
+ details?: readonly Response.error.Detail[] | undefined;
2233
+ message: string;
2234
+ };
2235
+ requestId: string;
2236
+ };
2237
+ outputFormat: "json";
2238
+ status: 403;
2239
+ input: {
2240
+ header: {
2241
+ 'idempotency-key': string;
2242
+ };
2243
+ } & {
2244
+ json: {
2245
+ amount: string;
2246
+ destinationToken: string;
2247
+ recipient: string;
2248
+ refundAddress: string;
2249
+ sourceChain: string;
2250
+ sourceToken: string;
2251
+ subsidize?: boolean | undefined;
2252
+ };
2253
+ };
2254
+ } | {
2255
+ output: {
2256
+ error: {
2257
+ code: "payment_required" | "rate_limit_exceeded";
2258
+ details?: readonly Response.error.Detail[] | undefined;
2259
+ message: string;
2260
+ };
2261
+ requestId: string;
2262
+ };
2263
+ outputFormat: "json";
2264
+ status: 429;
2265
+ input: {
2266
+ header: {
2267
+ 'idempotency-key': string;
2268
+ };
2269
+ } & {
2270
+ json: {
2271
+ amount: string;
2272
+ destinationToken: string;
2273
+ recipient: string;
2274
+ refundAddress: string;
2275
+ sourceChain: string;
2276
+ sourceToken: string;
2277
+ subsidize?: boolean | undefined;
2278
+ };
2279
+ };
2280
+ } | {
2281
+ output: {
2282
+ error: {
2283
+ code: "body_invalid";
2284
+ details?: readonly Response.error.Detail[] | undefined;
2285
+ message: string;
2286
+ };
2287
+ requestId: string;
2288
+ };
2289
+ outputFormat: "json";
2290
+ status: 400;
2291
+ input: {
2292
+ header: {
2293
+ 'idempotency-key': string;
2294
+ };
2295
+ } & {
2296
+ json: {
2297
+ amount: string;
2298
+ destinationToken: string;
2299
+ recipient: string;
2300
+ refundAddress: string;
2301
+ sourceChain: string;
2302
+ sourceToken: string;
2303
+ subsidize?: boolean | undefined;
2304
+ };
2305
+ };
2306
+ } | {
2307
+ output: {
2308
+ error: {
2309
+ code: "unauthorized";
2310
+ details?: readonly Response.error.Detail[] | undefined;
2311
+ message: string;
2312
+ };
2313
+ requestId: string;
2314
+ };
2315
+ outputFormat: "json";
2316
+ status: 401;
2317
+ input: {
2318
+ header: {
2319
+ 'idempotency-key': string;
2320
+ };
2321
+ } & {
2322
+ json: {
2323
+ amount: string;
2324
+ destinationToken: string;
2325
+ recipient: string;
2326
+ refundAddress: string;
2327
+ sourceChain: string;
2328
+ sourceToken: string;
2329
+ subsidize?: boolean | undefined;
2330
+ };
2331
+ };
2332
+ } | {
2333
+ output: {
2334
+ error: {
2335
+ code: "idempotency_conflict";
2336
+ details?: readonly Response.error.Detail[] | undefined;
2337
+ message: string;
2338
+ };
2339
+ requestId: string;
2340
+ };
2341
+ outputFormat: "json";
2342
+ status: 409;
2343
+ input: {
2344
+ header: {
2345
+ 'idempotency-key': string;
2346
+ };
2347
+ } & {
2348
+ json: {
2349
+ amount: string;
2350
+ destinationToken: string;
2351
+ recipient: string;
2352
+ refundAddress: string;
2353
+ sourceChain: string;
2354
+ sourceToken: string;
2355
+ subsidize?: boolean | undefined;
2356
+ };
2357
+ };
2358
+ } | {
2359
+ output: {
2360
+ error: {
2361
+ code: "idempotency_in_progress";
2362
+ details?: readonly Response.error.Detail[] | undefined;
2363
+ message: string;
2364
+ };
2365
+ requestId: string;
2366
+ };
2367
+ outputFormat: "json";
2368
+ status: 409;
2369
+ input: {
2370
+ header: {
2371
+ 'idempotency-key': string;
2372
+ };
2373
+ } & {
2374
+ json: {
2375
+ amount: string;
2376
+ destinationToken: string;
2377
+ recipient: string;
2378
+ refundAddress: string;
2379
+ sourceChain: string;
2380
+ sourceToken: string;
2381
+ subsidize?: boolean | undefined;
2382
+ };
2383
+ };
2384
+ } | {
2385
+ output: {
2386
+ error: {
2387
+ code: "deposit_address_not_available";
2388
+ details?: readonly Response.error.Detail[] | undefined;
2389
+ message: string;
2390
+ };
2391
+ requestId: string;
2392
+ };
2393
+ outputFormat: "json";
2394
+ status: 404;
2395
+ input: {
2396
+ header: {
2397
+ 'idempotency-key': string;
2398
+ };
2399
+ } & {
2400
+ json: {
2401
+ amount: string;
2402
+ destinationToken: string;
2403
+ recipient: string;
2404
+ refundAddress: string;
2405
+ sourceChain: string;
2406
+ sourceToken: string;
2407
+ subsidize?: boolean | undefined;
2408
+ };
2409
+ };
2410
+ } | {
2411
+ output: {
2412
+ address: string;
2413
+ createdAt: string;
2414
+ destinationChain: {
2415
+ addressFormat: "base58" | "base58check" | "hex";
2416
+ id: string;
2417
+ kind: "evm" | "solana" | "tron";
2418
+ name: string;
2419
+ };
2420
+ destinationToken: {
2421
+ address: string;
2422
+ currency: string;
2423
+ decimals: number;
2424
+ name: string;
2425
+ standard: string;
2426
+ symbol: string;
2427
+ tokenKey: string;
2428
+ verified: boolean;
2429
+ };
2430
+ id: string;
2431
+ provider: {
2432
+ id: string;
2433
+ name: string;
2434
+ };
2435
+ recipient: string;
2436
+ refundAddress: string;
2437
+ sourceChain: {
2438
+ addressFormat: "base58" | "base58check" | "hex";
2439
+ id: string;
2440
+ kind: "evm" | "solana" | "tron";
2441
+ name: string;
2442
+ };
2443
+ sourceToken: {
2444
+ address: string;
2445
+ currency: string;
2446
+ decimals: number;
2447
+ name: string;
2448
+ standard: string;
2449
+ symbol: string;
2450
+ tokenKey: string;
2451
+ verified: boolean;
2452
+ };
2453
+ status: "action-required" | "active";
2454
+ subsidize: boolean;
2455
+ updatedAt: string;
2456
+ } | {
2457
+ address: string;
2458
+ createdAt: string;
2459
+ destinationChain: {
2460
+ addressFormat: "base58" | "base58check" | "hex";
2461
+ id: string;
2462
+ kind: "evm" | "solana" | "tron";
2463
+ name: string;
2464
+ };
2465
+ destinationToken: {
2466
+ address: string;
2467
+ currency: string;
2468
+ decimals: number;
2469
+ name: string;
2470
+ standard: string;
2471
+ symbol: string;
2472
+ tokenKey: string;
2473
+ verified: boolean;
2474
+ };
2475
+ id: string;
2476
+ provider: {
2477
+ id: string;
2478
+ name: string;
2479
+ };
2480
+ recipient: string;
2481
+ refundAddress: string;
2482
+ sourceChain: {
2483
+ addressFormat: "base58" | "base58check" | "hex";
2484
+ id: string;
2485
+ kind: "evm" | "solana" | "tron";
2486
+ name: string;
2487
+ };
2488
+ sourceToken: {
2489
+ address: string;
2490
+ currency: string;
2491
+ decimals: number;
2492
+ name: string;
2493
+ standard: string;
2494
+ symbol: string;
2495
+ tokenKey: string;
2496
+ verified: boolean;
2497
+ };
2498
+ status: "action-required" | "active";
2499
+ subsidize: boolean;
2500
+ updatedAt: string;
2501
+ destinationAmount: {
2502
+ baseUnits: string;
2503
+ currency: string;
2504
+ decimals: number;
2505
+ formatted: string;
2506
+ };
2507
+ destinationAmountMin?: {
2508
+ baseUnits: string;
2509
+ currency: string;
2510
+ decimals: number;
2511
+ formatted: string;
2512
+ } | undefined;
2513
+ fees: {
2514
+ amount: {
2515
+ baseUnits: string;
2516
+ currency: string;
2517
+ decimals: number;
2518
+ formatted: string;
2519
+ };
2520
+ side: "destination" | "source";
2521
+ token: {
2522
+ address: string;
2523
+ currency: string;
2524
+ decimals: number;
2525
+ name: string;
2526
+ standard: string;
2527
+ symbol: string;
2528
+ tokenKey: string;
2529
+ verified: boolean;
2530
+ };
2531
+ type: "provider";
2532
+ }[];
2533
+ quote: {
2534
+ expiresAt?: string | undefined;
2535
+ sampledAt: string;
2536
+ };
2537
+ sourceAmount: {
2538
+ baseUnits: string;
2539
+ currency: string;
2540
+ decimals: number;
2541
+ formatted: string;
2542
+ };
2543
+ };
2544
+ outputFormat: "json";
2545
+ status: 200;
2546
+ input: {
2547
+ header: {
2548
+ 'idempotency-key': string;
2549
+ };
2550
+ } & {
2551
+ json: {
2552
+ amount: string;
2553
+ destinationToken: string;
2554
+ recipient: string;
2555
+ refundAddress: string;
2556
+ sourceChain: string;
2557
+ sourceToken: string;
2558
+ subsidize?: boolean | undefined;
2559
+ };
2560
+ };
2561
+ };
2562
+ };
2563
+ } & {
2564
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}/deposits": {
2565
+ $get: {
2566
+ output: {
2567
+ error: {
2568
+ code: "upstream_error";
2569
+ details?: readonly Response.error.Detail[] | undefined;
2570
+ message: string;
2571
+ };
2572
+ requestId: string;
2573
+ };
2574
+ outputFormat: "json";
2575
+ status: 502;
2576
+ input: {
2577
+ param: {
2578
+ id: string;
2579
+ };
2580
+ } & {
2581
+ query?: {
2582
+ cursor?: string | string[];
2583
+ limit?: string | string[];
2584
+ } | undefined;
2585
+ };
2586
+ } | {
2587
+ output: {
2588
+ error: {
2589
+ code: "api_key_malformed";
2590
+ details?: readonly Response.error.Detail[] | undefined;
2591
+ message: string;
2592
+ };
2593
+ requestId: string;
2594
+ };
2595
+ outputFormat: "json";
2596
+ status: 400;
2597
+ input: {
2598
+ param: {
2599
+ id: string;
2600
+ };
2601
+ } & {
2602
+ query?: {
2603
+ cursor?: string | string[];
2604
+ limit?: string | string[];
2605
+ } | undefined;
2606
+ };
2607
+ } | {
2608
+ output: {
2609
+ error: {
2610
+ code: "api_key_invalid" | "api_key_missing";
2611
+ details?: readonly Response.error.Detail[] | undefined;
2612
+ message: string;
2613
+ };
2614
+ requestId: string;
2615
+ };
2616
+ outputFormat: "json";
2617
+ status: 401;
2618
+ input: {
2619
+ param: {
2620
+ id: string;
2621
+ };
2622
+ } & {
2623
+ query?: {
2624
+ cursor?: string | string[];
2625
+ limit?: string | string[];
2626
+ } | undefined;
2627
+ };
2628
+ } | {
2629
+ output: {
2630
+ error: {
2631
+ code: "api_key_forbidden";
2632
+ details?: readonly Response.error.Detail[] | undefined;
2633
+ message: string;
2634
+ };
2635
+ requestId: string;
2636
+ };
2637
+ outputFormat: "json";
2638
+ status: 403;
2639
+ input: {
2640
+ param: {
2641
+ id: string;
2642
+ };
2643
+ } & {
2644
+ query?: {
2645
+ cursor?: string | string[];
2646
+ limit?: string | string[];
2647
+ } | undefined;
2648
+ };
2649
+ } | {
2650
+ output: {
2651
+ error: {
2652
+ code: "payment_required" | "rate_limit_exceeded";
2653
+ details?: readonly Response.error.Detail[] | undefined;
2654
+ message: string;
2655
+ };
2656
+ requestId: string;
2657
+ };
2658
+ outputFormat: "json";
2659
+ status: 429;
2660
+ input: {
2661
+ param: {
2662
+ id: string;
2663
+ };
2664
+ } & {
2665
+ query?: {
2666
+ cursor?: string | string[];
2667
+ limit?: string | string[];
2668
+ } | undefined;
2669
+ };
2670
+ } | {
2671
+ output: {
2672
+ error: {
2673
+ code: "query_invalid";
2674
+ details?: readonly Response.error.Detail[] | undefined;
2675
+ message: string;
2676
+ };
2677
+ requestId: string;
2678
+ };
2679
+ outputFormat: "json";
2680
+ status: 400;
2681
+ input: {
2682
+ param: {
2683
+ id: string;
2684
+ };
2685
+ } & {
2686
+ query?: {
2687
+ cursor?: string | string[];
2688
+ limit?: string | string[];
2689
+ } | undefined;
2690
+ };
2691
+ } | {
2692
+ output: {
2693
+ error: {
2694
+ code: "unauthorized";
2695
+ details?: readonly Response.error.Detail[] | undefined;
2696
+ message: string;
2697
+ };
2698
+ requestId: string;
2699
+ };
2700
+ outputFormat: "json";
2701
+ status: 401;
2702
+ input: {
2703
+ param: {
2704
+ id: string;
2705
+ };
2706
+ } & {
2707
+ query?: {
2708
+ cursor?: string | string[];
2709
+ limit?: string | string[];
2710
+ } | undefined;
2711
+ };
2712
+ } | {
2713
+ output: {
2714
+ error: {
2715
+ code: "funding_deposit_address_not_found";
2716
+ details?: readonly Response.error.Detail[] | undefined;
2717
+ message: string;
2718
+ };
2719
+ requestId: string;
2720
+ };
2721
+ outputFormat: "json";
2722
+ status: 404;
2723
+ input: {
2724
+ param: {
2725
+ id: string;
2726
+ };
2727
+ } & {
2728
+ query?: {
2729
+ cursor?: string | string[];
2730
+ limit?: string | string[];
2731
+ } | undefined;
2732
+ };
2733
+ } | {
2734
+ output: {
2735
+ data: {
2736
+ createdAt: string;
2737
+ depositAddressId: string;
2738
+ destinationAmount?: {
2739
+ baseUnits: string;
2740
+ currency: string;
2741
+ decimals: number;
2742
+ formatted: string;
2743
+ } | undefined;
2744
+ destinationAmountRequired?: {
2745
+ baseUnits: string;
2746
+ currency: string;
2747
+ decimals: number;
2748
+ formatted: string;
2749
+ } | undefined;
2750
+ destinationChain: {
2751
+ addressFormat: "base58" | "base58check" | "hex";
2752
+ id: string;
2753
+ kind: "evm" | "solana" | "tron";
2754
+ name: string;
2755
+ };
2756
+ destinationToken: {
2757
+ address: string;
2758
+ currency: string;
2759
+ decimals: number;
2760
+ name: string;
2761
+ standard: string;
2762
+ symbol: string;
2763
+ tokenKey: string;
2764
+ verified: boolean;
2765
+ };
2766
+ destinationTransactionHashes?: readonly string[] | undefined;
2767
+ id: string;
2768
+ provider: {
2769
+ id: string;
2770
+ name: string;
2771
+ };
2772
+ recipient: string;
2773
+ refundAddress: string;
2774
+ refundAmount?: {
2775
+ baseUnits: string;
2776
+ currency: string;
2777
+ decimals: number;
2778
+ formatted: string;
2779
+ } | undefined;
2780
+ refundTransactionHashes?: readonly string[] | undefined;
2781
+ sender?: string | undefined;
2782
+ sourceAmount?: {
2783
+ baseUnits: string;
2784
+ currency: string;
2785
+ decimals: number;
2786
+ formatted: string;
2787
+ } | undefined;
2788
+ sourceChain: {
2789
+ addressFormat: "base58" | "base58check" | "hex";
2790
+ id: string;
2791
+ kind: "evm" | "solana" | "tron";
2792
+ name: string;
2793
+ };
2794
+ sourceToken: {
2795
+ address: string;
2796
+ currency: string;
2797
+ decimals: number;
2798
+ name: string;
2799
+ standard: string;
2800
+ symbol: string;
2801
+ tokenKey: string;
2802
+ verified: boolean;
2803
+ };
2804
+ sourceTransactionHashes: readonly string[];
2805
+ sourceTransferIndex?: number | undefined;
2806
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
2807
+ statusReason?: {
2808
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
2809
+ message: string;
2810
+ } | undefined;
2811
+ updatedAt: string;
2812
+ }[];
2813
+ nextCursor: string | null;
2814
+ };
2815
+ outputFormat: "json";
2816
+ status: 200;
2817
+ input: {
2818
+ param: {
2819
+ id: string;
2820
+ };
2821
+ } & {
2822
+ query?: {
2823
+ cursor?: string | string[];
2824
+ limit?: string | string[];
2825
+ } | undefined;
2826
+ };
2827
+ };
2828
+ };
2829
+ } & {
2830
+ "/v1/funding/deposit-addresses/:id{fda_[A-Za-z0-9_-]+}": {
2831
+ $get: {
2832
+ output: {
2833
+ error: {
2834
+ code: "upstream_error";
2835
+ details?: readonly Response.error.Detail[] | undefined;
2836
+ message: string;
2837
+ };
2838
+ requestId: string;
2839
+ };
2840
+ outputFormat: "json";
2841
+ status: 502;
2842
+ input: {
2843
+ param: {
2844
+ id: string;
2845
+ };
2846
+ };
2847
+ } | {
2848
+ output: {
2849
+ error: {
2850
+ code: "api_key_malformed";
2851
+ details?: readonly Response.error.Detail[] | undefined;
2852
+ message: string;
2853
+ };
2854
+ requestId: string;
2855
+ };
2856
+ outputFormat: "json";
2857
+ status: 400;
2858
+ input: {
2859
+ param: {
2860
+ id: string;
2861
+ };
2862
+ };
2863
+ } | {
2864
+ output: {
2865
+ error: {
2866
+ code: "api_key_invalid" | "api_key_missing";
2867
+ details?: readonly Response.error.Detail[] | undefined;
2868
+ message: string;
2869
+ };
2870
+ requestId: string;
2871
+ };
2872
+ outputFormat: "json";
2873
+ status: 401;
2874
+ input: {
2875
+ param: {
2876
+ id: string;
2877
+ };
2878
+ };
2879
+ } | {
2880
+ output: {
2881
+ error: {
2882
+ code: "api_key_forbidden";
2883
+ details?: readonly Response.error.Detail[] | undefined;
2884
+ message: string;
2885
+ };
2886
+ requestId: string;
2887
+ };
2888
+ outputFormat: "json";
2889
+ status: 403;
2890
+ input: {
2891
+ param: {
2892
+ id: string;
2893
+ };
2894
+ };
2895
+ } | {
2896
+ output: {
2897
+ error: {
2898
+ code: "payment_required" | "rate_limit_exceeded";
2899
+ details?: readonly Response.error.Detail[] | undefined;
2900
+ message: string;
2901
+ };
2902
+ requestId: string;
2903
+ };
2904
+ outputFormat: "json";
2905
+ status: 429;
2906
+ input: {
2907
+ param: {
2908
+ id: string;
2909
+ };
2910
+ };
2911
+ } | {
2912
+ output: {
2913
+ error: {
2914
+ code: "unauthorized";
2915
+ details?: readonly Response.error.Detail[] | undefined;
2916
+ message: string;
2917
+ };
2918
+ requestId: string;
2919
+ };
2920
+ outputFormat: "json";
2921
+ status: 401;
2922
+ input: {
2923
+ param: {
2924
+ id: string;
2925
+ };
2926
+ };
2927
+ } | {
2928
+ output: {
2929
+ address: string;
2930
+ createdAt: string;
2931
+ destinationChain: {
2932
+ addressFormat: "base58" | "base58check" | "hex";
2933
+ id: string;
2934
+ kind: "evm" | "solana" | "tron";
2935
+ name: string;
2936
+ };
2937
+ destinationToken: {
2938
+ address: string;
2939
+ currency: string;
2940
+ decimals: number;
2941
+ name: string;
2942
+ standard: string;
2943
+ symbol: string;
2944
+ tokenKey: string;
2945
+ verified: boolean;
2946
+ };
2947
+ id: string;
2948
+ provider: {
2949
+ id: string;
2950
+ name: string;
2951
+ };
2952
+ recipient: string;
2953
+ refundAddress: string;
2954
+ sourceChain: {
2955
+ addressFormat: "base58" | "base58check" | "hex";
2956
+ id: string;
2957
+ kind: "evm" | "solana" | "tron";
2958
+ name: string;
2959
+ };
2960
+ sourceToken: {
2961
+ address: string;
2962
+ currency: string;
2963
+ decimals: number;
2964
+ name: string;
2965
+ standard: string;
2966
+ symbol: string;
2967
+ tokenKey: string;
2968
+ verified: boolean;
2969
+ };
2970
+ status: "action-required" | "active";
2971
+ subsidize: boolean;
2972
+ updatedAt: string;
2973
+ };
2974
+ outputFormat: "json";
2975
+ status: 200;
2976
+ input: {
2977
+ param: {
2978
+ id: string;
2979
+ };
2980
+ };
2981
+ } | {
2982
+ output: {
2983
+ error: {
2984
+ code: "funding_deposit_address_not_found";
2985
+ details?: readonly Response.error.Detail[] | undefined;
2986
+ message: string;
2987
+ };
2988
+ requestId: string;
2989
+ };
2990
+ outputFormat: "json";
2991
+ status: 404;
2992
+ input: {
2993
+ param: {
2994
+ id: string;
2995
+ };
2996
+ };
2997
+ } | {
2998
+ output: {
2999
+ error: {
3000
+ code: "param_invalid";
3001
+ details?: readonly Response.error.Detail[] | undefined;
3002
+ message: string;
3003
+ };
3004
+ requestId: string;
3005
+ };
3006
+ outputFormat: "json";
3007
+ status: 400;
3008
+ input: {
3009
+ param: {
3010
+ id: string;
3011
+ };
3012
+ };
3013
+ };
3014
+ };
3015
+ } & {
3016
+ "/v1/funding/deposits/:id{fdp_[A-Za-z0-9_-]+}": {
3017
+ $get: {
3018
+ output: {
3019
+ error: {
3020
+ code: "upstream_error";
3021
+ details?: readonly Response.error.Detail[] | undefined;
3022
+ message: string;
3023
+ };
3024
+ requestId: string;
3025
+ };
3026
+ outputFormat: "json";
3027
+ status: 502;
3028
+ input: {
3029
+ param: {
3030
+ id: string;
3031
+ };
3032
+ };
3033
+ } | {
3034
+ output: {
3035
+ error: {
3036
+ code: "api_key_malformed";
3037
+ details?: readonly Response.error.Detail[] | undefined;
3038
+ message: string;
3039
+ };
3040
+ requestId: string;
3041
+ };
3042
+ outputFormat: "json";
3043
+ status: 400;
3044
+ input: {
3045
+ param: {
3046
+ id: string;
3047
+ };
3048
+ };
3049
+ } | {
3050
+ output: {
3051
+ error: {
3052
+ code: "api_key_invalid" | "api_key_missing";
3053
+ details?: readonly Response.error.Detail[] | undefined;
3054
+ message: string;
3055
+ };
3056
+ requestId: string;
3057
+ };
3058
+ outputFormat: "json";
3059
+ status: 401;
3060
+ input: {
3061
+ param: {
3062
+ id: string;
3063
+ };
3064
+ };
3065
+ } | {
3066
+ output: {
3067
+ error: {
3068
+ code: "api_key_forbidden";
3069
+ details?: readonly Response.error.Detail[] | undefined;
3070
+ message: string;
3071
+ };
3072
+ requestId: string;
3073
+ };
3074
+ outputFormat: "json";
3075
+ status: 403;
3076
+ input: {
3077
+ param: {
3078
+ id: string;
3079
+ };
3080
+ };
3081
+ } | {
3082
+ output: {
3083
+ error: {
3084
+ code: "payment_required" | "rate_limit_exceeded";
3085
+ details?: readonly Response.error.Detail[] | undefined;
3086
+ message: string;
3087
+ };
3088
+ requestId: string;
3089
+ };
3090
+ outputFormat: "json";
3091
+ status: 429;
3092
+ input: {
3093
+ param: {
3094
+ id: string;
3095
+ };
3096
+ };
3097
+ } | {
3098
+ output: {
3099
+ error: {
3100
+ code: "unauthorized";
3101
+ details?: readonly Response.error.Detail[] | undefined;
3102
+ message: string;
3103
+ };
3104
+ requestId: string;
3105
+ };
3106
+ outputFormat: "json";
3107
+ status: 401;
3108
+ input: {
3109
+ param: {
3110
+ id: string;
3111
+ };
3112
+ };
3113
+ } | {
3114
+ output: {
3115
+ error: {
3116
+ code: "param_invalid";
3117
+ details?: readonly Response.error.Detail[] | undefined;
3118
+ message: string;
3119
+ };
3120
+ requestId: string;
3121
+ };
3122
+ outputFormat: "json";
3123
+ status: 400;
3124
+ input: {
3125
+ param: {
3126
+ id: string;
3127
+ };
3128
+ };
3129
+ } | {
3130
+ output: {
3131
+ error: {
3132
+ code: "funding_deposit_not_found";
3133
+ details?: readonly Response.error.Detail[] | undefined;
3134
+ message: string;
3135
+ };
3136
+ requestId: string;
3137
+ };
3138
+ outputFormat: "json";
3139
+ status: 404;
3140
+ input: {
3141
+ param: {
3142
+ id: string;
3143
+ };
3144
+ };
3145
+ } | {
3146
+ output: {
3147
+ createdAt: string;
3148
+ depositAddressId: string;
3149
+ destinationAmount?: {
3150
+ baseUnits: string;
3151
+ currency: string;
3152
+ decimals: number;
3153
+ formatted: string;
3154
+ } | undefined;
3155
+ destinationAmountRequired?: {
3156
+ baseUnits: string;
3157
+ currency: string;
3158
+ decimals: number;
3159
+ formatted: string;
3160
+ } | undefined;
3161
+ destinationChain: {
3162
+ addressFormat: "base58" | "base58check" | "hex";
3163
+ id: string;
3164
+ kind: "evm" | "solana" | "tron";
3165
+ name: string;
3166
+ };
3167
+ destinationToken: {
3168
+ address: string;
3169
+ currency: string;
3170
+ decimals: number;
3171
+ name: string;
3172
+ standard: string;
3173
+ symbol: string;
3174
+ tokenKey: string;
3175
+ verified: boolean;
3176
+ };
3177
+ destinationTransactionHashes?: readonly string[] | undefined;
3178
+ id: string;
3179
+ provider: {
3180
+ id: string;
3181
+ name: string;
3182
+ };
3183
+ recipient: string;
3184
+ refundAddress: string;
3185
+ refundAmount?: {
3186
+ baseUnits: string;
3187
+ currency: string;
3188
+ decimals: number;
3189
+ formatted: string;
3190
+ } | undefined;
3191
+ refundTransactionHashes?: readonly string[] | undefined;
3192
+ sender?: string | undefined;
3193
+ sourceAmount?: {
3194
+ baseUnits: string;
3195
+ currency: string;
3196
+ decimals: number;
3197
+ formatted: string;
3198
+ } | undefined;
3199
+ sourceChain: {
3200
+ addressFormat: "base58" | "base58check" | "hex";
3201
+ id: string;
3202
+ kind: "evm" | "solana" | "tron";
3203
+ name: string;
3204
+ };
3205
+ sourceToken: {
3206
+ address: string;
3207
+ currency: string;
3208
+ decimals: number;
3209
+ name: string;
3210
+ standard: string;
3211
+ symbol: string;
3212
+ tokenKey: string;
3213
+ verified: boolean;
3214
+ };
3215
+ sourceTransactionHashes: readonly string[];
3216
+ sourceTransferIndex?: number | undefined;
3217
+ status: "action-required" | "bridging" | "completed" | "detected" | "refunded" | "refunding" | "settling";
3218
+ statusReason?: {
3219
+ code: "delivery_failed" | "delivery_liquidity_unavailable" | "manual_recovery_required" | "refund_failed" | "source_amount_not_supported" | "source_token_mismatch" | "subsidy_balance_unavailable" | "subsidy_failed";
3220
+ message: string;
3221
+ } | undefined;
3222
+ updatedAt: string;
3223
+ };
3224
+ outputFormat: "json";
3225
+ status: 200;
3226
+ input: {
3227
+ param: {
3228
+ id: string;
3229
+ };
3230
+ };
3231
+ };
3232
+ };
3233
+ } & {
3234
+ "/v1/funding/transfers": {
3235
+ $get: {
3236
+ output: {
3237
+ error: {
3238
+ code: "upstream_error";
3239
+ details?: readonly Response.error.Detail[] | undefined;
3240
+ message: string;
3241
+ };
3242
+ requestId: string;
3243
+ };
3244
+ outputFormat: "json";
3245
+ status: 502;
3246
+ input: {
3247
+ query?: {
3248
+ cursor?: string | string[];
3249
+ include?: string | string[];
3250
+ limit?: string | string[];
3251
+ status?: string | string[];
3252
+ } | undefined;
3253
+ };
3254
+ } | {
3255
+ output: {
3256
+ error: {
3257
+ code: "api_key_malformed";
3258
+ details?: readonly Response.error.Detail[] | undefined;
3259
+ message: string;
3260
+ };
3261
+ requestId: string;
3262
+ };
3263
+ outputFormat: "json";
3264
+ status: 400;
3265
+ input: {
3266
+ query?: {
3267
+ cursor?: string | string[];
3268
+ include?: string | string[];
3269
+ limit?: string | string[];
3270
+ status?: string | string[];
3271
+ } | undefined;
3272
+ };
3273
+ } | {
3274
+ output: {
3275
+ error: {
3276
+ code: "api_key_invalid" | "api_key_missing";
3277
+ details?: readonly Response.error.Detail[] | undefined;
3278
+ message: string;
3279
+ };
3280
+ requestId: string;
3281
+ };
3282
+ outputFormat: "json";
3283
+ status: 401;
3284
+ input: {
3285
+ query?: {
3286
+ cursor?: string | string[];
3287
+ include?: string | string[];
3288
+ limit?: string | string[];
3289
+ status?: string | string[];
3290
+ } | undefined;
3291
+ };
3292
+ } | {
3293
+ output: {
3294
+ error: {
3295
+ code: "api_key_forbidden";
3296
+ details?: readonly Response.error.Detail[] | undefined;
3297
+ message: string;
3298
+ };
3299
+ requestId: string;
3300
+ };
3301
+ outputFormat: "json";
3302
+ status: 403;
3303
+ input: {
3304
+ query?: {
3305
+ cursor?: string | string[];
3306
+ include?: string | string[];
3307
+ limit?: string | string[];
3308
+ status?: string | string[];
3309
+ } | undefined;
3310
+ };
3311
+ } | {
3312
+ output: {
3313
+ error: {
3314
+ code: "payment_required" | "rate_limit_exceeded";
3315
+ details?: readonly Response.error.Detail[] | undefined;
3316
+ message: string;
3317
+ };
3318
+ requestId: string;
3319
+ };
3320
+ outputFormat: "json";
3321
+ status: 429;
3322
+ input: {
3323
+ query?: {
3324
+ cursor?: string | string[];
3325
+ include?: string | string[];
3326
+ limit?: string | string[];
3327
+ status?: string | string[];
3328
+ } | undefined;
3329
+ };
3330
+ } | {
3331
+ output: {
3332
+ error: {
3333
+ code: "query_invalid";
3334
+ details?: readonly Response.error.Detail[] | undefined;
3335
+ message: string;
3336
+ };
3337
+ requestId: string;
3338
+ };
3339
+ outputFormat: "json";
3340
+ status: 400;
3341
+ input: {
3342
+ query?: {
3343
+ cursor?: string | string[];
3344
+ include?: string | string[];
3345
+ limit?: string | string[];
3346
+ status?: string | string[];
3347
+ } | undefined;
3348
+ };
3349
+ } | {
3350
+ output: {
3351
+ error: {
3352
+ code: "unauthorized";
3353
+ details?: readonly Response.error.Detail[] | undefined;
3354
+ message: string;
3355
+ };
3356
+ requestId: string;
3357
+ };
3358
+ outputFormat: "json";
3359
+ status: 401;
3360
+ input: {
3361
+ query?: {
3362
+ cursor?: string | string[];
3363
+ include?: string | string[];
3364
+ limit?: string | string[];
3365
+ status?: string | string[];
3366
+ } | undefined;
3367
+ };
3368
+ } | {
3369
+ output: {
3370
+ data: {
3371
+ createdAt: string;
3372
+ destinationAmount?: {
3373
+ baseUnits: string;
3374
+ currency: string;
3375
+ decimals: number;
3376
+ formatted: string;
3377
+ } | undefined;
3378
+ destinationAmountMin?: {
3379
+ baseUnits: string;
3380
+ currency: string;
3381
+ decimals: number;
3382
+ formatted: string;
3383
+ } | undefined;
3384
+ destinationChain: {
3385
+ addressFormat: "base58" | "base58check" | "hex";
3386
+ id: string;
3387
+ kind: "evm" | "solana" | "tron";
3388
+ name: string;
3389
+ };
3390
+ destinationToken: {
3391
+ address: string;
3392
+ currency: string;
3393
+ decimals: number;
3394
+ name: string;
3395
+ standard: string;
3396
+ symbol: string;
3397
+ tokenKey: string;
3398
+ verified: boolean;
3399
+ };
3400
+ destinationTransactionHashes?: string[] | undefined;
3401
+ fees: {
3402
+ amount: {
3403
+ baseUnits: string;
3404
+ currency: string;
3405
+ decimals: number;
3406
+ formatted: string;
3407
+ };
3408
+ side: "destination" | "source";
3409
+ token: {
3410
+ address: string;
3411
+ currency: string;
3412
+ decimals: number;
3413
+ name: string;
3414
+ standard: string;
3415
+ symbol: string;
3416
+ tokenKey: string;
3417
+ verified: boolean;
3418
+ };
3419
+ type: "provider";
3420
+ }[];
3421
+ id: string;
3422
+ method: "depositAddress" | "transaction";
3423
+ mode: "exactDestination" | "exactSource";
3424
+ provider: {
3425
+ id: string;
3426
+ name: string;
3427
+ };
3428
+ quote: {
3429
+ expiresAt: string;
3430
+ sampledAt: string;
3431
+ };
3432
+ recipient: string;
3433
+ refundAddress?: string | undefined;
3434
+ refundAmount?: {
3435
+ baseUnits: string;
3436
+ currency: string;
3437
+ decimals: number;
3438
+ formatted: string;
3439
+ } | undefined;
3440
+ refundTransactionHashes?: string[] | undefined;
3441
+ sender?: string | undefined;
3442
+ sourceAmount: {
3443
+ baseUnits: string;
3444
+ currency: string;
3445
+ decimals: number;
3446
+ formatted: string;
3447
+ };
3448
+ sourceAmountMax?: {
3449
+ baseUnits: string;
3450
+ currency: string;
3451
+ decimals: number;
3452
+ formatted: string;
3453
+ } | undefined;
3454
+ sourceChain: {
3455
+ addressFormat: "base58" | "base58check" | "hex";
3456
+ id: string;
3457
+ kind: "evm" | "solana" | "tron";
3458
+ name: string;
3459
+ };
3460
+ sourceToken: {
3461
+ address: string;
3462
+ currency: string;
3463
+ decimals: number;
3464
+ name: string;
3465
+ standard: string;
3466
+ symbol: string;
3467
+ tokenKey: string;
3468
+ verified: boolean;
3469
+ };
3470
+ sourceTransactionHashes?: string[] | undefined;
3471
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
3472
+ statusReason?: {
3473
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
3474
+ message: string;
3475
+ } | undefined;
3476
+ updatedAt: string;
3477
+ version: number;
3478
+ }[];
3479
+ meta?: {
3480
+ totalCountCapped: boolean;
3481
+ totalCount: number;
3482
+ } | undefined;
3483
+ nextCursor: string | null;
3484
+ };
3485
+ outputFormat: "json";
3486
+ status: 200;
3487
+ input: {
3488
+ query?: {
3489
+ cursor?: string | string[];
3490
+ include?: string | string[];
3491
+ limit?: string | string[];
3492
+ status?: string | string[];
3493
+ } | undefined;
3494
+ };
3495
+ };
3496
+ };
3497
+ } & {
3498
+ "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}": {
3499
+ $get: {
3500
+ output: {
3501
+ error: {
3502
+ code: "upstream_error";
3503
+ details?: readonly Response.error.Detail[] | undefined;
3504
+ message: string;
3505
+ };
3506
+ requestId: string;
3507
+ };
3508
+ outputFormat: "json";
3509
+ status: 502;
3510
+ input: {
3511
+ param: {
3512
+ id: string;
3513
+ };
3514
+ };
3515
+ } | {
3516
+ output: {
3517
+ error: {
3518
+ code: "api_key_malformed";
3519
+ details?: readonly Response.error.Detail[] | undefined;
3520
+ message: string;
3521
+ };
3522
+ requestId: string;
3523
+ };
3524
+ outputFormat: "json";
3525
+ status: 400;
3526
+ input: {
3527
+ param: {
3528
+ id: string;
3529
+ };
3530
+ };
3531
+ } | {
3532
+ output: {
3533
+ error: {
3534
+ code: "api_key_invalid" | "api_key_missing";
3535
+ details?: readonly Response.error.Detail[] | undefined;
3536
+ message: string;
3537
+ };
3538
+ requestId: string;
3539
+ };
3540
+ outputFormat: "json";
3541
+ status: 401;
3542
+ input: {
3543
+ param: {
3544
+ id: string;
3545
+ };
3546
+ };
3547
+ } | {
3548
+ output: {
3549
+ error: {
3550
+ code: "api_key_forbidden";
3551
+ details?: readonly Response.error.Detail[] | undefined;
3552
+ message: string;
3553
+ };
3554
+ requestId: string;
3555
+ };
3556
+ outputFormat: "json";
3557
+ status: 403;
3558
+ input: {
3559
+ param: {
3560
+ id: string;
3561
+ };
3562
+ };
3563
+ } | {
3564
+ output: {
3565
+ error: {
3566
+ code: "payment_required" | "rate_limit_exceeded";
3567
+ details?: readonly Response.error.Detail[] | undefined;
3568
+ message: string;
3569
+ };
3570
+ requestId: string;
3571
+ };
3572
+ outputFormat: "json";
3573
+ status: 429;
3574
+ input: {
3575
+ param: {
3576
+ id: string;
3577
+ };
3578
+ };
3579
+ } | {
3580
+ output: {
3581
+ error: {
3582
+ code: "unauthorized";
3583
+ details?: readonly Response.error.Detail[] | undefined;
3584
+ message: string;
3585
+ };
3586
+ requestId: string;
3587
+ };
3588
+ outputFormat: "json";
3589
+ status: 401;
3590
+ input: {
3591
+ param: {
3592
+ id: string;
3593
+ };
3594
+ };
3595
+ } | {
3596
+ output: {
3597
+ error: {
3598
+ code: "param_invalid";
3599
+ details?: readonly Response.error.Detail[] | undefined;
3600
+ message: string;
3601
+ };
3602
+ requestId: string;
3603
+ };
3604
+ outputFormat: "json";
3605
+ status: 400;
3606
+ input: {
3607
+ param: {
3608
+ id: string;
3609
+ };
3610
+ };
3611
+ } | {
3612
+ output: {
3613
+ error: {
3614
+ code: "funding_transfer_not_found";
3615
+ details?: readonly Response.error.Detail[] | undefined;
3616
+ message: string;
3617
+ };
3618
+ requestId: string;
3619
+ };
3620
+ outputFormat: "json";
3621
+ status: 404;
3622
+ input: {
3623
+ param: {
3624
+ id: string;
3625
+ };
3626
+ };
3627
+ } | {
3628
+ output: {
3629
+ createdAt: string;
3630
+ destinationAmount?: {
3631
+ baseUnits: string;
3632
+ currency: string;
3633
+ decimals: number;
3634
+ formatted: string;
3635
+ } | undefined;
3636
+ destinationAmountMin?: {
3637
+ baseUnits: string;
3638
+ currency: string;
3639
+ decimals: number;
3640
+ formatted: string;
3641
+ } | undefined;
3642
+ destinationChain: {
3643
+ addressFormat: "base58" | "base58check" | "hex";
3644
+ id: string;
3645
+ kind: "evm" | "solana" | "tron";
3646
+ name: string;
3647
+ };
3648
+ destinationToken: {
3649
+ address: string;
3650
+ currency: string;
3651
+ decimals: number;
3652
+ name: string;
3653
+ standard: string;
3654
+ symbol: string;
3655
+ tokenKey: string;
3656
+ verified: boolean;
3657
+ };
3658
+ destinationTransactionHashes?: string[] | undefined;
3659
+ fees: {
3660
+ amount: {
3661
+ baseUnits: string;
3662
+ currency: string;
3663
+ decimals: number;
3664
+ formatted: string;
3665
+ };
3666
+ side: "destination" | "source";
3667
+ token: {
3668
+ address: string;
3669
+ currency: string;
3670
+ decimals: number;
3671
+ name: string;
3672
+ standard: string;
3673
+ symbol: string;
3674
+ tokenKey: string;
3675
+ verified: boolean;
3676
+ };
3677
+ type: "provider";
3678
+ }[];
3679
+ id: string;
3680
+ method: "depositAddress" | "transaction";
3681
+ mode: "exactDestination" | "exactSource";
3682
+ provider: {
3683
+ id: string;
3684
+ name: string;
3685
+ };
3686
+ quote: {
3687
+ expiresAt: string;
3688
+ sampledAt: string;
3689
+ };
3690
+ recipient: string;
3691
+ refundAddress?: string | undefined;
3692
+ refundAmount?: {
3693
+ baseUnits: string;
3694
+ currency: string;
3695
+ decimals: number;
3696
+ formatted: string;
3697
+ } | undefined;
3698
+ refundTransactionHashes?: string[] | undefined;
3699
+ sender?: string | undefined;
3700
+ sourceAmount: {
3701
+ baseUnits: string;
3702
+ currency: string;
3703
+ decimals: number;
3704
+ formatted: string;
3705
+ };
3706
+ sourceAmountMax?: {
3707
+ baseUnits: string;
3708
+ currency: string;
3709
+ decimals: number;
3710
+ formatted: string;
3711
+ } | undefined;
3712
+ sourceChain: {
3713
+ addressFormat: "base58" | "base58check" | "hex";
3714
+ id: string;
3715
+ kind: "evm" | "solana" | "tron";
3716
+ name: string;
3717
+ };
3718
+ sourceToken: {
3719
+ address: string;
3720
+ currency: string;
3721
+ decimals: number;
3722
+ name: string;
3723
+ standard: string;
3724
+ symbol: string;
3725
+ tokenKey: string;
3726
+ verified: boolean;
3727
+ };
3728
+ sourceTransactionHashes?: string[] | undefined;
3729
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
3730
+ statusReason?: {
3731
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
3732
+ message: string;
3733
+ } | undefined;
3734
+ updatedAt: string;
3735
+ version: number;
3736
+ };
3737
+ outputFormat: "json";
3738
+ status: 200;
3739
+ input: {
3740
+ param: {
3741
+ id: string;
3742
+ };
3743
+ };
3744
+ };
3745
+ };
3746
+ } & {
3747
+ "/v1/funding/transfers": {
3748
+ $post: {
3749
+ output: {
3750
+ error: {
3751
+ code: "upstream_error";
3752
+ details?: readonly Response.error.Detail[] | undefined;
3753
+ message: string;
3754
+ };
3755
+ requestId: string;
3756
+ };
3757
+ outputFormat: "json";
3758
+ status: 502;
3759
+ input: {
3760
+ header: {
3761
+ 'idempotency-key': string;
3762
+ };
3763
+ } & {
3764
+ json: {
3765
+ amount: string;
3766
+ destinationToken: string;
3767
+ mode: "exactDestination" | "exactSource";
3768
+ recipient: string;
3769
+ sender: string;
3770
+ slippageBps?: number | undefined;
3771
+ sourceChain: string;
3772
+ sourceToken: string;
3773
+ };
3774
+ };
3775
+ } | {
3776
+ output: {
3777
+ error: {
3778
+ code: "api_key_malformed";
3779
+ details?: readonly Response.error.Detail[] | undefined;
3780
+ message: string;
3781
+ };
3782
+ requestId: string;
3783
+ };
3784
+ outputFormat: "json";
3785
+ status: 400;
3786
+ input: {
3787
+ header: {
3788
+ 'idempotency-key': string;
3789
+ };
3790
+ } & {
3791
+ json: {
3792
+ amount: string;
3793
+ destinationToken: string;
3794
+ mode: "exactDestination" | "exactSource";
3795
+ recipient: string;
3796
+ sender: string;
3797
+ slippageBps?: number | undefined;
3798
+ sourceChain: string;
3799
+ sourceToken: string;
3800
+ };
3801
+ };
3802
+ } | {
3803
+ output: {
3804
+ error: {
3805
+ code: "api_key_invalid" | "api_key_missing";
3806
+ details?: readonly Response.error.Detail[] | undefined;
3807
+ message: string;
3808
+ };
3809
+ requestId: string;
3810
+ };
3811
+ outputFormat: "json";
3812
+ status: 401;
3813
+ input: {
3814
+ header: {
3815
+ 'idempotency-key': string;
3816
+ };
3817
+ } & {
3818
+ json: {
3819
+ amount: string;
3820
+ destinationToken: string;
3821
+ mode: "exactDestination" | "exactSource";
3822
+ recipient: string;
3823
+ sender: string;
3824
+ slippageBps?: number | undefined;
3825
+ sourceChain: string;
3826
+ sourceToken: string;
3827
+ };
3828
+ };
3829
+ } | {
3830
+ output: {
640
3831
  error: {
641
- code: "api_key_malformed";
3832
+ code: "api_key_forbidden";
3833
+ details?: readonly Response.error.Detail[] | undefined;
3834
+ message: string;
3835
+ };
3836
+ requestId: string;
3837
+ };
3838
+ outputFormat: "json";
3839
+ status: 403;
3840
+ input: {
3841
+ header: {
3842
+ 'idempotency-key': string;
3843
+ };
3844
+ } & {
3845
+ json: {
3846
+ amount: string;
3847
+ destinationToken: string;
3848
+ mode: "exactDestination" | "exactSource";
3849
+ recipient: string;
3850
+ sender: string;
3851
+ slippageBps?: number | undefined;
3852
+ sourceChain: string;
3853
+ sourceToken: string;
3854
+ };
3855
+ };
3856
+ } | {
3857
+ output: {
3858
+ error: {
3859
+ code: "payment_required" | "rate_limit_exceeded";
3860
+ details?: readonly Response.error.Detail[] | undefined;
3861
+ message: string;
3862
+ };
3863
+ requestId: string;
3864
+ };
3865
+ outputFormat: "json";
3866
+ status: 429;
3867
+ input: {
3868
+ header: {
3869
+ 'idempotency-key': string;
3870
+ };
3871
+ } & {
3872
+ json: {
3873
+ amount: string;
3874
+ destinationToken: string;
3875
+ mode: "exactDestination" | "exactSource";
3876
+ recipient: string;
3877
+ sender: string;
3878
+ slippageBps?: number | undefined;
3879
+ sourceChain: string;
3880
+ sourceToken: string;
3881
+ };
3882
+ };
3883
+ } | {
3884
+ output: {
3885
+ error: {
3886
+ code: "body_invalid";
642
3887
  details?: readonly Response.error.Detail[] | undefined;
643
3888
  message: string;
644
3889
  };
@@ -646,11 +3891,26 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
646
3891
  };
647
3892
  outputFormat: "json";
648
3893
  status: 400;
649
- input: {};
3894
+ input: {
3895
+ header: {
3896
+ 'idempotency-key': string;
3897
+ };
3898
+ } & {
3899
+ json: {
3900
+ amount: string;
3901
+ destinationToken: string;
3902
+ mode: "exactDestination" | "exactSource";
3903
+ recipient: string;
3904
+ sender: string;
3905
+ slippageBps?: number | undefined;
3906
+ sourceChain: string;
3907
+ sourceToken: string;
3908
+ };
3909
+ };
650
3910
  } | {
651
3911
  output: {
652
3912
  error: {
653
- code: "api_key_invalid" | "api_key_missing";
3913
+ code: "unauthorized";
654
3914
  details?: readonly Response.error.Detail[] | undefined;
655
3915
  message: string;
656
3916
  };
@@ -658,69 +3918,244 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
658
3918
  };
659
3919
  outputFormat: "json";
660
3920
  status: 401;
661
- input: {};
3921
+ input: {
3922
+ header: {
3923
+ 'idempotency-key': string;
3924
+ };
3925
+ } & {
3926
+ json: {
3927
+ amount: string;
3928
+ destinationToken: string;
3929
+ mode: "exactDestination" | "exactSource";
3930
+ recipient: string;
3931
+ sender: string;
3932
+ slippageBps?: number | undefined;
3933
+ sourceChain: string;
3934
+ sourceToken: string;
3935
+ };
3936
+ };
662
3937
  } | {
663
3938
  output: {
664
3939
  error: {
665
- code: "api_key_forbidden";
3940
+ code: "idempotency_conflict";
666
3941
  details?: readonly Response.error.Detail[] | undefined;
667
3942
  message: string;
668
3943
  };
669
3944
  requestId: string;
670
3945
  };
671
3946
  outputFormat: "json";
672
- status: 403;
673
- input: {};
3947
+ status: 409;
3948
+ input: {
3949
+ header: {
3950
+ 'idempotency-key': string;
3951
+ };
3952
+ } & {
3953
+ json: {
3954
+ amount: string;
3955
+ destinationToken: string;
3956
+ mode: "exactDestination" | "exactSource";
3957
+ recipient: string;
3958
+ sender: string;
3959
+ slippageBps?: number | undefined;
3960
+ sourceChain: string;
3961
+ sourceToken: string;
3962
+ };
3963
+ };
674
3964
  } | {
675
3965
  output: {
676
3966
  error: {
677
- code: "payment_required" | "rate_limit_exceeded";
3967
+ code: "idempotency_in_progress";
678
3968
  details?: readonly Response.error.Detail[] | undefined;
679
3969
  message: string;
680
3970
  };
681
3971
  requestId: string;
682
3972
  };
683
3973
  outputFormat: "json";
684
- status: 429;
685
- input: {};
3974
+ status: 409;
3975
+ input: {
3976
+ header: {
3977
+ 'idempotency-key': string;
3978
+ };
3979
+ } & {
3980
+ json: {
3981
+ amount: string;
3982
+ destinationToken: string;
3983
+ mode: "exactDestination" | "exactSource";
3984
+ recipient: string;
3985
+ sender: string;
3986
+ slippageBps?: number | undefined;
3987
+ sourceChain: string;
3988
+ sourceToken: string;
3989
+ };
3990
+ };
686
3991
  } | {
687
3992
  output: {
688
- data: {
689
- addressFormat: "base58" | "base58check" | "evm";
3993
+ createdAt: string;
3994
+ destinationAmount?: {
3995
+ baseUnits: string;
3996
+ currency: string;
3997
+ decimals: number;
3998
+ formatted: string;
3999
+ } | undefined;
4000
+ destinationAmountMin?: {
4001
+ baseUnits: string;
4002
+ currency: string;
4003
+ decimals: number;
4004
+ formatted: string;
4005
+ } | undefined;
4006
+ destinationChain: {
4007
+ addressFormat: "base58" | "base58check" | "hex";
690
4008
  id: string;
691
4009
  kind: "evm" | "solana" | "tron";
692
4010
  name: string;
693
- providerIds?: {
694
- [x: string]: string;
695
- } | undefined;
696
- tokens: {
4011
+ };
4012
+ destinationToken: {
4013
+ address: string;
4014
+ currency: string;
4015
+ decimals: number;
4016
+ name: string;
4017
+ standard: string;
4018
+ symbol: string;
4019
+ tokenKey: string;
4020
+ verified: boolean;
4021
+ };
4022
+ destinationTransactionHashes?: string[] | undefined;
4023
+ fees: {
4024
+ amount: {
4025
+ baseUnits: string;
4026
+ currency: string;
4027
+ decimals: number;
4028
+ formatted: string;
4029
+ };
4030
+ side: "destination" | "source";
4031
+ token: {
697
4032
  address: string;
698
4033
  currency: string;
699
4034
  decimals: number;
700
- metadata: {
701
- [x: string]: string;
702
- };
703
4035
  name: string;
704
4036
  standard: string;
705
4037
  symbol: string;
706
4038
  tokenKey: string;
707
4039
  verified: boolean;
708
- }[];
4040
+ };
4041
+ type: "provider";
709
4042
  }[];
4043
+ id: string;
4044
+ method: "depositAddress" | "transaction";
4045
+ mode: "exactDestination" | "exactSource";
4046
+ provider: {
4047
+ id: string;
4048
+ name: string;
4049
+ };
4050
+ quote: {
4051
+ expiresAt: string;
4052
+ sampledAt: string;
4053
+ };
4054
+ recipient: string;
4055
+ refundAddress?: string | undefined;
4056
+ refundAmount?: {
4057
+ baseUnits: string;
4058
+ currency: string;
4059
+ decimals: number;
4060
+ formatted: string;
4061
+ } | undefined;
4062
+ refundTransactionHashes?: string[] | undefined;
4063
+ sender?: string | undefined;
4064
+ sourceAmount: {
4065
+ baseUnits: string;
4066
+ currency: string;
4067
+ decimals: number;
4068
+ formatted: string;
4069
+ };
4070
+ sourceAmountMax?: {
4071
+ baseUnits: string;
4072
+ currency: string;
4073
+ decimals: number;
4074
+ formatted: string;
4075
+ } | undefined;
4076
+ sourceChain: {
4077
+ addressFormat: "base58" | "base58check" | "hex";
4078
+ id: string;
4079
+ kind: "evm" | "solana" | "tron";
4080
+ name: string;
4081
+ };
4082
+ sourceToken: {
4083
+ address: string;
4084
+ currency: string;
4085
+ decimals: number;
4086
+ name: string;
4087
+ standard: string;
4088
+ symbol: string;
4089
+ tokenKey: string;
4090
+ verified: boolean;
4091
+ };
4092
+ sourceTransactionHashes?: string[] | undefined;
4093
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
4094
+ statusReason?: {
4095
+ code: "destination_amount_below_minimum" | "destination_recovered" | "manual_recovery_required" | "refund_failed" | "source_amount_above_maximum" | "source_amount_below_minimum" | "source_chain_mismatch" | "source_token_mismatch";
4096
+ message: string;
4097
+ } | undefined;
4098
+ updatedAt: string;
4099
+ version: number;
4100
+ action: {
4101
+ calls: {
4102
+ data: string;
4103
+ to: string;
4104
+ value: string;
4105
+ }[];
4106
+ type: "evm:calls";
4107
+ };
710
4108
  };
711
4109
  outputFormat: "json";
712
4110
  status: 200;
713
- input: {};
4111
+ input: {
4112
+ header: {
4113
+ 'idempotency-key': string;
4114
+ };
4115
+ } & {
4116
+ json: {
4117
+ amount: string;
4118
+ destinationToken: string;
4119
+ mode: "exactDestination" | "exactSource";
4120
+ recipient: string;
4121
+ sender: string;
4122
+ slippageBps?: number | undefined;
4123
+ sourceChain: string;
4124
+ sourceToken: string;
4125
+ };
4126
+ };
4127
+ } | {
4128
+ output: {
4129
+ error: {
4130
+ code: "quote_not_available";
4131
+ details?: readonly Response.error.Detail[] | undefined;
4132
+ message: string;
4133
+ };
4134
+ requestId: string;
4135
+ };
4136
+ outputFormat: "json";
4137
+ status: 404;
4138
+ input: {
4139
+ header: {
4140
+ 'idempotency-key': string;
4141
+ };
4142
+ } & {
4143
+ json: {
4144
+ amount: string;
4145
+ destinationToken: string;
4146
+ mode: "exactDestination" | "exactSource";
4147
+ recipient: string;
4148
+ sender: string;
4149
+ slippageBps?: number | undefined;
4150
+ sourceChain: string;
4151
+ sourceToken: string;
4152
+ };
4153
+ };
714
4154
  };
715
4155
  };
716
4156
  } & {
717
- "/v1/funding/providers": {
718
- $get: {
719
- output: null;
720
- outputFormat: "body";
721
- status: 402;
722
- input: {};
723
- } | {
4157
+ "/v1/funding/transfers/vault": {
4158
+ $post: {
724
4159
  output: {
725
4160
  error: {
726
4161
  code: "api_key_malformed";
@@ -731,7 +4166,22 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
731
4166
  };
732
4167
  outputFormat: "json";
733
4168
  status: 400;
734
- input: {};
4169
+ input: {
4170
+ header: {
4171
+ 'idempotency-key': string;
4172
+ };
4173
+ } & {
4174
+ json: {
4175
+ amount: string;
4176
+ mode: "exactDestination" | "exactSource";
4177
+ recipient: string;
4178
+ sender: string;
4179
+ slippageBps?: number | undefined;
4180
+ sourceChain: string;
4181
+ sourceToken: string;
4182
+ vaultAddress: string;
4183
+ };
4184
+ };
735
4185
  } | {
736
4186
  output: {
737
4187
  error: {
@@ -743,7 +4193,22 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
743
4193
  };
744
4194
  outputFormat: "json";
745
4195
  status: 401;
746
- input: {};
4196
+ input: {
4197
+ header: {
4198
+ 'idempotency-key': string;
4199
+ };
4200
+ } & {
4201
+ json: {
4202
+ amount: string;
4203
+ mode: "exactDestination" | "exactSource";
4204
+ recipient: string;
4205
+ sender: string;
4206
+ slippageBps?: number | undefined;
4207
+ sourceChain: string;
4208
+ sourceToken: string;
4209
+ vaultAddress: string;
4210
+ };
4211
+ };
747
4212
  } | {
748
4213
  output: {
749
4214
  error: {
@@ -755,7 +4220,22 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
755
4220
  };
756
4221
  outputFormat: "json";
757
4222
  status: 403;
758
- input: {};
4223
+ input: {
4224
+ header: {
4225
+ 'idempotency-key': string;
4226
+ };
4227
+ } & {
4228
+ json: {
4229
+ amount: string;
4230
+ mode: "exactDestination" | "exactSource";
4231
+ recipient: string;
4232
+ sender: string;
4233
+ slippageBps?: number | undefined;
4234
+ sourceChain: string;
4235
+ sourceToken: string;
4236
+ vaultAddress: string;
4237
+ };
4238
+ };
759
4239
  } | {
760
4240
  output: {
761
4241
  error: {
@@ -767,30 +4247,255 @@ export declare function funding(options?: funding.Options): import("hono/hono-ba
767
4247
  };
768
4248
  outputFormat: "json";
769
4249
  status: 429;
770
- input: {};
4250
+ input: {
4251
+ header: {
4252
+ 'idempotency-key': string;
4253
+ };
4254
+ } & {
4255
+ json: {
4256
+ amount: string;
4257
+ mode: "exactDestination" | "exactSource";
4258
+ recipient: string;
4259
+ sender: string;
4260
+ slippageBps?: number | undefined;
4261
+ sourceChain: string;
4262
+ sourceToken: string;
4263
+ vaultAddress: string;
4264
+ };
4265
+ };
771
4266
  } | {
772
4267
  output: {
773
- data: {
774
- id: "across" | "relay" | "rhino" | "squid" | "symbiosis";
775
- kind: string;
776
- name: string;
777
- requiresApiKey: boolean;
778
- status: "configured" | "unconfigured";
779
- }[];
4268
+ error: {
4269
+ code: "body_invalid";
4270
+ details?: readonly Response.error.Detail[] | undefined;
4271
+ message: string;
4272
+ };
4273
+ requestId: string;
780
4274
  };
781
4275
  outputFormat: "json";
782
- status: 200;
783
- input: {};
4276
+ status: 400;
4277
+ input: {
4278
+ header: {
4279
+ 'idempotency-key': string;
4280
+ };
4281
+ } & {
4282
+ json: {
4283
+ amount: string;
4284
+ mode: "exactDestination" | "exactSource";
4285
+ recipient: string;
4286
+ sender: string;
4287
+ slippageBps?: number | undefined;
4288
+ sourceChain: string;
4289
+ sourceToken: string;
4290
+ vaultAddress: string;
4291
+ };
4292
+ };
4293
+ } | {
4294
+ output: {
4295
+ error: {
4296
+ code: "not_implemented";
4297
+ details?: readonly Response.error.Detail[] | undefined;
4298
+ message: string;
4299
+ };
4300
+ requestId: string;
4301
+ };
4302
+ outputFormat: "json";
4303
+ status: 501;
4304
+ input: {
4305
+ header: {
4306
+ 'idempotency-key': string;
4307
+ };
4308
+ } & {
4309
+ json: {
4310
+ amount: string;
4311
+ mode: "exactDestination" | "exactSource";
4312
+ recipient: string;
4313
+ sender: string;
4314
+ slippageBps?: number | undefined;
4315
+ sourceChain: string;
4316
+ sourceToken: string;
4317
+ vaultAddress: string;
4318
+ };
4319
+ };
784
4320
  };
785
4321
  };
786
- }, "/", "/v1/funding/providers">;
787
- export declare namespace funding {
788
- /** Options for live funding quotes. */
789
- type Options = {
790
- /** Provider adapters used to request live quotes. */
791
- adapters?: FundingQuotes.ProviderAdapters | undefined;
792
- /** Per-provider quote timeout in milliseconds. */
793
- adapterTimeoutMs?: number | undefined;
4322
+ } & {
4323
+ "/v1/funding/transfers/zone": {
4324
+ $post: {
4325
+ output: {
4326
+ error: {
4327
+ code: "api_key_malformed";
4328
+ details?: readonly Response.error.Detail[] | undefined;
4329
+ message: string;
4330
+ };
4331
+ requestId: string;
4332
+ };
4333
+ outputFormat: "json";
4334
+ status: 400;
4335
+ input: {
4336
+ header: {
4337
+ 'idempotency-key': string;
4338
+ };
4339
+ } & {
4340
+ json: {
4341
+ amount: string;
4342
+ destinationChain: string;
4343
+ destinationToken: string;
4344
+ mode: "exactDestination" | "exactSource";
4345
+ recipient: string;
4346
+ recipientFallback: string;
4347
+ sender: string;
4348
+ slippageBps?: number | undefined;
4349
+ sourceChain: string;
4350
+ sourceToken: string;
4351
+ };
4352
+ };
4353
+ } | {
4354
+ output: {
4355
+ error: {
4356
+ code: "api_key_invalid" | "api_key_missing";
4357
+ details?: readonly Response.error.Detail[] | undefined;
4358
+ message: string;
4359
+ };
4360
+ requestId: string;
4361
+ };
4362
+ outputFormat: "json";
4363
+ status: 401;
4364
+ input: {
4365
+ header: {
4366
+ 'idempotency-key': string;
4367
+ };
4368
+ } & {
4369
+ json: {
4370
+ amount: string;
4371
+ destinationChain: string;
4372
+ destinationToken: string;
4373
+ mode: "exactDestination" | "exactSource";
4374
+ recipient: string;
4375
+ recipientFallback: string;
4376
+ sender: string;
4377
+ slippageBps?: number | undefined;
4378
+ sourceChain: string;
4379
+ sourceToken: string;
4380
+ };
4381
+ };
4382
+ } | {
4383
+ output: {
4384
+ error: {
4385
+ code: "api_key_forbidden";
4386
+ details?: readonly Response.error.Detail[] | undefined;
4387
+ message: string;
4388
+ };
4389
+ requestId: string;
4390
+ };
4391
+ outputFormat: "json";
4392
+ status: 403;
4393
+ input: {
4394
+ header: {
4395
+ 'idempotency-key': string;
4396
+ };
4397
+ } & {
4398
+ json: {
4399
+ amount: string;
4400
+ destinationChain: string;
4401
+ destinationToken: string;
4402
+ mode: "exactDestination" | "exactSource";
4403
+ recipient: string;
4404
+ recipientFallback: string;
4405
+ sender: string;
4406
+ slippageBps?: number | undefined;
4407
+ sourceChain: string;
4408
+ sourceToken: string;
4409
+ };
4410
+ };
4411
+ } | {
4412
+ output: {
4413
+ error: {
4414
+ code: "payment_required" | "rate_limit_exceeded";
4415
+ details?: readonly Response.error.Detail[] | undefined;
4416
+ message: string;
4417
+ };
4418
+ requestId: string;
4419
+ };
4420
+ outputFormat: "json";
4421
+ status: 429;
4422
+ input: {
4423
+ header: {
4424
+ 'idempotency-key': string;
4425
+ };
4426
+ } & {
4427
+ json: {
4428
+ amount: string;
4429
+ destinationChain: string;
4430
+ destinationToken: string;
4431
+ mode: "exactDestination" | "exactSource";
4432
+ recipient: string;
4433
+ recipientFallback: string;
4434
+ sender: string;
4435
+ slippageBps?: number | undefined;
4436
+ sourceChain: string;
4437
+ sourceToken: string;
4438
+ };
4439
+ };
4440
+ } | {
4441
+ output: {
4442
+ error: {
4443
+ code: "body_invalid";
4444
+ details?: readonly Response.error.Detail[] | undefined;
4445
+ message: string;
4446
+ };
4447
+ requestId: string;
4448
+ };
4449
+ outputFormat: "json";
4450
+ status: 400;
4451
+ input: {
4452
+ header: {
4453
+ 'idempotency-key': string;
4454
+ };
4455
+ } & {
4456
+ json: {
4457
+ amount: string;
4458
+ destinationChain: string;
4459
+ destinationToken: string;
4460
+ mode: "exactDestination" | "exactSource";
4461
+ recipient: string;
4462
+ recipientFallback: string;
4463
+ sender: string;
4464
+ slippageBps?: number | undefined;
4465
+ sourceChain: string;
4466
+ sourceToken: string;
4467
+ };
4468
+ };
4469
+ } | {
4470
+ output: {
4471
+ error: {
4472
+ code: "not_implemented";
4473
+ details?: readonly Response.error.Detail[] | undefined;
4474
+ message: string;
4475
+ };
4476
+ requestId: string;
4477
+ };
4478
+ outputFormat: "json";
4479
+ status: 501;
4480
+ input: {
4481
+ header: {
4482
+ 'idempotency-key': string;
4483
+ };
4484
+ } & {
4485
+ json: {
4486
+ amount: string;
4487
+ destinationChain: string;
4488
+ destinationToken: string;
4489
+ mode: "exactDestination" | "exactSource";
4490
+ recipient: string;
4491
+ recipientFallback: string;
4492
+ sender: string;
4493
+ slippageBps?: number | undefined;
4494
+ sourceChain: string;
4495
+ sourceToken: string;
4496
+ };
4497
+ };
4498
+ };
794
4499
  };
795
- }
4500
+ }, "/", "/v1/funding/transfers/zone">;
796
4501
  //# sourceMappingURL=funding.d.ts.map