@gala-chain/launchpad-sdk 5.0.4-beta.6 → 5.0.4-beta.60

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 (1775) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/EXAMPLES.md +99 -0
  3. package/README.md +163 -49
  4. package/README.md.bak +3174 -0
  5. package/dist/LaunchpadSDK.d.ts +10615 -0
  6. package/dist/LaunchpadSDK.d.ts.map +1 -0
  7. package/dist/ai-docs.json +5081 -1052
  8. package/dist/api/LaunchpadAPI.d.ts +930 -0
  9. package/dist/api/LaunchpadAPI.d.ts.map +1 -0
  10. package/dist/api/dto/BondingCurveDTOs.d.ts +145 -0
  11. package/dist/api/dto/BondingCurveDTOs.d.ts.map +1 -0
  12. package/dist/api/dto/BurnTokensDto.d.ts +89 -0
  13. package/dist/api/dto/BurnTokensDto.d.ts.map +1 -0
  14. package/dist/api/dto/LockTokenDto.d.ts +97 -0
  15. package/dist/api/dto/LockTokenDto.d.ts.map +1 -0
  16. package/dist/api/dto/TransferTokenDto.d.ts +76 -0
  17. package/dist/api/dto/TransferTokenDto.d.ts.map +1 -0
  18. package/dist/api/dto/UnlockTokenDto.d.ts +86 -0
  19. package/dist/api/dto/UnlockTokenDto.d.ts.map +1 -0
  20. package/dist/auth/JwtAuth.d.ts +183 -0
  21. package/dist/auth/JwtAuth.d.ts.map +1 -0
  22. package/dist/auth/SessionAuthService.d.ts +151 -0
  23. package/dist/auth/SessionAuthService.d.ts.map +1 -0
  24. package/dist/auth/SignatureAuth.d.ts +181 -0
  25. package/dist/auth/SignatureAuth.d.ts.map +1 -0
  26. package/dist/auth/storage.d.ts +66 -0
  27. package/dist/auth/storage.d.ts.map +1 -0
  28. package/dist/auth/types.d.ts +50 -0
  29. package/dist/auth/types.d.ts.map +1 -0
  30. package/dist/bridge/BridgeService.d.ts +484 -0
  31. package/dist/bridge/BridgeService.d.ts.map +1 -0
  32. package/dist/bridge/GalaConnectClient.d.ts +170 -0
  33. package/dist/bridge/GalaConnectClient.d.ts.map +1 -0
  34. package/dist/bridge/constants/index.d.ts +7 -0
  35. package/dist/bridge/constants/index.d.ts.map +1 -0
  36. package/dist/bridge/constants/tokens.d.ts +212 -0
  37. package/dist/bridge/constants/tokens.d.ts.map +1 -0
  38. package/dist/bridge/index.d.ts +24 -0
  39. package/dist/bridge/index.d.ts.map +1 -0
  40. package/dist/bridge/strategies/BridgeStrategy.d.ts +160 -0
  41. package/dist/bridge/strategies/BridgeStrategy.d.ts.map +1 -0
  42. package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts +200 -0
  43. package/dist/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -0
  44. package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts +258 -0
  45. package/dist/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -0
  46. package/dist/bridge/types/bridge.dto.d.ts +772 -0
  47. package/dist/bridge/types/bridge.dto.d.ts.map +1 -0
  48. package/dist/bridge/types/bridgeable-token.dto.d.ts +205 -0
  49. package/dist/bridge/types/bridgeable-token.dto.d.ts.map +1 -0
  50. package/dist/bridge/types/eip712.d.ts +66 -0
  51. package/dist/bridge/types/eip712.d.ts.map +1 -0
  52. package/dist/bridge/types/index.d.ts +8 -0
  53. package/dist/bridge/types/index.d.ts.map +1 -0
  54. package/dist/bridge/utils/RateLimiter.d.ts +34 -0
  55. package/dist/bridge/utils/RateLimiter.d.ts.map +1 -0
  56. package/dist/bridge/utils/address-formatter.d.ts +25 -0
  57. package/dist/bridge/utils/address-formatter.d.ts.map +1 -0
  58. package/dist/bridge/utils/addressValidation.d.ts +200 -0
  59. package/dist/bridge/utils/addressValidation.d.ts.map +1 -0
  60. package/dist/bridge/utils/balanceHelpers.d.ts +215 -0
  61. package/dist/bridge/utils/balanceHelpers.d.ts.map +1 -0
  62. package/dist/bridge/utils/bridgeErrors.d.ts +98 -0
  63. package/dist/bridge/utils/bridgeErrors.d.ts.map +1 -0
  64. package/dist/bridge/utils/bridgeOutHelpers.d.ts +68 -0
  65. package/dist/bridge/utils/bridgeOutHelpers.d.ts.map +1 -0
  66. package/dist/bridge/utils/bridgePayload.d.ts +98 -0
  67. package/dist/bridge/utils/bridgePayload.d.ts.map +1 -0
  68. package/dist/bridge/utils/bridgeStatusParser.d.ts +75 -0
  69. package/dist/bridge/utils/bridgeStatusParser.d.ts.map +1 -0
  70. package/dist/bridge/utils/eip712Helpers.d.ts +66 -0
  71. package/dist/bridge/utils/eip712Helpers.d.ts.map +1 -0
  72. package/dist/bridge/utils/index.d.ts +19 -0
  73. package/dist/bridge/utils/index.d.ts.map +1 -0
  74. package/dist/bridge/utils/retry.d.ts +112 -0
  75. package/dist/bridge/utils/retry.d.ts.map +1 -0
  76. package/dist/bridge/utils/strategyDelegation.d.ts +69 -0
  77. package/dist/bridge/utils/strategyDelegation.d.ts.map +1 -0
  78. package/dist/bridge/utils/tokenIdUtils.d.ts +86 -0
  79. package/dist/bridge/utils/tokenIdUtils.d.ts.map +1 -0
  80. package/dist/bridge/utils/tokenMath.d.ts +39 -0
  81. package/dist/bridge/utils/tokenMath.d.ts.map +1 -0
  82. package/dist/bridge/utils/tokenMetadataResolver.d.ts +97 -0
  83. package/dist/bridge/utils/tokenMetadataResolver.d.ts.map +1 -0
  84. package/dist/config/environments.d.ts +49 -0
  85. package/dist/config/environments.d.ts.map +1 -0
  86. package/dist/constants/bondingCurve.d.ts +102 -0
  87. package/dist/constants/bondingCurve.d.ts.map +1 -0
  88. package/dist/constants/config.d.ts +30 -0
  89. package/dist/constants/config.d.ts.map +1 -0
  90. package/dist/constants/decimals.d.ts +63 -0
  91. package/dist/constants/decimals.d.ts.map +1 -0
  92. package/dist/constants/endpoints.d.ts +776 -0
  93. package/dist/constants/endpoints.d.ts.map +1 -0
  94. package/dist/constants/enums.d.ts +65 -0
  95. package/dist/constants/enums.d.ts.map +1 -0
  96. package/dist/constants/error-messages.d.ts +61 -0
  97. package/dist/constants/error-messages.d.ts.map +1 -0
  98. package/dist/constants/events.d.ts +53 -0
  99. package/dist/constants/events.d.ts.map +1 -0
  100. package/dist/constants/jwt.d.ts +41 -0
  101. package/dist/constants/jwt.d.ts.map +1 -0
  102. package/dist/constants/nft-fees.d.ts +30 -0
  103. package/dist/constants/nft-fees.d.ts.map +1 -0
  104. package/dist/constants/pagination.d.ts +66 -0
  105. package/dist/constants/pagination.d.ts.map +1 -0
  106. package/dist/constants/query-fields.d.ts +51 -0
  107. package/dist/constants/query-fields.d.ts.map +1 -0
  108. package/dist/constants/sdk-defaults.d.ts +37 -0
  109. package/dist/constants/sdk-defaults.d.ts.map +1 -0
  110. package/dist/constants/version.d.ts +6 -0
  111. package/dist/constants/version.d.ts.map +1 -0
  112. package/dist/constants/version.generated.d.ts +7 -0
  113. package/dist/constants/version.generated.d.ts.map +1 -0
  114. package/dist/examples/admin/api-key-advanced.d.ts +43 -0
  115. package/dist/examples/admin/api-key-advanced.d.ts.map +1 -0
  116. package/dist/examples/admin/moderator-invite-complete.d.ts +41 -0
  117. package/dist/examples/admin/moderator-invite-complete.d.ts.map +1 -0
  118. package/dist/examples/admin/overseer-management-advanced.d.ts +38 -0
  119. package/dist/examples/admin/overseer-management-advanced.d.ts.map +1 -0
  120. package/dist/examples/admin/overseer-page-stats.d.ts +26 -0
  121. package/dist/examples/admin/overseer-page-stats.d.ts.map +1 -0
  122. package/dist/examples/admin/token-ban-complete.d.ts +44 -0
  123. package/dist/examples/admin/token-ban-complete.d.ts.map +1 -0
  124. package/dist/examples/ai-moderation/ai-moderation-demo.d.ts +32 -0
  125. package/dist/examples/ai-moderation/ai-moderation-demo.d.ts.map +1 -0
  126. package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts +30 -0
  127. package/dist/examples/ai-moderation/flag-ai-verdicts-demo.d.ts.map +1 -0
  128. package/dist/examples/analytics/index.d.ts +23 -0
  129. package/dist/examples/analytics/index.d.ts.map +1 -0
  130. package/dist/examples/analytics/market-analysis-tools.d.ts +28 -0
  131. package/dist/examples/analytics/market-analysis-tools.d.ts.map +1 -0
  132. package/dist/examples/analytics/portfolio-performance-tracking.d.ts +25 -0
  133. package/dist/examples/analytics/portfolio-performance-tracking.d.ts.map +1 -0
  134. package/dist/examples/analytics/trading-analytics-advanced.d.ts +27 -0
  135. package/dist/examples/analytics/trading-analytics-advanced.d.ts.map +1 -0
  136. package/dist/examples/api-keys/advanced-configuration.d.ts +19 -0
  137. package/dist/examples/api-keys/advanced-configuration.d.ts.map +1 -0
  138. package/dist/examples/api-keys/complete-lifecycle.d.ts +18 -0
  139. package/dist/examples/api-keys/complete-lifecycle.d.ts.map +1 -0
  140. package/dist/examples/api-keys/crud.d.ts +22 -0
  141. package/dist/examples/api-keys/crud.d.ts.map +1 -0
  142. package/dist/examples/api-keys/token-delegation.d.ts +24 -0
  143. package/dist/examples/api-keys/token-delegation.d.ts.map +1 -0
  144. package/dist/examples/api-keys/user-api-key-auth.d.ts +24 -0
  145. package/dist/examples/api-keys/user-api-key-auth.d.ts.map +1 -0
  146. package/dist/examples/auth/auth-permissions-checking.d.ts +32 -0
  147. package/dist/examples/auth/auth-permissions-checking.d.ts.map +1 -0
  148. package/dist/examples/auth/auth-token-management.d.ts +32 -0
  149. package/dist/examples/auth/auth-token-management.d.ts.map +1 -0
  150. package/dist/examples/auth/auth-validation-workflows.d.ts +32 -0
  151. package/dist/examples/auth/auth-validation-workflows.d.ts.map +1 -0
  152. package/dist/examples/bans/ban-management.d.ts +24 -0
  153. package/dist/examples/bans/ban-management.d.ts.map +1 -0
  154. package/dist/examples/bans/demo-global-user-bans.d.ts +27 -0
  155. package/dist/examples/bans/demo-global-user-bans.d.ts.map +1 -0
  156. package/dist/examples/bonding/token-graduation-workflow.d.ts +21 -0
  157. package/dist/examples/bonding/token-graduation-workflow.d.ts.map +1 -0
  158. package/dist/examples/bonding-curve/basic-trading.d.ts +20 -0
  159. package/dist/examples/bonding-curve/basic-trading.d.ts.map +1 -0
  160. package/dist/examples/bonding-curve/graduation-workflow.d.ts +18 -0
  161. package/dist/examples/bonding-curve/graduation-workflow.d.ts.map +1 -0
  162. package/dist/examples/bonding-curve/pagination-variants.d.ts +17 -0
  163. package/dist/examples/bonding-curve/pagination-variants.d.ts.map +1 -0
  164. package/dist/examples/bonding-curve/pool-analysis.d.ts +18 -0
  165. package/dist/examples/bonding-curve/pool-analysis.d.ts.map +1 -0
  166. package/dist/examples/bonding-curve/pool-creator-filtering.d.ts +17 -0
  167. package/dist/examples/bonding-curve/pool-creator-filtering.d.ts.map +1 -0
  168. package/dist/examples/bonding-curve/pool-discovery.d.ts +19 -0
  169. package/dist/examples/bonding-curve/pool-discovery.d.ts.map +1 -0
  170. package/dist/examples/bonding-curve/price-impact.d.ts +18 -0
  171. package/dist/examples/bonding-curve/price-impact.d.ts.map +1 -0
  172. package/dist/examples/bonding-curve/token-launch.d.ts +18 -0
  173. package/dist/examples/bonding-curve/token-launch.d.ts.map +1 -0
  174. package/dist/examples/bonding-curve/user-holder-context.d.ts +18 -0
  175. package/dist/examples/bonding-curve/user-holder-context.d.ts.map +1 -0
  176. package/dist/examples/bonding-curve/volume-trading.d.ts +18 -0
  177. package/dist/examples/bonding-curve/volume-trading.d.ts.map +1 -0
  178. package/dist/examples/bridge/bridge-ethereum-specific.d.ts +18 -0
  179. package/dist/examples/bridge/bridge-ethereum-specific.d.ts.map +1 -0
  180. package/dist/examples/bridge/bridge-generic-operations.d.ts +18 -0
  181. package/dist/examples/bridge/bridge-generic-operations.d.ts.map +1 -0
  182. package/dist/examples/bridge/bridge-multi-chain-routing.d.ts +31 -0
  183. package/dist/examples/bridge/bridge-multi-chain-routing.d.ts.map +1 -0
  184. package/dist/examples/bridge/bridge-network-methods.d.ts +31 -0
  185. package/dist/examples/bridge/bridge-network-methods.d.ts.map +1 -0
  186. package/dist/examples/bridge/bridge-network-tokens.d.ts +18 -0
  187. package/dist/examples/bridge/bridge-network-tokens.d.ts.map +1 -0
  188. package/dist/examples/bridge/bridge-network-validation.d.ts +33 -0
  189. package/dist/examples/bridge/bridge-network-validation.d.ts.map +1 -0
  190. package/dist/examples/bridge/bridge-operations.d.ts +27 -0
  191. package/dist/examples/bridge/bridge-operations.d.ts.map +1 -0
  192. package/dist/examples/bridge/bridge-solana-specific.d.ts +18 -0
  193. package/dist/examples/bridge/bridge-solana-specific.d.ts.map +1 -0
  194. package/dist/examples/bridge/bridge-status-monitoring.d.ts +30 -0
  195. package/dist/examples/bridge/bridge-status-monitoring.d.ts.map +1 -0
  196. package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts +30 -0
  197. package/dist/examples/bridge/bridge-wrapped-token-operations.d.ts.map +1 -0
  198. package/dist/examples/bridge/bridgeable-tokens.d.ts +27 -0
  199. package/dist/examples/bridge/bridgeable-tokens.d.ts.map +1 -0
  200. package/dist/examples/bridge/check-balances.d.ts +13 -0
  201. package/dist/examples/bridge/check-balances.d.ts.map +1 -0
  202. package/dist/examples/bridge/ethereum-in.d.ts +17 -0
  203. package/dist/examples/bridge/ethereum-in.d.ts.map +1 -0
  204. package/dist/examples/bridge/ethereum-out.d.ts +17 -0
  205. package/dist/examples/bridge/ethereum-out.d.ts.map +1 -0
  206. package/dist/examples/bridge/ethereum-roundtrip.d.ts +20 -0
  207. package/dist/examples/bridge/ethereum-roundtrip.d.ts.map +1 -0
  208. package/dist/examples/bridge/external-balances.d.ts +29 -0
  209. package/dist/examples/bridge/external-balances.d.ts.map +1 -0
  210. package/dist/examples/bridge/fee-estimation.d.ts +14 -0
  211. package/dist/examples/bridge/fee-estimation.d.ts.map +1 -0
  212. package/dist/examples/bridge/solana-in.d.ts +18 -0
  213. package/dist/examples/bridge/solana-in.d.ts.map +1 -0
  214. package/dist/examples/bridge/solana-out.d.ts +18 -0
  215. package/dist/examples/bridge/solana-out.d.ts.map +1 -0
  216. package/dist/examples/bridge/solana-roundtrip.d.ts +21 -0
  217. package/dist/examples/bridge/solana-roundtrip.d.ts.map +1 -0
  218. package/dist/examples/bridge/status-tracking.d.ts +16 -0
  219. package/dist/examples/bridge/status-tracking.d.ts.map +1 -0
  220. package/dist/examples/bridge/supported-tokens.d.ts +14 -0
  221. package/dist/examples/bridge/supported-tokens.d.ts.map +1 -0
  222. package/dist/examples/bridge/test-debug-unwrap.d.ts +13 -0
  223. package/dist/examples/bridge/test-debug-unwrap.d.ts.map +1 -0
  224. package/dist/examples/bridge/test-unwrap-execution.d.ts +13 -0
  225. package/dist/examples/bridge/test-unwrap-execution.d.ts.map +1 -0
  226. package/dist/examples/bridge/test-wrap-debug.d.ts +13 -0
  227. package/dist/examples/bridge/test-wrap-debug.d.ts.map +1 -0
  228. package/dist/examples/bridge/test-wrap-execution.d.ts +13 -0
  229. package/dist/examples/bridge/test-wrap-execution.d.ts.map +1 -0
  230. package/dist/examples/bridge/test-wrap-roundtrip.d.ts +13 -0
  231. package/dist/examples/bridge/test-wrap-roundtrip.d.ts.map +1 -0
  232. package/dist/examples/bridge/transaction-status.d.ts +26 -0
  233. package/dist/examples/bridge/transaction-status.d.ts.map +1 -0
  234. package/dist/examples/bridge/wallet-balances.d.ts +24 -0
  235. package/dist/examples/bridge/wallet-balances.d.ts.map +1 -0
  236. package/dist/examples/bridge/wrap-discovery.d.ts +16 -0
  237. package/dist/examples/bridge/wrap-discovery.d.ts.map +1 -0
  238. package/dist/examples/bridge/wrap-fee-estimation.d.ts +16 -0
  239. package/dist/examples/bridge/wrap-fee-estimation.d.ts.map +1 -0
  240. package/dist/examples/bridge/wrap-unwrap.d.ts +18 -0
  241. package/dist/examples/bridge/wrap-unwrap.d.ts.map +1 -0
  242. package/dist/examples/bridge/wrap-utilities.d.ts +21 -0
  243. package/dist/examples/bridge/wrap-utilities.d.ts.map +1 -0
  244. package/dist/examples/calculations/calculation-methods-comprehensive.d.ts +24 -0
  245. package/dist/examples/calculations/calculation-methods-comprehensive.d.ts.map +1 -0
  246. package/dist/examples/calculations/external-calculations-demo.d.ts +23 -0
  247. package/dist/examples/calculations/external-calculations-demo.d.ts.map +1 -0
  248. package/dist/examples/calculations/local-calculations-demo.d.ts +24 -0
  249. package/dist/examples/calculations/local-calculations-demo.d.ts.map +1 -0
  250. package/dist/examples/calculations/pool-calculation-context.d.ts +19 -0
  251. package/dist/examples/calculations/pool-calculation-context.d.ts.map +1 -0
  252. package/dist/examples/chat/basic-chat.d.ts +17 -0
  253. package/dist/examples/chat/basic-chat.d.ts.map +1 -0
  254. package/dist/examples/chat/chat-admin-controls.d.ts +41 -0
  255. package/dist/examples/chat/chat-admin-controls.d.ts.map +1 -0
  256. package/dist/examples/chat/chat-demo.d.ts +25 -0
  257. package/dist/examples/chat/chat-demo.d.ts.map +1 -0
  258. package/dist/examples/chat/chat-engagement-stats.d.ts +44 -0
  259. package/dist/examples/chat/chat-engagement-stats.d.ts.map +1 -0
  260. package/dist/examples/chat/chat-lifecycle.d.ts +26 -0
  261. package/dist/examples/chat/chat-lifecycle.d.ts.map +1 -0
  262. package/dist/examples/chat/chat-message-management.d.ts +18 -0
  263. package/dist/examples/chat/chat-message-management.d.ts.map +1 -0
  264. package/dist/examples/chat/chat-pinning-workflow.d.ts +37 -0
  265. package/dist/examples/chat/chat-pinning-workflow.d.ts.map +1 -0
  266. package/dist/examples/chat/demo-pin-messages.d.ts +17 -0
  267. package/dist/examples/chat/demo-pin-messages.d.ts.map +1 -0
  268. package/dist/examples/chat/multi-user-chat-test.d.ts +19 -0
  269. package/dist/examples/chat/multi-user-chat-test.d.ts.map +1 -0
  270. package/dist/examples/chat/quick-reaction-test.d.ts +4 -0
  271. package/dist/examples/chat/quick-reaction-test.d.ts.map +1 -0
  272. package/dist/examples/chat/typing-indicators.d.ts +23 -0
  273. package/dist/examples/chat/typing-indicators.d.ts.map +1 -0
  274. package/dist/examples/chat/websocket-chat.d.ts +21 -0
  275. package/dist/examples/chat/websocket-chat.d.ts.map +1 -0
  276. package/dist/examples/comments/basic-comments.d.ts +19 -0
  277. package/dist/examples/comments/basic-comments.d.ts.map +1 -0
  278. package/dist/examples/comments/comments-demo.d.ts +34 -0
  279. package/dist/examples/comments/comments-demo.d.ts.map +1 -0
  280. package/dist/examples/comments/comments-lifecycle.d.ts +24 -0
  281. package/dist/examples/comments/comments-lifecycle.d.ts.map +1 -0
  282. package/dist/examples/comments/comments-update-workflow.d.ts +35 -0
  283. package/dist/examples/comments/comments-update-workflow.d.ts.map +1 -0
  284. package/dist/examples/content/content-categorization.d.ts +51 -0
  285. package/dist/examples/content/content-categorization.d.ts.map +1 -0
  286. package/dist/examples/content/content-publishing-workflow.d.ts +45 -0
  287. package/dist/examples/content/content-publishing-workflow.d.ts.map +1 -0
  288. package/dist/examples/content/content-versioning.d.ts +52 -0
  289. package/dist/examples/content/content-versioning.d.ts.map +1 -0
  290. package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts +40 -0
  291. package/dist/examples/content-flags/comprehensive-flag-workflow.d.ts.map +1 -0
  292. package/dist/examples/content-flags/flag-management.d.ts +28 -0
  293. package/dist/examples/content-flags/flag-management.d.ts.map +1 -0
  294. package/dist/examples/content-reactions/advanced-reactions.d.ts +24 -0
  295. package/dist/examples/content-reactions/advanced-reactions.d.ts.map +1 -0
  296. package/dist/examples/content-reactions/basic-reactions.d.ts +21 -0
  297. package/dist/examples/content-reactions/basic-reactions.d.ts.map +1 -0
  298. package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts +41 -0
  299. package/dist/examples/content-reactions/comprehensive-reactions-workflow.d.ts.map +1 -0
  300. package/dist/examples/content-reactions/content-reactions-advanced.d.ts +40 -0
  301. package/dist/examples/content-reactions/content-reactions-advanced.d.ts.map +1 -0
  302. package/dist/examples/core/authenticated-operations.d.ts +14 -0
  303. package/dist/examples/core/authenticated-operations.d.ts.map +1 -0
  304. package/dist/examples/core/complete-sdk-demo.d.ts +22 -0
  305. package/dist/examples/core/complete-sdk-demo.d.ts.map +1 -0
  306. package/dist/examples/core/image-uploads.d.ts +28 -0
  307. package/dist/examples/core/image-uploads.d.ts.map +1 -0
  308. package/dist/examples/core/privatekey-override-pattern.d.ts +16 -0
  309. package/dist/examples/core/privatekey-override-pattern.d.ts.map +1 -0
  310. package/dist/examples/core/read-only-operations.d.ts +16 -0
  311. package/dist/examples/core/read-only-operations.d.ts.map +1 -0
  312. package/dist/examples/core/session-auth-demo.d.ts +15 -0
  313. package/dist/examples/core/session-auth-demo.d.ts.map +1 -0
  314. package/dist/examples/core/session-auth-lifecycle.d.ts +19 -0
  315. package/dist/examples/core/session-auth-lifecycle.d.ts.map +1 -0
  316. package/dist/examples/core/test-pagination-fix.d.ts +14 -0
  317. package/dist/examples/core/test-pagination-fix.d.ts.map +1 -0
  318. package/dist/examples/core/token-refresh-utilities.d.ts +18 -0
  319. package/dist/examples/core/token-refresh-utilities.d.ts.map +1 -0
  320. package/dist/examples/core/token-validation.d.ts +18 -0
  321. package/dist/examples/core/token-validation.d.ts.map +1 -0
  322. package/dist/examples/core/wallet-management.d.ts +23 -0
  323. package/dist/examples/core/wallet-management.d.ts.map +1 -0
  324. package/dist/examples/debug/check-recorded-bridge-tx.d.ts +8 -0
  325. package/dist/examples/debug/check-recorded-bridge-tx.d.ts.map +1 -0
  326. package/dist/examples/debug/debug-comment.d.ts +2 -0
  327. package/dist/examples/debug/debug-comment.d.ts.map +1 -0
  328. package/dist/examples/debug/test-volume-data-bounds-prod.d.ts +15 -0
  329. package/dist/examples/debug/test-volume-data-bounds-prod.d.ts.map +1 -0
  330. package/dist/examples/debug/test-volume-data-bounds.d.ts +14 -0
  331. package/dist/examples/debug/test-volume-data-bounds.d.ts.map +1 -0
  332. package/dist/examples/debug/websocket-event-discovery.d.ts +26 -0
  333. package/dist/examples/debug/websocket-event-discovery.d.ts.map +1 -0
  334. package/dist/examples/debug/websocket-monitor.d.ts +15 -0
  335. package/dist/examples/debug/websocket-monitor.d.ts.map +1 -0
  336. package/dist/examples/debug-single-trade.d.ts +6 -0
  337. package/dist/examples/debug-single-trade.d.ts.map +1 -0
  338. package/dist/examples/demo-librarian.d.ts +18 -0
  339. package/dist/examples/demo-librarian.d.ts.map +1 -0
  340. package/dist/examples/demo-runner.d.ts +22 -0
  341. package/dist/examples/demo-runner.d.ts.map +1 -0
  342. package/dist/examples/dex/demo-roundtrip-liquidity.d.ts +16 -0
  343. package/dist/examples/dex/demo-roundtrip-liquidity.d.ts.map +1 -0
  344. package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts +28 -0
  345. package/dist/examples/dex/dex-impermanent-loss-analysis.d.ts.map +1 -0
  346. package/dist/examples/dex/dex-liquidity-management-advanced.d.ts +27 -0
  347. package/dist/examples/dex/dex-liquidity-management-advanced.d.ts.map +1 -0
  348. package/dist/examples/dex/dex-multi-hop-swaps.d.ts +32 -0
  349. package/dist/examples/dex/dex-multi-hop-swaps.d.ts.map +1 -0
  350. package/dist/examples/dex/dex-pool-pricing.d.ts +20 -0
  351. package/dist/examples/dex/dex-pool-pricing.d.ts.map +1 -0
  352. package/dist/examples/dex/dex-quote-calculations.d.ts +21 -0
  353. package/dist/examples/dex/dex-quote-calculations.d.ts.map +1 -0
  354. package/dist/examples/dex/dex-seasons-leaderboard.d.ts +22 -0
  355. package/dist/examples/dex/dex-seasons-leaderboard.d.ts.map +1 -0
  356. package/dist/examples/dex/dex-slippage-protection.d.ts +28 -0
  357. package/dist/examples/dex/dex-slippage-protection.d.ts.map +1 -0
  358. package/dist/examples/dex/dex-tokens-discovery.d.ts +20 -0
  359. package/dist/examples/dex/dex-tokens-discovery.d.ts.map +1 -0
  360. package/dist/examples/dex/dex-volume-analytics.d.ts +19 -0
  361. package/dist/examples/dex/dex-volume-analytics.d.ts.map +1 -0
  362. package/dist/examples/dex/leaderboard.d.ts +12 -0
  363. package/dist/examples/dex/leaderboard.d.ts.map +1 -0
  364. package/dist/examples/dex/pool-discovery.d.ts +25 -0
  365. package/dist/examples/dex/pool-discovery.d.ts.map +1 -0
  366. package/dist/examples/dex/pools-with-pricing.d.ts +28 -0
  367. package/dist/examples/dex/pools-with-pricing.d.ts.map +1 -0
  368. package/dist/examples/dex/quote-comparison.d.ts +16 -0
  369. package/dist/examples/dex/quote-comparison.d.ts.map +1 -0
  370. package/dist/examples/dex/swap-user-assets-comprehensive.d.ts +20 -0
  371. package/dist/examples/dex/swap-user-assets-comprehensive.d.ts.map +1 -0
  372. package/dist/examples/dex/swap-workflow.d.ts +20 -0
  373. package/dist/examples/dex/swap-workflow.d.ts.map +1 -0
  374. package/dist/examples/dex/token-discovery.d.ts +27 -0
  375. package/dist/examples/dex/token-discovery.d.ts.map +1 -0
  376. package/dist/examples/dex/volume-summary.d.ts +12 -0
  377. package/dist/examples/dex/volume-summary.d.ts.map +1 -0
  378. package/dist/examples/error-handling/error-recovery-patterns.d.ts +42 -0
  379. package/dist/examples/error-handling/error-recovery-patterns.d.ts.map +1 -0
  380. package/dist/examples/error-handling/timeout-management.d.ts +43 -0
  381. package/dist/examples/error-handling/timeout-management.d.ts.map +1 -0
  382. package/dist/examples/events/event-aggregation-analysis.d.ts +40 -0
  383. package/dist/examples/events/event-aggregation-analysis.d.ts.map +1 -0
  384. package/dist/examples/events/event-emission-patterns.d.ts +35 -0
  385. package/dist/examples/events/event-emission-patterns.d.ts.map +1 -0
  386. package/dist/examples/events/subscription-management-advanced.d.ts +38 -0
  387. package/dist/examples/events/subscription-management-advanced.d.ts.map +1 -0
  388. package/dist/examples/fees/complete-fee-test.d.ts +13 -0
  389. package/dist/examples/fees/complete-fee-test.d.ts.map +1 -0
  390. package/dist/examples/fees/demo-fee-generation-and-collection.d.ts +27 -0
  391. package/dist/examples/fees/demo-fee-generation-and-collection.d.ts.map +1 -0
  392. package/dist/examples/fees/demo-fees-high-volume.d.ts +13 -0
  393. package/dist/examples/fees/demo-fees-high-volume.d.ts.map +1 -0
  394. package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts +13 -0
  395. package/dist/examples/fees/demo-multi-wallet-fee-generation.d.ts.map +1 -0
  396. package/dist/examples/fees/trade-and-collect-fees.d.ts +13 -0
  397. package/dist/examples/fees/trade-and-collect-fees.d.ts.map +1 -0
  398. package/dist/examples/galachain/bundler-transactions.d.ts +28 -0
  399. package/dist/examples/galachain/bundler-transactions.d.ts.map +1 -0
  400. package/dist/examples/galachain/galachain-token-resolution.d.ts +28 -0
  401. package/dist/examples/galachain/galachain-token-resolution.d.ts.map +1 -0
  402. package/dist/examples/galachain/galachain-tokens.d.ts +28 -0
  403. package/dist/examples/galachain/galachain-tokens.d.ts.map +1 -0
  404. package/dist/examples/galachain/galachain-transfers.d.ts +25 -0
  405. package/dist/examples/galachain/galachain-transfers.d.ts.map +1 -0
  406. package/dist/examples/global-feed-demo.d.ts +17 -0
  407. package/dist/examples/global-feed-demo.d.ts.map +1 -0
  408. package/dist/examples/global-feed-filtering-demo.d.ts +20 -0
  409. package/dist/examples/global-feed-filtering-demo.d.ts.map +1 -0
  410. package/dist/examples/launchpad/demo-socials.d.ts +16 -0
  411. package/dist/examples/launchpad/demo-socials.d.ts.map +1 -0
  412. package/dist/examples/launchpad/fetch-token-stats.d.ts +18 -0
  413. package/dist/examples/launchpad/fetch-token-stats.d.ts.map +1 -0
  414. package/dist/examples/launchpad/update-token-config.d.ts +17 -0
  415. package/dist/examples/launchpad/update-token-config.d.ts.map +1 -0
  416. package/dist/examples/liquidity/apr-calculator.d.ts +18 -0
  417. package/dist/examples/liquidity/apr-calculator.d.ts.map +1 -0
  418. package/dist/examples/liquidity/demo-bundler-operations.d.ts +15 -0
  419. package/dist/examples/liquidity/demo-bundler-operations.d.ts.map +1 -0
  420. package/dist/examples/liquidity/demo-fetch-all-positions.d.ts +2 -0
  421. package/dist/examples/liquidity/demo-fetch-all-positions.d.ts.map +1 -0
  422. package/dist/examples/liquidity/demo-position-direct.d.ts +14 -0
  423. package/dist/examples/liquidity/demo-position-direct.d.ts.map +1 -0
  424. package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts +26 -0
  425. package/dist/examples/liquidity/demo-positions-with-chunked-pricing.d.ts.map +1 -0
  426. package/dist/examples/liquidity/demo-roundtrip-remove.d.ts +21 -0
  427. package/dist/examples/liquidity/demo-roundtrip-remove.d.ts.map +1 -0
  428. package/dist/examples/liquidity/detailed.d.ts +21 -0
  429. package/dist/examples/liquidity/detailed.d.ts.map +1 -0
  430. package/dist/examples/liquidity/errors.d.ts +18 -0
  431. package/dist/examples/liquidity/errors.d.ts.map +1 -0
  432. package/dist/examples/liquidity/fee-collection.d.ts +22 -0
  433. package/dist/examples/liquidity/fee-collection.d.ts.map +1 -0
  434. package/dist/examples/liquidity/liquidity-position-details.d.ts +21 -0
  435. package/dist/examples/liquidity/liquidity-position-details.d.ts.map +1 -0
  436. package/dist/examples/liquidity/liquidity-removal-estimation.d.ts +19 -0
  437. package/dist/examples/liquidity/liquidity-removal-estimation.d.ts.map +1 -0
  438. package/dist/examples/liquidity/multi-position.d.ts +22 -0
  439. package/dist/examples/liquidity/multi-position.d.ts.map +1 -0
  440. package/dist/examples/liquidity/positions-cli.d.ts +41 -0
  441. package/dist/examples/liquidity/positions-cli.d.ts.map +1 -0
  442. package/dist/examples/liquidity/ticks.d.ts +18 -0
  443. package/dist/examples/liquidity/ticks.d.ts.map +1 -0
  444. package/dist/examples/locks/burn-tokens.d.ts +25 -0
  445. package/dist/examples/locks/burn-tokens.d.ts.map +1 -0
  446. package/dist/examples/locks/lock-unlock-workflow.d.ts +20 -0
  447. package/dist/examples/locks/lock-unlock-workflow.d.ts.map +1 -0
  448. package/dist/examples/messages/messages-lifecycle.d.ts +37 -0
  449. package/dist/examples/messages/messages-lifecycle.d.ts.map +1 -0
  450. package/dist/examples/messages/messages-pinning.d.ts +37 -0
  451. package/dist/examples/messages/messages-pinning.d.ts.map +1 -0
  452. package/dist/examples/moderators/claim-invite.d.ts +28 -0
  453. package/dist/examples/moderators/claim-invite.d.ts.map +1 -0
  454. package/dist/examples/moderators/invite-management.d.ts +30 -0
  455. package/dist/examples/moderators/invite-management.d.ts.map +1 -0
  456. package/dist/examples/moderators/moderated-tokens-portfolio.d.ts +18 -0
  457. package/dist/examples/moderators/moderated-tokens-portfolio.d.ts.map +1 -0
  458. package/dist/examples/monitoring/demo-stream-events.d.ts +17 -0
  459. package/dist/examples/monitoring/demo-stream-events.d.ts.map +1 -0
  460. package/dist/examples/monitoring/demo-watch-pools.d.ts +18 -0
  461. package/dist/examples/monitoring/demo-watch-pools.d.ts.map +1 -0
  462. package/dist/examples/monitoring/demo-watch-tokens.d.ts +18 -0
  463. package/dist/examples/monitoring/demo-watch-tokens.d.ts.map +1 -0
  464. package/dist/examples/monitoring/fees-collection-e2e.d.ts +36 -0
  465. package/dist/examples/monitoring/fees-collection-e2e.d.ts.map +1 -0
  466. package/dist/examples/monitoring/fees-collection-guaranteed.d.ts +49 -0
  467. package/dist/examples/monitoring/fees-collection-guaranteed.d.ts.map +1 -0
  468. package/dist/examples/monitoring/liquidity-e2e-test.d.ts +15 -0
  469. package/dist/examples/monitoring/liquidity-e2e-test.d.ts.map +1 -0
  470. package/dist/examples/monitoring/liquidity-monitor.d.ts +17 -0
  471. package/dist/examples/monitoring/liquidity-monitor.d.ts.map +1 -0
  472. package/dist/examples/monitoring/pool-creation-integration.d.ts +27 -0
  473. package/dist/examples/monitoring/pool-creation-integration.d.ts.map +1 -0
  474. package/dist/examples/monitoring/pool-liquidity-tracker.d.ts +15 -0
  475. package/dist/examples/monitoring/pool-liquidity-tracker.d.ts.map +1 -0
  476. package/dist/examples/monitoring/subscribe-liquidity-added.d.ts +30 -0
  477. package/dist/examples/monitoring/subscribe-liquidity-added.d.ts.map +1 -0
  478. package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts +30 -0
  479. package/dist/examples/monitoring/subscribe-liquidity-removed.d.ts.map +1 -0
  480. package/dist/examples/monitoring/subscribe-pool-creations.d.ts +29 -0
  481. package/dist/examples/monitoring/subscribe-pool-creations.d.ts.map +1 -0
  482. package/dist/examples/monitoring/subscribe-token-creations.d.ts +21 -0
  483. package/dist/examples/monitoring/subscribe-token-creations.d.ts.map +1 -0
  484. package/dist/examples/monitoring/token-creation-integration.d.ts +32 -0
  485. package/dist/examples/monitoring/token-creation-integration.d.ts.map +1 -0
  486. package/dist/examples/monitoring/websocket-event-handlers.d.ts +22 -0
  487. package/dist/examples/monitoring/websocket-event-handlers.d.ts.map +1 -0
  488. package/dist/examples/nft/demo-collection-management.d.ts +13 -0
  489. package/dist/examples/nft/demo-collection-management.d.ts.map +1 -0
  490. package/dist/examples/nft/demo-fee-calculations.d.ts +14 -0
  491. package/dist/examples/nft/demo-fee-calculations.d.ts.map +1 -0
  492. package/dist/examples/nft/demo-minting.d.ts +13 -0
  493. package/dist/examples/nft/demo-minting.d.ts.map +1 -0
  494. package/dist/examples/nft/demo-portfolio-query.d.ts +14 -0
  495. package/dist/examples/nft/demo-portfolio-query.d.ts.map +1 -0
  496. package/dist/examples/nft/nft-collection-lifecycle.d.ts +22 -0
  497. package/dist/examples/nft/nft-collection-lifecycle.d.ts.map +1 -0
  498. package/dist/examples/nft/nft-data-queries.d.ts +22 -0
  499. package/dist/examples/nft/nft-data-queries.d.ts.map +1 -0
  500. package/dist/examples/nft/nft-fee-estimation.d.ts +23 -0
  501. package/dist/examples/nft/nft-fee-estimation.d.ts.map +1 -0
  502. package/dist/examples/nft/nft-token-creation.d.ts +22 -0
  503. package/dist/examples/nft/nft-token-creation.d.ts.map +1 -0
  504. package/dist/examples/nft/nft-utilities.d.ts +23 -0
  505. package/dist/examples/nft/nft-utilities.d.ts.map +1 -0
  506. package/dist/examples/orchestrator-master.d.ts +22 -0
  507. package/dist/examples/orchestrator-master.d.ts.map +1 -0
  508. package/dist/examples/orchestrator-tasks.d.ts +38 -0
  509. package/dist/examples/orchestrator-tasks.d.ts.map +1 -0
  510. package/dist/examples/overseers/claim-invite.d.ts +31 -0
  511. package/dist/examples/overseers/claim-invite.d.ts.map +1 -0
  512. package/dist/examples/overseers/demo-list-users.d.ts +19 -0
  513. package/dist/examples/overseers/demo-list-users.d.ts.map +1 -0
  514. package/dist/examples/overseers/direct-promotion.d.ts +39 -0
  515. package/dist/examples/overseers/direct-promotion.d.ts.map +1 -0
  516. package/dist/examples/overseers/invite-management.d.ts +38 -0
  517. package/dist/examples/overseers/invite-management.d.ts.map +1 -0
  518. package/dist/examples/overseers/restricted-names-management.d.ts +27 -0
  519. package/dist/examples/overseers/restricted-names-management.d.ts.map +1 -0
  520. package/dist/examples/performance/caching-strategies-advanced.d.ts +28 -0
  521. package/dist/examples/performance/caching-strategies-advanced.d.ts.map +1 -0
  522. package/dist/examples/performance/performance-optimization-patterns.d.ts +28 -0
  523. package/dist/examples/performance/performance-optimization-patterns.d.ts.map +1 -0
  524. package/dist/examples/persistence/data-backup-recovery.d.ts +119 -0
  525. package/dist/examples/persistence/data-backup-recovery.d.ts.map +1 -0
  526. package/dist/examples/persistence/local-storage-patterns.d.ts +86 -0
  527. package/dist/examples/persistence/local-storage-patterns.d.ts.map +1 -0
  528. package/dist/examples/queries/advanced-sorting.d.ts +28 -0
  529. package/dist/examples/queries/advanced-sorting.d.ts.map +1 -0
  530. package/dist/examples/queries/complex-filtering.d.ts +27 -0
  531. package/dist/examples/queries/complex-filtering.d.ts.map +1 -0
  532. package/dist/examples/security/security-audit-trail.d.ts +42 -0
  533. package/dist/examples/security/security-audit-trail.d.ts.map +1 -0
  534. package/dist/examples/security/security-content-moderation-advanced.d.ts +42 -0
  535. package/dist/examples/security/security-content-moderation-advanced.d.ts.map +1 -0
  536. package/dist/examples/security/security-token-safety-checks.d.ts +41 -0
  537. package/dist/examples/security/security-token-safety-checks.d.ts.map +1 -0
  538. package/dist/examples/security/security-user-restrictions-advanced.d.ts +42 -0
  539. package/dist/examples/security/security-user-restrictions-advanced.d.ts.map +1 -0
  540. package/dist/examples/site-config-demo.d.ts +20 -0
  541. package/dist/examples/site-config-demo.d.ts.map +1 -0
  542. package/dist/examples/streaming/admin-controls.d.ts +30 -0
  543. package/dist/examples/streaming/admin-controls.d.ts.map +1 -0
  544. package/dist/examples/streaming/advanced-stream-demo.d.ts +28 -0
  545. package/dist/examples/streaming/advanced-stream-demo.d.ts.map +1 -0
  546. package/dist/examples/streaming/basic-stream.d.ts +17 -0
  547. package/dist/examples/streaming/basic-stream.d.ts.map +1 -0
  548. package/dist/examples/streaming/demo-countdown.d.ts +16 -0
  549. package/dist/examples/streaming/demo-countdown.d.ts.map +1 -0
  550. package/dist/examples/streaming/demo-get-stream-credentials.d.ts +29 -0
  551. package/dist/examples/streaming/demo-get-stream-credentials.d.ts.map +1 -0
  552. package/dist/examples/streaming/demo-platform-config.d.ts +20 -0
  553. package/dist/examples/streaming/demo-platform-config.d.ts.map +1 -0
  554. package/dist/examples/streaming/engagement-stats.d.ts +25 -0
  555. package/dist/examples/streaming/engagement-stats.d.ts.map +1 -0
  556. package/dist/examples/streaming/recordings.d.ts +16 -0
  557. package/dist/examples/streaming/recordings.d.ts.map +1 -0
  558. package/dist/examples/streaming/simulcast.d.ts +19 -0
  559. package/dist/examples/streaming/simulcast.d.ts.map +1 -0
  560. package/dist/examples/streaming/stream-access-control.d.ts +30 -0
  561. package/dist/examples/streaming/stream-access-control.d.ts.map +1 -0
  562. package/dist/examples/streaming/stream-control.d.ts +25 -0
  563. package/dist/examples/streaming/stream-control.d.ts.map +1 -0
  564. package/dist/examples/streaming/stream-countdown.d.ts +31 -0
  565. package/dist/examples/streaming/stream-countdown.d.ts.map +1 -0
  566. package/dist/examples/streaming/stream-enable-disable.d.ts +31 -0
  567. package/dist/examples/streaming/stream-enable-disable.d.ts.map +1 -0
  568. package/dist/examples/streaming/stream-key-management.d.ts +21 -0
  569. package/dist/examples/streaming/stream-key-management.d.ts.map +1 -0
  570. package/dist/examples/streaming/stream-recording-management.d.ts +29 -0
  571. package/dist/examples/streaming/stream-recording-management.d.ts.map +1 -0
  572. package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts +38 -0
  573. package/dist/examples/streaming/stream-simulcast-multi-platform.d.ts.map +1 -0
  574. package/dist/examples/streaming/stream-viewer-analytics.d.ts +43 -0
  575. package/dist/examples/streaming/stream-viewer-analytics.d.ts.map +1 -0
  576. package/dist/examples/streaming/streaming-lifecycle.d.ts +26 -0
  577. package/dist/examples/streaming/streaming-lifecycle.d.ts.map +1 -0
  578. package/dist/examples/streaming-premium/stream-monetization-setup.d.ts +47 -0
  579. package/dist/examples/streaming-premium/stream-monetization-setup.d.ts.map +1 -0
  580. package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts +56 -0
  581. package/dist/examples/streaming-premium/stream-revenue-analytics.d.ts.map +1 -0
  582. package/dist/examples/streaming-premium/stream-vip-management.d.ts +56 -0
  583. package/dist/examples/streaming-premium/stream-vip-management.d.ts.map +1 -0
  584. package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts +20 -0
  585. package/dist/examples/swap-monitoring/arbitrage-monitor.d.ts.map +1 -0
  586. package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts +50 -0
  587. package/dist/examples/swap-monitoring/e2e-trading-demo.d.ts.map +1 -0
  588. package/dist/examples/swap-monitoring/health-monitor.d.ts +10 -0
  589. package/dist/examples/swap-monitoring/health-monitor.d.ts.map +1 -0
  590. package/dist/examples/swap-monitoring/volume-monitor.d.ts +20 -0
  591. package/dist/examples/swap-monitoring/volume-monitor.d.ts.map +1 -0
  592. package/dist/examples/testing/demo-test-runner.d.ts +33 -0
  593. package/dist/examples/testing/demo-test-runner.d.ts.map +1 -0
  594. package/dist/examples/testing/error-classifier.d.ts +23 -0
  595. package/dist/examples/testing/error-classifier.d.ts.map +1 -0
  596. package/dist/examples/testing/index.d.ts +14 -0
  597. package/dist/examples/testing/index.d.ts.map +1 -0
  598. package/dist/examples/testing/memory-manager.d.ts +31 -0
  599. package/dist/examples/testing/memory-manager.d.ts.map +1 -0
  600. package/dist/examples/testing/report-generator.d.ts +31 -0
  601. package/dist/examples/testing/report-generator.d.ts.map +1 -0
  602. package/dist/examples/testing/test-result-types.d.ts +158 -0
  603. package/dist/examples/testing/test-result-types.d.ts.map +1 -0
  604. package/dist/examples/token-bans/token-ban-management.d.ts +32 -0
  605. package/dist/examples/token-bans/token-ban-management.d.ts.map +1 -0
  606. package/dist/examples/token-creation/token-launch-complete.d.ts +20 -0
  607. package/dist/examples/token-creation/token-launch-complete.d.ts.map +1 -0
  608. package/dist/examples/token-creation/token-validation-comprehensive.d.ts +22 -0
  609. package/dist/examples/token-creation/token-validation-comprehensive.d.ts.map +1 -0
  610. package/dist/examples/token-info/token-name-resolution.d.ts +30 -0
  611. package/dist/examples/token-info/token-name-resolution.d.ts.map +1 -0
  612. package/dist/examples/token-info/token-operations-comprehensive.d.ts +22 -0
  613. package/dist/examples/token-info/token-operations-comprehensive.d.ts.map +1 -0
  614. package/dist/examples/token-metadata/token-description-versioning.d.ts +33 -0
  615. package/dist/examples/token-metadata/token-description-versioning.d.ts.map +1 -0
  616. package/dist/examples/token-metadata/token-image-management.d.ts +34 -0
  617. package/dist/examples/token-metadata/token-image-management.d.ts.map +1 -0
  618. package/dist/examples/token-metadata/token-social-links-management.d.ts +34 -0
  619. package/dist/examples/token-metadata/token-social-links-management.d.ts.map +1 -0
  620. package/dist/examples/trading/buy-sell-aliases.d.ts +20 -0
  621. package/dist/examples/trading/buy-sell-aliases.d.ts.map +1 -0
  622. package/dist/examples/trading/volume-data-demo.d.ts +20 -0
  623. package/dist/examples/trading/volume-data-demo.d.ts.map +1 -0
  624. package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts +35 -0
  625. package/dist/examples/trading-advanced/dollar-cost-averaging.d.ts.map +1 -0
  626. package/dist/examples/trading-advanced/limit-orders-advanced.d.ts +34 -0
  627. package/dist/examples/trading-advanced/limit-orders-advanced.d.ts.map +1 -0
  628. package/dist/examples/trading-advanced/stop-loss-orders.d.ts +34 -0
  629. package/dist/examples/trading-advanced/stop-loss-orders.d.ts.map +1 -0
  630. package/dist/examples/trading-advanced/trading-history-analysis.d.ts +35 -0
  631. package/dist/examples/trading-advanced/trading-history-analysis.d.ts.map +1 -0
  632. package/dist/examples/users/balance-queries.d.ts +28 -0
  633. package/dist/examples/users/balance-queries.d.ts.map +1 -0
  634. package/dist/examples/users/fetch-user-balances.d.ts +19 -0
  635. package/dist/examples/users/fetch-user-balances.d.ts.map +1 -0
  636. package/dist/examples/users/fetch-user-report.d.ts +21 -0
  637. package/dist/examples/users/fetch-user-report.d.ts.map +1 -0
  638. package/dist/examples/users/profile-images.d.ts +24 -0
  639. package/dist/examples/users/profile-images.d.ts.map +1 -0
  640. package/dist/examples/users/profile-management.d.ts +22 -0
  641. package/dist/examples/users/profile-management.d.ts.map +1 -0
  642. package/dist/examples/users/referrals-comprehensive.d.ts +26 -0
  643. package/dist/examples/users/referrals-comprehensive.d.ts.map +1 -0
  644. package/dist/examples/users/wallet-balances-external.d.ts +28 -0
  645. package/dist/examples/users/wallet-balances-external.d.ts.map +1 -0
  646. package/dist/examples/utilities/account.d.ts +19 -0
  647. package/dist/examples/utilities/account.d.ts.map +1 -0
  648. package/dist/examples/utilities/balance.d.ts +5 -0
  649. package/dist/examples/utilities/balance.d.ts.map +1 -0
  650. package/dist/examples/utilities/balances.d.ts +7 -0
  651. package/dist/examples/utilities/balances.d.ts.map +1 -0
  652. package/dist/examples/utilities/demo-cache.d.ts +13 -0
  653. package/dist/examples/utilities/demo-cache.d.ts.map +1 -0
  654. package/dist/examples/utilities/demo-token-supply.d.ts +14 -0
  655. package/dist/examples/utilities/demo-token-supply.d.ts.map +1 -0
  656. package/dist/examples/utilities/key-derivation.d.ts +12 -0
  657. package/dist/examples/utilities/key-derivation.d.ts.map +1 -0
  658. package/dist/examples/utilities/multi-token-portfolio.d.ts +18 -0
  659. package/dist/examples/utilities/multi-token-portfolio.d.ts.map +1 -0
  660. package/dist/examples/utilities/pool-discovery-advanced.d.ts +36 -0
  661. package/dist/examples/utilities/pool-discovery-advanced.d.ts.map +1 -0
  662. package/dist/examples/utilities/pool-pair-analysis.d.ts +37 -0
  663. package/dist/examples/utilities/pool-pair-analysis.d.ts.map +1 -0
  664. package/dist/examples/utilities/price-history.d.ts +22 -0
  665. package/dist/examples/utilities/price-history.d.ts.map +1 -0
  666. package/dist/examples/utilities/referrals.d.ts +21 -0
  667. package/dist/examples/utilities/referrals.d.ts.map +1 -0
  668. package/dist/examples/utilities/token-classification.d.ts +38 -0
  669. package/dist/examples/utilities/token-classification.d.ts.map +1 -0
  670. package/dist/examples/utilities/token-discovery.d.ts +26 -0
  671. package/dist/examples/utilities/token-discovery.d.ts.map +1 -0
  672. package/dist/examples/utilities/token-metadata-advanced.d.ts +37 -0
  673. package/dist/examples/utilities/token-metadata-advanced.d.ts.map +1 -0
  674. package/dist/examples/utilities/token-validation-complete.d.ts +41 -0
  675. package/dist/examples/utilities/token-validation-complete.d.ts.map +1 -0
  676. package/dist/examples/utilities/trade-history.d.ts +19 -0
  677. package/dist/examples/utilities/trade-history.d.ts.map +1 -0
  678. package/dist/examples/utilities/transfers.d.ts +29 -0
  679. package/dist/examples/utilities/transfers.d.ts.map +1 -0
  680. package/dist/examples/utilities/validation-and-error-handling.d.ts +27 -0
  681. package/dist/examples/utilities/validation-and-error-handling.d.ts.map +1 -0
  682. package/dist/examples/utilities/wrappable-tokens.d.ts +27 -0
  683. package/dist/examples/utilities/wrappable-tokens.d.ts.map +1 -0
  684. package/dist/examples/utility/auth-utilities.d.ts +30 -0
  685. package/dist/examples/utility/auth-utilities.d.ts.map +1 -0
  686. package/dist/examples/utility/pool-utilities.d.ts +29 -0
  687. package/dist/examples/utility/pool-utilities.d.ts.map +1 -0
  688. package/dist/examples/utility/sdk-configuration.d.ts +29 -0
  689. package/dist/examples/utility/sdk-configuration.d.ts.map +1 -0
  690. package/dist/examples/utility/wallet-management-advanced.d.ts +32 -0
  691. package/dist/examples/utility/wallet-management-advanced.d.ts.map +1 -0
  692. package/dist/examples/utils/auth-bootstrap.d.ts +123 -0
  693. package/dist/examples/utils/auth-bootstrap.d.ts.map +1 -0
  694. package/dist/examples/utils/balance-checking.d.ts +158 -0
  695. package/dist/examples/utils/balance-checking.d.ts.map +1 -0
  696. package/dist/examples/utils/bridge-formatters.d.ts +188 -0
  697. package/dist/examples/utils/bridge-formatters.d.ts.map +1 -0
  698. package/dist/examples/utils/bridge-setup.d.ts +235 -0
  699. package/dist/examples/utils/bridge-setup.d.ts.map +1 -0
  700. package/dist/examples/utils/bridge-transaction-logger.d.ts +42 -0
  701. package/dist/examples/utils/bridge-transaction-logger.d.ts.map +1 -0
  702. package/dist/examples/utils/cli-input.d.ts +41 -0
  703. package/dist/examples/utils/cli-input.d.ts.map +1 -0
  704. package/dist/examples/utils/demo-config.d.ts +155 -0
  705. package/dist/examples/utils/demo-config.d.ts.map +1 -0
  706. package/dist/examples/utils/demo-registry.d.ts +155 -0
  707. package/dist/examples/utils/demo-registry.d.ts.map +1 -0
  708. package/dist/examples/utils/error-handler.d.ts +85 -0
  709. package/dist/examples/utils/error-handler.d.ts.map +1 -0
  710. package/dist/examples/utils/formatting.d.ts +195 -0
  711. package/dist/examples/utils/formatting.d.ts.map +1 -0
  712. package/dist/examples/utils/get-environment.d.ts +17 -0
  713. package/dist/examples/utils/get-environment.d.ts.map +1 -0
  714. package/dist/examples/utils/index.d.ts +44 -0
  715. package/dist/examples/utils/index.d.ts.map +1 -0
  716. package/dist/examples/utils/indexing.d.ts +48 -0
  717. package/dist/examples/utils/indexing.d.ts.map +1 -0
  718. package/dist/examples/utils/load-env.d.ts +90 -0
  719. package/dist/examples/utils/load-env.d.ts.map +1 -0
  720. package/dist/examples/utils/logger.d.ts +52 -0
  721. package/dist/examples/utils/logger.d.ts.map +1 -0
  722. package/dist/examples/utils/pool-helpers.d.ts +226 -0
  723. package/dist/examples/utils/pool-helpers.d.ts.map +1 -0
  724. package/dist/examples/utils/punchlist.d.ts +104 -0
  725. package/dist/examples/utils/punchlist.d.ts.map +1 -0
  726. package/dist/examples/utils/sdk-setup.d.ts +423 -0
  727. package/dist/examples/utils/sdk-setup.d.ts.map +1 -0
  728. package/dist/examples/utils/suppress-logging.d.ts +11 -0
  729. package/dist/examples/utils/suppress-logging.d.ts.map +1 -0
  730. package/dist/examples/utils/token-naming.d.ts +117 -0
  731. package/dist/examples/utils/token-naming.d.ts.map +1 -0
  732. package/dist/examples/utils/trade-helpers.d.ts +195 -0
  733. package/dist/examples/utils/trade-helpers.d.ts.map +1 -0
  734. package/dist/examples/utils/transaction-helpers.d.ts +92 -0
  735. package/dist/examples/utils/transaction-helpers.d.ts.map +1 -0
  736. package/dist/examples/wallet/wallet-initialization-complete.d.ts +31 -0
  737. package/dist/examples/wallet/wallet-initialization-complete.d.ts.map +1 -0
  738. package/dist/examples/wallet/wallet-key-rotation.d.ts +28 -0
  739. package/dist/examples/wallet/wallet-key-rotation.d.ts.map +1 -0
  740. package/dist/examples/wallet/wallet-recovery-patterns.d.ts +29 -0
  741. package/dist/examples/wallet/wallet-recovery-patterns.d.ts.map +1 -0
  742. package/dist/examples/wallet/wallet-signature-operations.d.ts +28 -0
  743. package/dist/examples/wallet/wallet-signature-operations.d.ts.map +1 -0
  744. package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts +21 -0
  745. package/dist/examples/wallet-tracking/wallet-balance-monitoring.d.ts.map +1 -0
  746. package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts +21 -0
  747. package/dist/examples/wallet-tracking/wallet-portfolio-alerts.d.ts.map +1 -0
  748. package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts +21 -0
  749. package/dist/examples/wallet-tracking/wallet-transaction-tracking.d.ts.map +1 -0
  750. package/dist/examples/websocket/websocket-chat-advanced.d.ts +26 -0
  751. package/dist/examples/websocket/websocket-chat-advanced.d.ts.map +1 -0
  752. package/dist/examples/websocket/websocket-chat-events-detailed.d.ts +28 -0
  753. package/dist/examples/websocket/websocket-chat-events-detailed.d.ts.map +1 -0
  754. package/dist/examples/websocket/websocket-chat-events.d.ts +26 -0
  755. package/dist/examples/websocket/websocket-chat-events.d.ts.map +1 -0
  756. package/dist/examples/websocket/websocket-combined-events.d.ts +28 -0
  757. package/dist/examples/websocket/websocket-combined-events.d.ts.map +1 -0
  758. package/dist/examples/websocket/websocket-comprehensive.d.ts +25 -0
  759. package/dist/examples/websocket/websocket-comprehensive.d.ts.map +1 -0
  760. package/dist/examples/websocket/websocket-connected-clients.d.ts +30 -0
  761. package/dist/examples/websocket/websocket-connected-clients.d.ts.map +1 -0
  762. package/dist/examples/websocket/websocket-connection-management.d.ts +28 -0
  763. package/dist/examples/websocket/websocket-connection-management.d.ts.map +1 -0
  764. package/dist/examples/websocket/websocket-content-events.d.ts +28 -0
  765. package/dist/examples/websocket/websocket-content-events.d.ts.map +1 -0
  766. package/dist/examples/websocket/websocket-core-events.d.ts +27 -0
  767. package/dist/examples/websocket/websocket-core-events.d.ts.map +1 -0
  768. package/dist/examples/websocket/websocket-dex-events.d.ts +40 -0
  769. package/dist/examples/websocket/websocket-dex-events.d.ts.map +1 -0
  770. package/dist/examples/websocket/websocket-dex-pools.d.ts +23 -0
  771. package/dist/examples/websocket/websocket-dex-pools.d.ts.map +1 -0
  772. package/dist/examples/websocket/websocket-download-recording.d.ts +26 -0
  773. package/dist/examples/websocket/websocket-download-recording.d.ts.map +1 -0
  774. package/dist/examples/websocket/websocket-interactions.d.ts +25 -0
  775. package/dist/examples/websocket/websocket-interactions.d.ts.map +1 -0
  776. package/dist/examples/websocket/websocket-moderation-events.d.ts +26 -0
  777. package/dist/examples/websocket/websocket-moderation-events.d.ts.map +1 -0
  778. package/dist/examples/websocket/websocket-recording-events.d.ts +24 -0
  779. package/dist/examples/websocket/websocket-recording-events.d.ts.map +1 -0
  780. package/dist/examples/websocket/websocket-room-events.d.ts +27 -0
  781. package/dist/examples/websocket/websocket-room-events.d.ts.map +1 -0
  782. package/dist/examples/websocket/websocket-room-management.d.ts +27 -0
  783. package/dist/examples/websocket/websocket-room-management.d.ts.map +1 -0
  784. package/dist/examples/websocket/websocket-simulcast-events.d.ts +26 -0
  785. package/dist/examples/websocket/websocket-simulcast-events.d.ts.map +1 -0
  786. package/dist/examples/websocket/websocket-stream-auth.d.ts +23 -0
  787. package/dist/examples/websocket/websocket-stream-auth.d.ts.map +1 -0
  788. package/dist/examples/websocket/websocket-stream-countdown.d.ts +38 -0
  789. package/dist/examples/websocket/websocket-stream-countdown.d.ts.map +1 -0
  790. package/dist/examples/websocket/websocket-stream-events.d.ts +26 -0
  791. package/dist/examples/websocket/websocket-stream-events.d.ts.map +1 -0
  792. package/dist/examples/websocket/websocket-stream-status.d.ts +39 -0
  793. package/dist/examples/websocket/websocket-stream-status.d.ts.map +1 -0
  794. package/dist/examples/websocket/websocket-subscription-management.d.ts +27 -0
  795. package/dist/examples/websocket/websocket-subscription-management.d.ts.map +1 -0
  796. package/dist/examples/websocket/websocket-token-creation-events.d.ts +22 -0
  797. package/dist/examples/websocket/websocket-token-creation-events.d.ts.map +1 -0
  798. package/dist/examples/websocket/websocket-token-events.d.ts +24 -0
  799. package/dist/examples/websocket/websocket-token-events.d.ts.map +1 -0
  800. package/dist/examples/websocket/websocket-token-subscription.d.ts +26 -0
  801. package/dist/examples/websocket/websocket-token-subscription.d.ts.map +1 -0
  802. package/dist/examples/websocket/websocket-token-viewers.d.ts +29 -0
  803. package/dist/examples/websocket/websocket-token-viewers.d.ts.map +1 -0
  804. package/dist/examples/websocket/websocket-unsubscribe.d.ts +25 -0
  805. package/dist/examples/websocket/websocket-unsubscribe.d.ts.map +1 -0
  806. package/dist/examples/websocket/websocket-user-events.d.ts +40 -0
  807. package/dist/examples/websocket/websocket-user-events.d.ts.map +1 -0
  808. package/dist/examples/websocket/websocket-user-presence.d.ts +29 -0
  809. package/dist/examples/websocket/websocket-user-presence.d.ts.map +1 -0
  810. package/dist/examples/websocket/websocket-viewer-analytics.d.ts +38 -0
  811. package/dist/examples/websocket/websocket-viewer-analytics.d.ts.map +1 -0
  812. package/dist/examples/wrap/wrap-status-tracking.d.ts +19 -0
  813. package/dist/examples/wrap/wrap-status-tracking.d.ts.map +1 -0
  814. package/dist/examples/wrap/wrap-token-discovery.d.ts +20 -0
  815. package/dist/examples/wrap/wrap-token-discovery.d.ts.map +1 -0
  816. package/dist/helpers/sdk.d.ts +87 -0
  817. package/dist/helpers/sdk.d.ts.map +1 -0
  818. package/dist/helpers/wallet.d.ts +151 -0
  819. package/dist/helpers/wallet.d.ts.map +1 -0
  820. package/dist/index.browser.d.ts +147 -0
  821. package/dist/index.browser.d.ts.map +1 -0
  822. package/dist/index.browser.esm.js +1 -0
  823. package/dist/index.cjs +1 -0
  824. package/dist/index.d.ts +6 -115
  825. package/dist/index.d.ts.map +1 -1
  826. package/dist/index.esm.js +1 -1
  827. package/dist/index.js +1 -1
  828. package/dist/index.node.d.ts +13 -0
  829. package/dist/index.node.d.ts.map +1 -0
  830. package/dist/polyfills/file-global.d.ts +12 -0
  831. package/dist/polyfills/file-global.d.ts.map +1 -0
  832. package/dist/react/WalletContext.d.ts +60 -0
  833. package/dist/react/WalletContext.d.ts.map +1 -0
  834. package/dist/react/index.d.ts +65 -0
  835. package/dist/react/index.d.ts.map +1 -0
  836. package/dist/react/types.d.ts +76 -0
  837. package/dist/react/types.d.ts.map +1 -0
  838. package/dist/react/useWallet.d.ts +123 -0
  839. package/dist/react/useWallet.d.ts.map +1 -0
  840. package/dist/react/useWalletConnection.d.ts +89 -0
  841. package/dist/react/useWalletConnection.d.ts.map +1 -0
  842. package/dist/react/useWalletDetection.d.ts +81 -0
  843. package/dist/react/useWalletDetection.d.ts.map +1 -0
  844. package/dist/react.cjs +1 -0
  845. package/dist/react.esm.js +1 -0
  846. package/dist/schemas/files.d.ts +83 -0
  847. package/dist/schemas/files.d.ts.map +1 -0
  848. package/dist/schemas/index.d.ts +83 -0
  849. package/dist/schemas/index.d.ts.map +1 -0
  850. package/dist/schemas/launchpad.d.ts +135 -0
  851. package/dist/schemas/launchpad.d.ts.map +1 -0
  852. package/dist/schemas/pagination.d.ts +107 -0
  853. package/dist/schemas/pagination.d.ts.map +1 -0
  854. package/dist/schemas/primitives.d.ts +142 -0
  855. package/dist/schemas/primitives.d.ts.map +1 -0
  856. package/dist/schemas/trade.d.ts +140 -0
  857. package/dist/schemas/trade.d.ts.map +1 -0
  858. package/dist/schemas/user.d.ts +99 -0
  859. package/dist/schemas/user.d.ts.map +1 -0
  860. package/dist/schemas/validators.d.ts +332 -0
  861. package/dist/schemas/validators.d.ts.map +1 -0
  862. package/dist/scripts/derive-public-key-from-private-key.d.ts +8 -0
  863. package/dist/scripts/derive-public-key-from-private-key.d.ts.map +1 -0
  864. package/dist/scripts/eslint-fixer.d.ts +7 -0
  865. package/dist/scripts/eslint-fixer.d.ts.map +1 -0
  866. package/dist/scripts/final-fixer.d.ts +7 -0
  867. package/dist/scripts/final-fixer.d.ts.map +1 -0
  868. package/dist/scripts/fix-all-remaining-boolean.d.ts +7 -0
  869. package/dist/scripts/fix-all-remaining-boolean.d.ts.map +1 -0
  870. package/dist/scripts/fix-boolean-expressions-advanced.d.ts +7 -0
  871. package/dist/scripts/fix-boolean-expressions-advanced.d.ts.map +1 -0
  872. package/dist/scripts/fix-boolean-expressions-ast.d.ts +9 -0
  873. package/dist/scripts/fix-boolean-expressions-ast.d.ts.map +1 -0
  874. package/dist/scripts/fix-boolean-expressions-auto.d.ts +7 -0
  875. package/dist/scripts/fix-boolean-expressions-auto.d.ts.map +1 -0
  876. package/dist/scripts/fix-final-aggressive.d.ts +6 -0
  877. package/dist/scripts/fix-final-aggressive.d.ts.map +1 -0
  878. package/dist/scripts/fix-final-boolean.d.ts +7 -0
  879. package/dist/scripts/fix-final-boolean.d.ts.map +1 -0
  880. package/dist/scripts/fix-remaining-boolean.d.ts +7 -0
  881. package/dist/scripts/fix-remaining-boolean.d.ts.map +1 -0
  882. package/dist/scripts/fix-strict-boolean-comprehensive.d.ts +3 -0
  883. package/dist/scripts/fix-strict-boolean-comprehensive.d.ts.map +1 -0
  884. package/dist/scripts/fix-strict-boolean-expressions.d.ts +2 -0
  885. package/dist/scripts/fix-strict-boolean-expressions.d.ts.map +1 -0
  886. package/dist/scripts/fix-strict-boolean-final.d.ts +13 -0
  887. package/dist/scripts/fix-strict-boolean-final.d.ts.map +1 -0
  888. package/dist/scripts/fixer-aggressive.d.ts +7 -0
  889. package/dist/scripts/fixer-aggressive.d.ts.map +1 -0
  890. package/dist/scripts/fixer-conservative.d.ts +7 -0
  891. package/dist/scripts/fixer-conservative.d.ts.map +1 -0
  892. package/dist/scripts/fixer-direct.d.ts +7 -0
  893. package/dist/scripts/fixer-direct.d.ts.map +1 -0
  894. package/dist/scripts/generate-demo-registry.d.ts +14 -0
  895. package/dist/scripts/generate-demo-registry.d.ts.map +1 -0
  896. package/dist/scripts/inject-version.d.ts +8 -0
  897. package/dist/scripts/inject-version.d.ts.map +1 -0
  898. package/dist/scripts/strict-boolean-fixer.d.ts +9 -0
  899. package/dist/scripts/strict-boolean-fixer.d.ts.map +1 -0
  900. package/dist/scripts/validate-demo-registry.d.ts +17 -0
  901. package/dist/scripts/validate-demo-registry.d.ts.map +1 -0
  902. package/dist/services/AIModerationService.d.ts +217 -0
  903. package/dist/services/AIModerationService.d.ts.map +1 -0
  904. package/dist/services/AbstractCacheService.d.ts +227 -0
  905. package/dist/services/AbstractCacheService.d.ts.map +1 -0
  906. package/dist/services/AbstractTokenFetchService.d.ts +150 -0
  907. package/dist/services/AbstractTokenFetchService.d.ts.map +1 -0
  908. package/dist/services/ApiKeyService.d.ts +211 -0
  909. package/dist/services/ApiKeyService.d.ts.map +1 -0
  910. package/dist/services/BanService.d.ts +312 -0
  911. package/dist/services/BanService.d.ts.map +1 -0
  912. package/dist/services/BaseService.d.ts +116 -0
  913. package/dist/services/BaseService.d.ts.map +1 -0
  914. package/dist/services/BatchedCacheService.d.ts +133 -0
  915. package/dist/services/BatchedCacheService.d.ts.map +1 -0
  916. package/dist/services/BridgeableTokenCache.d.ts +120 -0
  917. package/dist/services/BridgeableTokenCache.d.ts.map +1 -0
  918. package/dist/services/BridgeableTokenService.d.ts +218 -0
  919. package/dist/services/BridgeableTokenService.d.ts.map +1 -0
  920. package/dist/services/BundleService.d.ts +245 -0
  921. package/dist/services/BundleService.d.ts.map +1 -0
  922. package/dist/services/BundlerClientFactory.d.ts +32 -0
  923. package/dist/services/BundlerClientFactory.d.ts.map +1 -0
  924. package/dist/services/ChartService.d.ts +106 -0
  925. package/dist/services/ChartService.d.ts.map +1 -0
  926. package/dist/services/ContentFlagService.d.ts +218 -0
  927. package/dist/services/ContentFlagService.d.ts.map +1 -0
  928. package/dist/services/ContentReactionService.d.ts +175 -0
  929. package/dist/services/ContentReactionService.d.ts.map +1 -0
  930. package/dist/services/DexBackendClient.d.ts +225 -0
  931. package/dist/services/DexBackendClient.d.ts.map +1 -0
  932. package/dist/services/DexPoolService.d.ts +137 -0
  933. package/dist/services/DexPoolService.d.ts.map +1 -0
  934. package/dist/services/DexQuoteService.d.ts +446 -0
  935. package/dist/services/DexQuoteService.d.ts.map +1 -0
  936. package/dist/services/DexService.d.ts +433 -0
  937. package/dist/services/DexService.d.ts.map +1 -0
  938. package/dist/services/EventsBatcherService.d.ts +111 -0
  939. package/dist/services/EventsBatcherService.d.ts.map +1 -0
  940. package/dist/services/GSwapAssetService.d.ts +96 -0
  941. package/dist/services/GSwapAssetService.d.ts.map +1 -0
  942. package/dist/services/GSwapLiquidityMutationService.d.ts +138 -0
  943. package/dist/services/GSwapLiquidityMutationService.d.ts.map +1 -0
  944. package/dist/services/GSwapLiquidityQueryService.d.ts +75 -0
  945. package/dist/services/GSwapLiquidityQueryService.d.ts.map +1 -0
  946. package/dist/services/GSwapPoolCalculationService.d.ts +187 -0
  947. package/dist/services/GSwapPoolCalculationService.d.ts.map +1 -0
  948. package/dist/services/GSwapPoolQueryService.d.ts +115 -0
  949. package/dist/services/GSwapPoolQueryService.d.ts.map +1 -0
  950. package/dist/services/GSwapService.d.ts +1207 -0
  951. package/dist/services/GSwapService.d.ts.map +1 -0
  952. package/dist/services/GSwapSwapService.d.ts +68 -0
  953. package/dist/services/GSwapSwapService.d.ts.map +1 -0
  954. package/dist/services/GalaChainBalanceService.d.ts +155 -0
  955. package/dist/services/GalaChainBalanceService.d.ts.map +1 -0
  956. package/dist/services/GalaChainGatewayClient.d.ts +227 -0
  957. package/dist/services/GalaChainGatewayClient.d.ts.map +1 -0
  958. package/dist/services/GalaChainLockService.d.ts +144 -0
  959. package/dist/services/GalaChainLockService.d.ts.map +1 -0
  960. package/dist/services/GalaChainService.d.ts +399 -0
  961. package/dist/services/GalaChainService.d.ts.map +1 -0
  962. package/dist/services/GalaChainTokenService.d.ts +108 -0
  963. package/dist/services/GalaChainTokenService.d.ts.map +1 -0
  964. package/dist/services/GalaChainTransferService.d.ts +205 -0
  965. package/dist/services/GalaChainTransferService.d.ts.map +1 -0
  966. package/dist/services/HolderService.d.ts +181 -0
  967. package/dist/services/HolderService.d.ts.map +1 -0
  968. package/dist/services/ImageService.d.ts +173 -0
  969. package/dist/services/ImageService.d.ts.map +1 -0
  970. package/dist/services/LaunchpadService.d.ts +343 -0
  971. package/dist/services/LaunchpadService.d.ts.map +1 -0
  972. package/dist/services/MessagesService.d.ts +251 -0
  973. package/dist/services/MessagesService.d.ts.map +1 -0
  974. package/dist/services/ModeratorService.d.ts +311 -0
  975. package/dist/services/ModeratorService.d.ts.map +1 -0
  976. package/dist/services/MultiPoolStateManager.d.ts +289 -0
  977. package/dist/services/MultiPoolStateManager.d.ts.map +1 -0
  978. package/dist/services/NetworkKeyedCacheService.d.ts +185 -0
  979. package/dist/services/NetworkKeyedCacheService.d.ts.map +1 -0
  980. package/dist/services/NftCollectionService.d.ts +121 -0
  981. package/dist/services/NftCollectionService.d.ts.map +1 -0
  982. package/dist/services/OEmbedService.d.ts +152 -0
  983. package/dist/services/OEmbedService.d.ts.map +1 -0
  984. package/dist/services/OverseerService.d.ts +524 -0
  985. package/dist/services/OverseerService.d.ts.map +1 -0
  986. package/dist/services/PlatformConfigService.d.ts +149 -0
  987. package/dist/services/PlatformConfigService.d.ts.map +1 -0
  988. package/dist/services/PlatformStatsService.d.ts +72 -0
  989. package/dist/services/PlatformStatsService.d.ts.map +1 -0
  990. package/dist/services/PoolCacheManager.d.ts +258 -0
  991. package/dist/services/PoolCacheManager.d.ts.map +1 -0
  992. package/dist/services/PoolService.d.ts +316 -0
  993. package/dist/services/PoolService.d.ts.map +1 -0
  994. package/dist/services/PoolStateManager.d.ts +176 -0
  995. package/dist/services/PoolStateManager.d.ts.map +1 -0
  996. package/dist/services/PriceHistoryService.d.ts +207 -0
  997. package/dist/services/PriceHistoryService.d.ts.map +1 -0
  998. package/dist/services/RestrictedNamesService.d.ts +80 -0
  999. package/dist/services/RestrictedNamesService.d.ts.map +1 -0
  1000. package/dist/services/SignatureService.d.ts +113 -0
  1001. package/dist/services/SignatureService.d.ts.map +1 -0
  1002. package/dist/services/StreamChatService.d.ts +259 -0
  1003. package/dist/services/StreamChatService.d.ts.map +1 -0
  1004. package/dist/services/StreamTokenServiceBase.d.ts +404 -0
  1005. package/dist/services/StreamTokenServiceBase.d.ts.map +1 -0
  1006. package/dist/services/StreamWebSocketService.d.ts +586 -0
  1007. package/dist/services/StreamWebSocketService.d.ts.map +1 -0
  1008. package/dist/services/StreamingEventService.d.ts +441 -0
  1009. package/dist/services/StreamingEventService.d.ts.map +1 -0
  1010. package/dist/services/StreamingService.d.ts +573 -0
  1011. package/dist/services/StreamingService.d.ts.map +1 -0
  1012. package/dist/services/SwapEventQueue.d.ts +192 -0
  1013. package/dist/services/SwapEventQueue.d.ts.map +1 -0
  1014. package/dist/services/TokenBanService.d.ts +217 -0
  1015. package/dist/services/TokenBanService.d.ts.map +1 -0
  1016. package/dist/services/TokenClassKeyService.d.ts +162 -0
  1017. package/dist/services/TokenClassKeyService.d.ts.map +1 -0
  1018. package/dist/services/TokenMetadataCache.d.ts +310 -0
  1019. package/dist/services/TokenMetadataCache.d.ts.map +1 -0
  1020. package/dist/services/TokenMetadataService.d.ts +509 -0
  1021. package/dist/services/TokenMetadataService.d.ts.map +1 -0
  1022. package/dist/services/TokenResolverService.d.ts +329 -0
  1023. package/dist/services/TokenResolverService.d.ts.map +1 -0
  1024. package/dist/services/TradeService.d.ts +286 -0
  1025. package/dist/services/TradeService.d.ts.map +1 -0
  1026. package/dist/services/TradingQuotesService.d.ts +162 -0
  1027. package/dist/services/TradingQuotesService.d.ts.map +1 -0
  1028. package/dist/services/UserService.d.ts +352 -0
  1029. package/dist/services/UserService.d.ts.map +1 -0
  1030. package/dist/services/WebSocketAdminService.d.ts +587 -0
  1031. package/dist/services/WebSocketAdminService.d.ts.map +1 -0
  1032. package/dist/services/WebSocketService.d.ts +189 -0
  1033. package/dist/services/WebSocketService.d.ts.map +1 -0
  1034. package/dist/services/WeeklyChallengeService.d.ts +114 -0
  1035. package/dist/services/WeeklyChallengeService.d.ts.map +1 -0
  1036. package/dist/services/WrapService.d.ts +172 -0
  1037. package/dist/services/WrapService.d.ts.map +1 -0
  1038. package/dist/services/WrappableTokenCache.d.ts +100 -0
  1039. package/dist/services/WrappableTokenCache.d.ts.map +1 -0
  1040. package/dist/services/WrappableTokenService.d.ts +130 -0
  1041. package/dist/services/WrappableTokenService.d.ts.map +1 -0
  1042. package/dist/services/__mocks__/logger.mock.d.ts +24 -0
  1043. package/dist/services/__mocks__/logger.mock.d.ts.map +1 -0
  1044. package/dist/services/shared/cache-helpers.d.ts +188 -0
  1045. package/dist/services/shared/cache-helpers.d.ts.map +1 -0
  1046. package/dist/services/shared/http-helpers.d.ts +146 -0
  1047. package/dist/services/shared/http-helpers.d.ts.map +1 -0
  1048. package/dist/services/shared/pagination-helpers.d.ts +167 -0
  1049. package/dist/services/shared/pagination-helpers.d.ts.map +1 -0
  1050. package/dist/services/shared/service-validators.d.ts +137 -0
  1051. package/dist/services/shared/service-validators.d.ts.map +1 -0
  1052. package/dist/services/shared/websocket-helpers.d.ts +158 -0
  1053. package/dist/services/shared/websocket-helpers.d.ts.map +1 -0
  1054. package/dist/setup.d.ts +8 -0
  1055. package/dist/setup.d.ts.map +1 -0
  1056. package/dist/src/LaunchpadSDK.d.ts +2192 -404
  1057. package/dist/src/LaunchpadSDK.d.ts.map +1 -1
  1058. package/dist/src/api/LaunchpadAPI.d.ts +15 -8
  1059. package/dist/src/api/LaunchpadAPI.d.ts.map +1 -1
  1060. package/dist/src/api/dto/BondingCurveDTOs.d.ts.map +1 -1
  1061. package/dist/src/api/dto/BurnTokensDto.d.ts +1 -1
  1062. package/dist/src/api/dto/BurnTokensDto.d.ts.map +1 -1
  1063. package/dist/src/api/dto/LockTokenDto.d.ts +1 -1
  1064. package/dist/src/api/dto/LockTokenDto.d.ts.map +1 -1
  1065. package/dist/src/api/dto/TransferTokenDto.d.ts +1 -1
  1066. package/dist/src/api/dto/TransferTokenDto.d.ts.map +1 -1
  1067. package/dist/src/api/dto/UnlockTokenDto.d.ts +1 -1
  1068. package/dist/src/api/dto/UnlockTokenDto.d.ts.map +1 -1
  1069. package/dist/src/auth/JwtAuth.d.ts +43 -5
  1070. package/dist/src/auth/JwtAuth.d.ts.map +1 -1
  1071. package/dist/src/auth/SessionAuthService.d.ts +11 -6
  1072. package/dist/src/auth/SessionAuthService.d.ts.map +1 -1
  1073. package/dist/src/auth/SignatureAuth.d.ts +64 -3
  1074. package/dist/src/auth/SignatureAuth.d.ts.map +1 -1
  1075. package/dist/src/auth/storage.d.ts +66 -0
  1076. package/dist/src/auth/storage.d.ts.map +1 -0
  1077. package/dist/src/auth/types.d.ts +11 -2
  1078. package/dist/src/auth/types.d.ts.map +1 -1
  1079. package/dist/src/bridge/BridgeService.d.ts +1 -1
  1080. package/dist/src/bridge/BridgeService.d.ts.map +1 -1
  1081. package/dist/src/bridge/GalaConnectClient.d.ts +1 -1
  1082. package/dist/src/bridge/GalaConnectClient.d.ts.map +1 -1
  1083. package/dist/src/bridge/constants/tokens.d.ts +1 -1
  1084. package/dist/src/bridge/constants/tokens.d.ts.map +1 -1
  1085. package/dist/src/bridge/index.d.ts +10 -10
  1086. package/dist/src/bridge/index.d.ts.map +1 -1
  1087. package/dist/src/bridge/strategies/BridgeStrategy.d.ts.map +1 -1
  1088. package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts +1 -1
  1089. package/dist/src/bridge/strategies/EthereumBridgeStrategy.d.ts.map +1 -1
  1090. package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts +1 -1
  1091. package/dist/src/bridge/strategies/SolanaBridgeStrategy.d.ts.map +1 -1
  1092. package/dist/src/bridge/utils/addressValidation.d.ts.map +1 -1
  1093. package/dist/src/bridge/utils/balanceHelpers.d.ts +1 -1
  1094. package/dist/src/bridge/utils/balanceHelpers.d.ts.map +1 -1
  1095. package/dist/src/bridge/utils/bridgeErrors.d.ts.map +1 -1
  1096. package/dist/src/bridge/utils/bridgeOutHelpers.d.ts +1 -1
  1097. package/dist/src/bridge/utils/bridgeOutHelpers.d.ts.map +1 -1
  1098. package/dist/src/bridge/utils/bridgePayload.d.ts +2 -11
  1099. package/dist/src/bridge/utils/bridgePayload.d.ts.map +1 -1
  1100. package/dist/src/bridge/utils/bridgeStatusParser.d.ts.map +1 -1
  1101. package/dist/src/bridge/utils/eip712Helpers.d.ts.map +1 -1
  1102. package/dist/src/bridge/utils/index.d.ts +9 -9
  1103. package/dist/src/bridge/utils/index.d.ts.map +1 -1
  1104. package/dist/src/bridge/utils/tokenIdUtils.d.ts +1 -1
  1105. package/dist/src/bridge/utils/tokenIdUtils.d.ts.map +1 -1
  1106. package/dist/src/bridge/utils/tokenMetadataResolver.d.ts +1 -1
  1107. package/dist/src/bridge/utils/tokenMetadataResolver.d.ts.map +1 -1
  1108. package/dist/src/config/environments.d.ts +1 -1
  1109. package/dist/src/config/environments.d.ts.map +1 -1
  1110. package/dist/src/constants/endpoints.d.ts +522 -260
  1111. package/dist/src/constants/endpoints.d.ts.map +1 -1
  1112. package/dist/src/constants/events.d.ts +53 -0
  1113. package/dist/src/constants/events.d.ts.map +1 -0
  1114. package/dist/src/constants/pagination.d.ts +23 -13
  1115. package/dist/src/constants/pagination.d.ts.map +1 -1
  1116. package/dist/src/constants/version.generated.d.ts +1 -1
  1117. package/dist/src/constants/version.generated.d.ts.map +1 -1
  1118. package/dist/src/helpers/sdk.d.ts.map +1 -1
  1119. package/dist/src/helpers/wallet.d.ts.map +1 -1
  1120. package/dist/src/index.browser.d.ts +147 -0
  1121. package/dist/src/index.browser.d.ts.map +1 -0
  1122. package/dist/src/index.d.ts +6 -115
  1123. package/dist/src/index.d.ts.map +1 -1
  1124. package/dist/src/index.node.d.ts +13 -0
  1125. package/dist/src/index.node.d.ts.map +1 -0
  1126. package/dist/src/react/WalletContext.d.ts +60 -0
  1127. package/dist/src/react/WalletContext.d.ts.map +1 -0
  1128. package/dist/src/react/index.d.ts +65 -0
  1129. package/dist/src/react/index.d.ts.map +1 -0
  1130. package/dist/src/react/types.d.ts +76 -0
  1131. package/dist/src/react/types.d.ts.map +1 -0
  1132. package/dist/src/react/useWallet.d.ts +123 -0
  1133. package/dist/src/react/useWallet.d.ts.map +1 -0
  1134. package/dist/src/react/useWalletConnection.d.ts +89 -0
  1135. package/dist/src/react/useWalletConnection.d.ts.map +1 -0
  1136. package/dist/src/react/useWalletDetection.d.ts +81 -0
  1137. package/dist/src/react/useWalletDetection.d.ts.map +1 -0
  1138. package/dist/src/schemas/files.d.ts.map +1 -1
  1139. package/dist/src/schemas/index.d.ts +4 -3
  1140. package/dist/src/schemas/index.d.ts.map +1 -1
  1141. package/dist/src/schemas/launchpad.d.ts +1 -0
  1142. package/dist/src/schemas/launchpad.d.ts.map +1 -1
  1143. package/dist/src/schemas/pagination.d.ts +16 -19
  1144. package/dist/src/schemas/pagination.d.ts.map +1 -1
  1145. package/dist/src/schemas/primitives.d.ts +1 -1
  1146. package/dist/src/schemas/primitives.d.ts.map +1 -1
  1147. package/dist/src/schemas/trade.d.ts +2 -2
  1148. package/dist/src/schemas/trade.d.ts.map +1 -1
  1149. package/dist/src/schemas/user.d.ts +2 -2
  1150. package/dist/src/schemas/user.d.ts.map +1 -1
  1151. package/dist/src/schemas/validators.d.ts +6 -5
  1152. package/dist/src/schemas/validators.d.ts.map +1 -1
  1153. package/dist/src/services/AIModerationService.d.ts +217 -0
  1154. package/dist/src/services/AIModerationService.d.ts.map +1 -0
  1155. package/dist/src/services/AbstractTokenFetchService.d.ts +1 -1
  1156. package/dist/src/services/AbstractTokenFetchService.d.ts.map +1 -1
  1157. package/dist/src/services/ApiKeyService.d.ts +14 -9
  1158. package/dist/src/services/ApiKeyService.d.ts.map +1 -1
  1159. package/dist/src/services/BanService.d.ts +132 -16
  1160. package/dist/src/services/BanService.d.ts.map +1 -1
  1161. package/dist/src/services/BaseService.d.ts +1 -1
  1162. package/dist/src/services/BaseService.d.ts.map +1 -1
  1163. package/dist/src/services/BatchedCacheService.d.ts.map +1 -1
  1164. package/dist/src/services/BridgeableTokenCache.d.ts +1 -1
  1165. package/dist/src/services/BridgeableTokenCache.d.ts.map +1 -1
  1166. package/dist/src/services/BridgeableTokenService.d.ts +4 -4
  1167. package/dist/src/services/BridgeableTokenService.d.ts.map +1 -1
  1168. package/dist/src/services/BundleService.d.ts +5 -5
  1169. package/dist/src/services/BundleService.d.ts.map +1 -1
  1170. package/dist/src/services/BundlerClientFactory.d.ts.map +1 -1
  1171. package/dist/src/services/ChartService.d.ts +106 -0
  1172. package/dist/src/services/ChartService.d.ts.map +1 -0
  1173. package/dist/src/services/ContentFlagService.d.ts +13 -7
  1174. package/dist/src/services/ContentFlagService.d.ts.map +1 -1
  1175. package/dist/src/services/ContentReactionService.d.ts +3 -3
  1176. package/dist/src/services/ContentReactionService.d.ts.map +1 -1
  1177. package/dist/src/services/DexBackendClient.d.ts +1 -1
  1178. package/dist/src/services/DexBackendClient.d.ts.map +1 -1
  1179. package/dist/src/services/DexPoolService.d.ts +9 -11
  1180. package/dist/src/services/DexPoolService.d.ts.map +1 -1
  1181. package/dist/src/services/DexQuoteService.d.ts +5 -6
  1182. package/dist/src/services/DexQuoteService.d.ts.map +1 -1
  1183. package/dist/src/services/DexService.d.ts +6 -6
  1184. package/dist/src/services/DexService.d.ts.map +1 -1
  1185. package/dist/src/services/EventsBatcherService.d.ts +111 -0
  1186. package/dist/src/services/EventsBatcherService.d.ts.map +1 -0
  1187. package/dist/src/services/GSwapAssetService.d.ts +18 -2
  1188. package/dist/src/services/GSwapAssetService.d.ts.map +1 -1
  1189. package/dist/src/services/GSwapLiquidityMutationService.d.ts +4 -6
  1190. package/dist/src/services/GSwapLiquidityMutationService.d.ts.map +1 -1
  1191. package/dist/src/services/GSwapLiquidityQueryService.d.ts +2 -14
  1192. package/dist/src/services/GSwapLiquidityQueryService.d.ts.map +1 -1
  1193. package/dist/src/services/GSwapPoolCalculationService.d.ts +0 -13
  1194. package/dist/src/services/GSwapPoolCalculationService.d.ts.map +1 -1
  1195. package/dist/src/services/GSwapPoolQueryService.d.ts +2 -3
  1196. package/dist/src/services/GSwapPoolQueryService.d.ts.map +1 -1
  1197. package/dist/src/services/GSwapService.d.ts +11 -11
  1198. package/dist/src/services/GSwapService.d.ts.map +1 -1
  1199. package/dist/src/services/GSwapSwapService.d.ts +2 -2
  1200. package/dist/src/services/GSwapSwapService.d.ts.map +1 -1
  1201. package/dist/src/services/GalaChainBalanceService.d.ts +2 -2
  1202. package/dist/src/services/GalaChainBalanceService.d.ts.map +1 -1
  1203. package/dist/src/services/GalaChainGatewayClient.d.ts +3 -3
  1204. package/dist/src/services/GalaChainGatewayClient.d.ts.map +1 -1
  1205. package/dist/src/services/GalaChainLockService.d.ts +3 -3
  1206. package/dist/src/services/GalaChainLockService.d.ts.map +1 -1
  1207. package/dist/src/services/GalaChainService.d.ts +10 -13
  1208. package/dist/src/services/GalaChainService.d.ts.map +1 -1
  1209. package/dist/src/services/GalaChainTokenService.d.ts +3 -3
  1210. package/dist/src/services/GalaChainTokenService.d.ts.map +1 -1
  1211. package/dist/src/services/GalaChainTransferService.d.ts +4 -4
  1212. package/dist/src/services/GalaChainTransferService.d.ts.map +1 -1
  1213. package/dist/src/services/HolderService.d.ts +181 -0
  1214. package/dist/src/services/HolderService.d.ts.map +1 -0
  1215. package/dist/src/services/ImageService.d.ts +2 -15
  1216. package/dist/src/services/ImageService.d.ts.map +1 -1
  1217. package/dist/src/services/LaunchpadService.d.ts +67 -24
  1218. package/dist/src/services/LaunchpadService.d.ts.map +1 -1
  1219. package/dist/src/services/MessagesService.d.ts +251 -0
  1220. package/dist/src/services/MessagesService.d.ts.map +1 -0
  1221. package/dist/src/services/ModeratorService.d.ts +58 -22
  1222. package/dist/src/services/ModeratorService.d.ts.map +1 -1
  1223. package/dist/src/services/MultiPoolStateManager.d.ts +17 -10
  1224. package/dist/src/services/MultiPoolStateManager.d.ts.map +1 -1
  1225. package/dist/src/services/NetworkKeyedCacheService.d.ts.map +1 -1
  1226. package/dist/src/services/NftCollectionService.d.ts +3 -5
  1227. package/dist/src/services/NftCollectionService.d.ts.map +1 -1
  1228. package/dist/src/services/OEmbedService.d.ts +152 -0
  1229. package/dist/src/services/OEmbedService.d.ts.map +1 -0
  1230. package/dist/src/services/OverseerService.d.ts +230 -35
  1231. package/dist/src/services/OverseerService.d.ts.map +1 -1
  1232. package/dist/src/services/PlatformConfigService.d.ts +149 -0
  1233. package/dist/src/services/PlatformConfigService.d.ts.map +1 -0
  1234. package/dist/src/services/PlatformStatsService.d.ts +72 -0
  1235. package/dist/src/services/PlatformStatsService.d.ts.map +1 -0
  1236. package/dist/src/services/PoolCacheManager.d.ts +3 -10
  1237. package/dist/src/services/PoolCacheManager.d.ts.map +1 -1
  1238. package/dist/src/services/PoolService.d.ts +108 -25
  1239. package/dist/src/services/PoolService.d.ts.map +1 -1
  1240. package/dist/src/services/PoolStateManager.d.ts +2 -2
  1241. package/dist/src/services/PoolStateManager.d.ts.map +1 -1
  1242. package/dist/src/services/PriceHistoryService.d.ts +11 -12
  1243. package/dist/src/services/PriceHistoryService.d.ts.map +1 -1
  1244. package/dist/src/services/RestrictedNamesService.d.ts +80 -0
  1245. package/dist/src/services/RestrictedNamesService.d.ts.map +1 -0
  1246. package/dist/src/services/SignatureService.d.ts.map +1 -1
  1247. package/dist/src/services/StreamChatService.d.ts +68 -187
  1248. package/dist/src/services/StreamChatService.d.ts.map +1 -1
  1249. package/dist/src/services/StreamTokenServiceBase.d.ts +45 -12
  1250. package/dist/src/services/StreamTokenServiceBase.d.ts.map +1 -1
  1251. package/dist/src/services/StreamWebSocketService.d.ts +335 -17
  1252. package/dist/src/services/StreamWebSocketService.d.ts.map +1 -1
  1253. package/dist/src/services/StreamingEventService.d.ts +16 -6
  1254. package/dist/src/services/StreamingEventService.d.ts.map +1 -1
  1255. package/dist/src/services/StreamingService.d.ts +66 -40
  1256. package/dist/src/services/StreamingService.d.ts.map +1 -1
  1257. package/dist/src/services/SwapEventQueue.d.ts +1 -1
  1258. package/dist/src/services/SwapEventQueue.d.ts.map +1 -1
  1259. package/dist/src/services/TokenBanService.d.ts +18 -16
  1260. package/dist/src/services/TokenBanService.d.ts.map +1 -1
  1261. package/dist/src/services/TokenClassKeyService.d.ts.map +1 -1
  1262. package/dist/src/services/TokenMetadataCache.d.ts.map +1 -1
  1263. package/dist/src/services/TokenMetadataService.d.ts +4 -4
  1264. package/dist/src/services/TokenMetadataService.d.ts.map +1 -1
  1265. package/dist/src/services/TokenResolverService.d.ts +197 -24
  1266. package/dist/src/services/TokenResolverService.d.ts.map +1 -1
  1267. package/dist/src/services/TradeService.d.ts +19 -19
  1268. package/dist/src/services/TradeService.d.ts.map +1 -1
  1269. package/dist/src/services/TradingQuotesService.d.ts +162 -0
  1270. package/dist/src/services/TradingQuotesService.d.ts.map +1 -0
  1271. package/dist/src/services/UserService.d.ts +83 -23
  1272. package/dist/src/services/UserService.d.ts.map +1 -1
  1273. package/dist/src/services/WebSocketAdminService.d.ts +587 -0
  1274. package/dist/src/services/WebSocketAdminService.d.ts.map +1 -0
  1275. package/dist/src/services/WebSocketService.d.ts +7 -1
  1276. package/dist/src/services/WebSocketService.d.ts.map +1 -1
  1277. package/dist/src/services/WeeklyChallengeService.d.ts +114 -0
  1278. package/dist/src/services/WeeklyChallengeService.d.ts.map +1 -0
  1279. package/dist/src/services/WrapService.d.ts +5 -5
  1280. package/dist/src/services/WrapService.d.ts.map +1 -1
  1281. package/dist/src/services/WrappableTokenService.d.ts +3 -3
  1282. package/dist/src/services/WrappableTokenService.d.ts.map +1 -1
  1283. package/dist/src/services/__mocks__/logger.mock.d.ts +14 -7
  1284. package/dist/src/services/__mocks__/logger.mock.d.ts.map +1 -1
  1285. package/dist/src/services/shared/cache-helpers.d.ts.map +1 -1
  1286. package/dist/src/services/shared/http-helpers.d.ts.map +1 -1
  1287. package/dist/src/services/shared/pagination-helpers.d.ts +19 -19
  1288. package/dist/src/services/shared/pagination-helpers.d.ts.map +1 -1
  1289. package/dist/src/services/shared/service-validators.d.ts +1 -1
  1290. package/dist/src/services/shared/service-validators.d.ts.map +1 -1
  1291. package/dist/src/setup.d.ts +2 -2
  1292. package/dist/src/types/ai-moderation.dto.d.ts +294 -0
  1293. package/dist/src/types/ai-moderation.dto.d.ts.map +1 -0
  1294. package/dist/src/types/api-key.dto.d.ts +82 -9
  1295. package/dist/src/types/api-key.dto.d.ts.map +1 -1
  1296. package/dist/src/types/ban.dto.d.ts +174 -3
  1297. package/dist/src/types/ban.dto.d.ts.map +1 -1
  1298. package/dist/src/types/cache-management.dto.d.ts +44 -0
  1299. package/dist/src/types/cache-management.dto.d.ts.map +1 -0
  1300. package/dist/src/types/chat-messages.dto.d.ts +7 -7
  1301. package/dist/src/types/chat-messages.dto.d.ts.map +1 -1
  1302. package/dist/src/types/comment.dto.d.ts +3 -7
  1303. package/dist/src/types/comment.dto.d.ts.map +1 -1
  1304. package/dist/src/types/comments.dto.d.ts +9 -9
  1305. package/dist/src/types/comments.dto.d.ts.map +1 -1
  1306. package/dist/src/types/common.d.ts +115 -27
  1307. package/dist/src/types/common.d.ts.map +1 -1
  1308. package/dist/src/types/composite-pool.dto.d.ts +4 -4
  1309. package/dist/src/types/composite-pool.dto.d.ts.map +1 -1
  1310. package/dist/src/types/constraints.d.ts +6 -2
  1311. package/dist/src/types/constraints.d.ts.map +1 -1
  1312. package/dist/src/types/content-flag.dto.d.ts +43 -4
  1313. package/dist/src/types/content-flag.dto.d.ts.map +1 -1
  1314. package/dist/src/types/content-reactions.dto.d.ts +4 -4
  1315. package/dist/src/types/content-reactions.dto.d.ts.map +1 -1
  1316. package/dist/src/types/dex-pool.dto.d.ts +20 -7
  1317. package/dist/src/types/dex-pool.dto.d.ts.map +1 -1
  1318. package/dist/src/types/dto.d.ts +5 -1
  1319. package/dist/src/types/dto.d.ts.map +1 -1
  1320. package/dist/src/types/engagement-stats.dto.d.ts +62 -0
  1321. package/dist/src/types/engagement-stats.dto.d.ts.map +1 -0
  1322. package/dist/src/types/events.dto.d.ts +80 -0
  1323. package/dist/src/types/events.dto.d.ts.map +1 -0
  1324. package/dist/src/types/global-feed.dto.d.ts +203 -0
  1325. package/dist/src/types/global-feed.dto.d.ts.map +1 -0
  1326. package/dist/src/types/gswap-responses.types.d.ts +14 -14
  1327. package/dist/src/types/gswap-responses.types.d.ts.map +1 -1
  1328. package/dist/src/types/gswap.dto.d.ts +12 -5
  1329. package/dist/src/types/gswap.dto.d.ts.map +1 -1
  1330. package/dist/src/types/holder.types.d.ts +106 -0
  1331. package/dist/src/types/holder.types.d.ts.map +1 -0
  1332. package/dist/src/types/launchpad.dto.d.ts +154 -77
  1333. package/dist/src/types/launchpad.dto.d.ts.map +1 -1
  1334. package/dist/src/types/launchpad.validation.d.ts.map +1 -1
  1335. package/dist/src/types/lock.dto.d.ts +1 -1
  1336. package/dist/src/types/lock.dto.d.ts.map +1 -1
  1337. package/dist/src/types/messages.dto.d.ts +386 -0
  1338. package/dist/src/types/messages.dto.d.ts.map +1 -0
  1339. package/dist/src/types/moderator.dto.d.ts +38 -5
  1340. package/dist/src/types/moderator.dto.d.ts.map +1 -1
  1341. package/dist/src/types/oembed.dto.d.ts +160 -0
  1342. package/dist/src/types/oembed.dto.d.ts.map +1 -0
  1343. package/dist/src/types/options.dto.d.ts +9 -1
  1344. package/dist/src/types/options.dto.d.ts.map +1 -1
  1345. package/dist/src/types/overseer.dto.d.ts +152 -35
  1346. package/dist/src/types/overseer.dto.d.ts.map +1 -1
  1347. package/dist/src/types/platform-config.dto.d.ts +89 -0
  1348. package/dist/src/types/platform-config.dto.d.ts.map +1 -0
  1349. package/dist/src/types/platform-stats.dto.d.ts +40 -0
  1350. package/dist/src/types/platform-stats.dto.d.ts.map +1 -0
  1351. package/dist/src/types/pool-state-delta.dto.d.ts.map +1 -1
  1352. package/dist/src/types/pool.dto.d.ts +6 -1
  1353. package/dist/src/types/pool.dto.d.ts.map +1 -1
  1354. package/dist/src/types/priceHistory.dto.d.ts +6 -2
  1355. package/dist/src/types/priceHistory.dto.d.ts.map +1 -1
  1356. package/dist/src/types/restricted-names.dto.d.ts +50 -0
  1357. package/dist/src/types/restricted-names.dto.d.ts.map +1 -0
  1358. package/dist/src/types/session-auth.dto.d.ts +9 -1
  1359. package/dist/src/types/session-auth.dto.d.ts.map +1 -1
  1360. package/dist/src/types/stream-chat.dto.d.ts +4 -9
  1361. package/dist/src/types/stream-chat.dto.d.ts.map +1 -1
  1362. package/dist/src/types/streaming-events.dto.d.ts +20 -1
  1363. package/dist/src/types/streaming-events.dto.d.ts.map +1 -1
  1364. package/dist/src/types/streaming.dto.d.ts +64 -20
  1365. package/dist/src/types/streaming.dto.d.ts.map +1 -1
  1366. package/dist/src/types/token-ban.dto.d.ts +7 -8
  1367. package/dist/src/types/token-ban.dto.d.ts.map +1 -1
  1368. package/dist/src/types/token-config.dto.d.ts +117 -0
  1369. package/dist/src/types/token-config.dto.d.ts.map +1 -0
  1370. package/dist/src/types/token.types.d.ts +336 -0
  1371. package/dist/src/types/token.types.d.ts.map +1 -0
  1372. package/dist/src/types/trade.dto.d.ts +5 -1
  1373. package/dist/src/types/trade.dto.d.ts.map +1 -1
  1374. package/dist/src/types/trades-query.dto.d.ts +8 -2
  1375. package/dist/src/types/trades-query.dto.d.ts.map +1 -1
  1376. package/dist/src/types/transfer.dto.d.ts.map +1 -1
  1377. package/dist/src/types/user.dto.d.ts +218 -48
  1378. package/dist/src/types/user.dto.d.ts.map +1 -1
  1379. package/dist/src/types/websocket-admin.dto.d.ts +390 -0
  1380. package/dist/src/types/websocket-admin.dto.d.ts.map +1 -0
  1381. package/dist/src/types/websocket-events.dto.d.ts +472 -0
  1382. package/dist/src/types/websocket-events.dto.d.ts.map +1 -0
  1383. package/dist/src/types/weekly-challenge.dto.d.ts +130 -0
  1384. package/dist/src/types/weekly-challenge.dto.d.ts.map +1 -0
  1385. package/dist/src/types/wrappable-token.dto.d.ts +1 -1
  1386. package/dist/src/types/wrappable-token.dto.d.ts.map +1 -1
  1387. package/dist/src/utils/LiquidityEventExtractor.d.ts +7 -0
  1388. package/dist/src/utils/LiquidityEventExtractor.d.ts.map +1 -1
  1389. package/dist/src/utils/Logger.d.ts.map +1 -1
  1390. package/dist/src/utils/MonitoringMetrics.d.ts +0 -1
  1391. package/dist/src/utils/MonitoringMetrics.d.ts.map +1 -1
  1392. package/dist/src/utils/SignatureHelper.d.ts.map +1 -1
  1393. package/dist/src/utils/SwapEventExtractor.d.ts.map +1 -1
  1394. package/dist/src/utils/adapters.d.ts +1 -1
  1395. package/dist/src/utils/adapters.d.ts.map +1 -1
  1396. package/dist/src/utils/address-formatter.d.ts +7 -6
  1397. package/dist/src/utils/address-formatter.d.ts.map +1 -1
  1398. package/dist/src/utils/agent-config.d.ts.map +1 -1
  1399. package/dist/src/utils/amount-validator.d.ts.map +1 -1
  1400. package/dist/src/utils/api-patterns.d.ts +1 -1
  1401. package/dist/src/utils/api-patterns.d.ts.map +1 -1
  1402. package/dist/src/utils/assetUrls.d.ts +450 -0
  1403. package/dist/src/utils/assetUrls.d.ts.map +1 -0
  1404. package/dist/src/utils/auto-pagination.d.ts +89 -0
  1405. package/dist/src/utils/auto-pagination.d.ts.map +1 -1
  1406. package/dist/src/utils/bignumber-helpers.d.ts.map +1 -1
  1407. package/dist/src/utils/bignumber-pool-cache.d.ts.map +1 -1
  1408. package/dist/src/utils/composite-pool-converter.d.ts +4 -4
  1409. package/dist/src/utils/composite-pool-converter.d.ts.map +1 -1
  1410. package/dist/src/utils/crypto-compat.d.ts +40 -0
  1411. package/dist/src/utils/crypto-compat.d.ts.map +1 -0
  1412. package/dist/src/utils/delimiter-parser.d.ts +1 -1
  1413. package/dist/src/utils/delimiter-parser.d.ts.map +1 -1
  1414. package/dist/src/utils/error-factories.d.ts +1 -1
  1415. package/dist/src/utils/error-factories.d.ts.map +1 -1
  1416. package/dist/src/utils/error-handling-patterns.d.ts +1 -1
  1417. package/dist/src/utils/error-handling-patterns.d.ts.map +1 -1
  1418. package/dist/src/utils/error-patterns.d.ts.map +1 -1
  1419. package/dist/src/utils/error-utils.d.ts +1 -1
  1420. package/dist/src/utils/error-utils.d.ts.map +1 -1
  1421. package/dist/src/utils/errors.d.ts +2 -2
  1422. package/dist/src/utils/errors.d.ts.map +1 -1
  1423. package/dist/src/utils/http.d.ts +2 -2
  1424. package/dist/src/utils/http.d.ts.map +1 -1
  1425. package/dist/src/utils/load-env.d.ts.map +1 -1
  1426. package/dist/src/utils/multipart.d.ts.map +1 -1
  1427. package/dist/src/utils/nft-helpers.d.ts.map +1 -1
  1428. package/dist/src/utils/numeric-patterns.d.ts.map +1 -1
  1429. package/dist/src/utils/numeric-wrappers.d.ts +3 -0
  1430. package/dist/src/utils/numeric-wrappers.d.ts.map +1 -1
  1431. package/dist/src/utils/pagination-validation.d.ts +88 -0
  1432. package/dist/src/utils/pagination-validation.d.ts.map +1 -0
  1433. package/dist/src/utils/pool-state-validator.d.ts +1 -1
  1434. package/dist/src/utils/pool-state-validator.d.ts.map +1 -1
  1435. package/dist/src/utils/primitives.d.ts +76 -0
  1436. package/dist/src/utils/primitives.d.ts.map +1 -0
  1437. package/dist/src/utils/query-params.d.ts +6 -6
  1438. package/dist/src/utils/query-params.d.ts.map +1 -1
  1439. package/dist/src/utils/response-handlers.d.ts.map +1 -1
  1440. package/dist/src/utils/response-normalizers.d.ts.map +1 -1
  1441. package/dist/src/utils/safe-parsers.d.ts.map +1 -1
  1442. package/dist/src/utils/service-validators.d.ts.map +1 -1
  1443. package/dist/src/utils/slippage-utils.d.ts.map +1 -1
  1444. package/dist/src/utils/string-patterns.d.ts +3 -3
  1445. package/dist/src/utils/string-patterns.d.ts.map +1 -1
  1446. package/dist/src/utils/swap-delta-calculator.d.ts +2 -2
  1447. package/dist/src/utils/swap-delta-calculator.d.ts.map +1 -1
  1448. package/dist/src/utils/tick-crossing-handler.d.ts.map +1 -1
  1449. package/dist/src/utils/token-format-converter.d.ts +1 -1
  1450. package/dist/src/utils/token-format-converter.d.ts.map +1 -1
  1451. package/dist/src/utils/token-stringification.d.ts.map +1 -1
  1452. package/dist/src/utils/tokenNormalizer.d.ts +1 -1
  1453. package/dist/src/utils/tokenNormalizer.d.ts.map +1 -1
  1454. package/dist/src/utils/trade-transformers.d.ts +1 -1
  1455. package/dist/src/utils/trade-transformers.d.ts.map +1 -1
  1456. package/dist/src/utils/validation-helpers.d.ts +5 -97
  1457. package/dist/src/utils/validation-helpers.d.ts.map +1 -1
  1458. package/dist/src/utils/validation-patterns.d.ts.map +1 -1
  1459. package/dist/src/utils/validation.d.ts +1 -1
  1460. package/dist/src/utils/validation.d.ts.map +1 -1
  1461. package/dist/src/utils/wallet.d.ts.map +1 -1
  1462. package/dist/src/utils/websocket-patterns.d.ts +1 -2
  1463. package/dist/src/utils/websocket-patterns.d.ts.map +1 -1
  1464. package/dist/src/utils/websocket-validators.d.ts +1 -1
  1465. package/dist/src/utils/websocket-validators.d.ts.map +1 -1
  1466. package/dist/src/wallet/ExternalWalletProvider.d.ts +109 -0
  1467. package/dist/src/wallet/ExternalWalletProvider.d.ts.map +1 -0
  1468. package/dist/src/wallet/GalaChainConnectProvider.d.ts +125 -0
  1469. package/dist/src/wallet/GalaChainConnectProvider.d.ts.map +1 -0
  1470. package/dist/src/wallet/GalaWalletProvider.d.ts +139 -0
  1471. package/dist/src/wallet/GalaWalletProvider.d.ts.map +1 -0
  1472. package/dist/src/wallet/PrivateKeyProvider.d.ts +90 -0
  1473. package/dist/src/wallet/PrivateKeyProvider.d.ts.map +1 -0
  1474. package/dist/src/wallet/detection.d.ts +107 -0
  1475. package/dist/src/wallet/detection.d.ts.map +1 -0
  1476. package/dist/src/wallet/index.d.ts +52 -0
  1477. package/dist/src/wallet/index.d.ts.map +1 -0
  1478. package/dist/src/wallet/types.d.ts +267 -0
  1479. package/dist/src/wallet/types.d.ts.map +1 -0
  1480. package/dist/src/wallet/utils.d.ts +117 -0
  1481. package/dist/src/wallet/utils.d.ts.map +1 -0
  1482. package/dist/test-constants.d.ts +29 -0
  1483. package/dist/test-constants.d.ts.map +1 -0
  1484. package/dist/types/ai-moderation.dto.d.ts +294 -0
  1485. package/dist/types/ai-moderation.dto.d.ts.map +1 -0
  1486. package/dist/types/api-key.dto.d.ts +373 -0
  1487. package/dist/types/api-key.dto.d.ts.map +1 -0
  1488. package/dist/types/backend-responses.d.ts +235 -0
  1489. package/dist/types/backend-responses.d.ts.map +1 -0
  1490. package/dist/types/ban.dto.d.ts +577 -0
  1491. package/dist/types/ban.dto.d.ts.map +1 -0
  1492. package/dist/types/burn.dto.d.ts +170 -0
  1493. package/dist/types/burn.dto.d.ts.map +1 -0
  1494. package/dist/types/cache-management.dto.d.ts +44 -0
  1495. package/dist/types/cache-management.dto.d.ts.map +1 -0
  1496. package/dist/types/chat-messages.dto.d.ts +193 -0
  1497. package/dist/types/chat-messages.dto.d.ts.map +1 -0
  1498. package/dist/types/comment.dto.d.ts +176 -0
  1499. package/dist/types/comment.dto.d.ts.map +1 -0
  1500. package/dist/types/comments.dto.d.ts +198 -0
  1501. package/dist/types/comments.dto.d.ts.map +1 -0
  1502. package/dist/types/common.d.ts +602 -0
  1503. package/dist/types/common.d.ts.map +1 -0
  1504. package/dist/types/composite-pool.dto.d.ts +103 -0
  1505. package/dist/types/composite-pool.dto.d.ts.map +1 -0
  1506. package/dist/types/constraints.d.ts +378 -0
  1507. package/dist/types/constraints.d.ts.map +1 -0
  1508. package/dist/types/content-flag.dto.d.ts +337 -0
  1509. package/dist/types/content-flag.dto.d.ts.map +1 -0
  1510. package/dist/types/content-reactions.dto.d.ts +132 -0
  1511. package/dist/types/content-reactions.dto.d.ts.map +1 -0
  1512. package/dist/types/dex-pool.dto.d.ts +214 -0
  1513. package/dist/types/dex-pool.dto.d.ts.map +1 -0
  1514. package/dist/types/dto.d.ts +183 -0
  1515. package/dist/types/dto.d.ts.map +1 -0
  1516. package/dist/types/engagement-stats.dto.d.ts +62 -0
  1517. package/dist/types/engagement-stats.dto.d.ts.map +1 -0
  1518. package/dist/types/events.dto.d.ts +80 -0
  1519. package/dist/types/events.dto.d.ts.map +1 -0
  1520. package/dist/types/galachain-api.types.d.ts +297 -0
  1521. package/dist/types/galachain-api.types.d.ts.map +1 -0
  1522. package/dist/types/global-feed.dto.d.ts +203 -0
  1523. package/dist/types/global-feed.dto.d.ts.map +1 -0
  1524. package/dist/types/gswap-responses.types.d.ts +369 -0
  1525. package/dist/types/gswap-responses.types.d.ts.map +1 -0
  1526. package/dist/types/gswap.dto.d.ts +448 -0
  1527. package/dist/types/gswap.dto.d.ts.map +1 -0
  1528. package/dist/types/holder.types.d.ts +106 -0
  1529. package/dist/types/holder.types.d.ts.map +1 -0
  1530. package/dist/types/launchpad.dto.d.ts +1264 -0
  1531. package/dist/types/launchpad.dto.d.ts.map +1 -0
  1532. package/dist/types/launchpad.validation.d.ts +43 -0
  1533. package/dist/types/launchpad.validation.d.ts.map +1 -0
  1534. package/dist/types/liquidity-monitor.dto.d.ts +177 -0
  1535. package/dist/types/liquidity-monitor.dto.d.ts.map +1 -0
  1536. package/dist/types/lock.dto.d.ts +261 -0
  1537. package/dist/types/lock.dto.d.ts.map +1 -0
  1538. package/dist/types/messages.dto.d.ts +386 -0
  1539. package/dist/types/messages.dto.d.ts.map +1 -0
  1540. package/dist/types/moderator.dto.d.ts +607 -0
  1541. package/dist/types/moderator.dto.d.ts.map +1 -0
  1542. package/dist/types/nft.dto.d.ts +155 -0
  1543. package/dist/types/nft.dto.d.ts.map +1 -0
  1544. package/dist/types/oembed.dto.d.ts +160 -0
  1545. package/dist/types/oembed.dto.d.ts.map +1 -0
  1546. package/dist/types/options.dto.d.ts +485 -0
  1547. package/dist/types/options.dto.d.ts.map +1 -0
  1548. package/dist/types/overseer.dto.d.ts +530 -0
  1549. package/dist/types/overseer.dto.d.ts.map +1 -0
  1550. package/dist/types/platform-config.dto.d.ts +89 -0
  1551. package/dist/types/platform-config.dto.d.ts.map +1 -0
  1552. package/dist/types/platform-stats.dto.d.ts +40 -0
  1553. package/dist/types/platform-stats.dto.d.ts.map +1 -0
  1554. package/dist/types/pool-state-delta.dto.d.ts +246 -0
  1555. package/dist/types/pool-state-delta.dto.d.ts.map +1 -0
  1556. package/dist/types/pool.dto.d.ts +111 -0
  1557. package/dist/types/pool.dto.d.ts.map +1 -0
  1558. package/dist/types/priceHistory.dto.d.ts +165 -0
  1559. package/dist/types/priceHistory.dto.d.ts.map +1 -0
  1560. package/dist/types/restricted-names.dto.d.ts +50 -0
  1561. package/dist/types/restricted-names.dto.d.ts.map +1 -0
  1562. package/dist/types/result.types.d.ts +104 -0
  1563. package/dist/types/result.types.d.ts.map +1 -0
  1564. package/dist/types/session-auth.dto.d.ts +99 -0
  1565. package/dist/types/session-auth.dto.d.ts.map +1 -0
  1566. package/dist/types/stream-chat.dto.d.ts +810 -0
  1567. package/dist/types/stream-chat.dto.d.ts.map +1 -0
  1568. package/dist/types/streaming-events.dto.d.ts +605 -0
  1569. package/dist/types/streaming-events.dto.d.ts.map +1 -0
  1570. package/dist/types/streaming.dto.d.ts +1178 -0
  1571. package/dist/types/streaming.dto.d.ts.map +1 -0
  1572. package/dist/types/swap-monitor.dto.d.ts +256 -0
  1573. package/dist/types/swap-monitor.dto.d.ts.map +1 -0
  1574. package/dist/types/token-ban.dto.d.ts +194 -0
  1575. package/dist/types/token-ban.dto.d.ts.map +1 -0
  1576. package/dist/types/token-config.dto.d.ts +117 -0
  1577. package/dist/types/token-config.dto.d.ts.map +1 -0
  1578. package/dist/types/token.types.d.ts +336 -0
  1579. package/dist/types/token.types.d.ts.map +1 -0
  1580. package/dist/types/trade.dto.d.ts +457 -0
  1581. package/dist/types/trade.dto.d.ts.map +1 -0
  1582. package/dist/types/trades-query.dto.d.ts +133 -0
  1583. package/dist/types/trades-query.dto.d.ts.map +1 -0
  1584. package/dist/types/transfer.dto.d.ts +156 -0
  1585. package/dist/types/transfer.dto.d.ts.map +1 -0
  1586. package/dist/types/user.dto.d.ts +880 -0
  1587. package/dist/types/user.dto.d.ts.map +1 -0
  1588. package/dist/types/websocket-admin.dto.d.ts +390 -0
  1589. package/dist/types/websocket-admin.dto.d.ts.map +1 -0
  1590. package/dist/types/websocket-data.types.d.ts +35 -0
  1591. package/dist/types/websocket-data.types.d.ts.map +1 -0
  1592. package/dist/types/websocket-events.dto.d.ts +472 -0
  1593. package/dist/types/websocket-events.dto.d.ts.map +1 -0
  1594. package/dist/types/websocket.types.d.ts +118 -0
  1595. package/dist/types/websocket.types.d.ts.map +1 -0
  1596. package/dist/types/weekly-challenge.dto.d.ts +130 -0
  1597. package/dist/types/weekly-challenge.dto.d.ts.map +1 -0
  1598. package/dist/types/wrappable-token.dto.d.ts +305 -0
  1599. package/dist/types/wrappable-token.dto.d.ts.map +1 -0
  1600. package/dist/utils/LiquidityEventExtractor.d.ts +106 -0
  1601. package/dist/utils/LiquidityEventExtractor.d.ts.map +1 -0
  1602. package/dist/utils/Logger.d.ts +136 -0
  1603. package/dist/utils/Logger.d.ts.map +1 -0
  1604. package/dist/utils/MonitoringMetrics.d.ts +151 -0
  1605. package/dist/utils/MonitoringMetrics.d.ts.map +1 -0
  1606. package/dist/utils/PoolKeyNormalizer.d.ts +135 -0
  1607. package/dist/utils/PoolKeyNormalizer.d.ts.map +1 -0
  1608. package/dist/utils/ReconnectionManager.d.ts +142 -0
  1609. package/dist/utils/ReconnectionManager.d.ts.map +1 -0
  1610. package/dist/utils/SignatureHelper.d.ts +140 -0
  1611. package/dist/utils/SignatureHelper.d.ts.map +1 -0
  1612. package/dist/utils/SwapEventExtractor.d.ts +152 -0
  1613. package/dist/utils/SwapEventExtractor.d.ts.map +1 -0
  1614. package/dist/utils/adapters.d.ts +111 -0
  1615. package/dist/utils/adapters.d.ts.map +1 -0
  1616. package/dist/utils/address-formatter.d.ts +318 -0
  1617. package/dist/utils/address-formatter.d.ts.map +1 -0
  1618. package/dist/utils/agent-config.d.ts +288 -0
  1619. package/dist/utils/agent-config.d.ts.map +1 -0
  1620. package/dist/utils/amount-validator.d.ts +268 -0
  1621. package/dist/utils/amount-validator.d.ts.map +1 -0
  1622. package/dist/utils/api-patterns.d.ts +347 -0
  1623. package/dist/utils/api-patterns.d.ts.map +1 -0
  1624. package/dist/utils/array-helpers.d.ts +115 -0
  1625. package/dist/utils/array-helpers.d.ts.map +1 -0
  1626. package/dist/utils/assetUrls.d.ts +450 -0
  1627. package/dist/utils/assetUrls.d.ts.map +1 -0
  1628. package/dist/utils/async-patterns.d.ts +272 -0
  1629. package/dist/utils/async-patterns.d.ts.map +1 -0
  1630. package/dist/utils/auto-pagination.d.ts +549 -0
  1631. package/dist/utils/auto-pagination.d.ts.map +1 -0
  1632. package/dist/utils/bignumber-helpers.d.ts +446 -0
  1633. package/dist/utils/bignumber-helpers.d.ts.map +1 -0
  1634. package/dist/utils/bignumber-pool-cache.d.ts +169 -0
  1635. package/dist/utils/bignumber-pool-cache.d.ts.map +1 -0
  1636. package/dist/utils/bondingCurveCalculations.d.ts +144 -0
  1637. package/dist/utils/bondingCurveCalculations.d.ts.map +1 -0
  1638. package/dist/utils/cacheWarmingHelpers.d.ts +110 -0
  1639. package/dist/utils/cacheWarmingHelpers.d.ts.map +1 -0
  1640. package/dist/utils/composite-pool-converter.d.ts +121 -0
  1641. package/dist/utils/composite-pool-converter.d.ts.map +1 -0
  1642. package/dist/utils/crypto-compat.d.ts +40 -0
  1643. package/dist/utils/crypto-compat.d.ts.map +1 -0
  1644. package/dist/utils/data-transform-patterns.d.ts +393 -0
  1645. package/dist/utils/data-transform-patterns.d.ts.map +1 -0
  1646. package/dist/utils/date-utils.d.ts +205 -0
  1647. package/dist/utils/date-utils.d.ts.map +1 -0
  1648. package/dist/utils/delimiter-parser.d.ts +139 -0
  1649. package/dist/utils/delimiter-parser.d.ts.map +1 -0
  1650. package/dist/utils/error-factories.d.ts +701 -0
  1651. package/dist/utils/error-factories.d.ts.map +1 -0
  1652. package/dist/utils/error-handling-patterns.d.ts +390 -0
  1653. package/dist/utils/error-handling-patterns.d.ts.map +1 -0
  1654. package/dist/utils/error-patterns.d.ts +360 -0
  1655. package/dist/utils/error-patterns.d.ts.map +1 -0
  1656. package/dist/utils/error-utils.d.ts +458 -0
  1657. package/dist/utils/error-utils.d.ts.map +1 -0
  1658. package/dist/utils/error-wrapper.d.ts +208 -0
  1659. package/dist/utils/error-wrapper.d.ts.map +1 -0
  1660. package/dist/utils/errors.d.ts +548 -0
  1661. package/dist/utils/errors.d.ts.map +1 -0
  1662. package/dist/utils/http-factory.d.ts +36 -0
  1663. package/dist/utils/http-factory.d.ts.map +1 -0
  1664. package/dist/utils/http.d.ts +97 -0
  1665. package/dist/utils/http.d.ts.map +1 -0
  1666. package/dist/utils/load-env.d.ts +31 -0
  1667. package/dist/utils/load-env.d.ts.map +1 -0
  1668. package/dist/utils/multipart-helpers.d.ts +38 -0
  1669. package/dist/utils/multipart-helpers.d.ts.map +1 -0
  1670. package/dist/utils/multipart.d.ts +63 -0
  1671. package/dist/utils/multipart.d.ts.map +1 -0
  1672. package/dist/utils/nft-helpers.d.ts +62 -0
  1673. package/dist/utils/nft-helpers.d.ts.map +1 -0
  1674. package/dist/utils/numeric-patterns.d.ts +289 -0
  1675. package/dist/utils/numeric-patterns.d.ts.map +1 -0
  1676. package/dist/utils/numeric-wrappers.d.ts +149 -0
  1677. package/dist/utils/numeric-wrappers.d.ts.map +1 -0
  1678. package/dist/utils/object-extractors.d.ts +115 -0
  1679. package/dist/utils/object-extractors.d.ts.map +1 -0
  1680. package/dist/utils/object-patterns.d.ts +81 -0
  1681. package/dist/utils/object-patterns.d.ts.map +1 -0
  1682. package/dist/utils/pagination-helpers.d.ts +161 -0
  1683. package/dist/utils/pagination-helpers.d.ts.map +1 -0
  1684. package/dist/utils/pagination-validation.d.ts +88 -0
  1685. package/dist/utils/pagination-validation.d.ts.map +1 -0
  1686. package/dist/utils/pool-pair-parser.d.ts +57 -0
  1687. package/dist/utils/pool-pair-parser.d.ts.map +1 -0
  1688. package/dist/utils/pool-state-validator.d.ts +207 -0
  1689. package/dist/utils/pool-state-validator.d.ts.map +1 -0
  1690. package/dist/utils/position-filters.d.ts +252 -0
  1691. package/dist/utils/position-filters.d.ts.map +1 -0
  1692. package/dist/utils/primitives.d.ts +76 -0
  1693. package/dist/utils/primitives.d.ts.map +1 -0
  1694. package/dist/utils/query-params.d.ts +89 -0
  1695. package/dist/utils/query-params.d.ts.map +1 -0
  1696. package/dist/utils/response-handlers.d.ts +225 -0
  1697. package/dist/utils/response-handlers.d.ts.map +1 -0
  1698. package/dist/utils/response-helpers.d.ts +28 -0
  1699. package/dist/utils/response-helpers.d.ts.map +1 -0
  1700. package/dist/utils/response-normalizers.d.ts +115 -0
  1701. package/dist/utils/response-normalizers.d.ts.map +1 -0
  1702. package/dist/utils/safe-parsers.d.ts +487 -0
  1703. package/dist/utils/safe-parsers.d.ts.map +1 -0
  1704. package/dist/utils/service-validators.d.ts +268 -0
  1705. package/dist/utils/service-validators.d.ts.map +1 -0
  1706. package/dist/utils/slippage-utils.d.ts +70 -0
  1707. package/dist/utils/slippage-utils.d.ts.map +1 -0
  1708. package/dist/utils/string-patterns.d.ts +404 -0
  1709. package/dist/utils/string-patterns.d.ts.map +1 -0
  1710. package/dist/utils/string-transforms.d.ts +89 -0
  1711. package/dist/utils/string-transforms.d.ts.map +1 -0
  1712. package/dist/utils/string-utils.d.ts +108 -0
  1713. package/dist/utils/string-utils.d.ts.map +1 -0
  1714. package/dist/utils/swap-delta-calculator.d.ts +231 -0
  1715. package/dist/utils/swap-delta-calculator.d.ts.map +1 -0
  1716. package/dist/utils/tick-crossing-handler.d.ts +250 -0
  1717. package/dist/utils/tick-crossing-handler.d.ts.map +1 -0
  1718. package/dist/utils/token-format-converter.d.ts +175 -0
  1719. package/dist/utils/token-format-converter.d.ts.map +1 -0
  1720. package/dist/utils/token-parser.d.ts +235 -0
  1721. package/dist/utils/token-parser.d.ts.map +1 -0
  1722. package/dist/utils/token-stringification.d.ts +168 -0
  1723. package/dist/utils/token-stringification.d.ts.map +1 -0
  1724. package/dist/utils/tokenNameNormalizer.d.ts +96 -0
  1725. package/dist/utils/tokenNameNormalizer.d.ts.map +1 -0
  1726. package/dist/utils/tokenNormalizer.d.ts +167 -0
  1727. package/dist/utils/tokenNormalizer.d.ts.map +1 -0
  1728. package/dist/utils/trade-transformers.d.ts +28 -0
  1729. package/dist/utils/trade-transformers.d.ts.map +1 -0
  1730. package/dist/utils/transfer-validation.d.ts +58 -0
  1731. package/dist/utils/transfer-validation.d.ts.map +1 -0
  1732. package/dist/utils/type-guard-factory.d.ts +260 -0
  1733. package/dist/utils/type-guard-factory.d.ts.map +1 -0
  1734. package/dist/utils/unique-key-generator.d.ts +148 -0
  1735. package/dist/utils/unique-key-generator.d.ts.map +1 -0
  1736. package/dist/utils/validation-helpers.d.ts +1074 -0
  1737. package/dist/utils/validation-helpers.d.ts.map +1 -0
  1738. package/dist/utils/validation-patterns.d.ts +768 -0
  1739. package/dist/utils/validation-patterns.d.ts.map +1 -0
  1740. package/dist/utils/validation.d.ts +140 -0
  1741. package/dist/utils/validation.d.ts.map +1 -0
  1742. package/dist/utils/wallet.d.ts +185 -0
  1743. package/dist/utils/wallet.d.ts.map +1 -0
  1744. package/dist/utils/websocket-errors.d.ts +30 -0
  1745. package/dist/utils/websocket-errors.d.ts.map +1 -0
  1746. package/dist/utils/websocket-patterns.d.ts +680 -0
  1747. package/dist/utils/websocket-patterns.d.ts.map +1 -0
  1748. package/dist/utils/websocket-validators.d.ts +30 -0
  1749. package/dist/utils/websocket-validators.d.ts.map +1 -0
  1750. package/dist/wallet/ExternalWalletProvider.d.ts +109 -0
  1751. package/dist/wallet/ExternalWalletProvider.d.ts.map +1 -0
  1752. package/dist/wallet/GalaChainConnectProvider.d.ts +125 -0
  1753. package/dist/wallet/GalaChainConnectProvider.d.ts.map +1 -0
  1754. package/dist/wallet/GalaWalletProvider.d.ts +139 -0
  1755. package/dist/wallet/GalaWalletProvider.d.ts.map +1 -0
  1756. package/dist/wallet/PrivateKeyProvider.d.ts +90 -0
  1757. package/dist/wallet/PrivateKeyProvider.d.ts.map +1 -0
  1758. package/dist/wallet/detection.d.ts +107 -0
  1759. package/dist/wallet/detection.d.ts.map +1 -0
  1760. package/dist/wallet/index.d.ts +52 -0
  1761. package/dist/wallet/index.d.ts.map +1 -0
  1762. package/dist/wallet/types.d.ts +267 -0
  1763. package/dist/wallet/types.d.ts.map +1 -0
  1764. package/dist/wallet/utils.d.ts +117 -0
  1765. package/dist/wallet/utils.d.ts.map +1 -0
  1766. package/dist/wallet.cjs +1 -0
  1767. package/dist/wallet.esm.js +1 -0
  1768. package/package.json +131 -33
  1769. package/dist/index.cjs.js +0 -1
  1770. package/dist/src/services/ChatMessagesService.d.ts +0 -152
  1771. package/dist/src/services/ChatMessagesService.d.ts.map +0 -1
  1772. package/dist/src/services/CommentService.d.ts +0 -119
  1773. package/dist/src/services/CommentService.d.ts.map +0 -1
  1774. package/dist/src/services/CommentsService.d.ts +0 -155
  1775. package/dist/src/services/CommentsService.d.ts.map +0 -1
