@alphafi/alphafi-sdk 0.0.39 → 0.0.40

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 (291) hide show
  1. package/dist/cjs/adminFunctions.d.ts.map +1 -1
  2. package/dist/cjs/adminFunctions.js +9 -1
  3. package/dist/cjs/adminFunctions.js.map +1 -1
  4. package/dist/cjs/common/coins.d.ts.map +1 -1
  5. package/dist/cjs/common/coins.js +12 -0
  6. package/dist/cjs/common/coins.js.map +1 -1
  7. package/dist/cjs/common/constants.d.ts +135 -0
  8. package/dist/cjs/common/constants.d.ts.map +1 -1
  9. package/dist/cjs/common/constants.js +98 -7
  10. package/dist/cjs/common/constants.js.map +1 -1
  11. package/dist/cjs/common/maps.d.ts.map +1 -1
  12. package/dist/cjs/common/maps.js +103 -16
  13. package/dist/cjs/common/maps.js.map +1 -1
  14. package/dist/cjs/common/types.d.ts +58 -5
  15. package/dist/cjs/common/types.d.ts.map +1 -1
  16. package/dist/cjs/common/types.js.map +1 -1
  17. package/dist/cjs/index.d.ts +2 -1
  18. package/dist/cjs/index.d.ts.map +1 -1
  19. package/dist/cjs/index.js +9 -2
  20. package/dist/cjs/index.js.map +1 -1
  21. package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.d.ts.map +1 -1
  22. package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.js +2 -3
  23. package/dist/cjs/sui-sdk/functions/fetchUserVaultBalances.js.map +1 -1
  24. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
  25. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js +5 -11
  26. package/dist/cjs/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
  27. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts +2 -2
  28. package/dist/cjs/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  29. package/dist/cjs/sui-sdk/functions/getReceipts.js +1 -1
  30. package/dist/cjs/sui-sdk/functions/getReceipts.js.map +1 -1
  31. package/dist/cjs/transactions/bluefin.d.ts +6 -0
  32. package/dist/cjs/transactions/bluefin.d.ts.map +1 -1
  33. package/dist/cjs/transactions/bluefin.js +411 -34
  34. package/dist/cjs/transactions/bluefin.js.map +1 -1
  35. package/dist/cjs/transactions/cetus.d.ts +1 -1
  36. package/dist/cjs/transactions/cetus.d.ts.map +1 -1
  37. package/dist/cjs/transactions/cetus.js +3 -3
  38. package/dist/cjs/transactions/cetus.js.map +1 -1
  39. package/dist/cjs/transactions/deposit.d.ts.map +1 -1
  40. package/dist/cjs/transactions/deposit.js +9 -1
  41. package/dist/cjs/transactions/deposit.js.map +1 -1
  42. package/dist/cjs/transactions/withdraw.d.ts.map +1 -1
  43. package/dist/cjs/transactions/withdraw.js +9 -1
  44. package/dist/cjs/transactions/withdraw.js.map +1 -1
  45. package/dist/esm/adminFunctions.d.ts.map +1 -1
  46. package/dist/esm/adminFunctions.js +10 -2
  47. package/dist/esm/adminFunctions.js.map +1 -1
  48. package/dist/esm/common/coins.d.ts.map +1 -1
  49. package/dist/esm/common/coins.js +12 -0
  50. package/dist/esm/common/coins.js.map +1 -1
  51. package/dist/esm/common/constants.d.ts +135 -0
  52. package/dist/esm/common/constants.d.ts.map +1 -1
  53. package/dist/esm/common/constants.js +98 -7
  54. package/dist/esm/common/constants.js.map +1 -1
  55. package/dist/esm/common/maps.d.ts.map +1 -1
  56. package/dist/esm/common/maps.js +103 -16
  57. package/dist/esm/common/maps.js.map +1 -1
  58. package/dist/esm/common/types.d.ts +58 -5
  59. package/dist/esm/common/types.d.ts.map +1 -1
  60. package/dist/esm/common/types.js.map +1 -1
  61. package/dist/esm/index.d.ts +2 -1
  62. package/dist/esm/index.d.ts.map +1 -1
  63. package/dist/esm/index.js +2 -1
  64. package/dist/esm/index.js.map +1 -1
  65. package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.d.ts.map +1 -1
  66. package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.js +2 -3
  67. package/dist/esm/sui-sdk/functions/fetchUserVaultBalances.js.map +1 -1
  68. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.d.ts.map +1 -1
  69. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js +5 -11
  70. package/dist/esm/sui-sdk/functions/getPortfolioAmounts.js.map +1 -1
  71. package/dist/esm/sui-sdk/functions/getReceipts.d.ts +2 -2
  72. package/dist/esm/sui-sdk/functions/getReceipts.d.ts.map +1 -1
  73. package/dist/esm/sui-sdk/functions/getReceipts.js +1 -1
  74. package/dist/esm/sui-sdk/functions/getReceipts.js.map +1 -1
  75. package/dist/esm/transactions/bluefin.d.ts +6 -0
  76. package/dist/esm/transactions/bluefin.d.ts.map +1 -1
  77. package/dist/esm/transactions/bluefin.js +408 -33
  78. package/dist/esm/transactions/bluefin.js.map +1 -1
  79. package/dist/esm/transactions/cetus.d.ts +1 -1
  80. package/dist/esm/transactions/cetus.d.ts.map +1 -1
  81. package/dist/esm/transactions/cetus.js +3 -3
  82. package/dist/esm/transactions/cetus.js.map +1 -1
  83. package/dist/esm/transactions/deposit.d.ts.map +1 -1
  84. package/dist/esm/transactions/deposit.js +10 -2
  85. package/dist/esm/transactions/deposit.js.map +1 -1
  86. package/dist/esm/transactions/withdraw.d.ts.map +1 -1
  87. package/dist/esm/transactions/withdraw.js +10 -2
  88. package/dist/esm/transactions/withdraw.js.map +1 -1
  89. package/docs/assets/highlight.css +101 -0
  90. package/docs/assets/icons.js +21 -0
  91. package/docs/assets/icons.svg +1 -0
  92. package/docs/assets/main.js +2218 -0
  93. package/docs/assets/navigation.js +2 -0
  94. package/docs/assets/search.js +2 -0
  95. package/docs/assets/style.css +1489 -0
  96. package/docs/functions/alphaLpBreakdown.html +253 -0
  97. package/docs/functions/bucketDepositTx.html +267 -0
  98. package/docs/functions/bucketWithdrawTx.html +267 -0
  99. package/docs/functions/cetusLpBreakdown.html +253 -0
  100. package/docs/functions/claimRewardTxb.html +243 -0
  101. package/docs/functions/coinAmountToXTokensDoubleAsset.html +267 -0
  102. package/docs/functions/coinAmountToXTokensSingleAsset.html +260 -0
  103. package/docs/functions/coinsInPool.html +438 -0
  104. package/docs/functions/collectRewards.html +242 -0
  105. package/docs/functions/deposit.html +246 -0
  106. package/docs/functions/depositAlphaTxb.html +250 -0
  107. package/docs/functions/depositBluefinSuiFirstTxb.html +302 -0
  108. package/docs/functions/depositBluefinType1Txb.html +300 -0
  109. package/docs/functions/depositBluefinType2Txb.html +300 -0
  110. package/docs/functions/depositCetusAlphaSuiTxb.html +300 -0
  111. package/docs/functions/depositCetusSuiTxb.html +298 -0
  112. package/docs/functions/depositCetusTxb.html +298 -0
  113. package/docs/functions/depositDoubleAssetTxb.html +270 -0
  114. package/docs/functions/depositSingleAssetTxb.html +263 -0
  115. package/docs/functions/fetchAfterTransactionEvents.html +306 -0
  116. package/docs/functions/fetchAutoCompoundingEvents.html +257 -0
  117. package/docs/functions/fetchAutoCompoundingEventsGql.html +251 -0
  118. package/docs/functions/fetchCetusPools.html +231 -0
  119. package/docs/functions/fetchChainIdentifier.html +233 -0
  120. package/docs/functions/fetchCheckRatioEvents.html +249 -0
  121. package/docs/functions/fetchLiquidityChangeEvents.html +257 -0
  122. package/docs/functions/fetchMultiReceipts.html +261 -0
  123. package/docs/functions/fetchNftHolders.html +233 -0
  124. package/docs/functions/fetchPools.html +230 -0
  125. package/docs/functions/fetchPortfolioData.html +243 -0
  126. package/docs/functions/fetchProtocolData.html +231 -0
  127. package/docs/functions/fetchTVL.html +253 -0
  128. package/docs/functions/fetchUserVaultBalances.html +245 -0
  129. package/docs/functions/fetchUserVaults.html +243 -0
  130. package/docs/functions/fetchUserWalletData.html +243 -0
  131. package/docs/functions/fetchWithdrawV2Events.html +255 -0
  132. package/docs/functions/getAirdropShare.html +243 -0
  133. package/docs/functions/getAllDoubleAssetVaults.html +235 -0
  134. package/docs/functions/getAllSingleAssetVaults.html +235 -0
  135. package/docs/functions/getAllVaultBalances.html +265 -0
  136. package/docs/functions/getAllVaults.html +233 -0
  137. package/docs/functions/getAlphaUnlocks.html +245 -0
  138. package/docs/functions/getAlphaVaultBalance.html +255 -0
  139. package/docs/functions/getAmounts.html +272 -0
  140. package/docs/functions/getApr.html +243 -0
  141. package/docs/functions/getAprs.html +255 -0
  142. package/docs/functions/getApy.html +243 -0
  143. package/docs/functions/getApys.html +255 -0
  144. package/docs/functions/getCetusInvestorTicksMap.html +284 -0
  145. package/docs/functions/getCetusSqrtPriceMap.html +249 -0
  146. package/docs/functions/getCoinAmountsFromLiquidity.html +266 -0
  147. package/docs/functions/getConf.html +9882 -0
  148. package/docs/functions/getCurrentTick.html +247 -0
  149. package/docs/functions/getDoubleAssetVaultBalance.html +268 -0
  150. package/docs/functions/getDoubleAssetVaults.html +253 -0
  151. package/docs/functions/getHoldersFromTransactions.html +299 -0
  152. package/docs/functions/getInvestor.html +259 -0
  153. package/docs/functions/getInvestorPoolMap.html +241 -0
  154. package/docs/functions/getLastAutoCompoundTime.html +249 -0
  155. package/docs/functions/getLiquidity.html +260 -0
  156. package/docs/functions/getParentPool.html +256 -0
  157. package/docs/functions/getPool.html +262 -0
  158. package/docs/functions/getPoolExchangeRateMap.html +249 -0
  159. package/docs/functions/getPositionTicks.html +249 -0
  160. package/docs/functions/getPriceToTick.html +254 -0
  161. package/docs/functions/getRebalanceHistories.html +269 -0
  162. package/docs/functions/getRebalanceHistory.html +255 -0
  163. package/docs/functions/getReceipts.html +268 -0
  164. package/docs/functions/getSingleAssetVaultBalance.html +268 -0
  165. package/docs/functions/getSingleAssetVaults.html +253 -0
  166. package/docs/functions/getSuiClient.html +247 -0
  167. package/docs/functions/getSuiNodeUrl.html +232 -0
  168. package/docs/functions/getTVLs.html +243 -0
  169. package/docs/functions/getTickToPrice.html +254 -0
  170. package/docs/functions/getUserTokensFromTransactions.html +269 -0
  171. package/docs/functions/getUserTokensInUsdFromTransactions.html +263 -0
  172. package/docs/functions/getVaultBalance.html +277 -0
  173. package/docs/functions/getVaultBalanceForActiveUsers.html +261 -0
  174. package/docs/functions/getVaults.html +250 -0
  175. package/docs/functions/getXTokenVaultBalanceForActiveUsers.html +261 -0
  176. package/docs/functions/lastAutocompoundTime.html +249 -0
  177. package/docs/functions/liquidityToTokens.html +253 -0
  178. package/docs/functions/loopingDeposit.html +277 -0
  179. package/docs/functions/loopingWithdraw.html +278 -0
  180. package/docs/functions/multiLiquidityToTokens.html +271 -0
  181. package/docs/functions/multiTokensToUsd.html +262 -0
  182. package/docs/functions/multiXTokensToLiquidity.html +257 -0
  183. package/docs/functions/naviDepositTx.html +278 -0
  184. package/docs/functions/naviHasuiSuiLoopDepositTx.html +271 -0
  185. package/docs/functions/naviHasuiSuiLoopWithdrawTx.html +271 -0
  186. package/docs/functions/naviSuiVsuiLoopDepositTx.html +271 -0
  187. package/docs/functions/naviSuiVsuiLoopWithdrawTx.html +271 -0
  188. package/docs/functions/naviUsdcUsdtLoopDepositTx.html +271 -0
  189. package/docs/functions/naviUsdcUsdtLoopWithdrawTx.html +271 -0
  190. package/docs/functions/naviUsdtUsdcLoopDepositTx.html +271 -0
  191. package/docs/functions/naviUsdtUsdcLoopWithdrawTx.html +271 -0
  192. package/docs/functions/naviWithdrawTx.html +278 -0
  193. package/docs/functions/parseUserWalletData.html +243 -0
  194. package/docs/functions/setSuiClient.html +255 -0
  195. package/docs/functions/setSuiNodeUrl.html +249 -0
  196. package/docs/functions/withdraw.html +249 -0
  197. package/docs/functions/withdrawAlphaTxb.html +257 -0
  198. package/docs/functions/withdrawBluefinSuiFirstTxb.html +282 -0
  199. package/docs/functions/withdrawBluefinType1Txb.html +280 -0
  200. package/docs/functions/withdrawBluefinType2Txb.html +280 -0
  201. package/docs/functions/withdrawCetusAlphaSuiTxb.html +282 -0
  202. package/docs/functions/withdrawCetusSuiTxb.html +278 -0
  203. package/docs/functions/withdrawCetusTxb.html +278 -0
  204. package/docs/functions/withdrawTxb.html +260 -0
  205. package/docs/index.html +622 -0
  206. package/docs/interfaces/Coin.html +474 -0
  207. package/docs/interfaces/CoinPair.html +358 -0
  208. package/docs/interfaces/NaviVoloData.html +514 -0
  209. package/docs/interfaces/RebalanceHistoryType.html +652 -0
  210. package/docs/modules.html +1440 -0
  211. package/docs/types/AfterTransactionEventNode.html +305 -0
  212. package/docs/types/Allocator.html +321 -0
  213. package/docs/types/AlphaFiDoubleAssetVault.html +258 -0
  214. package/docs/types/AlphaFiMultiVaultBalance.html +219 -0
  215. package/docs/types/AlphaFiSingleAssetVault.html +244 -0
  216. package/docs/types/AlphaFiVault.html +214 -0
  217. package/docs/types/AlphaFiVaultBalance.html +220 -0
  218. package/docs/types/AlphaPoolType.html +383 -0
  219. package/docs/types/AlphaReceipt.html +220 -0
  220. package/docs/types/AlphaReceiptFields.html +421 -0
  221. package/docs/types/AlphaVaultBalance.html +245 -0
  222. package/docs/types/AutoCompoundingEventNode.html +225 -0
  223. package/docs/types/BluefinInvestor.html +209 -0
  224. package/docs/types/BluefinPoolType.html +209 -0
  225. package/docs/types/BucketInvestor.html +249 -0
  226. package/docs/types/CetusInvestor.html +240 -0
  227. package/docs/types/CetusPoolType.html +433 -0
  228. package/docs/types/CetusSwapOptions.html +209 -0
  229. package/docs/types/CoinAmounts.html +216 -0
  230. package/docs/types/CoinName.html +281 -0
  231. package/docs/types/CoinType.html +282 -0
  232. package/docs/types/CommonInvestorFields.html +276 -0
  233. package/docs/types/CreatePoolOptions.html +246 -0
  234. package/docs/types/Distributor.html +341 -0
  235. package/docs/types/DoubleAssetMultiVaultBalance.html +236 -0
  236. package/docs/types/DoubleAssetPoolNames.html +267 -0
  237. package/docs/types/DoubleAssetTokenHoldings.html +232 -0
  238. package/docs/types/DoubleAssetVaultBalance.html +229 -0
  239. package/docs/types/GetHoldersParams.html +221 -0
  240. package/docs/types/GetTokenHoldingsParams.html +227 -0
  241. package/docs/types/GetUserTokensFromTransactionsParams.html +233 -0
  242. package/docs/types/GetUserTokensInUsdFromTransactionsParams.html +244 -0
  243. package/docs/types/GetVaultBalanceForActiveUsersParams.html +231 -0
  244. package/docs/types/GetVaultBalanceParams.html +217 -0
  245. package/docs/types/HoldingsObj.html +223 -0
  246. package/docs/types/Icon.html +266 -0
  247. package/docs/types/Investor.html +245 -0
  248. package/docs/types/LiquidityChangeEventNode.html +220 -0
  249. package/docs/types/LiquidityToTokensParams.html +255 -0
  250. package/docs/types/LiquidityToUsdParams.html +267 -0
  251. package/docs/types/LoopingDebt.html +258 -0
  252. package/docs/types/LpBreakdownType.html +238 -0
  253. package/docs/types/MemberPoolDataType.html +276 -0
  254. package/docs/types/MemberType.html +269 -0
  255. package/docs/types/MultiGetVaultBalancesParams.html +229 -0
  256. package/docs/types/NaviInvestor.html +235 -0
  257. package/docs/types/OtherReceiptFields.html +373 -0
  258. package/docs/types/PoolName.html +304 -0
  259. package/docs/types/PoolReceipt.html +253 -0
  260. package/docs/types/PoolType.html +388 -0
  261. package/docs/types/Receipt.html +475 -0
  262. package/docs/types/ReceiptGQL.html +374 -0
  263. package/docs/types/SingleAssetMultiVaultBalance.html +232 -0
  264. package/docs/types/SingleAssetPoolNames.html +247 -0
  265. package/docs/types/SingleAssetTokenHoldings.html +228 -0
  266. package/docs/types/SingleAssetVaultBalance.html +223 -0
  267. package/docs/types/SingleGetVaultBalancesParams.html +224 -0
  268. package/docs/types/StrategyType.html +217 -0
  269. package/docs/types/SuiNetwork.html +213 -0
  270. package/docs/types/SwapOptions.html +248 -0
  271. package/docs/types/TickSpacing.html +212 -0
  272. package/docs/types/TotalWeightType.html +246 -0
  273. package/docs/types/TransactionBlockType.html +358 -0
  274. package/docs/types/UserPoolLiquidity.html +221 -0
  275. package/docs/types/UserPoolTokenHoldings.html +217 -0
  276. package/docs/types/UserUsdHoldings.html +223 -0
  277. package/docs/types/VaultBalance.html +216 -0
  278. package/docs/types/WithdrawV2EventNode.html +208 -0
  279. package/docs/variables/bluefinPoolMap.html +214 -0
  280. package/docs/variables/cetusPoolMap.html +214 -0
  281. package/docs/variables/coinsList.html +220 -0
  282. package/docs/variables/defunctPoolsSet.html +209 -0
  283. package/docs/variables/doubleAssetPoolCoinMap.html +237 -0
  284. package/docs/variables/loopingAccountAddresses.html +219 -0
  285. package/docs/variables/loopingPoolCoinMap.html +233 -0
  286. package/docs/variables/naviAssetMap.html +215 -0
  287. package/docs/variables/poolIdPoolNameMap.html +218 -0
  288. package/docs/variables/poolInfo.html +304 -0
  289. package/docs/variables/singleAssetPoolCoinMap.html +229 -0
  290. package/docs/variables/stableCoins.html +207 -0
  291. package/package.json +1 -1
