tapimo 0.7.2 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (300) hide show
  1. package/README.md +10 -7
  2. package/dist/ApiKey.d.ts +3 -0
  3. package/dist/ApiKey.d.ts.map +1 -1
  4. package/dist/ApiKey.js +10 -0
  5. package/dist/ApiKey.js.map +1 -1
  6. package/dist/ApiKeys.d.ts +7 -3
  7. package/dist/ApiKeys.d.ts.map +1 -1
  8. package/dist/ApiKeys.js +9 -2
  9. package/dist/ApiKeys.js.map +1 -1
  10. package/dist/App.d.ts +20117 -19183
  11. package/dist/App.d.ts.map +1 -1
  12. package/dist/App.js +61 -4
  13. package/dist/App.js.map +1 -1
  14. package/dist/admin/App.d.ts +84 -74
  15. package/dist/admin/App.d.ts.map +1 -1
  16. package/dist/admin/apps/api-keys.d.ts +14 -1
  17. package/dist/admin/apps/api-keys.d.ts.map +1 -1
  18. package/dist/admin/apps/api-keys.js +6 -2
  19. package/dist/admin/apps/api-keys.js.map +1 -1
  20. package/dist/admin/apps/organizations.d.ts +2 -0
  21. package/dist/admin/apps/organizations.d.ts.map +1 -1
  22. package/dist/admin/apps/verified-tokens.d.ts +11 -11
  23. package/dist/admin/ui.generated.d.ts +1 -1
  24. package/dist/admin/ui.generated.js +67 -67
  25. package/dist/admin/ui.generated.js.map +1 -1
  26. package/dist/analytics/Analytics.d.ts +2 -0
  27. package/dist/analytics/Analytics.d.ts.map +1 -1
  28. package/dist/analytics/Analytics.js +3 -0
  29. package/dist/analytics/Analytics.js.map +1 -1
  30. package/dist/apps/data/App.d.ts +11696 -13937
  31. package/dist/apps/data/App.d.ts.map +1 -1
  32. package/dist/apps/data/App.js +4 -8
  33. package/dist/apps/data/App.js.map +1 -1
  34. package/dist/apps/data/routes/activities.d.ts +271 -271
  35. package/dist/apps/data/routes/addresses.d.ts +398 -167
  36. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  37. package/dist/apps/data/routes/balances.d.ts +278 -8
  38. package/dist/apps/data/routes/balances.d.ts.map +1 -1
  39. package/dist/apps/data/routes/balances.js +114 -2
  40. package/dist/apps/data/routes/balances.js.map +1 -1
  41. package/dist/apps/data/routes/blocks.d.ts +123 -123
  42. package/dist/apps/data/routes/coingecko.d.ts +170 -170
  43. package/dist/apps/data/routes/earn.d.ts +498 -6
  44. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  45. package/dist/apps/data/routes/earn.js +876 -4
  46. package/dist/apps/data/routes/earn.js.map +1 -1
  47. package/dist/apps/data/routes/exchanges.d.ts +10 -10
  48. package/dist/apps/data/routes/fee-amm.d.ts +2 -2
  49. package/dist/apps/data/routes/indexer.d.ts +6 -6
  50. package/dist/apps/data/routes/indexer.js +4 -1
  51. package/dist/apps/data/routes/indexer.js.map +1 -1
  52. package/dist/apps/data/routes/receipts.d.ts +235 -235
  53. package/dist/apps/data/routes/rpc.d.ts +31 -31
  54. package/dist/apps/data/routes/rpc.js +4 -1
  55. package/dist/apps/data/routes/rpc.js.map +1 -1
  56. package/dist/apps/data/routes/tokenlist.d.ts +36 -36
  57. package/dist/apps/data/routes/tokens.d.ts +449 -449
  58. package/dist/apps/data/routes/transactions.d.ts +2 -2
  59. package/dist/apps/data/routes/transfers.d.ts +81 -81
  60. package/dist/apps/data/routes/valuation.d.ts +1 -1
  61. package/dist/apps/data/routes/verified-tokens.d.ts +36 -36
  62. package/dist/apps/data/routes/webhooks.d.ts +9 -9
  63. package/dist/apps/data/routes/zones.d.ts +14 -14
  64. package/dist/apps/funding/Access.d.ts +16 -0
  65. package/dist/apps/funding/Access.d.ts.map +1 -0
  66. package/dist/apps/funding/Access.js +22 -0
  67. package/dist/apps/funding/Access.js.map +1 -0
  68. package/dist/apps/{data/routes/funding.d.ts → funding/App.d.ts} +1640 -3217
  69. package/dist/apps/funding/App.d.ts.map +1 -0
  70. package/dist/apps/funding/App.js +61 -0
  71. package/dist/apps/funding/App.js.map +1 -0
  72. package/dist/apps/funding/Inventory.d.ts +5 -0
  73. package/dist/apps/funding/Inventory.d.ts.map +1 -0
  74. package/dist/apps/funding/Inventory.js +25 -0
  75. package/dist/apps/funding/Inventory.js.map +1 -0
  76. package/dist/apps/funding/ProviderAttempts.d.ts +5 -0
  77. package/dist/apps/funding/ProviderAttempts.d.ts.map +1 -0
  78. package/dist/apps/funding/ProviderAttempts.js +24 -0
  79. package/dist/apps/funding/ProviderAttempts.js.map +1 -0
  80. package/dist/apps/funding/index.d.ts +2 -0
  81. package/dist/apps/funding/index.d.ts.map +1 -0
  82. package/dist/apps/funding/index.js +2 -0
  83. package/dist/apps/funding/index.js.map +1 -0
  84. package/dist/apps/funding/routes/chains.d.ts +169 -0
  85. package/dist/apps/funding/routes/chains.d.ts.map +1 -0
  86. package/dist/apps/funding/routes/chains.js +80 -0
  87. package/dist/apps/funding/routes/chains.js.map +1 -0
  88. package/dist/apps/funding/routes/deposit-addresses.d.ts +1997 -0
  89. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -0
  90. package/dist/apps/funding/routes/deposit-addresses.js +778 -0
  91. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -0
  92. package/dist/apps/funding/routes/providers.d.ts +91 -0
  93. package/dist/apps/funding/routes/providers.d.ts.map +1 -0
  94. package/dist/apps/funding/routes/providers.js +56 -0
  95. package/dist/apps/funding/routes/providers.js.map +1 -0
  96. package/dist/apps/funding/routes/quotes.d.ts +426 -0
  97. package/dist/apps/funding/routes/quotes.d.ts.map +1 -0
  98. package/dist/apps/funding/routes/quotes.js +188 -0
  99. package/dist/apps/funding/routes/quotes.js.map +1 -0
  100. package/dist/apps/funding/routes/transfers.d.ts +1999 -0
  101. package/dist/apps/funding/routes/transfers.d.ts.map +1 -0
  102. package/dist/apps/funding/routes/transfers.js +614 -0
  103. package/dist/apps/funding/routes/transfers.js.map +1 -0
  104. package/dist/apps/index.d.ts +1 -0
  105. package/dist/apps/index.d.ts.map +1 -1
  106. package/dist/apps/index.js +1 -0
  107. package/dist/apps/index.js.map +1 -1
  108. package/dist/apps/management/App.d.ts +430 -165
  109. package/dist/apps/management/App.d.ts.map +1 -1
  110. package/dist/apps/management/routes/api-keys.d.ts +298 -21
  111. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  112. package/dist/apps/management/routes/api-keys.js +75 -1
  113. package/dist/apps/management/routes/api-keys.js.map +1 -1
  114. package/dist/apps/management/routes/billing.d.ts +6 -6
  115. package/dist/apps/management/routes/faucet.d.ts +35 -35
  116. package/dist/apps/management/routes/invitations.d.ts +122 -122
  117. package/dist/apps/management/routes/invite-links.d.ts +38 -38
  118. package/dist/apps/management/routes/members.d.ts +69 -69
  119. package/dist/apps/management/routes/orgs.d.ts +99 -99
  120. package/dist/apps/management/routes/projects.d.ts +25 -25
  121. package/dist/apps/management/routes/scopes.d.ts +1 -1
  122. package/dist/apps/management/routes/usage.d.ts +72 -72
  123. package/dist/apps/management/routes/verified-token-requests.d.ts +77 -77
  124. package/dist/apps/management/routes/webhooks.d.ts +128 -128
  125. package/dist/apps/mcp.d.ts +2 -3
  126. package/dist/apps/mcp.d.ts.map +1 -1
  127. package/dist/apps/mcp.js +16 -14
  128. package/dist/apps/mcp.js.map +1 -1
  129. package/dist/apps/metadata.d.ts +4 -0
  130. package/dist/apps/metadata.d.ts.map +1 -1
  131. package/dist/apps/metadata.js +10 -0
  132. package/dist/apps/metadata.js.map +1 -1
  133. package/dist/apps/mpp/App.d.ts +44 -44
  134. package/dist/cloudflare.d.ts +50 -0
  135. package/dist/cloudflare.d.ts.map +1 -1
  136. package/dist/cloudflare.js +178 -0
  137. package/dist/cloudflare.js.map +1 -1
  138. package/dist/db/Db.d.ts +2 -0
  139. package/dist/db/Db.d.ts.map +1 -1
  140. package/dist/db/Db.js +45 -0
  141. package/dist/db/Db.js.map +1 -1
  142. package/dist/db/Schema.d.ts +12 -0
  143. package/dist/db/Schema.d.ts.map +1 -1
  144. package/dist/db/Schema.js +20 -0
  145. package/dist/db/Schema.js.map +1 -1
  146. package/dist/db/tables/fundingDepositAddresses.d.ts +13 -0
  147. package/dist/db/tables/fundingDepositAddresses.d.ts.map +1 -1
  148. package/dist/db/tables/fundingDepositAddresses.js +12 -0
  149. package/dist/db/tables/fundingDepositAddresses.js.map +1 -1
  150. package/dist/db/tables/fundingDepositRequestObservations.d.ts +45 -0
  151. package/dist/db/tables/fundingDepositRequestObservations.d.ts.map +1 -0
  152. package/dist/db/tables/fundingDepositRequestObservations.js +46 -0
  153. package/dist/db/tables/fundingDepositRequestObservations.js.map +1 -0
  154. package/dist/db/tables/fundingDeposits.d.ts +74 -1
  155. package/dist/db/tables/fundingDeposits.d.ts.map +1 -1
  156. package/dist/db/tables/fundingDeposits.js +126 -0
  157. package/dist/db/tables/fundingDeposits.js.map +1 -1
  158. package/dist/internal/Auth.d.ts +15 -11
  159. package/dist/internal/Auth.d.ts.map +1 -1
  160. package/dist/internal/Auth.js +52 -17
  161. package/dist/internal/Auth.js.map +1 -1
  162. package/dist/internal/Cache.js +1 -1
  163. package/dist/internal/Cache.js.map +1 -1
  164. package/dist/internal/EdgeCache.d.ts +2 -2
  165. package/dist/internal/EdgeCache.d.ts.map +1 -1
  166. package/dist/internal/EdgeCache.js +10 -4
  167. package/dist/internal/EdgeCache.js.map +1 -1
  168. package/dist/internal/IpAllowlist.d.ts +15 -0
  169. package/dist/internal/IpAllowlist.d.ts.map +1 -0
  170. package/dist/internal/IpAllowlist.js +27 -0
  171. package/dist/internal/IpAllowlist.js.map +1 -0
  172. package/dist/internal/OpenApi.d.ts +1 -1
  173. package/dist/internal/OpenApi.js +1 -1
  174. package/dist/internal/OpenApi.js.map +1 -1
  175. package/dist/internal/Tidx.d.ts +6 -0
  176. package/dist/internal/Tidx.d.ts.map +1 -1
  177. package/dist/internal/Tidx.js +13 -3
  178. package/dist/internal/Tidx.js.map +1 -1
  179. package/dist/internal/Viem.d.ts +8 -0
  180. package/dist/internal/Viem.d.ts.map +1 -1
  181. package/dist/internal/Viem.js +12 -5
  182. package/dist/internal/Viem.js.map +1 -1
  183. package/dist/internal/funding/Deposit.d.ts +42 -0
  184. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  185. package/dist/internal/funding/Deposit.js +37 -5
  186. package/dist/internal/funding/Deposit.js.map +1 -1
  187. package/dist/internal/funding/Evidence.d.ts +1 -5
  188. package/dist/internal/funding/Evidence.d.ts.map +1 -1
  189. package/dist/internal/funding/Evidence.js +4 -3
  190. package/dist/internal/funding/Evidence.js.map +1 -1
  191. package/dist/internal/funding/Provider.d.ts +102 -0
  192. package/dist/internal/funding/Provider.d.ts.map +1 -1
  193. package/dist/internal/funding/Provider.js +5 -0
  194. package/dist/internal/funding/Provider.js.map +1 -1
  195. package/dist/internal/funding/Reconciliation.d.ts +16 -2
  196. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  197. package/dist/internal/funding/Reconciliation.js +348 -54
  198. package/dist/internal/funding/Reconciliation.js.map +1 -1
  199. package/dist/internal/funding/SourceObservation.d.ts +108 -0
  200. package/dist/internal/funding/SourceObservation.d.ts.map +1 -0
  201. package/dist/internal/funding/SourceObservation.js +143 -0
  202. package/dist/internal/funding/SourceObservation.js.map +1 -0
  203. package/dist/internal/funding/Subsidy.d.ts +2 -2
  204. package/dist/internal/funding/Subsidy.d.ts.map +1 -1
  205. package/dist/internal/funding/Subsidy.js +1 -1
  206. package/dist/internal/funding/Subsidy.js.map +1 -1
  207. package/dist/internal/funding/index.d.ts +1 -0
  208. package/dist/internal/funding/index.d.ts.map +1 -1
  209. package/dist/internal/funding/index.js +1 -0
  210. package/dist/internal/funding/index.js.map +1 -1
  211. package/dist/internal/funding/providers/relay.d.ts +43 -1
  212. package/dist/internal/funding/providers/relay.d.ts.map +1 -1
  213. package/dist/internal/funding/providers/relay.js +438 -27
  214. package/dist/internal/funding/providers/relay.js.map +1 -1
  215. package/package.json +3 -3
  216. package/src/ApiKey.test.ts +35 -0
  217. package/src/ApiKey.ts +27 -0
  218. package/src/ApiKeys.test.ts +29 -0
  219. package/src/ApiKeys.ts +11 -3
  220. package/src/App.test.ts +55 -5
  221. package/src/App.ts +79 -5
  222. package/src/Client.test-d.ts +203 -28
  223. package/src/admin/apps/api-keys.test.ts +25 -1
  224. package/src/admin/apps/api-keys.ts +6 -2
  225. package/src/admin/ui.generated.ts +67 -67
  226. package/src/analytics/Analytics.ts +4 -0
  227. package/src/apps/composition.test.ts +130 -3
  228. package/src/apps/data/App.test.ts +0 -12
  229. package/src/apps/data/App.ts +4 -8
  230. package/src/apps/data/routes/balances.test.ts +42 -0
  231. package/src/apps/data/routes/balances.ts +218 -85
  232. package/src/apps/data/routes/earn.test.ts +363 -0
  233. package/src/apps/data/routes/earn.ts +1141 -3
  234. package/src/apps/data/routes/indexer.ts +2 -1
  235. package/src/apps/data/routes/rpc.ts +2 -0
  236. package/src/apps/data/routes/tokens.test.ts +6 -8
  237. package/src/apps/funding/Access.ts +26 -0
  238. package/src/apps/funding/App.test.ts +78 -0
  239. package/src/apps/funding/App.ts +78 -0
  240. package/src/apps/funding/Inventory.ts +30 -0
  241. package/src/apps/funding/ProviderAttempts.ts +26 -0
  242. package/src/apps/funding/index.ts +1 -0
  243. package/src/apps/funding/routes/chains.test.ts +78 -0
  244. package/src/apps/funding/routes/chains.ts +101 -0
  245. package/src/apps/funding/routes/deposit-addresses.test.ts +1649 -0
  246. package/src/apps/funding/routes/deposit-addresses.ts +932 -0
  247. package/src/apps/funding/routes/providers.test.ts +165 -0
  248. package/src/apps/funding/routes/providers.ts +73 -0
  249. package/src/apps/funding/routes/quotes.test.ts +511 -0
  250. package/src/apps/funding/routes/quotes.ts +205 -0
  251. package/src/apps/funding/routes/transfers.test.ts +1236 -0
  252. package/src/apps/funding/routes/transfers.ts +704 -0
  253. package/src/apps/index.ts +1 -0
  254. package/src/apps/management/routes/api-keys.test.ts +98 -0
  255. package/src/apps/management/routes/api-keys.ts +96 -1
  256. package/src/apps/mcp.test.ts +17 -2
  257. package/src/apps/mcp.ts +18 -13
  258. package/src/apps/metadata.ts +12 -0
  259. package/src/apps/mpp/internal/Policy.test.ts +7 -1
  260. package/src/cloudflare.ts +279 -0
  261. package/src/db/Db.ts +71 -0
  262. package/src/db/Schema.ts +24 -0
  263. package/src/db/tables/fundingDepositAddresses.ts +28 -0
  264. package/src/db/tables/fundingDepositRequestObservations.test.ts +106 -0
  265. package/src/db/tables/fundingDepositRequestObservations.ts +99 -0
  266. package/src/db/tables/fundingDeposits.test.ts +239 -0
  267. package/src/db/tables/fundingDeposits.ts +214 -1
  268. package/src/internal/Auth.test.ts +205 -5
  269. package/src/internal/Auth.ts +63 -19
  270. package/src/internal/Cache.test.ts +37 -3
  271. package/src/internal/Cache.ts +1 -1
  272. package/src/internal/EdgeCache.test.ts +7 -7
  273. package/src/internal/EdgeCache.ts +13 -4
  274. package/src/internal/IpAllowlist.test.ts +52 -0
  275. package/src/internal/IpAllowlist.ts +39 -0
  276. package/src/internal/Log.test.ts +7 -1
  277. package/src/internal/OpenApi.ts +1 -1
  278. package/src/internal/Tidx.test.ts +28 -0
  279. package/src/internal/Tidx.ts +19 -3
  280. package/src/internal/Viem.test.ts +28 -0
  281. package/src/internal/Viem.ts +21 -5
  282. package/src/internal/funding/Deposit.ts +74 -5
  283. package/src/internal/funding/Evidence.test.ts +2 -2
  284. package/src/internal/funding/Evidence.ts +4 -9
  285. package/src/internal/funding/Provider.ts +115 -0
  286. package/src/internal/funding/Reconciliation.local.test.ts +7 -0
  287. package/src/internal/funding/Reconciliation.test.ts +1364 -109
  288. package/src/internal/funding/Reconciliation.ts +467 -88
  289. package/src/internal/funding/SourceObservation.test.ts +301 -0
  290. package/src/internal/funding/SourceObservation.ts +267 -0
  291. package/src/internal/funding/Subsidy.ts +2 -2
  292. package/src/internal/funding/index.test.ts +1 -0
  293. package/src/internal/funding/index.ts +1 -0
  294. package/src/internal/funding/providers/relay.test.ts +94 -4
  295. package/src/internal/funding/providers/relay.ts +533 -27
  296. package/dist/apps/data/routes/funding.d.ts.map +0 -1
  297. package/dist/apps/data/routes/funding.js +0 -1557
  298. package/dist/apps/data/routes/funding.js.map +0 -1
  299. package/src/apps/data/routes/funding.test.ts +0 -2994
  300. package/src/apps/data/routes/funding.ts +0 -1821