@@ -0,0 +1,1207 @@
1
+ import type { TokenClassKey } from '../types/common';
2
+ import type { AvailableDexTokensResult, DexToken, ExecuteSwapParams, ExecuteSwapResult, FetchAvailableDexTokensOptions, GetLiquidityPositionsOptions, GetLiquidityPositionsResult, GSwapPosition, GSwapServiceConfig, PoolInfo, PoolPriceData, PoolSlot0Data, SwapQuoteParams, SwapQuoteResult, UserAsset } from '../types/gswap.dto';
3
+ import type { GSwapAddLiquidityResult, GSwapEstimateRemoveLiquidityResult } from '../types/gswap-responses.types';
4
+ import { LoggerBase } from './BaseService';
5
+ import type { DexQuoteService } from './DexQuoteService';
6
+ import type { WebSocketService } from './WebSocketService';
7
+ export declare class GSwapService extends LoggerBase {
8
+ private gatewayClient;
9
+ private dexBackendClient;
10
+ private tokenConverter;
11
+ private webSocketService;
12
+ private dexQuoteService;
13
+ private getWalletAddress;
14
+ private galaChainBaseUrl;
15
+ private bundlerBaseUrl;
16
+ private gatewayBaseUrl;
17
+ private privateKey;
18
+ private pricingConcurrency;
19
+ constructor(config: GSwapServiceConfig, webSocketService: WebSocketService, dexQuoteService?: DexQuoteService);
20
+ /**
21
+ * Set the pricing concurrency level for liquidity position pricing operations
22
+ * This is set once at SDK initialization and applies to all pricing operations
23
+ * @param concurrency Number of concurrent pricing requests (default: 5, max recommended: 20)
24
+ */
25
+ setPricingConcurrency(concurrency: number): void;
26
+ /**
27
+ * Get swap quote for spending a known input amount (exact input swap quote)
28
+ *
29
+ * Calculates how much of the destination token you will receive when spending a specific amount
30
+ * of the source token. Uses dynamic fee tier discovery to find the best available liquidity pool,
31
+ * trying fee tiers in order of typical liquidity: 3000 (0.30%), 500 (0.05%), then 10000 (1.00%).
32
+ * All quotes are always fresh (never cached) to prevent MEV vulnerabilities in volatile markets.
33
+ *
34
+ * @param params - Quote request parameters
35
+ * @param params.fromToken - Source token identifier (pipe-delimited format: 'GALA|Unit|none|none')
36
+ * @param params.toToken - Destination token identifier (pipe-delimited format)
37
+ * @param params.amount - Input amount to spend (must be positive number string)
38
+ * @returns Promise<SwapQuoteResult> Quote with estimated output amount, fee tier, price impact, and execution price
39
+ * @throws {GSwapQuoteError} If DexQuoteService not configured or all fee tiers fail to provide a quote
40
+ * @since 4.0.4-beta.0
41
+ * @category Services
42
+ *
43
+ * @example Get quote for buying tokens with 100 GALA
44
+ * ```typescript
45
+ * const quote = await gswapService.getSwapQuoteExactInput({
46
+ * fromToken: 'GALA|Unit|none|none',
47
+ * toToken: 'Token|Unit|BENE|client:123',
48
+ * amount: '100'
49
+ * });
50
+ *
51
+ * console.log(`Spending ${quote.inputAmount} GALA`);
52
+ * console.log(`Receiving ~${quote.estimatedOutput} BENE tokens`);
53
+ * console.log(`Fee tier: ${quote.feeTier / 100}%`);
54
+ * console.log(`Price impact: ${(parseFloat(quote.priceImpact) * 100).toFixed(4)}%`);
55
+ * ```
56
+ */
57
+ getSwapQuoteExactInput(params: SwapQuoteParams): Promise<SwapQuoteResult>;
58
+ /**
59
+ * Get swap quote for receiving a known output amount (exact output swap quote)
60
+ *
61
+ * Calculates how much of the source token you need to spend to receive a specific amount
62
+ * of the destination token. Uses dynamic fee tier discovery to find the best available liquidity pool,
63
+ * trying fee tiers in order of typical liquidity: 3000 (0.30%), 500 (0.05%), then 10000 (1.00%).
64
+ * All quotes are always fresh (never cached) to prevent MEV vulnerabilities in volatile markets.
65
+ *
66
+ * @param params - Quote request parameters
67
+ * @param params.fromToken - Source token identifier (pipe-delimited format: 'GALA|Unit|none|none')
68
+ * @param params.toToken - Destination token identifier (pipe-delimited format)
69
+ * @param params.amount - Desired output amount to receive (must be positive number string)
70
+ * @returns Promise<SwapQuoteResult> Quote with required input amount, fee tier, price impact, and execution price
71
+ * @throws {GSwapQuoteError} If DexQuoteService not configured or all fee tiers fail to provide a quote
72
+ * @since 4.0.4-beta.0
73
+ * @category Services
74
+ *
75
+ * @example Get quote for receiving exactly 50 tokens
76
+ * ```typescript
77
+ * const quote = await gswapService.getSwapQuoteExactOutput({
78
+ * fromToken: 'GALA|Unit|none|none',
79
+ * toToken: 'GUSDC|Unit|none|none',
80
+ * amount: '50'
81
+ * });
82
+ *
83
+ * console.log(`Need to spend ${quote.inputAmount} GALA`);
84
+ * console.log(`To receive exactly ${quote.estimatedOutput} GUSDC`);
85
+ * console.log(`Fee tier: ${quote.feeTier / 100}%`);
86
+ * console.log(`Price impact: ${(parseFloat(quote.priceImpact) * 100).toFixed(4)}%`);
87
+ * ```
88
+ */
89
+ getSwapQuoteExactOutput(params: SwapQuoteParams): Promise<SwapQuoteResult>;
90
+ /**
91
+ * Execute a token swap with slippage protection on GalaSwap DEX
92
+ *
93
+ * Performs a direct swap transaction between two tokens using the specified fee tier pool.
94
+ * Automatically calculates slippage-adjusted minimum output to protect against price movement,
95
+ * submits the transaction via the bundler, and monitors confirmation via WebSocket. Always get
96
+ * a fresh quote before executing to ensure accurate pricing and appropriate fee tier selection.
97
+ *
98
+ * @param params - Swap execution parameters
99
+ * @param params.fromToken - Source token to swap from (pipe-delimited format: 'GALA|Unit|none|none')
100
+ * @param params.toToken - Destination token to swap to (pipe-delimited format)
101
+ * @param params.inputAmount - Amount of source token to spend (string number)
102
+ * @param params.estimatedOutput - Expected output amount from quote (used for slippage calculation)
103
+ * @param params.feeTier - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
104
+ * @param params.slippageTolerance - Maximum acceptable slippage (default: 0.01 = 1%)
105
+ * @returns Promise<ExecuteSwapResult> Transaction result with status, amounts, and monitoring details
106
+ * @throws {Error} If private key not available, wallet address missing, or transaction fails
107
+ * @since 4.0.4-beta.0
108
+ * @category Services
109
+ *
110
+ * @example Complete swap workflow with quote and execution
111
+ * ```typescript
112
+ * // Step 1: Get fresh quote
113
+ * const quote = await gswapService.getSwapQuoteExactInput({
114
+ * fromToken: 'GALA|Unit|none|none',
115
+ * toToken: 'GUSDC|Unit|none|none',
116
+ * amount: '100'
117
+ * });
118
+ *
119
+ * // Step 2: Execute swap with 1% slippage tolerance
120
+ * const result = await gswapService.executeSwap({
121
+ * fromToken: 'GALA|Unit|none|none',
122
+ * toToken: 'GUSDC|Unit|none|none',
123
+ * inputAmount: '100',
124
+ * estimatedOutput: quote.estimatedOutput,
125
+ * feeTier: quote.feeTier, // Use fee tier from quote
126
+ * slippageTolerance: 0.01 // 1% max slippage
127
+ * });
128
+ *
129
+ * console.log(`Swap ${result.status}: ${result.transactionId}`);
130
+ * console.log(`Spent ${result.inputAmount} → Received ${result.outputAmount}`);
131
+ * ```
132
+ */
133
+ executeSwap(params: ExecuteSwapParams): Promise<ExecuteSwapResult>;
134
+ /**
135
+ * Get user's token assets/balances with rich metadata
136
+ *
137
+ * Fetches all tokens held by a user from the DEX API via /user/token-list endpoint.
138
+ * Returns enriched data including image, name, description, verification status.
139
+ * Only returns tokens where balance > 0.
140
+ *
141
+ * @param walletAddress User's wallet address (e.g., "eth|0x1234...")
142
+ * @param page Page number (1-based, default: 1)
143
+ * @param limit Results per page (max 20, default: 20)
144
+ * @returns Array of user assets with balances and rich metadata
145
+ * @throws {GSwapAssetError} When the API call itself fails or wallet address is invalid
146
+ * @since v4.1.0 Now returns rich metadata (image, name, description, verified)
147
+ */
148
+ getUserAssets(walletAddress: string, page?: number, limit?: number): Promise<UserAsset[]>;
149
+ /**
150
+ * Get all user assets across all pages (auto-paginated with optimization)
151
+ *
152
+ * Fetches all tokens held by a user with automatic pagination.
153
+ * Optimization: Stops fetching when quantity=0 is encountered (results are ordered by quantity desc).
154
+ *
155
+ * @param walletAddress Wallet address to fetch assets for
156
+ * @returns All user assets with balances > 0
157
+ * @since v4.1.0 Now returns rich metadata and uses smart pagination optimization
158
+ */
159
+ getAllUserAssets(walletAddress: string): Promise<UserAsset[]>;
160
+ /**
161
+ * Fetch available DEX tokens (token discovery)
162
+ *
163
+ * Fetches all tokens available on the DEX without requiring a wallet address.
164
+ * Use for token discovery, listings, and market analysis.
165
+ *
166
+ * @param options Fetch options (search, limit, page)
167
+ * @returns Paginated result with token metadata
168
+ * @throws {GSwapAssetError} When the API call fails
169
+ * @since v4.1.0
170
+ */
171
+ fetchAvailableDexTokens(options?: FetchAvailableDexTokensOptions): Promise<AvailableDexTokensResult>;
172
+ /**
173
+ * Fetch all available DEX tokens (auto-paginated)
174
+ *
175
+ * Fetches ALL tokens available on the DEX with automatic pagination.
176
+ * Use for complete token listings and comprehensive market analysis.
177
+ *
178
+ * @param options Fetch options (search filter)
179
+ * @returns All available tokens on the DEX
180
+ * @throws {GSwapAssetError} When the API call fails
181
+ * @since v4.1.0
182
+ */
183
+ fetchAllAvailableDexTokens(options?: Omit<FetchAvailableDexTokensOptions, 'page' | 'limit'>): Promise<DexToken[]>;
184
+ /**
185
+ * Get pool information for token pair
186
+ * @param tokenA First token
187
+ * @param tokenB Second token
188
+ * @returns Pool information
189
+ */
190
+ getPoolInfo(tokenA: string, tokenB: string): Promise<PoolInfo>;
191
+ /**
192
+ * Get all liquidity positions for a wallet
193
+ * @param ownerAddress User's wallet address
194
+ * @param limit Maximum number of positions to return (default 100)
195
+ * @param bookmark Pagination bookmark
196
+ * @returns Array of liquidity positions with full type safety
197
+ */
198
+ /**
199
+ * Chunk array into smaller batches for concurrent processing
200
+ * @private
201
+ */
202
+ private chunkArray;
203
+ /**
204
+ * Fetch real-time pricing for liquidity positions
205
+ * Deduplicates pools and processes in chunks for optimal performance
206
+ * @private
207
+ */
208
+ private fetchPositionPrices;
209
+ /**
210
+ * Normalize GSwap API position response to match LiquidityPosition interface
211
+ * Handles different field naming conventions from the API
212
+ *
213
+ * @param rawPosition - Raw API response with varying field names (see RawPositionData docs)
214
+ * @param ownerAddress - Optional owner address to include in normalized result
215
+ */
216
+ private normalizePositionResponse;
217
+ /**
218
+ * Parse token string flexibly - supports both delimited and simple formats
219
+ * @param tokenString Token in format "GALA" or "GALA|Unit|none|none"
220
+ * @returns TokenClassKey object
221
+ */
222
+ private parseTokenFlexible;
223
+ /**
224
+ * Transform a raw token from API response to DexToken format
225
+ *
226
+ * Centralizes the transformation logic used by both getUserAssets and fetchAvailableDexTokens.
227
+ * Handles type coercion (decimals string to number, verify to verified).
228
+ *
229
+ * @param token Raw token from DEX Backend API
230
+ * @returns Transformed DexToken with proper types
231
+ * @since v4.1.0
232
+ */
233
+ private transformRawTokenToDexToken;
234
+ /**
235
+ * Transform a raw token from API response to UserAsset format
236
+ *
237
+ * Extends the base DexToken transformation with tokenId parsing and balance formatting.
238
+ * Returns null if the token cannot be processed (parsing errors).
239
+ *
240
+ * @param token Raw token from DEX Backend API
241
+ * @returns Transformed UserAsset or null if processing fails
242
+ * @since v4.1.0
243
+ */
244
+ private transformRawTokenToUserAsset;
245
+ /**
246
+ * Fetch user's liquidity positions with pagination and optional price enrichment
247
+ *
248
+ * Retrieves concentrated liquidity positions for a specific wallet address using bookmark-based
249
+ * cursor pagination. Supports optional real-time price enrichment to include current token prices
250
+ * and position value calculations. Use this method when you need manual pagination control or
251
+ * want to fetch positions incrementally.
252
+ *
253
+ * @param ownerAddress - Wallet address to query positions for (format: 'eth|0x...' or 'client|...')
254
+ * @param limit - Maximum positions per page (default: GSWAP_LIQUIDITY_POSITIONS_PAGE_SIZE)
255
+ * @param bookmark - Optional pagination cursor from previous result's nextBookmark field
256
+ * @param options - Optional configuration for price enrichment and additional data
257
+ * @param options.withPrices - If true, enriches positions with current token prices and USD values
258
+ * @returns Promise<GetLiquidityPositionsResult> Paginated positions with optional nextBookmark and prices
259
+ * @throws {GSwapPositionError} If API request fails or position normalization errors occur
260
+ * @since 4.0.4-beta.0
261
+ * @category Services
262
+ *
263
+ * @example Manual pagination without price enrichment
264
+ * ```typescript
265
+ * // Fetch first page
266
+ * const page1 = await gswapService.getUserLiquidityPositions(
267
+ * 'eth|0x1234...',
268
+ * 10
269
+ * );
270
+ *
271
+ * console.log(`Found ${page1.items.length} positions`);
272
+ *
273
+ * // Fetch next page if available
274
+ * if (page1.nextBookmark) {
275
+ * const page2 = await gswapService.getUserLiquidityPositions(
276
+ * 'eth|0x1234...',
277
+ * 10,
278
+ * page1.nextBookmark
279
+ * );
280
+ * }
281
+ * ```
282
+ *
283
+ * @example Fetch positions with real-time price enrichment
284
+ * ```typescript
285
+ * const positions = await gswapService.getUserLiquidityPositions(
286
+ * 'eth|0x1234...',
287
+ * 20,
288
+ * undefined,
289
+ * { withPrices: true }
290
+ * );
291
+ *
292
+ * // Prices map available at result.prices
293
+ * positions.items.forEach(pos => {
294
+ * const poolKey = `${pos.token0}/${pos.token1}`;
295
+ * const prices = positions.prices?.get(poolKey);
296
+ * if (prices) {
297
+ * console.log(`${poolKey}: Token0=$${prices.token0PriceUsd}, Token1=$${prices.token1PriceUsd}`);
298
+ * }
299
+ * });
300
+ * ```
301
+ */
302
+ getUserLiquidityPositions(ownerAddress: string, limit?: number, bookmark?: string, options?: GetLiquidityPositionsOptions): Promise<GetLiquidityPositionsResult>;
303
+ /**
304
+ * Fetch ALL user liquidity positions with automatic pagination and optional price enrichment
305
+ *
306
+ * Convenience method that automatically handles bookmark-based pagination to retrieve all
307
+ * concentrated liquidity positions for a wallet in a single call. Uses maximum page size
308
+ * internally for efficiency and combines results from all pages. Optionally enriches positions
309
+ * with real-time token prices and USD value calculations.
310
+ *
311
+ * @param ownerAddress - Wallet address to query positions for (format: 'eth|0x...' or 'client|...')
312
+ * @param options - Optional configuration for price enrichment and additional data
313
+ * @param options.withPrices - If true, enriches all positions with current token prices and USD values
314
+ * @returns Promise<GSwapPosition[] | GetLiquidityPositionsResult> All positions (array if no prices, result with prices if requested)
315
+ * @throws {GSwapPositionError} If API request fails or position normalization errors occur
316
+ * @since 4.0.4-beta.0
317
+ * @category Services
318
+ *
319
+ * @example Fetch all positions without prices (simple array)
320
+ * ```typescript
321
+ * const allPositions = await gswapService.getAllSwapUserLiquidityPositions(
322
+ * 'eth|0x1234...'
323
+ * );
324
+ *
325
+ * console.log(`Total positions: ${allPositions.length}`);
326
+ * allPositions.forEach(pos => {
327
+ * console.log(`Position ${pos.positionId}: ${pos.token0}/${pos.token1}`);
328
+ * console.log(` Liquidity: ${pos.liquidity}, Range: ${pos.tickLower}-${pos.tickUpper}`);
329
+ * });
330
+ * ```
331
+ *
332
+ * @example Fetch all positions with price enrichment (full result object)
333
+ * ```typescript
334
+ * const result = await gswapService.getAllSwapUserLiquidityPositions(
335
+ * 'eth|0x1234...',
336
+ * { withPrices: true }
337
+ * );
338
+ *
339
+ * // When withPrices=true, returns GetLiquidityPositionsResult with prices Map
340
+ * if ('prices' in result) {
341
+ * result.items.forEach(pos => {
342
+ * const poolKey = `${pos.token0}/${pos.token1}`;
343
+ * const prices = result.prices?.get(poolKey);
344
+ * if (prices) {
345
+ * console.log(`${poolKey}: $${prices.token0PriceUsd} / $${prices.token1PriceUsd}`);
346
+ * }
347
+ * });
348
+ * }
349
+ * ```
350
+ */
351
+ getAllSwapUserLiquidityPositions(ownerAddress: string, options?: GetLiquidityPositionsOptions): Promise<GSwapPosition[] | GetLiquidityPositionsResult>;
352
+ /**
353
+ * Fetch a specific liquidity position by its compound key (token pair, fee tier, and tick range)
354
+ *
355
+ * Retrieves detailed information about a single concentrated liquidity position using its
356
+ * compound key consisting of the token pair, fee tier, and tick boundaries. This method
357
+ * validates tick spacing for the given fee tier before making the API call to ensure the
358
+ * position parameters are valid for the specified pool.
359
+ *
360
+ * @param ownerAddress - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
361
+ * @param position - Compound key identifying the specific position
362
+ * @param position.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
363
+ * @param position.token1 - Second token identifier (pipe-delimited format)
364
+ * @param position.fee - Pool fee tier in basis points (500, 3000, or 10000)
365
+ * @param position.tickLower - Lower tick boundary of the position's price range
366
+ * @param position.tickUpper - Upper tick boundary of the position's price range
367
+ * @returns Promise<GSwapPosition> Complete position details with liquidity, amounts, and fees
368
+ * @throws {GSwapPositionError} If position not found, tick spacing invalid, or API request fails
369
+ * @since 4.0.4-beta.0
370
+ * @category Services
371
+ *
372
+ * @example Fetch position by compound key
373
+ * ```typescript
374
+ * const position = await gswapService.getLiquidityPosition(
375
+ * 'eth|0x1234...',
376
+ * {
377
+ * token0: 'GALA|Unit|none|none',
378
+ * token1: 'GUSDC|Unit|none|none',
379
+ * fee: 3000, // 0.30% fee tier
380
+ * tickLower: -276330,
381
+ * tickUpper: -276270
382
+ * }
383
+ * );
384
+ *
385
+ * console.log(`Position ID: ${position.positionId}`);
386
+ * console.log(`Liquidity: ${position.liquidity}`);
387
+ * console.log(`Token0 amount: ${position.amount0}`);
388
+ * console.log(`Token1 amount: ${position.amount1}`);
389
+ * console.log(`Uncollected fees: ${position.feeAmount0} / ${position.feeAmount1}`);
390
+ * ```
391
+ */
392
+ getLiquidityPosition(ownerAddress: string, position: {
393
+ token0: string;
394
+ token1: string;
395
+ fee: number;
396
+ tickLower: number;
397
+ tickUpper: number;
398
+ }): Promise<GSwapPosition>;
399
+ /**
400
+ * Fetch a liquidity position by its unique position ID with automatic retry logic
401
+ *
402
+ * Retrieves detailed information about a concentrated liquidity position using its unique position ID.
403
+ * Includes automatic retry logic (5 attempts with 2-second delays) for newly created positions that
404
+ * may not be immediately indexed. Optionally accepts compound key parameters (token pair, fee tier,
405
+ * tick range) for faster compound key lookup instead of iterating through all positions.
406
+ *
407
+ * @param ownerAddress - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
408
+ * @param positionId - Unique position UUID returned when position was created
409
+ * @param token0 - Optional first token for compound key lookup (faster than ID scan)
410
+ * @param token1 - Optional second token for compound key lookup (faster than ID scan)
411
+ * @param feeTier - Optional fee tier in basis points for compound key lookup (500, 3000, or 10000)
412
+ * @param tickLower - Optional lower tick boundary for compound key lookup
413
+ * @param tickUpper - Optional upper tick boundary for compound key lookup
414
+ * @returns Promise<GSwapPosition> Complete position details with liquidity, amounts, fees, and metadata
415
+ * @throws {GSwapPositionError} If position not found after retries or API request fails
416
+ * @since 4.0.4-beta.0
417
+ * @category Services
418
+ *
419
+ * @example Fetch position by ID only (with automatic retry)
420
+ * ```typescript
421
+ * const position = await gswapService.getLiquidityPositionById(
422
+ * 'eth|0x1234...',
423
+ * 'abc123-position-uuid'
424
+ * );
425
+ *
426
+ * console.log(`Found position: ${position.token0}/${position.token1}`);
427
+ * console.log(`Liquidity: ${position.liquidity}`);
428
+ * ```
429
+ *
430
+ * @example Fetch position by ID with compound key for faster lookup
431
+ * ```typescript
432
+ * // Providing compound key parameters enables direct lookup (much faster)
433
+ * const position = await gswapService.getLiquidityPositionById(
434
+ * 'eth|0x1234...',
435
+ * 'abc123-position-uuid',
436
+ * 'GALA|Unit|none|none',
437
+ * 'GUSDC|Unit|none|none',
438
+ * 3000, // 0.30% fee tier
439
+ * -276330, // tickLower
440
+ * -276270 // tickUpper
441
+ * );
442
+ *
443
+ * console.log(`Position ${position.positionId} found via compound key`);
444
+ * ```
445
+ */
446
+ getLiquidityPositionById(ownerAddress: string, positionId: string, token0?: string | Record<string, unknown>, token1?: string | Record<string, unknown>, feeTier?: number, tickLower?: number, tickUpper?: number): Promise<GSwapPosition>;
447
+ /**
448
+ * Fetch a single liquidity position using ONLY the compound key (direct HTTP call)
449
+ * Most efficient when you already have all position parameters
450
+ * @param params Position parameters - token0, token1, fee, tickLower, tickUpper, owner (ALL REQUIRED)
451
+ * @returns Detailed position information with full type safety
452
+ * @remarks
453
+ * - Does NOT use positionId (not needed or accepted)
454
+ * - Single direct HTTP call to GalaChain (no GSwap SDK)
455
+ * - Best for cases where caller has full position parameters
456
+ * - Requires: token0, token1, fee (500|3000|10000), tickLower, tickUpper, owner
457
+ */
458
+ fetchSwapPositionDirect(params: {
459
+ token0: string;
460
+ token1: string;
461
+ fee: number;
462
+ tickLower: number;
463
+ tickUpper: number;
464
+ owner: string;
465
+ }): Promise<GSwapPosition>;
466
+ /**
467
+ * Estimate token amounts that will be received when removing liquidity from a position
468
+ *
469
+ * Calculates the expected token0 and token1 amounts that will be returned when removing a
470
+ * specific amount of liquidity from a concentrated liquidity position. This is useful for
471
+ * previewing the outcome before executing the actual removal transaction. Validates tick
472
+ * spacing for the given fee tier before making the API call to ensure valid parameters.
473
+ *
474
+ * @param args - Liquidity removal estimation parameters
475
+ * @param args.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
476
+ * @param args.token1 - Second token identifier (pipe-delimited format)
477
+ * @param args.fee - Pool fee tier in basis points (500, 3000, or 10000)
478
+ * @param args.liquidity - Amount of liquidity to remove (string number from position.liquidity)
479
+ * @param args.tickLower - Lower tick boundary of the position
480
+ * @param args.tickUpper - Upper tick boundary of the position
481
+ * @param args.owner - Wallet address that owns the position (format: 'eth|0x...' or 'client|...')
482
+ * @returns Promise<GSwapEstimateRemoveLiquidityResult> Estimated token0 and token1 amounts to be received
483
+ * @throws {GSwapPositionError} If tick spacing invalid, parameters incorrect, or API request fails
484
+ * @since 4.0.4-beta.0
485
+ * @category Services
486
+ *
487
+ * @example Estimate removal before executing
488
+ * ```typescript
489
+ * // First, get the position details
490
+ * const position = await gswapService.getLiquidityPositionById(
491
+ * 'eth|0x1234...',
492
+ * 'position-uuid'
493
+ * );
494
+ *
495
+ * // Estimate what you'll receive from removing all liquidity
496
+ * const estimate = await gswapService.estimateRemoveLiquidity({
497
+ * token0: position.token0,
498
+ * token1: position.token1,
499
+ * fee: position.feeTier,
500
+ * liquidity: position.liquidity, // Remove all liquidity
501
+ * tickLower: position.tickLower,
502
+ * tickUpper: position.tickUpper,
503
+ * owner: 'eth|0x1234...'
504
+ * });
505
+ *
506
+ * console.log(`Removing liquidity will return:`);
507
+ * console.log(` Token0: ${estimate.amount0}`);
508
+ * console.log(` Token1: ${estimate.amount1}`);
509
+ *
510
+ * // Then execute actual removal if amounts look good
511
+ * const result = await gswapService.removeLiquidity({
512
+ * token0: position.token0,
513
+ * token1: position.token1,
514
+ * fee: position.feeTier,
515
+ * liquidity: position.liquidity,
516
+ * tickLower: position.tickLower,
517
+ * tickUpper: position.tickUpper
518
+ * });
519
+ * ```
520
+ */
521
+ estimateRemoveLiquidity(args: {
522
+ token0: string;
523
+ token1: string;
524
+ fee: number;
525
+ liquidity: string;
526
+ tickLower: number;
527
+ tickUpper: number;
528
+ owner: string;
529
+ }): Promise<GSwapEstimateRemoveLiquidityResult>;
530
+ /**
531
+ * Add concentrated liquidity to a DEX pool using user-friendly price ranges
532
+ *
533
+ * Creates a new liquidity position in a GalaSwap concentrated liquidity pool by specifying minimum
534
+ * and maximum prices instead of raw tick values. Automatically converts price ranges to tick boundaries
535
+ * using the pool's tick spacing, submits the transaction via bundler, and monitors confirmation via
536
+ * WebSocket. Returns a result object with transaction details and an optional wait() method for
537
+ * tracking on-chain confirmation.
538
+ *
539
+ * @param args - Liquidity addition parameters with price range
540
+ * @param args.token0 - First token identifier (pipe-delimited format: 'GALA|Unit|none|none')
541
+ * @param args.token1 - Second token identifier (pipe-delimited format)
542
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
543
+ * @param args.minPrice - Minimum price for the liquidity range (string number, token1 per token0)
544
+ * @param args.maxPrice - Maximum price for the liquidity range (string number, token1 per token0)
545
+ * @param args.amount0Desired - Desired amount of token0 to deposit (string number)
546
+ * @param args.amount1Desired - Desired amount of token1 to deposit (string number)
547
+ * @param args.amount0Min - Optional minimum amount0 to accept (default: '0')
548
+ * @param args.amount1Min - Optional minimum amount1 to accept (default: '0')
549
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with positionId, liquidity amounts, status, and wait() helper
550
+ * @throws {Error} If private key not available, wallet address missing, or transaction fails
551
+ * @since 4.0.4-beta.0
552
+ * @category Services
553
+ *
554
+ * @example Add liquidity with price range (user-friendly approach)
555
+ * ```typescript
556
+ * // Add liquidity to GALA/GUSDC pool with price range $0.025 to $0.035
557
+ * const result = await gswapService.addLiquidityByPrice({
558
+ * token0: 'GALA|Unit|none|none',
559
+ * token1: 'GUSDC|Unit|none|none',
560
+ * fee: 3000, // 0.30% fee tier
561
+ * minPrice: '0.025', // Minimum price: $0.025 per GALA
562
+ * maxPrice: '0.035', // Maximum price: $0.035 per GALA
563
+ * amount0Desired: '1000', // Deposit up to 1000 GALA
564
+ * amount1Desired: '30', // Deposit up to 30 GUSDC
565
+ * amount0Min: '900', // Accept minimum 900 GALA
566
+ * amount1Min: '25' // Accept minimum 25 GUSDC
567
+ * });
568
+ *
569
+ * console.log(`Position created: ${result.positionId}`);
570
+ * console.log(`Transaction: ${result.transactionId}`);
571
+ *
572
+ * // Wait for on-chain confirmation
573
+ * await result.wait?.();
574
+ * console.log(`Position confirmed with liquidity: ${result.liquidity}`);
575
+ * ```
576
+ */
577
+ addLiquidityByPrice(args: {
578
+ token0: string;
579
+ token1: string;
580
+ fee: number;
581
+ minPrice: string;
582
+ maxPrice: string;
583
+ amount0Desired: string;
584
+ amount1Desired: string;
585
+ amount0Min?: string;
586
+ amount1Min?: string;
587
+ }): Promise<GSwapAddLiquidityResult & {
588
+ timestamp?: Date;
589
+ wait?: (timeoutMs?: number) => Promise<void>;
590
+ }>;
591
+ /**
592
+ * Add concentrated liquidity to a DEX pool using precise tick boundaries (advanced)
593
+ *
594
+ * Creates a new liquidity position in a GalaSwap concentrated liquidity pool using raw tick
595
+ * boundaries instead of price ranges. This advanced method gives precise control over position
596
+ * range but requires understanding of Uniswap V3 tick mechanics and tick spacing constraints.
597
+ * Automatically connects WebSocket before transaction submission to prevent missed confirmations,
598
+ * then monitors position discovery with retry logic to handle indexing delays.
599
+ *
600
+ * @param args - Liquidity addition parameters with tick boundaries
601
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey object)
602
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey object)
603
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
604
+ * @param args.tickLower - Lower tick boundary (must be multiple of tickSpacing, supports negative values)
605
+ * @param args.tickUpper - Upper tick boundary (must be multiple of tickSpacing)
606
+ * @param args.amount0Desired - Desired amount of token0 to deposit (string number)
607
+ * @param args.amount1Desired - Desired amount of token1 to deposit (string number)
608
+ * @param args.amount0Min - Optional minimum amount0 to accept (default: '0')
609
+ * @param args.amount1Min - Optional minimum amount1 to accept (default: '0')
610
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with positionId, liquidity amounts, status, and wait() helper
611
+ * @throws {Error} If private key not available, wallet address missing, tick spacing invalid, or transaction fails
612
+ * @since 4.0.4-beta.0
613
+ * @category Services
614
+ *
615
+ * @example Add liquidity with precise tick range (advanced users)
616
+ * ```typescript
617
+ * // Add liquidity to GALA/GUSDC pool with exact tick boundaries
618
+ * // Tick spacing for fee=3000 (0.30%) is 60, so ticks must be multiples of 60
619
+ * const result = await gswapService.addSwapLiquidityByTicks({
620
+ * token0: 'GALA|Unit|none|none',
621
+ * token1: 'GUSDC|Unit|none|none',
622
+ * fee: 3000, // 0.30% fee tier → tickSpacing=60
623
+ * tickLower: -276360, // Must be multiple of 60
624
+ * tickUpper: -276240, // Must be multiple of 60
625
+ * amount0Desired: '1000',
626
+ * amount1Desired: '30',
627
+ * amount0Min: '900',
628
+ * amount1Min: '25'
629
+ * });
630
+ *
631
+ * console.log(`Position ${result.positionId} created`);
632
+ * console.log(`Liquidity: ${result.liquidity}`);
633
+ *
634
+ * // Wait for on-chain confirmation
635
+ * await result.wait?.();
636
+ * console.log(`Position confirmed: ${result.status}`);
637
+ * ```
638
+ *
639
+ * @example Tick spacing constraints by fee tier
640
+ * ```typescript
641
+ * // Fee tier determines required tick spacing:
642
+ * // - Fee 500 (0.05%): tickSpacing = 10
643
+ * // - Fee 3000 (0.30%): tickSpacing = 60
644
+ * // - Fee 10000 (1.00%): tickSpacing = 200
645
+ *
646
+ * // Valid ticks for fee=3000: -276360, -276300, -276240, etc.
647
+ * // Invalid: -276350 (not multiple of 60)
648
+ * ```
649
+ */
650
+ addSwapLiquidityByTicks(args: {
651
+ token0: string | TokenClassKey;
652
+ token1: string | TokenClassKey;
653
+ fee: number;
654
+ tickLower: number;
655
+ tickUpper: number;
656
+ amount0Desired: string;
657
+ amount1Desired: string;
658
+ amount0Min?: string;
659
+ amount1Min?: string;
660
+ }): Promise<GSwapAddLiquidityResult & {
661
+ timestamp?: Date;
662
+ wait?: (timeoutMs?: number) => Promise<void>;
663
+ }>;
664
+ /**
665
+ * Monitor a bundler transaction with graceful fallback on timeout
666
+ *
667
+ * **Pattern Overview**
668
+ * This helper consolidates the common error handling pattern used by all bundler-direct
669
+ * operations (removeSwapLiquidity, collectSwapPositionFees, etc.):
670
+ *
671
+ * 1. Set up WebSocket listener BEFORE bundler submission (already done by caller)
672
+ * 2. Try to await transaction confirmation via WebSocket
673
+ * 3. If timeout occurs: Return partial result with status: 'SUBMITTED'
674
+ * 4. If successful: Return confirmed result with on-chain status
675
+ * 5. Both cases include a .wait() method for retry/manual monitoring
676
+ *
677
+ * **Why This Pattern Matters**
678
+ * - Prevents race conditions (listener active before transaction confirmation)
679
+ * - Handles network timeouts gracefully (users still get transaction ID)
680
+ * - Provides flexibility (users can call .wait() again if needed)
681
+ * - Consistent error handling across all bundler operations
682
+ *
683
+ * @param transactionId Transaction ID from bundler submission
684
+ * @param transactionPromise WebSocket monitoring promise (already created before bundler call)
685
+ * @param operationName Operation name for logging context (e.g., 'liquidity removal')
686
+ * @returns Bundler operation result with status and wait() method
687
+ * @private
688
+ */
689
+ private monitorBundlerTransaction;
690
+ /**
691
+ * Remove liquidity from an existing concentrated liquidity position (partial or complete)
692
+ *
693
+ * Withdraws liquidity from a GalaSwap concentrated liquidity position, returning the underlying
694
+ * token0 and token1 amounts to your wallet. Supports both partial removal (reduce position size)
695
+ * and complete removal (close position). Validates liquidity amount to prevent zero-value removals
696
+ * that would waste gas fees. Automatically connects WebSocket before transaction submission to
697
+ * monitor confirmation, with graceful timeout handling if monitoring fails.
698
+ *
699
+ * @param args - Liquidity removal parameters
700
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey object)
701
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey object)
702
+ * @param args.fee - Pool fee tier in basis points (500 = 0.05%, 3000 = 0.30%, 10000 = 1.00%)
703
+ * @param args.tickLower - Lower tick boundary of the position
704
+ * @param args.tickUpper - Upper tick boundary of the position
705
+ * @param args.liquidity - Amount of liquidity to remove (must be > 0, use position.liquidity for full removal)
706
+ * @param args.amount0Min - Optional minimum token0 to accept for slippage protection (default: '0')
707
+ * @param args.amount1Min - Optional minimum token1 to accept for slippage protection (default: '0')
708
+ * @param args.positionId - Optional position ID for tracking and error messaging
709
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with transactionId, status, timestamp, and wait() helper
710
+ * @throws {Error} If private key not available, liquidity is zero, or transaction fails
711
+ * @since 4.0.4-beta.0
712
+ * @category Services
713
+ *
714
+ * @example Remove 50% of liquidity from a position (partial removal)
715
+ * ```typescript
716
+ * // Step 1: Get position details
717
+ * const positions = await gswapService.getUserLiquidityPositions('eth|0x1234...');
718
+ * const position = positions.items[0];
719
+ *
720
+ * // Step 2: Calculate 50% of liquidity to remove
721
+ * const halfLiquidity = (parseFloat(position.liquidity) * 0.5).toString();
722
+ *
723
+ * // Step 3: Remove partial liquidity
724
+ * const result = await gswapService.removeLiquidity({
725
+ * token0: position.token0,
726
+ * token1: position.token1,
727
+ * fee: position.feeTier,
728
+ * tickLower: position.tickLower,
729
+ * tickUpper: position.tickUpper,
730
+ * liquidity: halfLiquidity,
731
+ * amount0Min: '0', // Accept any amount (consider slippage for production)
732
+ * amount1Min: '0',
733
+ * positionId: position.positionId
734
+ * });
735
+ *
736
+ * console.log(`Removed half liquidity: ${result.transactionId}`);
737
+ * await result.wait?.();
738
+ * ```
739
+ *
740
+ * @example Remove all liquidity to close position (complete removal)
741
+ * ```typescript
742
+ * // Close position completely by removing all liquidity
743
+ * const result = await gswapService.removeLiquidity({
744
+ * token0: 'GALA|Unit|none|none',
745
+ * token1: 'GUSDC|Unit|none|none',
746
+ * fee: 3000,
747
+ * tickLower: -276360,
748
+ * tickUpper: -276240,
749
+ * liquidity: position.liquidity, // Remove ALL liquidity
750
+ * positionId: position.positionId
751
+ * });
752
+ *
753
+ * console.log(`Position closed: ${result.status}`);
754
+ * ```
755
+ */
756
+ removeLiquidity(args: {
757
+ token0: string | TokenClassKey;
758
+ token1: string | TokenClassKey;
759
+ fee: number;
760
+ tickLower: number;
761
+ tickUpper: number;
762
+ liquidity: string;
763
+ amount0Min?: string;
764
+ amount1Min?: string;
765
+ positionId?: string;
766
+ }): Promise<GSwapAddLiquidityResult>;
767
+ /**
768
+ * Collect accumulated trading fees from a concentrated liquidity position (partial or complete)
769
+ *
770
+ * Claims trading fees that have accumulated in your liquidity position without affecting the
771
+ * position's liquidity. Fees only accumulate when your position is in-range (current price within
772
+ * your tick boundaries) and trades execute in that range. Supports collecting all fees at once
773
+ * (default with '0' amounts) or specific amounts for capital management strategies. Automatically
774
+ * connects WebSocket before transaction submission to monitor confirmation.
775
+ *
776
+ * @param args - Fee collection parameters (supports two patterns: direct parameters or position lookup)
777
+ * @param args.token0 - First token (pipe-delimited string or TokenClassKey, required unless using ownerAddress pattern)
778
+ * @param args.token1 - Second token (pipe-delimited string or TokenClassKey, required unless using ownerAddress pattern)
779
+ * @param args.fee - Pool fee tier in basis points (500, 3000, or 10000, required unless using ownerAddress pattern)
780
+ * @param args.tickLower - Lower tick boundary of the position (required unless using ownerAddress pattern)
781
+ * @param args.tickUpper - Upper tick boundary of the position (required unless using ownerAddress pattern)
782
+ * @param args.amount0Requested - Optional token0 fee amount to collect (default: '0' = collect all)
783
+ * @param args.amount1Requested - Optional token1 fee amount to collect (default: '0' = collect all)
784
+ * @param args.positionId - Optional position ID for tracking and verification
785
+ * @param args.ownerAddress - Alternative pattern: fetch position details first using this address and positionId
786
+ * @param args.amount0Max - Alternative naming for amount0Requested (MCP tool compatibility)
787
+ * @param args.amount1Max - Alternative naming for amount1Requested (MCP tool compatibility)
788
+ * @returns Promise<GSwapAddLiquidityResult> Transaction result with transactionId, status, timestamp, and wait() helper
789
+ * @throws {Error} If private key not available, position not found, or transaction fails
790
+ * @since 4.0.4-beta.0
791
+ * @category Services
792
+ *
793
+ * @example Collect all accumulated fees from a position
794
+ * ```typescript
795
+ * // Step 1: Get position details to check accumulated fees
796
+ * const positions = await gswapService.getUserLiquidityPositions('eth|0x1234...');
797
+ * const position = positions.items[0];
798
+ *
799
+ * console.log(`Token0 fees: ${position.feeAmount0}`);
800
+ * console.log(`Token1 fees: ${position.feeAmount1}`);
801
+ *
802
+ * // Step 2: Collect all fees if there are any
803
+ * if (parseFloat(position.feeAmount0) > 0 || parseFloat(position.feeAmount1) > 0) {
804
+ * const result = await gswapService.collectPositionFees({
805
+ * token0: position.token0,
806
+ * token1: position.token1,
807
+ * fee: position.feeTier,
808
+ * tickLower: position.tickLower,
809
+ * tickUpper: position.tickUpper,
810
+ * amount0Requested: '0', // '0' means collect ALL token0 fees
811
+ * amount1Requested: '0', // '0' means collect ALL token1 fees
812
+ * positionId: position.positionId
813
+ * });
814
+ *
815
+ * console.log(`Fee collection submitted: ${result.transactionId}`);
816
+ * await result.wait?.();
817
+ * console.log('All fees collected successfully');
818
+ * }
819
+ * ```
820
+ *
821
+ * @example Collect fees using position lookup pattern (MCP tool compatible)
822
+ * ```typescript
823
+ * // Alternative pattern that fetches position details automatically
824
+ * const result = await gswapService.collectPositionFees({
825
+ * ownerAddress: 'eth|0x1234...',
826
+ * positionId: 'position-uuid',
827
+ * amount0Max: '0', // Collect all token0 fees (MCP naming)
828
+ * amount1Max: '0' // Collect all token1 fees (MCP naming)
829
+ * });
830
+ *
831
+ * console.log(`Fees collected: ${result.status}`);
832
+ * ```
833
+ */
834
+ collectPositionFees(args: {
835
+ token0?: string | TokenClassKey;
836
+ token1?: string | TokenClassKey;
837
+ fee?: number;
838
+ tickLower?: number;
839
+ tickUpper?: number;
840
+ amount0Requested?: string;
841
+ amount1Requested?: string;
842
+ positionId?: string;
843
+ ownerAddress?: string;
844
+ amount0Max?: string;
845
+ amount1Max?: string;
846
+ }): Promise<GSwapAddLiquidityResult>;
847
+ /**
848
+ * Get real-time pool state with liquidity depth and current price
849
+ * @param tokenA First token symbol (e.g., 'GALA')
850
+ * @param tokenB Second token symbol (e.g., 'GUSDC')
851
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
852
+ * @returns Pool data with liquidity, current tick, and price
853
+ */
854
+ getPoolData(tokenA: string, tokenB: string, feeTier: number): Promise<{
855
+ tokenA: string;
856
+ tokenB: string;
857
+ feeTier: number;
858
+ liquidity: string;
859
+ sqrtPriceX96: string;
860
+ tick: number;
861
+ feeGrowthGlobal0X128: string;
862
+ feeGrowthGlobal1X128: string;
863
+ currentPrice: string;
864
+ }>;
865
+ /**
866
+ * Calculate current market price for a token pair from DEX pool
867
+ * @param tokenA First token symbol
868
+ * @param tokenB Second token symbol
869
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
870
+ * @returns Current spot price without executing trade
871
+ */
872
+ calculateDexPoolSpotPrice(tokenA: string, tokenB: string, feeTier: number): Promise<{
873
+ tokenA: string;
874
+ tokenB: string;
875
+ feeTier: number;
876
+ price: string;
877
+ invertedPrice: string;
878
+ tick: number;
879
+ liquidity: string;
880
+ }>;
881
+ /**
882
+ * Calculate optimal token amounts for concentrated liquidity position
883
+ * @param tokenA First token symbol
884
+ * @param tokenB Second token symbol
885
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
886
+ * @param desiredAmount0 Desired amount of token A
887
+ * @param desiredAmount1 Desired amount of token B
888
+ * @param tickLower Lower tick boundary
889
+ * @param tickUpper Upper tick boundary
890
+ * @returns Optimal amounts and utilization percentages
891
+ */
892
+ calculateOptimalPositionSize(tokenA: string, tokenB: string, feeTier: number, desiredAmount0: string, desiredAmount1: string, tickLower: number, tickUpper: number): Promise<{
893
+ amount0: string;
894
+ amount1: string;
895
+ liquidity: string;
896
+ ratio: string;
897
+ utilizationPercent: {
898
+ amount0: string;
899
+ amount1: string;
900
+ };
901
+ }>;
902
+ /**
903
+ * Validate liquidity position parameters before creation
904
+ * @param tokenA First token symbol
905
+ * @param tokenB Second token symbol
906
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
907
+ * @param tickLower Lower tick boundary
908
+ * @param tickUpper Upper tick boundary
909
+ * @param amount0 Token A amount
910
+ * @param amount1 Token B amount
911
+ * @returns Validation result with errors and warnings
912
+ */
913
+ validatePositionParameters(tokenA: string, tokenB: string, feeTier: number, tickLower: number, tickUpper: number, amount0: string, amount1: string): Promise<{
914
+ valid: boolean;
915
+ errors: string[];
916
+ warnings: string[];
917
+ gasEstimate: number;
918
+ tickSpacing?: number;
919
+ currentTick?: number;
920
+ poolLiquidity?: string;
921
+ }>;
922
+ /**
923
+ * Convert human-readable price range to tick boundaries
924
+ * @param tokenA First token symbol
925
+ * @param tokenB Second token symbol
926
+ * @param minPrice Minimum price boundary
927
+ * @param maxPrice Maximum price boundary
928
+ * @param feeTier Fee tier (500, 3000, or 10000 basis points)
929
+ * @returns Calculated tick boundaries and price deviations
930
+ */
931
+ calculateTicksForPrice(tokenA: string, tokenB: string, minPrice: string, maxPrice: string, feeTier: number): {
932
+ tokenA: string;
933
+ tokenB: string;
934
+ feeTier: number;
935
+ tickLower: number;
936
+ tickUpper: number;
937
+ tickSpacing: number;
938
+ requestedMinPrice: string;
939
+ requestedMaxPrice: string;
940
+ actualMinPrice: string;
941
+ actualMaxPrice: string;
942
+ priceDeviation: {
943
+ minPriceDeviation: string;
944
+ maxPriceDeviation: string;
945
+ };
946
+ };
947
+ /**
948
+ * Convert tick boundaries back to human-readable prices
949
+ * @param tokenA First token symbol
950
+ * @param tokenB Second token symbol
951
+ * @param tickLower Lower tick boundary
952
+ * @param tickUpper Upper tick boundary
953
+ * @returns Price range and current price
954
+ */
955
+ calculatePriceForTicks(tokenA: string, tokenB: string, tickLower: number, tickUpper: number): Promise<{
956
+ tokenA: string;
957
+ tokenB: string;
958
+ tickLower: number;
959
+ tickUpper: number;
960
+ minPrice: string;
961
+ maxPrice: string;
962
+ currentPrice?: string;
963
+ priceRange?: string;
964
+ tickSpread?: number;
965
+ }>;
966
+ /**
967
+ * Calculate execution price (output per unit input)
968
+ */
969
+ private calculateExecutionPrice;
970
+ /**
971
+ * Get tick spacing for a given fee tier (Uniswap v3 standard)
972
+ * @private
973
+ */
974
+ private getTickSpacing;
975
+ /**
976
+ * Validate that tick values are valid multiples of the tick spacing for the given fee tier
977
+ * @param tickLower - Lower tick boundary
978
+ * @param tickUpper - Upper tick boundary
979
+ * @param feeTier - Fee tier (500, 3000, or 10000)
980
+ * @throws Error if ticks are not valid multiples of tick spacing
981
+ * @private
982
+ */
983
+ private validateTickSpacing;
984
+ /**
985
+ * Calculate price from sqrtPriceX96 format (Uniswap v3 standard)
986
+ * price = (sqrtPriceX96 / 2^96)^2
987
+ * @private
988
+ */
989
+ private calculatePriceFromSqrtPriceX96;
990
+ /**
991
+ * Calculate price from sqrtPrice in decimal format (GetSlot0 API)
992
+ * Different from sqrtPriceX96 - GetSlot0 returns already-decoded decimal
993
+ * Formula: price = sqrtPrice²
994
+ * @private
995
+ */
996
+ private calculatePriceFromSqrtPriceDecimal;
997
+ /**
998
+ * Get current pool state (slot0 data) for a token pair
999
+ * Fetches sqrtPrice, tick, and liquidity from GalaChain Gateway
1000
+ * @param token0 First token symbol or TokenClassKey
1001
+ * Accepts: "GALA" (plain), "GALA|Unit|none|none" (pipe), "GALA$Unit$none$none" (dollar)
1002
+ * @param token1 Second token symbol or TokenClassKey
1003
+ * Accepts: "GALA" (plain), "GALA|Unit|none|none" (pipe), "GALA$Unit$none$none" (dollar)
1004
+ * @param fee Fee tier in basis points (500, 3000, 10000)
1005
+ * @returns PoolSlot0Data with current sqrtPrice, tick, liquidity, and feeGrowth
1006
+ */
1007
+ getPoolSlot0(token0: string | TokenClassKey, token1: string | TokenClassKey, fee: number): Promise<PoolSlot0Data>;
1008
+ /**
1009
+ * Get current price for a liquidity position's pool
1010
+ * Fetches slot0 data and calculates token0/token1 price ratio
1011
+ * @param position Position token pair and fee tier
1012
+ */
1013
+ getPositionCurrentPrice(position: {
1014
+ token0: string;
1015
+ token1: string;
1016
+ feeTier: number;
1017
+ }): Promise<PoolPriceData>;
1018
+ /**
1019
+ * Calculate liquidity from amount0 (Uniswap v3 math)
1020
+ * Uses @gala-chain/dex liquidity0() function for production-accurate calculation
1021
+ * @private
1022
+ */
1023
+ private _calculateLiquidityFromAmount0;
1024
+ /**
1025
+ * Calculate liquidity from amount1 (Uniswap v3 math)
1026
+ * Uses @gala-chain/dex liquidity1() function for production-accurate calculation
1027
+ * @private
1028
+ */
1029
+ private _calculateLiquidityFromAmount1;
1030
+ /**
1031
+ * Calculate amount0 from liquidity (Uniswap v3 math)
1032
+ * Uses @gala-chain/dex getAmount0Delta() function for production-accurate calculation
1033
+ * @private
1034
+ */
1035
+ private _calculateAmount0FromLiquidity;
1036
+ /**
1037
+ * Calculate amount1 from liquidity (Uniswap v3 math)
1038
+ * Uses @gala-chain/dex getAmount1Delta() function for production-accurate calculation
1039
+ * @private
1040
+ */
1041
+ private _calculateAmount1FromLiquidity;
1042
+ /**
1043
+ * Convert a token pair from Launchpad format to GSwap format
1044
+ *
1045
+ * Converts both tokens in a pair simultaneously for cleaner, more readable code
1046
+ * when working with token swaps and pool queries.
1047
+ *
1048
+ * @param token0 - First token in any supported format
1049
+ * @param token1 - Second token in any supported format
1050
+ * @returns Object with converted tokens as gswapToken0 and gswapToken1
1051
+ *
1052
+ * @private
1053
+ */
1054
+ private convertTokenPair;
1055
+ /**
1056
+ * Send AddLiquidity transaction directly to bundler (bypassing gswap-sdk)
1057
+ *
1058
+ * Creates a liquidity position by signing a DTO and posting it directly to the
1059
+ * GalaChain bundler. This method replaces the gswap-sdk wrapper with a direct
1060
+ * implementation following the same pattern as CreateSale.
1061
+ *
1062
+ * @param params - AddLiquidity parameters including token pair, fee, tick range, and amounts
1063
+ * @returns Transaction ID from bundler response
1064
+ * @throws Error if not in full-access mode or if bundler request fails
1065
+ *
1066
+ * @private
1067
+ */
1068
+ private sendAddLiquidityToBundler;
1069
+ /**
1070
+ * Send RemoveLiquidity transaction directly to bundler
1071
+ *
1072
+ * Bypasses GSwap SDK and posts signed EIP-712 RemoveLiquidity DTO directly to bundler.
1073
+ * Supports full tick ranges including negative values.
1074
+ *
1075
+ * @param tickLower Lower tick boundary (int256, supports negative)
1076
+ * @param tickUpper Upper tick boundary (int256, supports negative)
1077
+ * @param amount Liquidity amount to remove
1078
+ * @param token0 First token class key
1079
+ * @param token1 Second token class key
1080
+ * @param fee Fee tier (500, 3000, or 10000)
1081
+ * @param amount0Min Minimum amount0 to receive (slippage protection)
1082
+ * @param amount1Min Minimum amount1 to receive (slippage protection)
1083
+ * @param positionId Unique position identifier
1084
+ * @returns Transaction ID from bundler response
1085
+ *
1086
+ * @private
1087
+ * @throws Error if signing or bundler submission fails
1088
+ */
1089
+ private sendRemoveLiquidityToBundler;
1090
+ /**
1091
+ * Send CollectPositionFees transaction directly to bundler
1092
+ *
1093
+ * Bypasses GSwap SDK and posts signed EIP-712 CollectPositionFees DTO directly to bundler.
1094
+ * Collects accumulated trading fees from a liquidity position independently of the position itself.
1095
+ *
1096
+ * @param token0 First token class key
1097
+ * @param token1 Second token class key
1098
+ * @param fee Fee tier (500, 3000, or 10000)
1099
+ * @param amount0Requested Requested amount0 to collect (0 to collect all available)
1100
+ * @param amount1Requested Requested amount1 to collect (0 to collect all available)
1101
+ * @param tickLower Lower tick boundary (int256, supports negative)
1102
+ * @param tickUpper Upper tick boundary (int256, supports negative)
1103
+ * @param positionId Unique position identifier
1104
+ * @returns Transaction ID from bundler response
1105
+ *
1106
+ * @private
1107
+ * @throws Error if signing or bundler submission fails
1108
+ */
1109
+ private sendCollectPositionFeesToBundler;
1110
+ /**
1111
+ * Send Swap transaction directly to bundler
1112
+ *
1113
+ * Bypasses GSwap SDK and posts signed EIP-712 Swap DTO directly to bundler.
1114
+ * Implements exact input swapping (sell exact amount of input token, receive output token).
1115
+ *
1116
+ * @param fromToken Input token (token being sold) in GSwap format
1117
+ * @param toToken Output token (token being bought) in GSwap format
1118
+ * @param inputAmount Amount of input token to sell
1119
+ * @param minOutput Minimum amount of output token to receive (slippage protection)
1120
+ * @param feeTier Fee tier (500, 3000, or 10000)
1121
+ * @param walletAddress Wallet address executing the swap
1122
+ * @returns Transaction ID from bundler response
1123
+ *
1124
+ * @private
1125
+ * @throws Error if signing or bundler submission fails
1126
+ */
1127
+ private sendSwapToBundler;
1128
+ /**
1129
+ * Build strings instructions for AddLiquidity state locking
1130
+ *
1131
+ * Strings instructions are used by the bundler to lock the necessary state
1132
+ * fields during transaction execution. This ensures atomicity of the operation.
1133
+ *
1134
+ * @param token0 First token class key
1135
+ * @param token1 Second token class key
1136
+ * @param fee Fee tier (500, 3000, or 10000 basis points)
1137
+ * @param ownerAddress Wallet address creating the position
1138
+ * @returns Array of strings instructions for state locking
1139
+ *
1140
+ * @private
1141
+ */
1142
+ private buildLiquidityStringsInstructions;
1143
+ /**
1144
+ * Create error handler for withErrorHandling wrapper
1145
+ * Provides a reusable error handler that logs and throws GSwap-specific errors
1146
+ *
1147
+ * @param ErrorClass - Error constructor (GSwapQuoteError, GSwapAssetError, etc.)
1148
+ * @param additionalFields - Optional context for error message
1149
+ * @returns Function that logs and throws appropriate error
1150
+ *
1151
+ * @private
1152
+ */
1153
+ private createGSwapErrorHandler;
1154
+ /**
1155
+ * Handle GSwap SDK errors with consistent logging and error transformation
1156
+ *
1157
+ * Centralizes error handling for GSwap operations by:
1158
+ * 1. Logging the error with context
1159
+ * 2. Extracting error code from original error
1160
+ * 3. Creating typed GSwap error with standardized message
1161
+ *
1162
+ * @param logMessage - Message to log when error occurs
1163
+ * @param ErrorClass - Error constructor to throw (GSwapQuoteError, GSwapSwapError, etc.)
1164
+ * @param originalError - Original error from GSwap SDK
1165
+ * @param additionalFields - Optional additional context (e.g., { transactionHash: txHash })
1166
+ * @throws Throws instance of provided ErrorClass with formatted message
1167
+ *
1168
+ * @private
1169
+ */
1170
+ private handleGSwapError;
1171
+ /**
1172
+ * Extract error code from GSwap SDK error
1173
+ *
1174
+ * Maps GSwapSDKError instances to standard error codes for consistent
1175
+ * error handling across SDK operations. Preserves error code information
1176
+ * from the original GSwap SDK error.
1177
+ *
1178
+ * @param error - Error thrown by GSwap SDK operations
1179
+ * @returns Error code string if available, undefined otherwise
1180
+ *
1181
+ * @private
1182
+ */
1183
+ private extractGSwapErrorCode;
1184
+ /**
1185
+ * Ensure WebSocket connection is established before transaction monitoring
1186
+ *
1187
+ * Checks if WebSocketService is already connected, and connects if needed.
1188
+ * This prevents unnecessary connection attempts while ensuring transactions can be monitored.
1189
+ *
1190
+ * @private
1191
+ * @throws Error if connection fails
1192
+ */
1193
+ private ensureWebSocketConnected;
1194
+ /**
1195
+ * Calculate personal sign prefix for GalaChain compatibility
1196
+ *
1197
+ * Builds the prefix string required by GalaChain for EIP-712 signing.
1198
+ * This matches the format used in production working payloads.
1199
+ *
1200
+ * @param payload The payload being signed
1201
+ * @returns Prefix string for signing
1202
+ *
1203
+ * @private
1204
+ */
1205
+ private calculatePersonalSignPrefix;
1206
+ }
1207
+ //# sourceMappingURL=GSwapService.d.ts.map