@@ -0,0 +1,247 @@
1
+ <!doctype html>
2
+ <html class="default" lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge" />
6
+ <title>getSuiClient | @alphafi/alphafi-sdk - v0.0.39</title>
7
+ <meta name="description" content="Documentation for @alphafi/alphafi-sdk" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
9
+ <link rel="stylesheet" href="../assets/style.css" />
10
+ <link rel="stylesheet" href="../assets/highlight.css" />
11
+ <script defer src="../assets/main.js"></script>
12
+ <script async src="../assets/icons.js" id="tsd-icons-script"></script>
13
+ <script async src="../assets/search.js" id="tsd-search-script"></script>
14
+ <script async src="../assets/navigation.js" id="tsd-nav-script"></script>
15
+ </head>
16
+ <body>
17
+ <script>
18
+ document.documentElement.dataset.theme =
19
+ localStorage.getItem("tsd-theme") || "os";
20
+ document.body.style.display = "none";
21
+ setTimeout(
22
+ () =>
23
+ app ? app.showPage() : document.body.style.removeProperty("display"),
24
+ 500,
25
+ );
26
+ </script>
27
+ <header class="tsd-page-toolbar">
28
+ <div class="tsd-toolbar-contents container">
29
+ <div class="table-cell" id="tsd-search" data-base="..">
30
+ <div class="field">
31
+ <label
32
+ for="tsd-search-field"
33
+ class="tsd-widget tsd-toolbar-icon search no-caption"
34
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
35
+ <use href="../assets/icons.svg#icon-search"></use></svg></label
36
+ ><input type="text" id="tsd-search-field" aria-label="Search" />
37
+ </div>
38
+ <div class="field"><div id="tsd-toolbar-links"></div></div>
39
+ <ul class="results">
40
+ <li class="state loading">Preparing search index...</li>
41
+ <li class="state failure">The search index is not available</li>
42
+ </ul>
43
+ <a href="../index.html" class="title"
44
+ >@alphafi/alphafi-sdk - v0.0.39</a
45
+ >
46
+ </div>
47
+ <div class="table-cell" id="tsd-widgets">
48
+ <a
49
+ href="#"
50
+ class="tsd-widget tsd-toolbar-icon menu no-caption"
51
+ data-toggle="menu"
52
+ aria-label="Menu"
53
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
54
+ <use href="../assets/icons.svg#icon-menu"></use></svg
55
+ ></a>
56
+ </div>
57
+ </div>
58
+ </header>
59
+ <div class="container container-main">
60
+ <div class="col-content">
61
+ <div class="tsd-page-title">
62
+ <ul class="tsd-breadcrumb">
63
+ <li><a href="../modules.html">@alphafi/alphafi-sdk</a></li>
64
+ <li><a href="getSuiClient.html">getSuiClient</a></li>
65
+ </ul>
66
+ <h1>Function getSuiClient</h1>
67
+ </div>
68
+ <section class="tsd-panel">
69
+ <ul class="tsd-signatures">
70
+ <li class="tsd-signature tsd-anchor-link">
71
+ <a id="getSuiClient" class="tsd-anchor"></a
72
+ ><span class="tsd-kind-call-signature"
73
+ >get<wbr />Sui<wbr />Client</span
74
+ ><span class="tsd-signature-symbol">(</span
75
+ ><span class="tsd-kind-parameter">rpcNodeUrl</span
76
+ ><span class="tsd-signature-symbol">?</span
77
+ ><span class="tsd-signature-symbol">)</span
78
+ ><span class="tsd-signature-symbol">: </span
79
+ ><span class="tsd-signature-type">SuiClient</span
80
+ ><a
81
+ href="#getSuiClient"
82
+ aria-label="Permalink"
83
+ class="tsd-anchor-icon"
84
+ ><svg viewBox="0 0 24 24">
85
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
86
+ ></a>
87
+ </li>
88
+ <li class="tsd-description">
89
+ <div class="tsd-comment tsd-typography">
90
+ <p>
91
+ Get the SuiClient instance. If a new URL has been set via
92
+ setSuiNodeUrl, it will create a new instance with the updated
93
+ URL.
94
+ </p>
95
+ </div>
96
+ <div class="tsd-parameters">
97
+ <h4 class="tsd-parameters-title">Parameters</h4>
98
+ <ul class="tsd-parameter-list">
99
+ <li>
100
+ <span
101
+ ><code class="tsd-tag">Optional</code
102
+ ><span class="tsd-kind-parameter">rpcNodeUrl</span>:
103
+ <span class="tsd-signature-type">string</span></span
104
+ >
105
+ </li>
106
+ </ul>
107
+ </div>
108
+ <h4 class="tsd-returns-title">
109
+ Returns <span class="tsd-signature-type">SuiClient</span>
110
+ </h4>
111
+ <div class="tsd-comment tsd-typography"></div>
112
+ <aside class="tsd-sources">
113
+ <ul>
114
+ <li>
115
+ Defined in
116
+ <a
117
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/8d127b965a29120c71291bb27e989d4b06161cbc/src/sui-sdk/client.ts#L25"
118
+ >sui-sdk/client.ts:25</a
119
+ >
120
+ </li>
121
+ </ul>
122
+ </aside>
123
+ </li>
124
+ </ul>
125
+ </section>
126
+ </div>
127
+ <div class="col-sidebar">
128
+ <div class="page-menu">
129
+ <div class="tsd-navigation settings">
130
+ <details class="tsd-accordion">
131
+ <summary class="tsd-accordion-summary">
132
+ <h3>
133
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
134
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
135
+ >Settings
136
+ </h3>
137
+ </summary>
138
+ <div class="tsd-accordion-details">
139
+ <div class="tsd-filter-visibility">
140
+ <span class="settings-label">Member Visibility</span>
141
+ <ul id="tsd-filter-options">
142
+ <li class="tsd-filter-item">
143
+ <label class="tsd-filter-input"
144
+ ><input
145
+ type="checkbox"
146
+ id="tsd-filter-inherited"
147
+ name="inherited"
148
+ checked
149
+ /><svg
150
+ width="32"
151
+ height="32"
152
+ viewBox="0 0 32 32"
153
+ aria-hidden="true"
154
+ >
155
+ <rect
156
+ class="tsd-checkbox-background"
157
+ width="30"
158
+ height="30"
159
+ x="1"
160
+ y="1"
161
+ rx="6"
162
+ fill="none"
163
+ ></rect>
164
+ <path
165
+ class="tsd-checkbox-checkmark"
166
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
167
+ stroke="none"
168
+ stroke-width="3.5"
169
+ stroke-linejoin="round"
170
+ fill="none"
171
+ ></path></svg
172
+ ><span>Inherited</span></label
173
+ >
174
+ </li>
175
+ <li class="tsd-filter-item">
176
+ <label class="tsd-filter-input"
177
+ ><input
178
+ type="checkbox"
179
+ id="tsd-filter-external"
180
+ name="external"
181
+ /><svg
182
+ width="32"
183
+ height="32"
184
+ viewBox="0 0 32 32"
185
+ aria-hidden="true"
186
+ >
187
+ <rect
188
+ class="tsd-checkbox-background"
189
+ width="30"
190
+ height="30"
191
+ x="1"
192
+ y="1"
193
+ rx="6"
194
+ fill="none"
195
+ ></rect>
196
+ <path
197
+ class="tsd-checkbox-checkmark"
198
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
199
+ stroke="none"
200
+ stroke-width="3.5"
201
+ stroke-linejoin="round"
202
+ fill="none"
203
+ ></path></svg
204
+ ><span>External</span></label
205
+ >
206
+ </li>
207
+ </ul>
208
+ </div>
209
+ <div class="tsd-theme-toggle">
210
+ <label class="settings-label" for="tsd-theme">Theme</label
211
+ ><select id="tsd-theme">
212
+ <option value="os">OS</option>
213
+ <option value="light">Light</option>
214
+ <option value="dark">Dark</option>
215
+ </select>
216
+ </div>
217
+ </div>
218
+ </details>
219
+ </div>
220
+ </div>
221
+ <div class="site-menu">
222
+ <nav class="tsd-navigation">
223
+ <a href="../modules.html"
224
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
225
+ <use href="../assets/icons.svg#icon-1"></use></svg
226
+ ><span>@alphafi/alphafi-sdk - v0.0.39</span></a
227
+ >
228
+ <ul
229
+ class="tsd-small-nested-navigation"
230
+ id="tsd-nav-container"
231
+ data-base=".."
232
+ >
233
+ <li>Loading...</li>
234
+ </ul>
235
+ </nav>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ <footer>
240
+ <p class="tsd-generator">
241
+ Generated using
242
+ <a href="https://typedoc.org/" target="_blank">TypeDoc</a>
243
+ </p>
244
+ </footer>
245
+ <div class="overlay"></div>
246
+ </body>
247
+ </html>
@@ -0,0 +1,232 @@
1
+ <!doctype html>
2
+ <html class="default" lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="x-ua-compatible" content="IE=edge" />
6
+ <title>getSuiNodeUrl | @alphafi/alphafi-sdk - v0.0.39</title>
7
+ <meta name="description" content="Documentation for @alphafi/alphafi-sdk" />
8
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
9
+ <link rel="stylesheet" href="../assets/style.css" />
10
+ <link rel="stylesheet" href="../assets/highlight.css" />
11
+ <script defer src="../assets/main.js"></script>
12
+ <script async src="../assets/icons.js" id="tsd-icons-script"></script>
13
+ <script async src="../assets/search.js" id="tsd-search-script"></script>
14
+ <script async src="../assets/navigation.js" id="tsd-nav-script"></script>
15
+ </head>
16
+ <body>
17
+ <script>
18
+ document.documentElement.dataset.theme =
19
+ localStorage.getItem("tsd-theme") || "os";
20
+ document.body.style.display = "none";
21
+ setTimeout(
22
+ () =>
23
+ app ? app.showPage() : document.body.style.removeProperty("display"),
24
+ 500,
25
+ );
26
+ </script>
27
+ <header class="tsd-page-toolbar">
28
+ <div class="tsd-toolbar-contents container">
29
+ <div class="table-cell" id="tsd-search" data-base="..">
30
+ <div class="field">
31
+ <label
32
+ for="tsd-search-field"
33
+ class="tsd-widget tsd-toolbar-icon search no-caption"
34
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
35
+ <use href="../assets/icons.svg#icon-search"></use></svg></label
36
+ ><input type="text" id="tsd-search-field" aria-label="Search" />
37
+ </div>
38
+ <div class="field"><div id="tsd-toolbar-links"></div></div>
39
+ <ul class="results">
40
+ <li class="state loading">Preparing search index...</li>
41
+ <li class="state failure">The search index is not available</li>
42
+ </ul>
43
+ <a href="../index.html" class="title"
44
+ >@alphafi/alphafi-sdk - v0.0.39</a
45
+ >
46
+ </div>
47
+ <div class="table-cell" id="tsd-widgets">
48
+ <a
49
+ href="#"
50
+ class="tsd-widget tsd-toolbar-icon menu no-caption"
51
+ data-toggle="menu"
52
+ aria-label="Menu"
53
+ ><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
54
+ <use href="../assets/icons.svg#icon-menu"></use></svg
55
+ ></a>
56
+ </div>
57
+ </div>
58
+ </header>
59
+ <div class="container container-main">
60
+ <div class="col-content">
61
+ <div class="tsd-page-title">
62
+ <ul class="tsd-breadcrumb">
63
+ <li><a href="../modules.html">@alphafi/alphafi-sdk</a></li>
64
+ <li><a href="getSuiNodeUrl.html">getSuiNodeUrl</a></li>
65
+ </ul>
66
+ <h1>Function getSuiNodeUrl</h1>
67
+ </div>
68
+ <section class="tsd-panel">
69
+ <ul class="tsd-signatures">
70
+ <li class="tsd-signature tsd-anchor-link">
71
+ <a id="getSuiNodeUrl" class="tsd-anchor"></a
72
+ ><span class="tsd-kind-call-signature"
73
+ >get<wbr />Sui<wbr />Node<wbr />Url</span
74
+ ><span class="tsd-signature-symbol">(</span
75
+ ><span class="tsd-signature-symbol">)</span
76
+ ><span class="tsd-signature-symbol">: </span
77
+ ><span class="tsd-signature-type">string</span
78
+ ><a
79
+ href="#getSuiNodeUrl"
80
+ aria-label="Permalink"
81
+ class="tsd-anchor-icon"
82
+ ><svg viewBox="0 0 24 24">
83
+ <use href="../assets/icons.svg#icon-anchor"></use></svg
84
+ ></a>
85
+ </li>
86
+ <li class="tsd-description">
87
+ <div class="tsd-comment tsd-typography">
88
+ <p>
89
+ Get the current Sui node URL. If no URL has been set, it
90
+ defaults to the mainnet full node URL.
91
+ </p>
92
+ </div>
93
+ <h4 class="tsd-returns-title">
94
+ Returns <span class="tsd-signature-type">string</span>
95
+ </h4>
96
+ <div class="tsd-comment tsd-typography"></div>
97
+ <aside class="tsd-sources">
98
+ <ul>
99
+ <li>
100
+ Defined in
101
+ <a
102
+ href="https://github.com/AlphaFiTech/alphafi-sdk/blob/8d127b965a29120c71291bb27e989d4b06161cbc/src/sui-sdk/client.ts#L16"
103
+ >sui-sdk/client.ts:16</a
104
+ >
105
+ </li>
106
+ </ul>
107
+ </aside>
108
+ </li>
109
+ </ul>
110
+ </section>
111
+ </div>
112
+ <div class="col-sidebar">
113
+ <div class="page-menu">
114
+ <div class="tsd-navigation settings">
115
+ <details class="tsd-accordion">
116
+ <summary class="tsd-accordion-summary">
117
+ <h3>
118
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none">
119
+ <use href="../assets/icons.svg#icon-chevronDown"></use></svg
120
+ >Settings
121
+ </h3>
122
+ </summary>
123
+ <div class="tsd-accordion-details">
124
+ <div class="tsd-filter-visibility">
125
+ <span class="settings-label">Member Visibility</span>
126
+ <ul id="tsd-filter-options">
127
+ <li class="tsd-filter-item">
128
+ <label class="tsd-filter-input"
129
+ ><input
130
+ type="checkbox"
131
+ id="tsd-filter-inherited"
132
+ name="inherited"
133
+ checked
134
+ /><svg
135
+ width="32"
136
+ height="32"
137
+ viewBox="0 0 32 32"
138
+ aria-hidden="true"
139
+ >
140
+ <rect
141
+ class="tsd-checkbox-background"
142
+ width="30"
143
+ height="30"
144
+ x="1"
145
+ y="1"
146
+ rx="6"
147
+ fill="none"
148
+ ></rect>
149
+ <path
150
+ class="tsd-checkbox-checkmark"
151
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
152
+ stroke="none"
153
+ stroke-width="3.5"
154
+ stroke-linejoin="round"
155
+ fill="none"
156
+ ></path></svg
157
+ ><span>Inherited</span></label
158
+ >
159
+ </li>
160
+ <li class="tsd-filter-item">
161
+ <label class="tsd-filter-input"
162
+ ><input
163
+ type="checkbox"
164
+ id="tsd-filter-external"
165
+ name="external"
166
+ /><svg
167
+ width="32"
168
+ height="32"
169
+ viewBox="0 0 32 32"
170
+ aria-hidden="true"
171
+ >
172
+ <rect
173
+ class="tsd-checkbox-background"
174
+ width="30"
175
+ height="30"
176
+ x="1"
177
+ y="1"
178
+ rx="6"
179
+ fill="none"
180
+ ></rect>
181
+ <path
182
+ class="tsd-checkbox-checkmark"
183
+ d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
184
+ stroke="none"
185
+ stroke-width="3.5"
186
+ stroke-linejoin="round"
187
+ fill="none"
188
+ ></path></svg
189
+ ><span>External</span></label
190
+ >
191
+ </li>
192
+ </ul>
193
+ </div>
194
+ <div class="tsd-theme-toggle">
195
+ <label class="settings-label" for="tsd-theme">Theme</label
196
+ ><select id="tsd-theme">
197
+ <option value="os">OS</option>
198
+ <option value="light">Light</option>
199
+ <option value="dark">Dark</option>
200
+ </select>
201
+ </div>
202
+ </div>
203
+ </details>
204
+ </div>
205
+ </div>
206
+ <div class="site-menu">
207
+ <nav class="tsd-navigation">
208
+ <a href="../modules.html"
209
+ ><svg class="tsd-kind-icon" viewBox="0 0 24 24">
210
+ <use href="../assets/icons.svg#icon-1"></use></svg
211
+ ><span>@alphafi/alphafi-sdk - v0.0.39</span></a
212
+ >
213
+ <ul
214
+ class="tsd-small-nested-navigation"
215
+ id="tsd-nav-container"
216
+ data-base=".."
217
+ >
218
+ <li>Loading...</li>
219
+ </ul>
220
+ </nav>
221
+ </div>
222
+ </div>
223
+ </div>
224
+ <footer>
225
+ <p class="tsd-generator">
226
+ Generated using
227
+ <a href="https://typedoc.org/" target="_blank">TypeDoc</a>
228
+ </p>
229
+ </footer>
230
+ <div class="overlay"></div>
231
+ </body>
232
+ </html>