@@ -0,0 +1,1999 @@
1
+ import * as z from 'zod/mini';
2
+ import type * as App from '../../../App.js';
3
+ import * as Response from '../../../internal/Response.js';
4
+ /** Zod schemas owned by funding transfer resources. */
5
+ export declare namespace schema {
6
+ /** A durable funding transfer. Reads never include the executable `action`. */
7
+ const Transfer: z.ZodMiniObject<{
8
+ createdAt: z.ZodMiniString<string>;
9
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
10
+ baseUnits: z.ZodMiniString<string>;
11
+ currency: z.ZodMiniString<string>;
12
+ decimals: z.ZodMiniNumber<number>;
13
+ formatted: z.ZodMiniString<string>;
14
+ }, z.core.$strip>>;
15
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
16
+ baseUnits: z.ZodMiniString<string>;
17
+ currency: z.ZodMiniString<string>;
18
+ decimals: z.ZodMiniNumber<number>;
19
+ formatted: z.ZodMiniString<string>;
20
+ }, z.core.$strip>>;
21
+ destinationChain: z.ZodMiniObject<{
22
+ addressFormat: z.ZodMiniEnum<{
23
+ base58: "base58";
24
+ base58check: "base58check";
25
+ hex: "hex";
26
+ }>;
27
+ id: z.ZodMiniString<string>;
28
+ kind: z.ZodMiniEnum<{
29
+ evm: "evm";
30
+ solana: "solana";
31
+ tron: "tron";
32
+ }>;
33
+ name: z.ZodMiniString<string>;
34
+ }, z.core.$strip>;
35
+ destinationToken: z.ZodMiniObject<{
36
+ address: z.ZodMiniString<string>;
37
+ currency: z.ZodMiniString<string>;
38
+ decimals: z.ZodMiniNumber<number>;
39
+ name: z.ZodMiniString<string>;
40
+ standard: z.ZodMiniString<string>;
41
+ symbol: z.ZodMiniString<string>;
42
+ tokenKey: z.ZodMiniString<string>;
43
+ verified: z.ZodMiniBoolean<boolean>;
44
+ }, z.core.$strip>;
45
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
46
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
47
+ amount: z.ZodMiniObject<{
48
+ baseUnits: z.ZodMiniString<string>;
49
+ currency: z.ZodMiniString<string>;
50
+ decimals: z.ZodMiniNumber<number>;
51
+ formatted: z.ZodMiniString<string>;
52
+ }, z.core.$strip>;
53
+ side: z.ZodMiniEnum<{
54
+ destination: "destination";
55
+ source: "source";
56
+ }>;
57
+ token: z.ZodMiniObject<{
58
+ address: z.ZodMiniString<string>;
59
+ currency: z.ZodMiniString<string>;
60
+ decimals: z.ZodMiniNumber<number>;
61
+ name: z.ZodMiniString<string>;
62
+ standard: z.ZodMiniString<string>;
63
+ symbol: z.ZodMiniString<string>;
64
+ tokenKey: z.ZodMiniString<string>;
65
+ verified: z.ZodMiniBoolean<boolean>;
66
+ }, z.core.$strip>;
67
+ type: z.ZodMiniEnum<{
68
+ provider: "provider";
69
+ }>;
70
+ }, z.core.$strip>>;
71
+ id: z.ZodMiniString<string>;
72
+ method: z.ZodMiniEnum<{
73
+ depositAddress: "depositAddress";
74
+ transaction: "transaction";
75
+ }>;
76
+ mode: z.ZodMiniEnum<{
77
+ exactDestination: "exactDestination";
78
+ exactSource: "exactSource";
79
+ }>;
80
+ provider: z.ZodMiniObject<{
81
+ id: z.ZodMiniString<string>;
82
+ name: z.ZodMiniString<string>;
83
+ }, z.core.$strip>;
84
+ quote: z.ZodMiniObject<{
85
+ expiresAt: z.ZodMiniString<string>;
86
+ sampledAt: z.ZodMiniString<string>;
87
+ }, z.core.$strip>;
88
+ recipient: z.ZodMiniString<string>;
89
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
90
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
91
+ baseUnits: z.ZodMiniString<string>;
92
+ currency: z.ZodMiniString<string>;
93
+ decimals: z.ZodMiniNumber<number>;
94
+ formatted: z.ZodMiniString<string>;
95
+ }, z.core.$strip>>;
96
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
97
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
98
+ sourceAmount: z.ZodMiniObject<{
99
+ baseUnits: z.ZodMiniString<string>;
100
+ currency: z.ZodMiniString<string>;
101
+ decimals: z.ZodMiniNumber<number>;
102
+ formatted: z.ZodMiniString<string>;
103
+ }, z.core.$strip>;
104
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
105
+ baseUnits: z.ZodMiniString<string>;
106
+ currency: z.ZodMiniString<string>;
107
+ decimals: z.ZodMiniNumber<number>;
108
+ formatted: z.ZodMiniString<string>;
109
+ }, z.core.$strip>>;
110
+ sourceChain: z.ZodMiniObject<{
111
+ addressFormat: z.ZodMiniEnum<{
112
+ base58: "base58";
113
+ base58check: "base58check";
114
+ hex: "hex";
115
+ }>;
116
+ id: z.ZodMiniString<string>;
117
+ kind: z.ZodMiniEnum<{
118
+ evm: "evm";
119
+ solana: "solana";
120
+ tron: "tron";
121
+ }>;
122
+ name: z.ZodMiniString<string>;
123
+ }, z.core.$strip>;
124
+ sourceToken: z.ZodMiniObject<{
125
+ address: z.ZodMiniString<string>;
126
+ currency: z.ZodMiniString<string>;
127
+ decimals: z.ZodMiniNumber<number>;
128
+ name: z.ZodMiniString<string>;
129
+ standard: z.ZodMiniString<string>;
130
+ symbol: z.ZodMiniString<string>;
131
+ tokenKey: z.ZodMiniString<string>;
132
+ verified: z.ZodMiniBoolean<boolean>;
133
+ }, z.core.$strip>;
134
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
135
+ status: z.ZodMiniEnum<{
136
+ "action-required": "action-required";
137
+ "awaiting-source": "awaiting-source";
138
+ completed: "completed";
139
+ expired: "expired";
140
+ processing: "processing";
141
+ refunded: "refunded";
142
+ refunding: "refunding";
143
+ }>;
144
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
145
+ code: z.ZodMiniEnum<{
146
+ destination_amount_below_minimum: "destination_amount_below_minimum";
147
+ destination_recovered: "destination_recovered";
148
+ manual_recovery_required: "manual_recovery_required";
149
+ refund_failed: "refund_failed";
150
+ source_amount_above_maximum: "source_amount_above_maximum";
151
+ source_amount_below_minimum: "source_amount_below_minimum";
152
+ source_chain_mismatch: "source_chain_mismatch";
153
+ source_token_mismatch: "source_token_mismatch";
154
+ }>;
155
+ message: z.ZodMiniString<string>;
156
+ }, z.core.$strip>>;
157
+ updatedAt: z.ZodMiniString<string>;
158
+ version: z.ZodMiniNumber<number>;
159
+ }, z.core.$strip>;
160
+ /** Schemas for the listFundingTransfers operation. */
161
+ namespace listFundingTransfers {
162
+ /** Query parameters for listing funding transfers. */
163
+ const Query: z.ZodMiniObject<{
164
+ cursor: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
+ include: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniUnknown>, z.ZodMiniTransform<string[], unknown>>, z.ZodMiniArray<z.ZodMiniEnum<{
166
+ totalCount: "totalCount";
167
+ }>>>;
168
+ limit: z.ZodMiniDefault<z.ZodMiniNumber<unknown>>;
169
+ status: z.ZodMiniOptional<z.ZodMiniEnum<{
170
+ "action-required": "action-required";
171
+ "awaiting-source": "awaiting-source";
172
+ completed: "completed";
173
+ expired: "expired";
174
+ processing: "processing";
175
+ refunded: "refunded";
176
+ refunding: "refunding";
177
+ }>>;
178
+ }, z.core.$strip>;
179
+ /** Paginated funding transfer list. */
180
+ const Response: z.ZodMiniObject<{
181
+ data: z.ZodMiniArray<z.ZodMiniObject<{
182
+ createdAt: z.ZodMiniString<string>;
183
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
184
+ baseUnits: z.ZodMiniString<string>;
185
+ currency: z.ZodMiniString<string>;
186
+ decimals: z.ZodMiniNumber<number>;
187
+ formatted: z.ZodMiniString<string>;
188
+ }, z.core.$strip>>;
189
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
190
+ baseUnits: z.ZodMiniString<string>;
191
+ currency: z.ZodMiniString<string>;
192
+ decimals: z.ZodMiniNumber<number>;
193
+ formatted: z.ZodMiniString<string>;
194
+ }, z.core.$strip>>;
195
+ destinationChain: z.ZodMiniObject<{
196
+ addressFormat: z.ZodMiniEnum<{
197
+ base58: "base58";
198
+ base58check: "base58check";
199
+ hex: "hex";
200
+ }>;
201
+ id: z.ZodMiniString<string>;
202
+ kind: z.ZodMiniEnum<{
203
+ evm: "evm";
204
+ solana: "solana";
205
+ tron: "tron";
206
+ }>;
207
+ name: z.ZodMiniString<string>;
208
+ }, z.core.$strip>;
209
+ destinationToken: z.ZodMiniObject<{
210
+ address: z.ZodMiniString<string>;
211
+ currency: z.ZodMiniString<string>;
212
+ decimals: z.ZodMiniNumber<number>;
213
+ name: z.ZodMiniString<string>;
214
+ standard: z.ZodMiniString<string>;
215
+ symbol: z.ZodMiniString<string>;
216
+ tokenKey: z.ZodMiniString<string>;
217
+ verified: z.ZodMiniBoolean<boolean>;
218
+ }, z.core.$strip>;
219
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
220
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
221
+ amount: z.ZodMiniObject<{
222
+ baseUnits: z.ZodMiniString<string>;
223
+ currency: z.ZodMiniString<string>;
224
+ decimals: z.ZodMiniNumber<number>;
225
+ formatted: z.ZodMiniString<string>;
226
+ }, z.core.$strip>;
227
+ side: z.ZodMiniEnum<{
228
+ destination: "destination";
229
+ source: "source";
230
+ }>;
231
+ token: z.ZodMiniObject<{
232
+ address: z.ZodMiniString<string>;
233
+ currency: z.ZodMiniString<string>;
234
+ decimals: z.ZodMiniNumber<number>;
235
+ name: z.ZodMiniString<string>;
236
+ standard: z.ZodMiniString<string>;
237
+ symbol: z.ZodMiniString<string>;
238
+ tokenKey: z.ZodMiniString<string>;
239
+ verified: z.ZodMiniBoolean<boolean>;
240
+ }, z.core.$strip>;
241
+ type: z.ZodMiniEnum<{
242
+ provider: "provider";
243
+ }>;
244
+ }, z.core.$strip>>;
245
+ id: z.ZodMiniString<string>;
246
+ method: z.ZodMiniEnum<{
247
+ depositAddress: "depositAddress";
248
+ transaction: "transaction";
249
+ }>;
250
+ mode: z.ZodMiniEnum<{
251
+ exactDestination: "exactDestination";
252
+ exactSource: "exactSource";
253
+ }>;
254
+ provider: z.ZodMiniObject<{
255
+ id: z.ZodMiniString<string>;
256
+ name: z.ZodMiniString<string>;
257
+ }, z.core.$strip>;
258
+ quote: z.ZodMiniObject<{
259
+ expiresAt: z.ZodMiniString<string>;
260
+ sampledAt: z.ZodMiniString<string>;
261
+ }, z.core.$strip>;
262
+ recipient: z.ZodMiniString<string>;
263
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
264
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
265
+ baseUnits: z.ZodMiniString<string>;
266
+ currency: z.ZodMiniString<string>;
267
+ decimals: z.ZodMiniNumber<number>;
268
+ formatted: z.ZodMiniString<string>;
269
+ }, z.core.$strip>>;
270
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
271
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
272
+ sourceAmount: z.ZodMiniObject<{
273
+ baseUnits: z.ZodMiniString<string>;
274
+ currency: z.ZodMiniString<string>;
275
+ decimals: z.ZodMiniNumber<number>;
276
+ formatted: z.ZodMiniString<string>;
277
+ }, z.core.$strip>;
278
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
279
+ baseUnits: z.ZodMiniString<string>;
280
+ currency: z.ZodMiniString<string>;
281
+ decimals: z.ZodMiniNumber<number>;
282
+ formatted: z.ZodMiniString<string>;
283
+ }, z.core.$strip>>;
284
+ sourceChain: z.ZodMiniObject<{
285
+ addressFormat: z.ZodMiniEnum<{
286
+ base58: "base58";
287
+ base58check: "base58check";
288
+ hex: "hex";
289
+ }>;
290
+ id: z.ZodMiniString<string>;
291
+ kind: z.ZodMiniEnum<{
292
+ evm: "evm";
293
+ solana: "solana";
294
+ tron: "tron";
295
+ }>;
296
+ name: z.ZodMiniString<string>;
297
+ }, z.core.$strip>;
298
+ sourceToken: z.ZodMiniObject<{
299
+ address: z.ZodMiniString<string>;
300
+ currency: z.ZodMiniString<string>;
301
+ decimals: z.ZodMiniNumber<number>;
302
+ name: z.ZodMiniString<string>;
303
+ standard: z.ZodMiniString<string>;
304
+ symbol: z.ZodMiniString<string>;
305
+ tokenKey: z.ZodMiniString<string>;
306
+ verified: z.ZodMiniBoolean<boolean>;
307
+ }, z.core.$strip>;
308
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
309
+ status: z.ZodMiniEnum<{
310
+ "action-required": "action-required";
311
+ "awaiting-source": "awaiting-source";
312
+ completed: "completed";
313
+ expired: "expired";
314
+ processing: "processing";
315
+ refunded: "refunded";
316
+ refunding: "refunding";
317
+ }>;
318
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
319
+ code: z.ZodMiniEnum<{
320
+ destination_amount_below_minimum: "destination_amount_below_minimum";
321
+ destination_recovered: "destination_recovered";
322
+ manual_recovery_required: "manual_recovery_required";
323
+ refund_failed: "refund_failed";
324
+ source_amount_above_maximum: "source_amount_above_maximum";
325
+ source_amount_below_minimum: "source_amount_below_minimum";
326
+ source_chain_mismatch: "source_chain_mismatch";
327
+ source_token_mismatch: "source_token_mismatch";
328
+ }>;
329
+ message: z.ZodMiniString<string>;
330
+ }, z.core.$strip>>;
331
+ updatedAt: z.ZodMiniString<string>;
332
+ version: z.ZodMiniNumber<number>;
333
+ }, z.core.$strip>>;
334
+ meta: z.ZodMiniOptional<z.ZodMiniObject<{
335
+ totalCountCapped: z.ZodMiniBoolean<boolean>;
336
+ totalCount: z.ZodMiniNumber<number>;
337
+ }, z.core.$strip>>;
338
+ nextCursor: z.ZodMiniNullable<z.ZodMiniString<string>>;
339
+ }, z.core.$strip>;
340
+ }
341
+ /** Schemas for the createFundingTransfer operation. */
342
+ namespace createFundingTransfer {
343
+ /** Funding transfer creation request body. */
344
+ const Body: z.ZodMiniObject<{
345
+ amount: z.ZodMiniString<string>;
346
+ destinationToken: z.ZodMiniString<string>;
347
+ mode: z.ZodMiniEnum<{
348
+ exactDestination: "exactDestination";
349
+ exactSource: "exactSource";
350
+ }>;
351
+ recipient: z.ZodMiniString<string>;
352
+ sender: z.ZodMiniString<string>;
353
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
354
+ sourceChain: z.ZodMiniString<string>;
355
+ sourceToken: z.ZodMiniString<string>;
356
+ }, z.core.$strict>;
357
+ /** Required headers for funding transfer creation. */
358
+ const Headers: z.ZodMiniObject<{
359
+ 'idempotency-key': z.ZodMiniString<string>;
360
+ }, z.core.$strip>;
361
+ /** The created transfer with its one-time executable action. */
362
+ const Response: z.ZodMiniObject<{
363
+ createdAt: z.ZodMiniString<string>;
364
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
365
+ baseUnits: z.ZodMiniString<string>;
366
+ currency: z.ZodMiniString<string>;
367
+ decimals: z.ZodMiniNumber<number>;
368
+ formatted: z.ZodMiniString<string>;
369
+ }, z.core.$strip>>;
370
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
371
+ baseUnits: z.ZodMiniString<string>;
372
+ currency: z.ZodMiniString<string>;
373
+ decimals: z.ZodMiniNumber<number>;
374
+ formatted: z.ZodMiniString<string>;
375
+ }, z.core.$strip>>;
376
+ destinationChain: z.ZodMiniObject<{
377
+ addressFormat: z.ZodMiniEnum<{
378
+ base58: "base58";
379
+ base58check: "base58check";
380
+ hex: "hex";
381
+ }>;
382
+ id: z.ZodMiniString<string>;
383
+ kind: z.ZodMiniEnum<{
384
+ evm: "evm";
385
+ solana: "solana";
386
+ tron: "tron";
387
+ }>;
388
+ name: z.ZodMiniString<string>;
389
+ }, z.core.$strip>;
390
+ destinationToken: z.ZodMiniObject<{
391
+ address: z.ZodMiniString<string>;
392
+ currency: z.ZodMiniString<string>;
393
+ decimals: z.ZodMiniNumber<number>;
394
+ name: z.ZodMiniString<string>;
395
+ standard: z.ZodMiniString<string>;
396
+ symbol: z.ZodMiniString<string>;
397
+ tokenKey: z.ZodMiniString<string>;
398
+ verified: z.ZodMiniBoolean<boolean>;
399
+ }, z.core.$strip>;
400
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
401
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
402
+ amount: z.ZodMiniObject<{
403
+ baseUnits: z.ZodMiniString<string>;
404
+ currency: z.ZodMiniString<string>;
405
+ decimals: z.ZodMiniNumber<number>;
406
+ formatted: z.ZodMiniString<string>;
407
+ }, z.core.$strip>;
408
+ side: z.ZodMiniEnum<{
409
+ destination: "destination";
410
+ source: "source";
411
+ }>;
412
+ token: z.ZodMiniObject<{
413
+ address: z.ZodMiniString<string>;
414
+ currency: z.ZodMiniString<string>;
415
+ decimals: z.ZodMiniNumber<number>;
416
+ name: z.ZodMiniString<string>;
417
+ standard: z.ZodMiniString<string>;
418
+ symbol: z.ZodMiniString<string>;
419
+ tokenKey: z.ZodMiniString<string>;
420
+ verified: z.ZodMiniBoolean<boolean>;
421
+ }, z.core.$strip>;
422
+ type: z.ZodMiniEnum<{
423
+ provider: "provider";
424
+ }>;
425
+ }, z.core.$strip>>;
426
+ id: z.ZodMiniString<string>;
427
+ method: z.ZodMiniEnum<{
428
+ depositAddress: "depositAddress";
429
+ transaction: "transaction";
430
+ }>;
431
+ mode: z.ZodMiniEnum<{
432
+ exactDestination: "exactDestination";
433
+ exactSource: "exactSource";
434
+ }>;
435
+ provider: z.ZodMiniObject<{
436
+ id: z.ZodMiniString<string>;
437
+ name: z.ZodMiniString<string>;
438
+ }, z.core.$strip>;
439
+ quote: z.ZodMiniObject<{
440
+ expiresAt: z.ZodMiniString<string>;
441
+ sampledAt: z.ZodMiniString<string>;
442
+ }, z.core.$strip>;
443
+ recipient: z.ZodMiniString<string>;
444
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
445
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
446
+ baseUnits: z.ZodMiniString<string>;
447
+ currency: z.ZodMiniString<string>;
448
+ decimals: z.ZodMiniNumber<number>;
449
+ formatted: z.ZodMiniString<string>;
450
+ }, z.core.$strip>>;
451
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
452
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
453
+ sourceAmount: z.ZodMiniObject<{
454
+ baseUnits: z.ZodMiniString<string>;
455
+ currency: z.ZodMiniString<string>;
456
+ decimals: z.ZodMiniNumber<number>;
457
+ formatted: z.ZodMiniString<string>;
458
+ }, z.core.$strip>;
459
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
460
+ baseUnits: z.ZodMiniString<string>;
461
+ currency: z.ZodMiniString<string>;
462
+ decimals: z.ZodMiniNumber<number>;
463
+ formatted: z.ZodMiniString<string>;
464
+ }, z.core.$strip>>;
465
+ sourceChain: z.ZodMiniObject<{
466
+ addressFormat: z.ZodMiniEnum<{
467
+ base58: "base58";
468
+ base58check: "base58check";
469
+ hex: "hex";
470
+ }>;
471
+ id: z.ZodMiniString<string>;
472
+ kind: z.ZodMiniEnum<{
473
+ evm: "evm";
474
+ solana: "solana";
475
+ tron: "tron";
476
+ }>;
477
+ name: z.ZodMiniString<string>;
478
+ }, z.core.$strip>;
479
+ sourceToken: z.ZodMiniObject<{
480
+ address: z.ZodMiniString<string>;
481
+ currency: z.ZodMiniString<string>;
482
+ decimals: z.ZodMiniNumber<number>;
483
+ name: z.ZodMiniString<string>;
484
+ standard: z.ZodMiniString<string>;
485
+ symbol: z.ZodMiniString<string>;
486
+ tokenKey: z.ZodMiniString<string>;
487
+ verified: z.ZodMiniBoolean<boolean>;
488
+ }, z.core.$strip>;
489
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
490
+ status: z.ZodMiniEnum<{
491
+ "action-required": "action-required";
492
+ "awaiting-source": "awaiting-source";
493
+ completed: "completed";
494
+ expired: "expired";
495
+ processing: "processing";
496
+ refunded: "refunded";
497
+ refunding: "refunding";
498
+ }>;
499
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
500
+ code: z.ZodMiniEnum<{
501
+ destination_amount_below_minimum: "destination_amount_below_minimum";
502
+ destination_recovered: "destination_recovered";
503
+ manual_recovery_required: "manual_recovery_required";
504
+ refund_failed: "refund_failed";
505
+ source_amount_above_maximum: "source_amount_above_maximum";
506
+ source_amount_below_minimum: "source_amount_below_minimum";
507
+ source_chain_mismatch: "source_chain_mismatch";
508
+ source_token_mismatch: "source_token_mismatch";
509
+ }>;
510
+ message: z.ZodMiniString<string>;
511
+ }, z.core.$strip>>;
512
+ updatedAt: z.ZodMiniString<string>;
513
+ version: z.ZodMiniNumber<number>;
514
+ action: z.ZodMiniDiscriminatedUnion<[z.ZodMiniObject<{
515
+ calls: z.ZodMiniArray<z.ZodMiniObject<{
516
+ data: z.ZodMiniString<string>;
517
+ to: z.ZodMiniString<string>;
518
+ value: z.ZodMiniString<string>;
519
+ }, z.core.$strip>>;
520
+ type: z.ZodMiniLiteral<"evm:calls">;
521
+ }, z.core.$strip>], "type">;
522
+ }, z.core.$strip>;
523
+ }
524
+ /** Schemas for the createFundingTransferVault operation. */
525
+ namespace createFundingTransferVault {
526
+ /** Funding transfer creation request for an Earn vault destination. */
527
+ const Body: z.ZodMiniObject<{
528
+ amount: z.ZodMiniString<string>;
529
+ mode: z.ZodMiniEnum<{
530
+ exactDestination: "exactDestination";
531
+ exactSource: "exactSource";
532
+ }>;
533
+ recipient: z.ZodMiniString<string>;
534
+ sender: z.ZodMiniString<string>;
535
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
536
+ sourceChain: z.ZodMiniString<string>;
537
+ sourceToken: z.ZodMiniString<string>;
538
+ vaultAddress: z.ZodMiniString<string>;
539
+ }, z.core.$strict>;
540
+ /** Required headers for vault funding transfer creation. */
541
+ const Headers: z.ZodMiniObject<{
542
+ 'idempotency-key': z.ZodMiniString<string>;
543
+ }, z.core.$strip>;
544
+ }
545
+ /** Schemas for the createFundingTransferZone operation. */
546
+ namespace createFundingTransferZone {
547
+ /** Funding transfer creation request for a Zone destination. */
548
+ const Body: z.ZodMiniObject<{
549
+ amount: z.ZodMiniString<string>;
550
+ destinationChain: z.ZodMiniString<string>;
551
+ destinationToken: z.ZodMiniString<string>;
552
+ mode: z.ZodMiniEnum<{
553
+ exactDestination: "exactDestination";
554
+ exactSource: "exactSource";
555
+ }>;
556
+ recipient: z.ZodMiniString<string>;
557
+ recipientFallback: z.ZodMiniString<string>;
558
+ sender: z.ZodMiniString<string>;
559
+ slippageBps: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
560
+ sourceChain: z.ZodMiniString<string>;
561
+ sourceToken: z.ZodMiniString<string>;
562
+ }, z.core.$strict>;
563
+ /** Required headers for Zone funding transfer creation. */
564
+ const Headers: z.ZodMiniObject<{
565
+ 'idempotency-key': z.ZodMiniString<string>;
566
+ }, z.core.$strip>;
567
+ }
568
+ /** Schemas for the getFundingTransfer operation. */
569
+ namespace getFundingTransfer {
570
+ /** Path parameters for a funding transfer read. */
571
+ const Params: z.ZodMiniObject<{
572
+ id: z.ZodMiniString<string>;
573
+ }, z.core.$strip>;
574
+ /** The funding transfer resource, returned directly. */
575
+ const Response: z.ZodMiniObject<{
576
+ createdAt: z.ZodMiniString<string>;
577
+ destinationAmount: z.ZodMiniOptional<z.ZodMiniObject<{
578
+ baseUnits: z.ZodMiniString<string>;
579
+ currency: z.ZodMiniString<string>;
580
+ decimals: z.ZodMiniNumber<number>;
581
+ formatted: z.ZodMiniString<string>;
582
+ }, z.core.$strip>>;
583
+ destinationAmountMin: z.ZodMiniOptional<z.ZodMiniObject<{
584
+ baseUnits: z.ZodMiniString<string>;
585
+ currency: z.ZodMiniString<string>;
586
+ decimals: z.ZodMiniNumber<number>;
587
+ formatted: z.ZodMiniString<string>;
588
+ }, z.core.$strip>>;
589
+ destinationChain: z.ZodMiniObject<{
590
+ addressFormat: z.ZodMiniEnum<{
591
+ base58: "base58";
592
+ base58check: "base58check";
593
+ hex: "hex";
594
+ }>;
595
+ id: z.ZodMiniString<string>;
596
+ kind: z.ZodMiniEnum<{
597
+ evm: "evm";
598
+ solana: "solana";
599
+ tron: "tron";
600
+ }>;
601
+ name: z.ZodMiniString<string>;
602
+ }, z.core.$strip>;
603
+ destinationToken: z.ZodMiniObject<{
604
+ address: z.ZodMiniString<string>;
605
+ currency: z.ZodMiniString<string>;
606
+ decimals: z.ZodMiniNumber<number>;
607
+ name: z.ZodMiniString<string>;
608
+ standard: z.ZodMiniString<string>;
609
+ symbol: z.ZodMiniString<string>;
610
+ tokenKey: z.ZodMiniString<string>;
611
+ verified: z.ZodMiniBoolean<boolean>;
612
+ }, z.core.$strip>;
613
+ destinationTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
614
+ fees: z.ZodMiniArray<z.ZodMiniObject<{
615
+ amount: z.ZodMiniObject<{
616
+ baseUnits: z.ZodMiniString<string>;
617
+ currency: z.ZodMiniString<string>;
618
+ decimals: z.ZodMiniNumber<number>;
619
+ formatted: z.ZodMiniString<string>;
620
+ }, z.core.$strip>;
621
+ side: z.ZodMiniEnum<{
622
+ destination: "destination";
623
+ source: "source";
624
+ }>;
625
+ token: z.ZodMiniObject<{
626
+ address: z.ZodMiniString<string>;
627
+ currency: z.ZodMiniString<string>;
628
+ decimals: z.ZodMiniNumber<number>;
629
+ name: z.ZodMiniString<string>;
630
+ standard: z.ZodMiniString<string>;
631
+ symbol: z.ZodMiniString<string>;
632
+ tokenKey: z.ZodMiniString<string>;
633
+ verified: z.ZodMiniBoolean<boolean>;
634
+ }, z.core.$strip>;
635
+ type: z.ZodMiniEnum<{
636
+ provider: "provider";
637
+ }>;
638
+ }, z.core.$strip>>;
639
+ id: z.ZodMiniString<string>;
640
+ method: z.ZodMiniEnum<{
641
+ depositAddress: "depositAddress";
642
+ transaction: "transaction";
643
+ }>;
644
+ mode: z.ZodMiniEnum<{
645
+ exactDestination: "exactDestination";
646
+ exactSource: "exactSource";
647
+ }>;
648
+ provider: z.ZodMiniObject<{
649
+ id: z.ZodMiniString<string>;
650
+ name: z.ZodMiniString<string>;
651
+ }, z.core.$strip>;
652
+ quote: z.ZodMiniObject<{
653
+ expiresAt: z.ZodMiniString<string>;
654
+ sampledAt: z.ZodMiniString<string>;
655
+ }, z.core.$strip>;
656
+ recipient: z.ZodMiniString<string>;
657
+ refundAddress: z.ZodMiniOptional<z.ZodMiniString<string>>;
658
+ refundAmount: z.ZodMiniOptional<z.ZodMiniObject<{
659
+ baseUnits: z.ZodMiniString<string>;
660
+ currency: z.ZodMiniString<string>;
661
+ decimals: z.ZodMiniNumber<number>;
662
+ formatted: z.ZodMiniString<string>;
663
+ }, z.core.$strip>>;
664
+ refundTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
665
+ sender: z.ZodMiniOptional<z.ZodMiniString<string>>;
666
+ sourceAmount: z.ZodMiniObject<{
667
+ baseUnits: z.ZodMiniString<string>;
668
+ currency: z.ZodMiniString<string>;
669
+ decimals: z.ZodMiniNumber<number>;
670
+ formatted: z.ZodMiniString<string>;
671
+ }, z.core.$strip>;
672
+ sourceAmountMax: z.ZodMiniOptional<z.ZodMiniObject<{
673
+ baseUnits: z.ZodMiniString<string>;
674
+ currency: z.ZodMiniString<string>;
675
+ decimals: z.ZodMiniNumber<number>;
676
+ formatted: z.ZodMiniString<string>;
677
+ }, z.core.$strip>>;
678
+ sourceChain: z.ZodMiniObject<{
679
+ addressFormat: z.ZodMiniEnum<{
680
+ base58: "base58";
681
+ base58check: "base58check";
682
+ hex: "hex";
683
+ }>;
684
+ id: z.ZodMiniString<string>;
685
+ kind: z.ZodMiniEnum<{
686
+ evm: "evm";
687
+ solana: "solana";
688
+ tron: "tron";
689
+ }>;
690
+ name: z.ZodMiniString<string>;
691
+ }, z.core.$strip>;
692
+ sourceToken: z.ZodMiniObject<{
693
+ address: z.ZodMiniString<string>;
694
+ currency: z.ZodMiniString<string>;
695
+ decimals: z.ZodMiniNumber<number>;
696
+ name: z.ZodMiniString<string>;
697
+ standard: z.ZodMiniString<string>;
698
+ symbol: z.ZodMiniString<string>;
699
+ tokenKey: z.ZodMiniString<string>;
700
+ verified: z.ZodMiniBoolean<boolean>;
701
+ }, z.core.$strip>;
702
+ sourceTransactionHashes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
703
+ status: z.ZodMiniEnum<{
704
+ "action-required": "action-required";
705
+ "awaiting-source": "awaiting-source";
706
+ completed: "completed";
707
+ expired: "expired";
708
+ processing: "processing";
709
+ refunded: "refunded";
710
+ refunding: "refunding";
711
+ }>;
712
+ statusReason: z.ZodMiniOptional<z.ZodMiniObject<{
713
+ code: z.ZodMiniEnum<{
714
+ destination_amount_below_minimum: "destination_amount_below_minimum";
715
+ destination_recovered: "destination_recovered";
716
+ manual_recovery_required: "manual_recovery_required";
717
+ refund_failed: "refund_failed";
718
+ source_amount_above_maximum: "source_amount_above_maximum";
719
+ source_amount_below_minimum: "source_amount_below_minimum";
720
+ source_chain_mismatch: "source_chain_mismatch";
721
+ source_token_mismatch: "source_token_mismatch";
722
+ }>;
723
+ message: z.ZodMiniString<string>;
724
+ }, z.core.$strip>>;
725
+ updatedAt: z.ZodMiniString<string>;
726
+ version: z.ZodMiniNumber<number>;
727
+ }, z.core.$strip>;
728
+ }
729
+ }
730
+ /** Mounts durable funding transfer routes. */
731
+ export declare function transfers(): import("hono/hono-base").HonoBase<App.Environment, {
732
+ "/v1/funding/transfers": {
733
+ $get: {
734
+ output: {
735
+ error: {
736
+ code: "api_key_malformed";
737
+ details?: readonly Response.error.Detail[] | undefined;
738
+ message: string;
739
+ };
740
+ requestId: string;
741
+ };
742
+ outputFormat: "json";
743
+ status: 400;
744
+ input: {
745
+ query?: {
746
+ cursor?: string | string[];
747
+ include?: string | string[];
748
+ limit?: string | string[];
749
+ status?: string | string[];
750
+ } | undefined;
751
+ };
752
+ } | {
753
+ output: {
754
+ error: {
755
+ code: "api_key_invalid" | "api_key_missing";
756
+ details?: readonly Response.error.Detail[] | undefined;
757
+ message: string;
758
+ };
759
+ requestId: string;
760
+ };
761
+ outputFormat: "json";
762
+ status: 401;
763
+ input: {
764
+ query?: {
765
+ cursor?: string | string[];
766
+ include?: string | string[];
767
+ limit?: string | string[];
768
+ status?: string | string[];
769
+ } | undefined;
770
+ };
771
+ } | {
772
+ output: {
773
+ error: {
774
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
775
+ details?: readonly Response.error.Detail[] | undefined;
776
+ message: string;
777
+ };
778
+ requestId: string;
779
+ };
780
+ outputFormat: "json";
781
+ status: 403;
782
+ input: {
783
+ query?: {
784
+ cursor?: string | string[];
785
+ include?: string | string[];
786
+ limit?: string | string[];
787
+ status?: string | string[];
788
+ } | undefined;
789
+ };
790
+ } | {
791
+ output: {
792
+ error: {
793
+ code: "payment_required" | "rate_limit_exceeded";
794
+ details?: readonly Response.error.Detail[] | undefined;
795
+ message: string;
796
+ };
797
+ requestId: string;
798
+ };
799
+ outputFormat: "json";
800
+ status: 429;
801
+ input: {
802
+ query?: {
803
+ cursor?: string | string[];
804
+ include?: string | string[];
805
+ limit?: string | string[];
806
+ status?: string | string[];
807
+ } | undefined;
808
+ };
809
+ } | {
810
+ output: {
811
+ error: {
812
+ code: "query_invalid";
813
+ details?: readonly Response.error.Detail[] | undefined;
814
+ message: string;
815
+ };
816
+ requestId: string;
817
+ };
818
+ outputFormat: "json";
819
+ status: 400;
820
+ input: {
821
+ query?: {
822
+ cursor?: string | string[];
823
+ include?: string | string[];
824
+ limit?: string | string[];
825
+ status?: string | string[];
826
+ } | undefined;
827
+ };
828
+ } | {
829
+ output: {
830
+ error: {
831
+ code: "upstream_error";
832
+ details?: readonly Response.error.Detail[] | undefined;
833
+ message: string;
834
+ };
835
+ requestId: string;
836
+ };
837
+ outputFormat: "json";
838
+ status: 502;
839
+ input: {
840
+ query?: {
841
+ cursor?: string | string[];
842
+ include?: string | string[];
843
+ limit?: string | string[];
844
+ status?: string | string[];
845
+ } | undefined;
846
+ };
847
+ } | {
848
+ output: {
849
+ error: {
850
+ code: "unauthorized";
851
+ details?: readonly Response.error.Detail[] | undefined;
852
+ message: string;
853
+ };
854
+ requestId: string;
855
+ };
856
+ outputFormat: "json";
857
+ status: 401;
858
+ input: {
859
+ query?: {
860
+ cursor?: string | string[];
861
+ include?: string | string[];
862
+ limit?: string | string[];
863
+ status?: string | string[];
864
+ } | undefined;
865
+ };
866
+ } | {
867
+ output: {
868
+ data: {
869
+ createdAt: string;
870
+ destinationAmount?: {
871
+ baseUnits: string;
872
+ currency: string;
873
+ decimals: number;
874
+ formatted: string;
875
+ } | undefined;
876
+ destinationAmountMin?: {
877
+ baseUnits: string;
878
+ currency: string;
879
+ decimals: number;
880
+ formatted: string;
881
+ } | undefined;
882
+ destinationChain: {
883
+ addressFormat: "base58" | "base58check" | "hex";
884
+ id: string;
885
+ kind: "evm" | "solana" | "tron";
886
+ name: string;
887
+ };
888
+ destinationToken: {
889
+ address: string;
890
+ currency: string;
891
+ decimals: number;
892
+ name: string;
893
+ standard: string;
894
+ symbol: string;
895
+ tokenKey: string;
896
+ verified: boolean;
897
+ };
898
+ destinationTransactionHashes?: string[] | undefined;
899
+ fees: {
900
+ amount: {
901
+ baseUnits: string;
902
+ currency: string;
903
+ decimals: number;
904
+ formatted: string;
905
+ };
906
+ side: "destination" | "source";
907
+ token: {
908
+ address: string;
909
+ currency: string;
910
+ decimals: number;
911
+ name: string;
912
+ standard: string;
913
+ symbol: string;
914
+ tokenKey: string;
915
+ verified: boolean;
916
+ };
917
+ type: "provider";
918
+ }[];
919
+ id: string;
920
+ method: "depositAddress" | "transaction";
921
+ mode: "exactDestination" | "exactSource";
922
+ provider: {
923
+ id: string;
924
+ name: string;
925
+ };
926
+ quote: {
927
+ expiresAt: string;
928
+ sampledAt: string;
929
+ };
930
+ recipient: string;
931
+ refundAddress?: string | undefined;
932
+ refundAmount?: {
933
+ baseUnits: string;
934
+ currency: string;
935
+ decimals: number;
936
+ formatted: string;
937
+ } | undefined;
938
+ refundTransactionHashes?: string[] | undefined;
939
+ sender?: string | undefined;
940
+ sourceAmount: {
941
+ baseUnits: string;
942
+ currency: string;
943
+ decimals: number;
944
+ formatted: string;
945
+ };
946
+ sourceAmountMax?: {
947
+ baseUnits: string;
948
+ currency: string;
949
+ decimals: number;
950
+ formatted: string;
951
+ } | undefined;
952
+ sourceChain: {
953
+ addressFormat: "base58" | "base58check" | "hex";
954
+ id: string;
955
+ kind: "evm" | "solana" | "tron";
956
+ name: string;
957
+ };
958
+ sourceToken: {
959
+ address: string;
960
+ currency: string;
961
+ decimals: number;
962
+ name: string;
963
+ standard: string;
964
+ symbol: string;
965
+ tokenKey: string;
966
+ verified: boolean;
967
+ };
968
+ sourceTransactionHashes?: string[] | undefined;
969
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
970
+ statusReason?: {
971
+ 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";
972
+ message: string;
973
+ } | undefined;
974
+ updatedAt: string;
975
+ version: number;
976
+ }[];
977
+ meta?: {
978
+ totalCountCapped: boolean;
979
+ totalCount: number;
980
+ } | undefined;
981
+ nextCursor: string | null;
982
+ };
983
+ outputFormat: "json";
984
+ status: 200;
985
+ input: {
986
+ query?: {
987
+ cursor?: string | string[];
988
+ include?: string | string[];
989
+ limit?: string | string[];
990
+ status?: string | string[];
991
+ } | undefined;
992
+ };
993
+ };
994
+ };
995
+ } & {
996
+ "/v1/funding/transfers/:id{ftr_[A-Za-z0-9_-]+}": {
997
+ $get: {
998
+ output: {
999
+ error: {
1000
+ code: "api_key_malformed";
1001
+ details?: readonly Response.error.Detail[] | undefined;
1002
+ message: string;
1003
+ };
1004
+ requestId: string;
1005
+ };
1006
+ outputFormat: "json";
1007
+ status: 400;
1008
+ input: {
1009
+ param: {
1010
+ id: string;
1011
+ };
1012
+ };
1013
+ } | {
1014
+ output: {
1015
+ error: {
1016
+ code: "api_key_invalid" | "api_key_missing";
1017
+ details?: readonly Response.error.Detail[] | undefined;
1018
+ message: string;
1019
+ };
1020
+ requestId: string;
1021
+ };
1022
+ outputFormat: "json";
1023
+ status: 401;
1024
+ input: {
1025
+ param: {
1026
+ id: string;
1027
+ };
1028
+ };
1029
+ } | {
1030
+ output: {
1031
+ error: {
1032
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1033
+ details?: readonly Response.error.Detail[] | undefined;
1034
+ message: string;
1035
+ };
1036
+ requestId: string;
1037
+ };
1038
+ outputFormat: "json";
1039
+ status: 403;
1040
+ input: {
1041
+ param: {
1042
+ id: string;
1043
+ };
1044
+ };
1045
+ } | {
1046
+ output: {
1047
+ error: {
1048
+ code: "payment_required" | "rate_limit_exceeded";
1049
+ details?: readonly Response.error.Detail[] | undefined;
1050
+ message: string;
1051
+ };
1052
+ requestId: string;
1053
+ };
1054
+ outputFormat: "json";
1055
+ status: 429;
1056
+ input: {
1057
+ param: {
1058
+ id: string;
1059
+ };
1060
+ };
1061
+ } | {
1062
+ output: {
1063
+ error: {
1064
+ code: "upstream_error";
1065
+ details?: readonly Response.error.Detail[] | undefined;
1066
+ message: string;
1067
+ };
1068
+ requestId: string;
1069
+ };
1070
+ outputFormat: "json";
1071
+ status: 502;
1072
+ input: {
1073
+ param: {
1074
+ id: string;
1075
+ };
1076
+ };
1077
+ } | {
1078
+ output: {
1079
+ error: {
1080
+ code: "unauthorized";
1081
+ details?: readonly Response.error.Detail[] | undefined;
1082
+ message: string;
1083
+ };
1084
+ requestId: string;
1085
+ };
1086
+ outputFormat: "json";
1087
+ status: 401;
1088
+ input: {
1089
+ param: {
1090
+ id: string;
1091
+ };
1092
+ };
1093
+ } | {
1094
+ output: {
1095
+ error: {
1096
+ code: "param_invalid";
1097
+ details?: readonly Response.error.Detail[] | undefined;
1098
+ message: string;
1099
+ };
1100
+ requestId: string;
1101
+ };
1102
+ outputFormat: "json";
1103
+ status: 400;
1104
+ input: {
1105
+ param: {
1106
+ id: string;
1107
+ };
1108
+ };
1109
+ } | {
1110
+ output: {
1111
+ error: {
1112
+ code: "funding_transfer_not_found";
1113
+ details?: readonly Response.error.Detail[] | undefined;
1114
+ message: string;
1115
+ };
1116
+ requestId: string;
1117
+ };
1118
+ outputFormat: "json";
1119
+ status: 404;
1120
+ input: {
1121
+ param: {
1122
+ id: string;
1123
+ };
1124
+ };
1125
+ } | {
1126
+ output: {
1127
+ createdAt: string;
1128
+ destinationAmount?: {
1129
+ baseUnits: string;
1130
+ currency: string;
1131
+ decimals: number;
1132
+ formatted: string;
1133
+ } | undefined;
1134
+ destinationAmountMin?: {
1135
+ baseUnits: string;
1136
+ currency: string;
1137
+ decimals: number;
1138
+ formatted: string;
1139
+ } | undefined;
1140
+ destinationChain: {
1141
+ addressFormat: "base58" | "base58check" | "hex";
1142
+ id: string;
1143
+ kind: "evm" | "solana" | "tron";
1144
+ name: string;
1145
+ };
1146
+ destinationToken: {
1147
+ address: string;
1148
+ currency: string;
1149
+ decimals: number;
1150
+ name: string;
1151
+ standard: string;
1152
+ symbol: string;
1153
+ tokenKey: string;
1154
+ verified: boolean;
1155
+ };
1156
+ destinationTransactionHashes?: string[] | undefined;
1157
+ fees: {
1158
+ amount: {
1159
+ baseUnits: string;
1160
+ currency: string;
1161
+ decimals: number;
1162
+ formatted: string;
1163
+ };
1164
+ side: "destination" | "source";
1165
+ token: {
1166
+ address: string;
1167
+ currency: string;
1168
+ decimals: number;
1169
+ name: string;
1170
+ standard: string;
1171
+ symbol: string;
1172
+ tokenKey: string;
1173
+ verified: boolean;
1174
+ };
1175
+ type: "provider";
1176
+ }[];
1177
+ id: string;
1178
+ method: "depositAddress" | "transaction";
1179
+ mode: "exactDestination" | "exactSource";
1180
+ provider: {
1181
+ id: string;
1182
+ name: string;
1183
+ };
1184
+ quote: {
1185
+ expiresAt: string;
1186
+ sampledAt: string;
1187
+ };
1188
+ recipient: string;
1189
+ refundAddress?: string | undefined;
1190
+ refundAmount?: {
1191
+ baseUnits: string;
1192
+ currency: string;
1193
+ decimals: number;
1194
+ formatted: string;
1195
+ } | undefined;
1196
+ refundTransactionHashes?: string[] | undefined;
1197
+ sender?: string | undefined;
1198
+ sourceAmount: {
1199
+ baseUnits: string;
1200
+ currency: string;
1201
+ decimals: number;
1202
+ formatted: string;
1203
+ };
1204
+ sourceAmountMax?: {
1205
+ baseUnits: string;
1206
+ currency: string;
1207
+ decimals: number;
1208
+ formatted: string;
1209
+ } | undefined;
1210
+ sourceChain: {
1211
+ addressFormat: "base58" | "base58check" | "hex";
1212
+ id: string;
1213
+ kind: "evm" | "solana" | "tron";
1214
+ name: string;
1215
+ };
1216
+ sourceToken: {
1217
+ address: string;
1218
+ currency: string;
1219
+ decimals: number;
1220
+ name: string;
1221
+ standard: string;
1222
+ symbol: string;
1223
+ tokenKey: string;
1224
+ verified: boolean;
1225
+ };
1226
+ sourceTransactionHashes?: string[] | undefined;
1227
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
1228
+ statusReason?: {
1229
+ 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";
1230
+ message: string;
1231
+ } | undefined;
1232
+ updatedAt: string;
1233
+ version: number;
1234
+ };
1235
+ outputFormat: "json";
1236
+ status: 200;
1237
+ input: {
1238
+ param: {
1239
+ id: string;
1240
+ };
1241
+ };
1242
+ };
1243
+ };
1244
+ } & {
1245
+ "/v1/funding/transfers": {
1246
+ $post: {
1247
+ output: {
1248
+ error: {
1249
+ code: "api_key_malformed";
1250
+ details?: readonly Response.error.Detail[] | undefined;
1251
+ message: string;
1252
+ };
1253
+ requestId: string;
1254
+ };
1255
+ outputFormat: "json";
1256
+ status: 400;
1257
+ input: {
1258
+ header: {
1259
+ 'idempotency-key': string;
1260
+ };
1261
+ } & {
1262
+ json: {
1263
+ amount: string;
1264
+ destinationToken: string;
1265
+ mode: "exactDestination" | "exactSource";
1266
+ recipient: string;
1267
+ sender: string;
1268
+ slippageBps?: number | undefined;
1269
+ sourceChain: string;
1270
+ sourceToken: string;
1271
+ };
1272
+ };
1273
+ } | {
1274
+ output: {
1275
+ error: {
1276
+ code: "api_key_invalid" | "api_key_missing";
1277
+ details?: readonly Response.error.Detail[] | undefined;
1278
+ message: string;
1279
+ };
1280
+ requestId: string;
1281
+ };
1282
+ outputFormat: "json";
1283
+ status: 401;
1284
+ input: {
1285
+ header: {
1286
+ 'idempotency-key': string;
1287
+ };
1288
+ } & {
1289
+ json: {
1290
+ amount: string;
1291
+ destinationToken: string;
1292
+ mode: "exactDestination" | "exactSource";
1293
+ recipient: string;
1294
+ sender: string;
1295
+ slippageBps?: number | undefined;
1296
+ sourceChain: string;
1297
+ sourceToken: string;
1298
+ };
1299
+ };
1300
+ } | {
1301
+ output: {
1302
+ error: {
1303
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1304
+ details?: readonly Response.error.Detail[] | undefined;
1305
+ message: string;
1306
+ };
1307
+ requestId: string;
1308
+ };
1309
+ outputFormat: "json";
1310
+ status: 403;
1311
+ input: {
1312
+ header: {
1313
+ 'idempotency-key': string;
1314
+ };
1315
+ } & {
1316
+ json: {
1317
+ amount: string;
1318
+ destinationToken: string;
1319
+ mode: "exactDestination" | "exactSource";
1320
+ recipient: string;
1321
+ sender: string;
1322
+ slippageBps?: number | undefined;
1323
+ sourceChain: string;
1324
+ sourceToken: string;
1325
+ };
1326
+ };
1327
+ } | {
1328
+ output: {
1329
+ error: {
1330
+ code: "payment_required" | "rate_limit_exceeded";
1331
+ details?: readonly Response.error.Detail[] | undefined;
1332
+ message: string;
1333
+ };
1334
+ requestId: string;
1335
+ };
1336
+ outputFormat: "json";
1337
+ status: 429;
1338
+ input: {
1339
+ header: {
1340
+ 'idempotency-key': string;
1341
+ };
1342
+ } & {
1343
+ json: {
1344
+ amount: string;
1345
+ destinationToken: string;
1346
+ mode: "exactDestination" | "exactSource";
1347
+ recipient: string;
1348
+ sender: string;
1349
+ slippageBps?: number | undefined;
1350
+ sourceChain: string;
1351
+ sourceToken: string;
1352
+ };
1353
+ };
1354
+ } | {
1355
+ output: {
1356
+ error: {
1357
+ code: "upstream_error";
1358
+ details?: readonly Response.error.Detail[] | undefined;
1359
+ message: string;
1360
+ };
1361
+ requestId: string;
1362
+ };
1363
+ outputFormat: "json";
1364
+ status: 502;
1365
+ input: {
1366
+ header: {
1367
+ 'idempotency-key': string;
1368
+ };
1369
+ } & {
1370
+ json: {
1371
+ amount: string;
1372
+ destinationToken: string;
1373
+ mode: "exactDestination" | "exactSource";
1374
+ recipient: string;
1375
+ sender: string;
1376
+ slippageBps?: number | undefined;
1377
+ sourceChain: string;
1378
+ sourceToken: string;
1379
+ };
1380
+ };
1381
+ } | {
1382
+ output: {
1383
+ error: {
1384
+ code: "body_invalid";
1385
+ details?: readonly Response.error.Detail[] | undefined;
1386
+ message: string;
1387
+ };
1388
+ requestId: string;
1389
+ };
1390
+ outputFormat: "json";
1391
+ status: 400;
1392
+ input: {
1393
+ header: {
1394
+ 'idempotency-key': string;
1395
+ };
1396
+ } & {
1397
+ json: {
1398
+ amount: string;
1399
+ destinationToken: string;
1400
+ mode: "exactDestination" | "exactSource";
1401
+ recipient: string;
1402
+ sender: string;
1403
+ slippageBps?: number | undefined;
1404
+ sourceChain: string;
1405
+ sourceToken: string;
1406
+ };
1407
+ };
1408
+ } | {
1409
+ output: {
1410
+ error: {
1411
+ code: "unauthorized";
1412
+ details?: readonly Response.error.Detail[] | undefined;
1413
+ message: string;
1414
+ };
1415
+ requestId: string;
1416
+ };
1417
+ outputFormat: "json";
1418
+ status: 401;
1419
+ input: {
1420
+ header: {
1421
+ 'idempotency-key': string;
1422
+ };
1423
+ } & {
1424
+ json: {
1425
+ amount: string;
1426
+ destinationToken: string;
1427
+ mode: "exactDestination" | "exactSource";
1428
+ recipient: string;
1429
+ sender: string;
1430
+ slippageBps?: number | undefined;
1431
+ sourceChain: string;
1432
+ sourceToken: string;
1433
+ };
1434
+ };
1435
+ } | {
1436
+ output: {
1437
+ error: {
1438
+ code: "idempotency_conflict";
1439
+ details?: readonly Response.error.Detail[] | undefined;
1440
+ message: string;
1441
+ };
1442
+ requestId: string;
1443
+ };
1444
+ outputFormat: "json";
1445
+ status: 409;
1446
+ input: {
1447
+ header: {
1448
+ 'idempotency-key': string;
1449
+ };
1450
+ } & {
1451
+ json: {
1452
+ amount: string;
1453
+ destinationToken: string;
1454
+ mode: "exactDestination" | "exactSource";
1455
+ recipient: string;
1456
+ sender: string;
1457
+ slippageBps?: number | undefined;
1458
+ sourceChain: string;
1459
+ sourceToken: string;
1460
+ };
1461
+ };
1462
+ } | {
1463
+ output: {
1464
+ error: {
1465
+ code: "idempotency_in_progress";
1466
+ details?: readonly Response.error.Detail[] | undefined;
1467
+ message: string;
1468
+ };
1469
+ requestId: string;
1470
+ };
1471
+ outputFormat: "json";
1472
+ status: 409;
1473
+ input: {
1474
+ header: {
1475
+ 'idempotency-key': string;
1476
+ };
1477
+ } & {
1478
+ json: {
1479
+ amount: string;
1480
+ destinationToken: string;
1481
+ mode: "exactDestination" | "exactSource";
1482
+ recipient: string;
1483
+ sender: string;
1484
+ slippageBps?: number | undefined;
1485
+ sourceChain: string;
1486
+ sourceToken: string;
1487
+ };
1488
+ };
1489
+ } | {
1490
+ output: {
1491
+ createdAt: string;
1492
+ destinationAmount?: {
1493
+ baseUnits: string;
1494
+ currency: string;
1495
+ decimals: number;
1496
+ formatted: string;
1497
+ } | undefined;
1498
+ destinationAmountMin?: {
1499
+ baseUnits: string;
1500
+ currency: string;
1501
+ decimals: number;
1502
+ formatted: string;
1503
+ } | undefined;
1504
+ destinationChain: {
1505
+ addressFormat: "base58" | "base58check" | "hex";
1506
+ id: string;
1507
+ kind: "evm" | "solana" | "tron";
1508
+ name: string;
1509
+ };
1510
+ destinationToken: {
1511
+ address: string;
1512
+ currency: string;
1513
+ decimals: number;
1514
+ name: string;
1515
+ standard: string;
1516
+ symbol: string;
1517
+ tokenKey: string;
1518
+ verified: boolean;
1519
+ };
1520
+ destinationTransactionHashes?: string[] | undefined;
1521
+ fees: {
1522
+ amount: {
1523
+ baseUnits: string;
1524
+ currency: string;
1525
+ decimals: number;
1526
+ formatted: string;
1527
+ };
1528
+ side: "destination" | "source";
1529
+ token: {
1530
+ address: string;
1531
+ currency: string;
1532
+ decimals: number;
1533
+ name: string;
1534
+ standard: string;
1535
+ symbol: string;
1536
+ tokenKey: string;
1537
+ verified: boolean;
1538
+ };
1539
+ type: "provider";
1540
+ }[];
1541
+ id: string;
1542
+ method: "depositAddress" | "transaction";
1543
+ mode: "exactDestination" | "exactSource";
1544
+ provider: {
1545
+ id: string;
1546
+ name: string;
1547
+ };
1548
+ quote: {
1549
+ expiresAt: string;
1550
+ sampledAt: string;
1551
+ };
1552
+ recipient: string;
1553
+ refundAddress?: string | undefined;
1554
+ refundAmount?: {
1555
+ baseUnits: string;
1556
+ currency: string;
1557
+ decimals: number;
1558
+ formatted: string;
1559
+ } | undefined;
1560
+ refundTransactionHashes?: string[] | undefined;
1561
+ sender?: string | undefined;
1562
+ sourceAmount: {
1563
+ baseUnits: string;
1564
+ currency: string;
1565
+ decimals: number;
1566
+ formatted: string;
1567
+ };
1568
+ sourceAmountMax?: {
1569
+ baseUnits: string;
1570
+ currency: string;
1571
+ decimals: number;
1572
+ formatted: string;
1573
+ } | undefined;
1574
+ sourceChain: {
1575
+ addressFormat: "base58" | "base58check" | "hex";
1576
+ id: string;
1577
+ kind: "evm" | "solana" | "tron";
1578
+ name: string;
1579
+ };
1580
+ sourceToken: {
1581
+ address: string;
1582
+ currency: string;
1583
+ decimals: number;
1584
+ name: string;
1585
+ standard: string;
1586
+ symbol: string;
1587
+ tokenKey: string;
1588
+ verified: boolean;
1589
+ };
1590
+ sourceTransactionHashes?: string[] | undefined;
1591
+ status: "action-required" | "awaiting-source" | "completed" | "expired" | "processing" | "refunded" | "refunding";
1592
+ statusReason?: {
1593
+ 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";
1594
+ message: string;
1595
+ } | undefined;
1596
+ updatedAt: string;
1597
+ version: number;
1598
+ action: {
1599
+ calls: {
1600
+ data: string;
1601
+ to: string;
1602
+ value: string;
1603
+ }[];
1604
+ type: "evm:calls";
1605
+ };
1606
+ };
1607
+ outputFormat: "json";
1608
+ status: 200;
1609
+ input: {
1610
+ header: {
1611
+ 'idempotency-key': string;
1612
+ };
1613
+ } & {
1614
+ json: {
1615
+ amount: string;
1616
+ destinationToken: string;
1617
+ mode: "exactDestination" | "exactSource";
1618
+ recipient: string;
1619
+ sender: string;
1620
+ slippageBps?: number | undefined;
1621
+ sourceChain: string;
1622
+ sourceToken: string;
1623
+ };
1624
+ };
1625
+ } | {
1626
+ output: {
1627
+ error: {
1628
+ code: "quote_not_available";
1629
+ details?: readonly Response.error.Detail[] | undefined;
1630
+ message: string;
1631
+ };
1632
+ requestId: string;
1633
+ };
1634
+ outputFormat: "json";
1635
+ status: 404;
1636
+ input: {
1637
+ header: {
1638
+ 'idempotency-key': string;
1639
+ };
1640
+ } & {
1641
+ json: {
1642
+ amount: string;
1643
+ destinationToken: string;
1644
+ mode: "exactDestination" | "exactSource";
1645
+ recipient: string;
1646
+ sender: string;
1647
+ slippageBps?: number | undefined;
1648
+ sourceChain: string;
1649
+ sourceToken: string;
1650
+ };
1651
+ };
1652
+ };
1653
+ };
1654
+ } & {
1655
+ "/v1/funding/transfers/vault": {
1656
+ $post: {
1657
+ output: {
1658
+ error: {
1659
+ code: "api_key_malformed";
1660
+ details?: readonly Response.error.Detail[] | undefined;
1661
+ message: string;
1662
+ };
1663
+ requestId: string;
1664
+ };
1665
+ outputFormat: "json";
1666
+ status: 400;
1667
+ input: {
1668
+ header: {
1669
+ 'idempotency-key': string;
1670
+ };
1671
+ } & {
1672
+ json: {
1673
+ amount: string;
1674
+ mode: "exactDestination" | "exactSource";
1675
+ recipient: string;
1676
+ sender: string;
1677
+ slippageBps?: number | undefined;
1678
+ sourceChain: string;
1679
+ sourceToken: string;
1680
+ vaultAddress: string;
1681
+ };
1682
+ };
1683
+ } | {
1684
+ output: {
1685
+ error: {
1686
+ code: "api_key_invalid" | "api_key_missing";
1687
+ details?: readonly Response.error.Detail[] | undefined;
1688
+ message: string;
1689
+ };
1690
+ requestId: string;
1691
+ };
1692
+ outputFormat: "json";
1693
+ status: 401;
1694
+ input: {
1695
+ header: {
1696
+ 'idempotency-key': string;
1697
+ };
1698
+ } & {
1699
+ json: {
1700
+ amount: string;
1701
+ mode: "exactDestination" | "exactSource";
1702
+ recipient: string;
1703
+ sender: string;
1704
+ slippageBps?: number | undefined;
1705
+ sourceChain: string;
1706
+ sourceToken: string;
1707
+ vaultAddress: string;
1708
+ };
1709
+ };
1710
+ } | {
1711
+ output: {
1712
+ error: {
1713
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1714
+ details?: readonly Response.error.Detail[] | undefined;
1715
+ message: string;
1716
+ };
1717
+ requestId: string;
1718
+ };
1719
+ outputFormat: "json";
1720
+ status: 403;
1721
+ input: {
1722
+ header: {
1723
+ 'idempotency-key': string;
1724
+ };
1725
+ } & {
1726
+ json: {
1727
+ amount: string;
1728
+ mode: "exactDestination" | "exactSource";
1729
+ recipient: string;
1730
+ sender: string;
1731
+ slippageBps?: number | undefined;
1732
+ sourceChain: string;
1733
+ sourceToken: string;
1734
+ vaultAddress: string;
1735
+ };
1736
+ };
1737
+ } | {
1738
+ output: {
1739
+ error: {
1740
+ code: "payment_required" | "rate_limit_exceeded";
1741
+ details?: readonly Response.error.Detail[] | undefined;
1742
+ message: string;
1743
+ };
1744
+ requestId: string;
1745
+ };
1746
+ outputFormat: "json";
1747
+ status: 429;
1748
+ input: {
1749
+ header: {
1750
+ 'idempotency-key': string;
1751
+ };
1752
+ } & {
1753
+ json: {
1754
+ amount: string;
1755
+ mode: "exactDestination" | "exactSource";
1756
+ recipient: string;
1757
+ sender: string;
1758
+ slippageBps?: number | undefined;
1759
+ sourceChain: string;
1760
+ sourceToken: string;
1761
+ vaultAddress: string;
1762
+ };
1763
+ };
1764
+ } | {
1765
+ output: {
1766
+ error: {
1767
+ code: "body_invalid";
1768
+ details?: readonly Response.error.Detail[] | undefined;
1769
+ message: string;
1770
+ };
1771
+ requestId: string;
1772
+ };
1773
+ outputFormat: "json";
1774
+ status: 400;
1775
+ input: {
1776
+ header: {
1777
+ 'idempotency-key': string;
1778
+ };
1779
+ } & {
1780
+ json: {
1781
+ amount: string;
1782
+ mode: "exactDestination" | "exactSource";
1783
+ recipient: string;
1784
+ sender: string;
1785
+ slippageBps?: number | undefined;
1786
+ sourceChain: string;
1787
+ sourceToken: string;
1788
+ vaultAddress: string;
1789
+ };
1790
+ };
1791
+ } | {
1792
+ output: {
1793
+ error: {
1794
+ code: "not_implemented";
1795
+ details?: readonly Response.error.Detail[] | undefined;
1796
+ message: string;
1797
+ };
1798
+ requestId: string;
1799
+ };
1800
+ outputFormat: "json";
1801
+ status: 501;
1802
+ input: {
1803
+ header: {
1804
+ 'idempotency-key': string;
1805
+ };
1806
+ } & {
1807
+ json: {
1808
+ amount: string;
1809
+ mode: "exactDestination" | "exactSource";
1810
+ recipient: string;
1811
+ sender: string;
1812
+ slippageBps?: number | undefined;
1813
+ sourceChain: string;
1814
+ sourceToken: string;
1815
+ vaultAddress: string;
1816
+ };
1817
+ };
1818
+ };
1819
+ };
1820
+ } & {
1821
+ "/v1/funding/transfers/zone": {
1822
+ $post: {
1823
+ output: {
1824
+ error: {
1825
+ code: "api_key_malformed";
1826
+ details?: readonly Response.error.Detail[] | undefined;
1827
+ message: string;
1828
+ };
1829
+ requestId: string;
1830
+ };
1831
+ outputFormat: "json";
1832
+ status: 400;
1833
+ input: {
1834
+ header: {
1835
+ 'idempotency-key': string;
1836
+ };
1837
+ } & {
1838
+ json: {
1839
+ amount: string;
1840
+ destinationChain: string;
1841
+ destinationToken: string;
1842
+ mode: "exactDestination" | "exactSource";
1843
+ recipient: string;
1844
+ recipientFallback: string;
1845
+ sender: string;
1846
+ slippageBps?: number | undefined;
1847
+ sourceChain: string;
1848
+ sourceToken: string;
1849
+ };
1850
+ };
1851
+ } | {
1852
+ output: {
1853
+ error: {
1854
+ code: "api_key_invalid" | "api_key_missing";
1855
+ details?: readonly Response.error.Detail[] | undefined;
1856
+ message: string;
1857
+ };
1858
+ requestId: string;
1859
+ };
1860
+ outputFormat: "json";
1861
+ status: 401;
1862
+ input: {
1863
+ header: {
1864
+ 'idempotency-key': string;
1865
+ };
1866
+ } & {
1867
+ json: {
1868
+ amount: string;
1869
+ destinationChain: string;
1870
+ destinationToken: string;
1871
+ mode: "exactDestination" | "exactSource";
1872
+ recipient: string;
1873
+ recipientFallback: string;
1874
+ sender: string;
1875
+ slippageBps?: number | undefined;
1876
+ sourceChain: string;
1877
+ sourceToken: string;
1878
+ };
1879
+ };
1880
+ } | {
1881
+ output: {
1882
+ error: {
1883
+ code: "api_key_forbidden" | "api_key_ip_forbidden";
1884
+ details?: readonly Response.error.Detail[] | undefined;
1885
+ message: string;
1886
+ };
1887
+ requestId: string;
1888
+ };
1889
+ outputFormat: "json";
1890
+ status: 403;
1891
+ input: {
1892
+ header: {
1893
+ 'idempotency-key': string;
1894
+ };
1895
+ } & {
1896
+ json: {
1897
+ amount: string;
1898
+ destinationChain: string;
1899
+ destinationToken: string;
1900
+ mode: "exactDestination" | "exactSource";
1901
+ recipient: string;
1902
+ recipientFallback: string;
1903
+ sender: string;
1904
+ slippageBps?: number | undefined;
1905
+ sourceChain: string;
1906
+ sourceToken: string;
1907
+ };
1908
+ };
1909
+ } | {
1910
+ output: {
1911
+ error: {
1912
+ code: "payment_required" | "rate_limit_exceeded";
1913
+ details?: readonly Response.error.Detail[] | undefined;
1914
+ message: string;
1915
+ };
1916
+ requestId: string;
1917
+ };
1918
+ outputFormat: "json";
1919
+ status: 429;
1920
+ input: {
1921
+ header: {
1922
+ 'idempotency-key': string;
1923
+ };
1924
+ } & {
1925
+ json: {
1926
+ amount: string;
1927
+ destinationChain: string;
1928
+ destinationToken: string;
1929
+ mode: "exactDestination" | "exactSource";
1930
+ recipient: string;
1931
+ recipientFallback: string;
1932
+ sender: string;
1933
+ slippageBps?: number | undefined;
1934
+ sourceChain: string;
1935
+ sourceToken: string;
1936
+ };
1937
+ };
1938
+ } | {
1939
+ output: {
1940
+ error: {
1941
+ code: "body_invalid";
1942
+ details?: readonly Response.error.Detail[] | undefined;
1943
+ message: string;
1944
+ };
1945
+ requestId: string;
1946
+ };
1947
+ outputFormat: "json";
1948
+ status: 400;
1949
+ input: {
1950
+ header: {
1951
+ 'idempotency-key': string;
1952
+ };
1953
+ } & {
1954
+ json: {
1955
+ amount: string;
1956
+ destinationChain: string;
1957
+ destinationToken: string;
1958
+ mode: "exactDestination" | "exactSource";
1959
+ recipient: string;
1960
+ recipientFallback: string;
1961
+ sender: string;
1962
+ slippageBps?: number | undefined;
1963
+ sourceChain: string;
1964
+ sourceToken: string;
1965
+ };
1966
+ };
1967
+ } | {
1968
+ output: {
1969
+ error: {
1970
+ code: "not_implemented";
1971
+ details?: readonly Response.error.Detail[] | undefined;
1972
+ message: string;
1973
+ };
1974
+ requestId: string;
1975
+ };
1976
+ outputFormat: "json";
1977
+ status: 501;
1978
+ input: {
1979
+ header: {
1980
+ 'idempotency-key': string;
1981
+ };
1982
+ } & {
1983
+ json: {
1984
+ amount: string;
1985
+ destinationChain: string;
1986
+ destinationToken: string;
1987
+ mode: "exactDestination" | "exactSource";
1988
+ recipient: string;
1989
+ recipientFallback: string;
1990
+ sender: string;
1991
+ slippageBps?: number | undefined;
1992
+ sourceChain: string;
1993
+ sourceToken: string;
1994
+ };
1995
+ };
1996
+ };
1997
+ };
1998
+ }, "/", "/v1/funding/transfers/zone">;
1999
+ //# sourceMappingURL=transfers.d.ts.map