@n1xyz/nord-ts 0.0.15 → 0.0.16-29f6652

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 (155) hide show
  1. package/dist/bridge/client.js +2 -1
  2. package/dist/bridge/types.d.ts +2 -0
  3. package/dist/gen/common.js +1 -1
  4. package/dist/gen/nord.d.ts +13 -25
  5. package/dist/gen/nord.js +59 -66
  6. package/dist/nord/client/NordUser.d.ts +1 -1
  7. package/dist/nord/client/NordUser.js +15 -9
  8. package/dist/websocket/NordWebSocketClient.js +0 -2
  9. package/docs/assets/hierarchy.js +1 -1
  10. package/docs/assets/search.js +1 -1
  11. package/docs/classes/Nord.html +35 -35
  12. package/docs/classes/NordError.html +6 -6
  13. package/docs/classes/NordUser.html +37 -37
  14. package/docs/classes/NordWebSocketClient.html +6 -6
  15. package/docs/classes/SolanaBridgeClient.html +31 -26
  16. package/docs/classes/Subscriber.html +3 -3
  17. package/docs/enums/FillMode.html +2 -2
  18. package/docs/enums/KeyType.html +2 -2
  19. package/docs/enums/MetricPeriod.html +2 -2
  20. package/docs/enums/PdaSeedType.html +5 -3
  21. package/docs/enums/PeakTpsPeriodUnit.html +2 -2
  22. package/docs/enums/Side.html +2 -2
  23. package/docs/enums/WebSocketMessageType.html +2 -2
  24. package/docs/functions/actionQueryRollman.html +1 -1
  25. package/docs/functions/actionsQueryRollman.html +1 -1
  26. package/docs/functions/aggregateMetrics-1.html +1 -1
  27. package/docs/functions/assert.html +1 -1
  28. package/docs/functions/bigIntToProtoU128.html +1 -1
  29. package/docs/functions/bridgeToBN.html +1 -1
  30. package/docs/functions/bufferToHex.html +1 -1
  31. package/docs/functions/cancelOrder.html +1 -1
  32. package/docs/functions/checkPubKeyLength.html +1 -1
  33. package/docs/functions/checkedFetch.html +1 -1
  34. package/docs/functions/createSession.html +1 -1
  35. package/docs/functions/decodeLengthDelimited.html +1 -1
  36. package/docs/functions/encodeLengthDelimited.html +1 -1
  37. package/docs/functions/fillModeToProtoFillMode.html +1 -1
  38. package/docs/functions/findMarket.html +1 -1
  39. package/docs/functions/findPda.html +1 -1
  40. package/docs/functions/findToken.html +1 -1
  41. package/docs/functions/fromBN.html +1 -1
  42. package/docs/functions/getAccount.html +1 -1
  43. package/docs/functions/getActionNonce.html +1 -1
  44. package/docs/functions/getCurrentTps.html +1 -1
  45. package/docs/functions/getInfo.html +1 -1
  46. package/docs/functions/getLastActionId.html +1 -1
  47. package/docs/functions/getMedianLatency.html +1 -1
  48. package/docs/functions/getOrderbook.html +1 -1
  49. package/docs/functions/getPeakTps.html +1 -1
  50. package/docs/functions/getTimestamp.html +1 -1
  51. package/docs/functions/getTotalTransactions.html +1 -1
  52. package/docs/functions/getTrades.html +1 -1
  53. package/docs/functions/getUserAccountIds.html +1 -1
  54. package/docs/functions/hexToBuffer.html +1 -1
  55. package/docs/functions/initWebSocketClient.html +1 -1
  56. package/docs/functions/keypairFromPrivateKey.html +1 -1
  57. package/docs/functions/makeSigningFunction.html +1 -1
  58. package/docs/functions/makeWalletSignFn.html +1 -1
  59. package/docs/functions/marketsStats.html +1 -1
  60. package/docs/functions/optExpect.html +1 -1
  61. package/docs/functions/optMap.html +1 -1
  62. package/docs/functions/optUnwrap.html +1 -1
  63. package/docs/functions/panic.html +1 -1
  64. package/docs/functions/placeOrder.html +1 -1
  65. package/docs/functions/queryAction.html +1 -1
  66. package/docs/functions/queryPrometheus.html +1 -1
  67. package/docs/functions/queryRecentActions.html +1 -1
  68. package/docs/functions/revokeSession.html +1 -1
  69. package/docs/functions/shortenPublicKey.html +1 -1
  70. package/docs/functions/signAction.html +1 -1
  71. package/docs/functions/toBN.html +1 -1
  72. package/docs/functions/toScaledU128.html +1 -1
  73. package/docs/functions/toScaledU64.html +1 -1
  74. package/docs/functions/transfer.html +1 -1
  75. package/docs/functions/withdraw.html +1 -1
  76. package/docs/hierarchy.html +1 -1
  77. package/docs/interfaces/Account.html +2 -2
  78. package/docs/interfaces/ActionInfo.html +2 -2
  79. package/docs/interfaces/ActionNonceResponse.html +2 -2
  80. package/docs/interfaces/ActionQuery.html +2 -2
  81. package/docs/interfaces/ActionResponse.html +2 -2
  82. package/docs/interfaces/ActionsExtendedInfo.html +2 -2
  83. package/docs/interfaces/ActionsQuery.html +2 -2
  84. package/docs/interfaces/ActionsResponse.html +2 -2
  85. package/docs/interfaces/AggregateMetrics.html +2 -2
  86. package/docs/interfaces/BlockFacts.html +5 -5
  87. package/docs/interfaces/BlockQuery.html +2 -2
  88. package/docs/interfaces/BlockResponse.html +2 -2
  89. package/docs/interfaces/BlockSummary.html +2 -2
  90. package/docs/interfaces/BlockSummaryResponse.html +2 -2
  91. package/docs/interfaces/DeltaEvent.html +2 -2
  92. package/docs/interfaces/DepositSplParams.html +6 -6
  93. package/docs/interfaces/Info.html +2 -2
  94. package/docs/interfaces/Market.html +2 -2
  95. package/docs/interfaces/MarketStats.html +2 -2
  96. package/docs/interfaces/MarketsStatsResponse.html +2 -2
  97. package/docs/interfaces/NordConfig.html +7 -7
  98. package/docs/interfaces/NordWebSocketClientEvents.html +2 -2
  99. package/docs/interfaces/NordWebSocketEvents.html +2 -2
  100. package/docs/interfaces/Order.html +2 -2
  101. package/docs/interfaces/OrderInfo.html +2 -2
  102. package/docs/interfaces/OrderbookEntry.html +2 -2
  103. package/docs/interfaces/OrderbookQuery.html +2 -2
  104. package/docs/interfaces/OrderbookResponse.html +2 -2
  105. package/docs/interfaces/OrderbookSubscription.html +5 -5
  106. package/docs/interfaces/PerpMarketStats.html +2 -2
  107. package/docs/interfaces/RollmanActionExtendedInfo.html +2 -2
  108. package/docs/interfaces/RollmanActionInfo.html +2 -2
  109. package/docs/interfaces/RollmanActionResponse.html +2 -2
  110. package/docs/interfaces/RollmanActionsResponse.html +2 -2
  111. package/docs/interfaces/RollmanBlockResponse.html +2 -2
  112. package/docs/interfaces/SPLTokenInfo.html +5 -5
  113. package/docs/interfaces/SolanaBridgeConfig.html +8 -6
  114. package/docs/interfaces/StateFacts.html +5 -5
  115. package/docs/interfaces/SubscriberConfig.html +2 -2
  116. package/docs/interfaces/TimestampResponse.html +2 -2
  117. package/docs/interfaces/Token.html +2 -2
  118. package/docs/interfaces/TokenInfo.html +2 -2
  119. package/docs/interfaces/Trade.html +2 -2
  120. package/docs/interfaces/TradeSubscription.html +5 -5
  121. package/docs/interfaces/Trades.html +2 -2
  122. package/docs/interfaces/TradesQuery.html +2 -2
  123. package/docs/interfaces/TradesResponse.html +2 -2
  124. package/docs/interfaces/TransferParams.html +4 -4
  125. package/docs/interfaces/UserAccountIdsQuery.html +2 -2
  126. package/docs/interfaces/UserAccountIdsResponse.html +2 -2
  127. package/docs/interfaces/WebSocketAccountUpdate.html +2 -2
  128. package/docs/interfaces/WebSocketDeltaUpdate.html +2 -2
  129. package/docs/interfaces/WebSocketSubscription.html +2 -2
  130. package/docs/interfaces/WebSocketTradeUpdate.html +2 -2
  131. package/docs/interfaces/WithdrawalClaim.html +7 -7
  132. package/docs/interfaces/WithdrawalParams.html +4 -4
  133. package/docs/types/BigIntValue.html +1 -1
  134. package/docs/types/SubscriptionPattern.html +1 -1
  135. package/docs/types/SubscriptionType.html +1 -1
  136. package/docs/types/WebSocketMessage.html +1 -1
  137. package/docs/variables/DEBUG_KEYS.html +1 -1
  138. package/docs/variables/DEFAULT_FUNDING_AMOUNTS.html +1 -1
  139. package/docs/variables/DEV_TOKEN_INFOS.html +1 -1
  140. package/docs/variables/DEV_URL.html +1 -1
  141. package/docs/variables/MAX_BUFFER_LEN.html +1 -1
  142. package/docs/variables/SESSION_TTL.html +1 -1
  143. package/docs/variables/WEBSERVER_DEV_URL.html +1 -1
  144. package/docs/variables/ZERO_DECIMAL.html +1 -1
  145. package/docs/variables/_private.html +1 -1
  146. package/package.json +3 -1
  147. package/src/bridge/client.ts +2 -1
  148. package/src/bridge/types.ts +2 -0
  149. package/src/gen/common.ts +1 -1
  150. package/src/gen/nord.ts +59 -66
  151. package/src/nord/client/NordUser.ts +20 -10
  152. package/src/websocket/NordWebSocketClient.ts +0 -2
  153. package/tsconfig.json +1 -1
  154. package/dist/idl/bridge.d.ts +0 -2
  155. package/dist/idl/bridge.js +0 -930
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Nord | @n1xyz/nord-ts</title><meta name="description" content="Documentation for @n1xyz/nord-ts"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@n1xyz/nord-ts</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@n1xyz/nord-ts</a></li><li><a href="Nord.html">Nord</a></li></ul><h1>Class Nord</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Main Nord client class for interacting with the Nord API</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L55">src/nord/client/Nord.ts:55</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="Nord.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L55">src/nord/client/Nord.ts:55</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="Nord.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
3
3
  </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="Nord.html#bridgevk" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bridge<wbr/>Vk</span></a>
4
4
  <a href="Nord.html#markets" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markets</span></a>
5
5
  <a href="Nord.html#solanaurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>solana<wbr/>Url</span></a>
@@ -53,28 +53,28 @@ Supports both formats:</p>
53
53
  </ul>
54
54
  </div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">webServerUrl</span><a id="webserverurl" class="tsd-anchor"></a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>Base URL for the Nord web server</p>
55
55
  </div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <a href="Nord.html" class="tsd-signature-type tsd-kind-class">Nord</a></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws" class="tsd-anchor"></a>Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If required configuration is missing</p>
56
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L86">src/nord/client/Nord.ts:86</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="bridgevk" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>bridge<wbr/>Vk</span><a href="#bridgevk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bridgeVk</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Bridge verification key</p>
57
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L60">src/nord/client/Nord.ts:60</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="markets" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>markets</span><a href="#markets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">markets</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Market.html" class="tsd-signature-type tsd-kind-interface">Market</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><p>Available markets</p>
58
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L69">src/nord/client/Nord.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="solanaurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>solana<wbr/>Url</span><a href="#solanaurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">solanaUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Solana RPC URL</p>
59
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L66">src/nord/client/Nord.ts:66</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="tokens" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tokens</span><a href="#tokens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tokens</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Token.html" class="tsd-signature-type tsd-kind-interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><p>Available tokens</p>
60
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L72">src/nord/client/Nord.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="webserverurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>web<wbr/>Server<wbr/>Url</span><a href="#webserverurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">webServerUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Base URL for the Nord web server</p>
61
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L57">src/nord/client/Nord.ts:57</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="accountexists" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>account<wbr/>Exists</span><a href="#accountexists" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="accountexists-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">accountExists</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#accountexists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if an account exists for the given address</p>
56
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L86">src/nord/client/Nord.ts:86</a></li></ul></aside></div></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="bridgevk" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>bridge<wbr/>Vk</span><a href="#bridgevk" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">bridgeVk</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Bridge verification key</p>
57
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L60">src/nord/client/Nord.ts:60</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="markets" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>markets</span><a href="#markets" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">markets</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Market.html" class="tsd-signature-type tsd-kind-interface">Market</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><p>Available markets</p>
58
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L69">src/nord/client/Nord.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="solanaurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>solana<wbr/>Url</span><a href="#solanaurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">solanaUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Solana RPC URL</p>
59
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L66">src/nord/client/Nord.ts:66</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="tokens" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>tokens</span><a href="#tokens" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">tokens</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/Token.html" class="tsd-signature-type tsd-kind-interface">Token</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div><div class="tsd-comment tsd-typography"><p>Available tokens</p>
60
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L72">src/nord/client/Nord.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="webserverurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>web<wbr/>Server<wbr/>Url</span><a href="#webserverurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">webServerUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Base URL for the Nord web server</p>
61
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L57">src/nord/client/Nord.ts:57</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="accountexists" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>account<wbr/>Exists</span><a href="#accountexists" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="accountexists-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">accountExists</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">address</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#accountexists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Check if an account exists for the given address</p>
62
62
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">address</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>The public key address to check</p>
63
63
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><p>True if the account exists, false otherwise</p>
64
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L599">src/nord/client/Nord.ts:599</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="actionqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>action<wbr/>Query<wbr/>Rollman</span><a href="#actionqueryrollman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="actionqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">actionQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#actionqueryrollman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query an action from Rollman</p>
64
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L601">src/nord/client/Nord.ts:601</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="actionqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>action<wbr/>Query<wbr/>Rollman</span><a href="#actionqueryrollman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="actionqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">actionQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#actionqueryrollman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query an action from Rollman</p>
65
65
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">query</span>: <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a></span><div class="tsd-comment tsd-typography"><p>Action query parameters</p>
66
66
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Rollman action response</p>
67
67
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-1" class="tsd-anchor"></a>Throws<a href="#throws-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
68
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L364">src/nord/client/Nord.ts:364</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="actionsqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>actions<wbr/>Query<wbr/>Rollman</span><a href="#actionsqueryrollman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="actionsqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">actionsQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">last_n</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionsResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#actionsqueryrollman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query actions from Rollman</p>
68
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L366">src/nord/client/Nord.ts:366</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="actionsqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>actions<wbr/>Query<wbr/>Rollman</span><a href="#actionsqueryrollman" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="actionsqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">actionsQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">last_n</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionsResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#actionsqueryrollman-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query actions from Rollman</p>
69
69
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">last_n</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of recent actions to query</p>
70
70
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/RollmanActionsResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Rollman actions response</p>
71
71
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-2" class="tsd-anchor"></a>Throws<a href="#throws-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
72
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L375">src/nord/client/Nord.ts:375</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="aggregatemetrics" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>aggregate<wbr/>Metrics</span><a href="#aggregatemetrics" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="aggregatemetrics-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">aggregateMetrics</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">txPeakTpsPeriod</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">txPeakTpsPeriodUnit</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/PeakTpsPeriodUnit.html" class="tsd-signature-type tsd-kind-enum">PeakTpsPeriodUnit</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/AggregateMetrics.html" class="tsd-signature-type tsd-kind-interface">AggregateMetrics</a><span class="tsd-signature-symbol">&gt;</span><a href="#aggregatemetrics-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fetch aggregate metrics from the Nord API</p>
72
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L377">src/nord/client/Nord.ts:377</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="aggregatemetrics" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>aggregate<wbr/>Metrics</span><a href="#aggregatemetrics" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="aggregatemetrics-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">aggregateMetrics</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">txPeakTpsPeriod</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">txPeakTpsPeriodUnit</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/PeakTpsPeriodUnit.html" class="tsd-signature-type tsd-kind-enum">PeakTpsPeriodUnit</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/AggregateMetrics.html" class="tsd-signature-type tsd-kind-interface">AggregateMetrics</a><span class="tsd-signature-symbol">&gt;</span><a href="#aggregatemetrics-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fetch aggregate metrics from the Nord API</p>
73
73
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">txPeakTpsPeriod</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></span><div class="tsd-comment tsd-typography"><p>Period for peak TPS calculation</p>
74
74
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">txPeakTpsPeriodUnit</span>: <a href="../enums/PeakTpsPeriodUnit.html" class="tsd-signature-type tsd-kind-enum">PeakTpsPeriodUnit</a><span class="tsd-signature-symbol"> = PeakTpsPeriodUnit.Day</span></span><div class="tsd-comment tsd-typography"><p>Unit for peak TPS period</p>
75
75
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/AggregateMetrics.html" class="tsd-signature-type tsd-kind-interface">AggregateMetrics</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Aggregate metrics</p>
76
76
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-3" class="tsd-anchor"></a>Throws<a href="#throws-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
77
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L303">src/nord/client/Nord.ts:303</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="createwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#createwebsocketclient" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="createwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">createWebSocketClient</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WebSocketSubscriptionOptions</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a><a href="#createwebsocketclient-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create a WebSocket client with specific subscriptions</p>
77
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L305">src/nord/client/Nord.ts:305</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="createwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#createwebsocketclient" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="createwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">createWebSocketClient</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">WebSocketSubscriptionOptions</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a><a href="#createwebsocketclient-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Create a WebSocket client with specific subscriptions</p>
78
78
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">WebSocketSubscriptionOptions</span></span><div class="tsd-comment tsd-typography"><p>Subscription options that specify which data streams to subscribe to</p>
79
79
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a></h4><p>A new WebSocket client with the requested subscriptions</p>
80
80
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-4" class="tsd-anchor"></a>Throws<a href="#throws-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If invalid subscription options are provided</p>
@@ -84,88 +84,88 @@ Supports both formats:</p>
84
84
  </div><div class="tsd-tag-example"><h4 class="tsd-anchor-link"><a id="example-1" class="tsd-anchor"></a>Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">// Create a client for trades from multiple markets</span><br/><span class="hl-6">const</span><span class="hl-2"> </span><span class="hl-7">tradesClient</span><span class="hl-2"> = </span><span class="hl-5">nord</span><span class="hl-2">.</span><span class="hl-1">createWebSocketClient</span><span class="hl-2">({</span><br/><span class="hl-2"> </span><span class="hl-5">trades:</span><span class="hl-2"> [</span><span class="hl-3">&quot;BTCUSDC&quot;</span><span class="hl-2">, </span><span class="hl-3">&quot;ETHUSDC&quot;</span><span class="hl-2">]</span><br/><span class="hl-2">});</span>
85
85
  </code><button type="button">Copy</button></pre>
86
86
 
87
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L125">src/nord/client/Nord.ts:125</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="fetchnordinfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetch<wbr/>Nord<wbr/>Info</span><a href="#fetchnordinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="fetchnordinfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetchNordInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#fetchnordinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fetch information about Nord markets and tokens</p>
87
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L125">src/nord/client/Nord.ts:125</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="fetchnordinfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>fetch<wbr/>Nord<wbr/>Info</span><a href="#fetchnordinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="fetchnordinfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">fetchNordInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#fetchnordinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Fetch information about Nord markets and tokens</p>
88
88
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-5" class="tsd-anchor"></a>Throws<a href="#throws-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
89
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L190">src/nord/client/Nord.ts:190</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getaccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Account</span><a href="#getaccount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getaccount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getAccount</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accountId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Account.html" class="tsd-signature-type tsd-kind-interface">Account</a><span class="tsd-signature-symbol">&gt;</span><a href="#getaccount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get account information</p>
89
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L190">src/nord/client/Nord.ts:190</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getaccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Account</span><a href="#getaccount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getaccount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getAccount</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accountId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Account.html" class="tsd-signature-type tsd-kind-interface">Account</a><span class="tsd-signature-symbol">&gt;</span><a href="#getaccount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get account information</p>
90
90
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">accountId</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Account ID to get information for</p>
91
91
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Account.html" class="tsd-signature-type tsd-kind-interface">Account</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Account information</p>
92
92
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-6" class="tsd-anchor"></a>Throws<a href="#throws-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
93
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L579">src/nord/client/Nord.ts:579</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getactionnonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Action<wbr/>Nonce</span><a href="#getactionnonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getactionnonce-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getActionNonce</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getactionnonce-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the next action nonce from the Nord server</p>
93
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L581">src/nord/client/Nord.ts:581</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getactionnonce" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Action<wbr/>Nonce</span><a href="#getactionnonce" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getactionnonce-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getActionNonce</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getactionnonce-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the next action nonce from the Nord server</p>
94
94
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Next action nonce</p>
95
95
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-7" class="tsd-anchor"></a>Throws<a href="#throws-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
96
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L181">src/nord/client/Nord.ts:181</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getcurrenttps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>Tps</span><a href="#getcurrenttps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getcurrenttps-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getCurrentTps</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getcurrenttps-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get current transactions per second</p>
96
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L181">src/nord/client/Nord.ts:181</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getcurrenttps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Current<wbr/>Tps</span><a href="#getcurrenttps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getcurrenttps-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getCurrentTps</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getcurrenttps-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get current transactions per second</p>
97
97
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">period</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;1m&quot;</span></span><div class="tsd-comment tsd-typography"><p>Time period for the query</p>
98
98
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Current TPS value</p>
99
99
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-8" class="tsd-anchor"></a>Throws<a href="#throws-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
100
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L321">src/nord/client/Nord.ts:321</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getinfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Info</span><a href="#getinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getinfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Info.html" class="tsd-signature-type tsd-kind-interface">Info</a><span class="tsd-signature-symbol">&gt;</span><a href="#getinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get information about the Nord server</p>
100
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L323">src/nord/client/Nord.ts:323</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getinfo" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Info</span><a href="#getinfo" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getinfo-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getInfo</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Info.html" class="tsd-signature-type tsd-kind-interface">Info</a><span class="tsd-signature-symbol">&gt;</span><a href="#getinfo-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get information about the Nord server</p>
101
101
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/Info.html" class="tsd-signature-type tsd-kind-interface">Info</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Information about markets and tokens</p>
102
102
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-9" class="tsd-anchor"></a>Throws<a href="#throws-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
103
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L568">src/nord/client/Nord.ts:568</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getlastactionid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Last<wbr/>Action<wbr/>Id</span><a href="#getlastactionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getlastactionid-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getLastActionId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getlastactionid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the last action ID</p>
103
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L570">src/nord/client/Nord.ts:570</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getlastactionid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Last<wbr/>Action<wbr/>Id</span><a href="#getlastactionid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getlastactionid-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getLastActionId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getlastactionid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the last action ID</p>
104
104
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Last action ID</p>
105
105
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-10" class="tsd-anchor"></a>Throws<a href="#throws-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
106
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L291">src/nord/client/Nord.ts:291</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getmarketstats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Market<wbr/>Stats</span><a href="#getmarketstats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getmarketstats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getMarketStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getmarketstats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get market statistics (alias for marketsStats for backward compatibility)</p>
106
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L293">src/nord/client/Nord.ts:293</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getmarketstats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">get<wbr/>Market<wbr/>Stats</span><a href="#getmarketstats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getmarketstats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getMarketStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getmarketstats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get market statistics (alias for marketsStats for backward compatibility)</p>
107
107
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Market statistics response</p>
108
108
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated" class="tsd-anchor"></a>Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Use marketsStats instead</p>
109
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L589">src/nord/client/Nord.ts:589</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getmedianlatency" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Median<wbr/>Latency</span><a href="#getmedianlatency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getmedianlatency-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getMedianLatency</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getmedianlatency-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get median transaction latency</p>
109
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L591">src/nord/client/Nord.ts:591</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getmedianlatency" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Median<wbr/>Latency</span><a href="#getmedianlatency" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getmedianlatency-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getMedianLatency</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getmedianlatency-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get median transaction latency</p>
110
110
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">period</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;1m&quot;</span></span><div class="tsd-comment tsd-typography"><p>Time period for the query</p>
111
111
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Median latency in milliseconds</p>
112
112
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-11" class="tsd-anchor"></a>Throws<a href="#throws-11" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
113
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L343">src/nord/client/Nord.ts:343</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getorderbook" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Orderbook</span><a href="#getorderbook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getorderbook-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getOrderbook</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OrderbookQuery.html" class="tsd-signature-type tsd-kind-interface">OrderbookQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/OrderbookResponse.html" class="tsd-signature-type tsd-kind-interface">OrderbookResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getorderbook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get orderbook for a market</p>
113
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L345">src/nord/client/Nord.ts:345</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getorderbook" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Orderbook</span><a href="#getorderbook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getorderbook-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getOrderbook</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OrderbookQuery.html" class="tsd-signature-type tsd-kind-interface">OrderbookQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/OrderbookResponse.html" class="tsd-signature-type tsd-kind-interface">OrderbookResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getorderbook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get orderbook for a market</p>
114
114
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">query</span>: <a href="../interfaces/OrderbookQuery.html" class="tsd-signature-type tsd-kind-interface">OrderbookQuery</a></span><div class="tsd-comment tsd-typography"><p>Orderbook query parameters (either market_id or symbol must be provided)</p>
115
115
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/OrderbookResponse.html" class="tsd-signature-type tsd-kind-interface">OrderbookResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Orderbook response</p>
116
116
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-12" class="tsd-anchor"></a>Throws<a href="#throws-12" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails or if the market symbol is unknown</p>
117
117
  </div><div class="tsd-tag-remarks"><h4 class="tsd-anchor-link"><a id="remarks" class="tsd-anchor"></a>Remarks<a href="#remarks" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>It's recommended to initialize the Nord client using the static <code>initNord</code> method
118
118
  to ensure market information is properly loaded before calling this method.</p>
119
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L543">src/nord/client/Nord.ts:543</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getpeaktps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Peak<wbr/>Tps</span><a href="#getpeaktps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getpeaktps-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getPeakTps</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getpeaktps-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get peak transactions per second</p>
119
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L545">src/nord/client/Nord.ts:545</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getpeaktps" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Peak<wbr/>Tps</span><a href="#getpeaktps" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getpeaktps-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getPeakTps</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">period</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#getpeaktps-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get peak transactions per second</p>
120
120
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">period</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = &quot;24h&quot;</span></span><div class="tsd-comment tsd-typography"><p>Time period for the query</p>
121
121
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Peak TPS value</p>
122
122
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-13" class="tsd-anchor"></a>Throws<a href="#throws-13" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
123
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L332">src/nord/client/Nord.ts:332</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getsolanaprogramid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Solana<wbr/>Program<wbr/>Id</span><a href="#getsolanaprogramid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getsolanaprogramid-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getSolanaProgramId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsolanaprogramid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the Solana program ID derived from bridge VK</p>
123
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L334">src/nord/client/Nord.ts:334</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getsolanaprogramid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Solana<wbr/>Program<wbr/>Id</span><a href="#getsolanaprogramid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getsolanaprogramid-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getSolanaProgramId</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><a href="#getsolanaprogramid-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the Solana program ID derived from bridge VK</p>
124
124
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><p>Program ID string</p>
125
125
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-14" class="tsd-anchor"></a>Throws<a href="#throws-14" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If program ID hasn't been initialized</p>
126
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L245">src/nord/client/Nord.ts:245</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettimestamp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Timestamp</span><a href="#gettimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettimestamp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTimestamp</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettimestamp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the current timestamp from the Nord server</p>
126
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L245">src/nord/client/Nord.ts:245</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettimestamp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Timestamp</span><a href="#gettimestamp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettimestamp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTimestamp</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettimestamp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get the current timestamp from the Nord server</p>
127
127
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">bigint</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Current timestamp as a bigint</p>
128
128
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-15" class="tsd-anchor"></a>Throws<a href="#throws-15" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
129
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L171">src/nord/client/Nord.ts:171</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettotaltransactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Total<wbr/>Transactions</span><a href="#gettotaltransactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettotaltransactions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTotalTransactions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettotaltransactions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get total transaction count</p>
129
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L171">src/nord/client/Nord.ts:171</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettotaltransactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Total<wbr/>Transactions</span><a href="#gettotaltransactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettotaltransactions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTotalTransactions</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#gettotaltransactions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get total transaction count</p>
130
130
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Total transaction count</p>
131
131
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-16" class="tsd-anchor"></a>Throws<a href="#throws-16" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
132
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L353">src/nord/client/Nord.ts:353</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettrades" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Trades</span><a href="#gettrades" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettrades-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTrades</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/TradesQuery.html" class="tsd-signature-type tsd-kind-interface">TradesQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/TradesResponse.html" class="tsd-signature-type tsd-kind-interface">TradesResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#gettrades-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get trades for a market</p>
132
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L355">src/nord/client/Nord.ts:355</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettrades" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Trades</span><a href="#gettrades" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="gettrades-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTrades</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/TradesQuery.html" class="tsd-signature-type tsd-kind-interface">TradesQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/TradesResponse.html" class="tsd-signature-type tsd-kind-interface">TradesResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#gettrades-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get trades for a market</p>
133
133
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">query</span>: <a href="../interfaces/TradesQuery.html" class="tsd-signature-type tsd-kind-interface">TradesQuery</a></span><div class="tsd-comment tsd-typography"><p>Trades query parameters</p>
134
134
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/TradesResponse.html" class="tsd-signature-type tsd-kind-interface">TradesResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Trades response</p>
135
135
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-17" class="tsd-anchor"></a>Throws<a href="#throws-17" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
136
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L517">src/nord/client/Nord.ts:517</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getuseraccountids" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Account<wbr/>Ids</span><a href="#getuseraccountids" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getuseraccountids-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getUserAccountIds</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/UserAccountIdsQuery.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UserAccountIdsResponse.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getuseraccountids-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get user account IDs</p>
136
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L519">src/nord/client/Nord.ts:519</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getuseraccountids" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Account<wbr/>Ids</span><a href="#getuseraccountids" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="getuseraccountids-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getUserAccountIds</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/UserAccountIdsQuery.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UserAccountIdsResponse.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#getuseraccountids-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get user account IDs</p>
137
137
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">query</span>: <a href="../interfaces/UserAccountIdsQuery.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsQuery</a></span><div class="tsd-comment tsd-typography"><p>User account IDs query parameters</p>
138
138
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/UserAccountIdsResponse.html" class="tsd-signature-type tsd-kind-interface">UserAccountIdsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>User account IDs response</p>
139
139
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-18" class="tsd-anchor"></a>Throws<a href="#throws-18" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
140
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L528">src/nord/client/Nord.ts:528</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="marketsstats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>markets<wbr/>Stats</span><a href="#marketsstats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="marketsstats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">marketsStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#marketsstats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get market statistics</p>
140
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L530">src/nord/client/Nord.ts:530</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="marketsstats" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>markets<wbr/>Stats</span><a href="#marketsstats" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="marketsstats-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">marketsStats</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#marketsstats-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Get market statistics</p>
141
141
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Market statistics response</p>
142
142
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-19" class="tsd-anchor"></a>Throws<a href="#throws-19" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
143
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L258">src/nord/client/Nord.ts:258</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Action</span><a href="#queryaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryAction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionResponse.html" class="tsd-signature-type tsd-kind-interface">ActionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query a specific action</p>
143
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L260">src/nord/client/Nord.ts:260</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryaction" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Action</span><a href="#queryaction" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryaction-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryAction</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionResponse.html" class="tsd-signature-type tsd-kind-interface">ActionResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryaction-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query a specific action</p>
144
144
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">query</span>: <a href="../interfaces/ActionQuery.html" class="tsd-signature-type tsd-kind-interface">ActionQuery</a></span><div class="tsd-comment tsd-typography"><p>Action query parameters</p>
145
145
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionResponse.html" class="tsd-signature-type tsd-kind-interface">ActionResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Action response</p>
146
146
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-20" class="tsd-anchor"></a>Throws<a href="#throws-20" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
147
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L269">src/nord/client/Nord.ts:269</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryprometheus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Prometheus</span><a href="#queryprometheus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryprometheus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryPrometheus</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#queryprometheus-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query Prometheus metrics</p>
147
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L271">src/nord/client/Nord.ts:271</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryprometheus" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Prometheus</span><a href="#queryprometheus" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryprometheus-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryPrometheus</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span><a href="#queryprometheus-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query Prometheus metrics</p>
148
148
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">params</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Prometheus query parameters</p>
149
149
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Query result as a number</p>
150
150
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-21" class="tsd-anchor"></a>Throws<a href="#throws-21" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
151
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L386">src/nord/client/Nord.ts:386</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryrecentactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Recent<wbr/>Actions</span><a href="#queryrecentactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryrecentactions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryRecentActions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">from</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionsResponse.html" class="tsd-signature-type tsd-kind-interface">ActionsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryrecentactions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query recent actions</p>
151
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L388">src/nord/client/Nord.ts:388</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryrecentactions" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Recent<wbr/>Actions</span><a href="#queryrecentactions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="queryrecentactions-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryRecentActions</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">from</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">to</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionsResponse.html" class="tsd-signature-type tsd-kind-interface">ActionsResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryrecentactions-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Query recent actions</p>
152
152
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">from</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Starting action index</p>
153
153
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">to</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Ending action index</p>
154
154
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/ActionsResponse.html" class="tsd-signature-type tsd-kind-interface">ActionsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Actions response</p>
155
155
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-22" class="tsd-anchor"></a>Throws<a href="#throws-22" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the request fails</p>
156
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L281">src/nord/client/Nord.ts:281</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribeaccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Account</span><a href="#subscribeaccount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribeaccount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeAccount</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accountId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UserSubscription</span><a href="#subscribeaccount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to account updates</p>
156
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L283">src/nord/client/Nord.ts:283</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribeaccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Account</span><a href="#subscribeaccount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribeaccount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeAccount</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">accountId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UserSubscription</span><a href="#subscribeaccount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to account updates</p>
157
157
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">accountId</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Account ID to subscribe to</p>
158
158
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">UserSubscription</span></h4><p>User subscription</p>
159
159
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-23" class="tsd-anchor"></a>Throws<a href="#throws-23" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If accountId is invalid</p>
160
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L481">src/nord/client/Nord.ts:481</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribeorderbook" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Orderbook</span><a href="#subscribeorderbook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribeorderbook-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeOrderbook</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OrderbookSubscription.html" class="tsd-signature-type tsd-kind-interface">OrderbookSubscription</a><a href="#subscribeorderbook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to orderbook updates for a market</p>
160
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L483">src/nord/client/Nord.ts:483</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribeorderbook" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Orderbook</span><a href="#subscribeorderbook" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribeorderbook-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeOrderbook</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/OrderbookSubscription.html" class="tsd-signature-type tsd-kind-interface">OrderbookSubscription</a><a href="#subscribeorderbook-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to orderbook updates for a market</p>
161
161
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">symbol</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Market symbol</p>
162
162
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/OrderbookSubscription.html" class="tsd-signature-type tsd-kind-interface">OrderbookSubscription</a></h4><p>Orderbook subscription</p>
163
163
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-24" class="tsd-anchor"></a>Throws<a href="#throws-24" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If symbol is invalid</p>
164
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L397">src/nord/client/Nord.ts:397</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribetrades" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Trades</span><a href="#subscribetrades" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribetrades-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeTrades</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/TradeSubscription.html" class="tsd-signature-type tsd-kind-interface">TradeSubscription</a><a href="#subscribetrades-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to trade updates for a market</p>
164
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L399">src/nord/client/Nord.ts:399</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="subscribetrades" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>subscribe<wbr/>Trades</span><a href="#subscribetrades" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="subscribetrades-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">subscribeTrades</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">symbol</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/TradeSubscription.html" class="tsd-signature-type tsd-kind-interface">TradeSubscription</a><a href="#subscribetrades-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Subscribe to trade updates for a market</p>
165
165
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">symbol</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Market symbol</p>
166
166
  </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../interfaces/TradeSubscription.html" class="tsd-signature-type tsd-kind-interface">TradeSubscription</a></h4><p>Trade subscription</p>
167
167
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-25" class="tsd-anchor"></a>Throws<a href="#throws-25" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If symbol is invalid</p>
168
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L437">src/nord/client/Nord.ts:437</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="initnord" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>init<wbr/>Nord</span><a href="#initnord" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="initnord-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">initNord</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nordConfig</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/NordConfig.html" class="tsd-signature-type tsd-kind-interface">NordConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Nord.html" class="tsd-signature-type tsd-kind-class">Nord</a><span class="tsd-signature-symbol">&gt;</span><a href="#initnord-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Initialize a new Nord client</p>
168
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L439">src/nord/client/Nord.ts:439</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="initnord" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>init<wbr/>Nord</span><a href="#initnord" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class=""><div class="tsd-signature tsd-anchor-link"><a id="initnord-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">initNord</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nordConfig</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/NordConfig.html" class="tsd-signature-type tsd-kind-interface">NordConfig</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Nord.html" class="tsd-signature-type tsd-kind-class">Nord</a><span class="tsd-signature-symbol">&gt;</span><a href="#initnord-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><p>Initialize a new Nord client</p>
169
169
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nordConfig</span>: <a href="../interfaces/NordConfig.html" class="tsd-signature-type tsd-kind-interface">NordConfig</a></span><div class="tsd-comment tsd-typography"><p>Configuration options for the Nord client</p>
170
170
  </div><div class="tsd-comment tsd-typography"></div><div class="tsd-comment tsd-typography"><p>Configuration options for the Nord client</p>
171
171
  </div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-kind-property">bridgeVk</span><a id="bridgevk" class="tsd-anchor"></a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>Bridge verification key</p>
@@ -186,4 +186,4 @@ Supports both formats:</p>
186
186
  </div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><span class="tsd-kind-property">webServerUrl</span><a id="webserverurl" class="tsd-anchor"></a><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><p>Base URL for the Nord web server</p>
187
187
  </div><div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Nord.html" class="tsd-signature-type tsd-kind-class">Nord</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Initialized Nord client</p>
188
188
  <div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link"><a id="throws-26" class="tsd-anchor"></a>Throws<a href="#throws-26" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If initialization fails</p>
189
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/db1e8d9daec7392ed11d31400e5eab5107c77b3e/ts/src/nord/client/Nord.ts#L216">src/nord/client/Nord.ts:216</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#bridgevk" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bridge<wbr/>Vk</span></a><a href="#markets" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markets</span></a><a href="#solanaurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>solana<wbr/>Url</span></a><a href="#tokens" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tokens</span></a><a href="#webserverurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>web<wbr/>Server<wbr/>Url</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#accountexists" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>account<wbr/>Exists</span></a><a href="#actionqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>action<wbr/>Query<wbr/>Rollman</span></a><a href="#actionsqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>actions<wbr/>Query<wbr/>Rollman</span></a><a href="#aggregatemetrics" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>aggregate<wbr/>Metrics</span></a><a href="#createwebsocketclient" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#fetchnordinfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>Nord<wbr/>Info</span></a><a href="#getaccount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Account</span></a><a href="#getactionnonce" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Action<wbr/>Nonce</span></a><a href="#getcurrenttps" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Tps</span></a><a href="#getinfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Info</span></a><a href="#getlastactionid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Last<wbr/>Action<wbr/>Id</span></a><a href="#getmarketstats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Market<wbr/>Stats</span></a><a href="#getmedianlatency" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Median<wbr/>Latency</span></a><a href="#getorderbook" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Orderbook</span></a><a href="#getpeaktps" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Peak<wbr/>Tps</span></a><a href="#getsolanaprogramid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Solana<wbr/>Program<wbr/>Id</span></a><a href="#gettimestamp" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Timestamp</span></a><a href="#gettotaltransactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Transactions</span></a><a href="#gettrades" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Trades</span></a><a href="#getuseraccountids" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>User<wbr/>Account<wbr/>Ids</span></a><a href="#marketsstats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>markets<wbr/>Stats</span></a><a href="#queryaction" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Action</span></a><a href="#queryprometheus" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Prometheus</span></a><a href="#queryrecentactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Recent<wbr/>Actions</span></a><a href="#subscribeaccount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Account</span></a><a href="#subscribeorderbook" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Orderbook</span></a><a href="#subscribetrades" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Trades</span></a><a href="#initnord" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Nord</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@n1xyz/nord-ts</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
189
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord/blob/29f6652df129a33b0ab106107649be2a93372fff/ts/src/nord/client/Nord.ts#L216">src/nord/client/Nord.ts:216</a></li></ul></aside></div></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Constructor"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#bridgevk" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>bridge<wbr/>Vk</span></a><a href="#markets" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>markets</span></a><a href="#solanaurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>solana<wbr/>Url</span></a><a href="#tokens" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>tokens</span></a><a href="#webserverurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>web<wbr/>Server<wbr/>Url</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#accountexists" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>account<wbr/>Exists</span></a><a href="#actionqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>action<wbr/>Query<wbr/>Rollman</span></a><a href="#actionsqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>actions<wbr/>Query<wbr/>Rollman</span></a><a href="#aggregatemetrics" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>aggregate<wbr/>Metrics</span></a><a href="#createwebsocketclient" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#fetchnordinfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>fetch<wbr/>Nord<wbr/>Info</span></a><a href="#getaccount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Account</span></a><a href="#getactionnonce" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Action<wbr/>Nonce</span></a><a href="#getcurrenttps" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Current<wbr/>Tps</span></a><a href="#getinfo" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Info</span></a><a href="#getlastactionid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Last<wbr/>Action<wbr/>Id</span></a><a href="#getmarketstats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Market<wbr/>Stats</span></a><a href="#getmedianlatency" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Median<wbr/>Latency</span></a><a href="#getorderbook" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Orderbook</span></a><a href="#getpeaktps" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Peak<wbr/>Tps</span></a><a href="#getsolanaprogramid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Solana<wbr/>Program<wbr/>Id</span></a><a href="#gettimestamp" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Timestamp</span></a><a href="#gettotaltransactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Total<wbr/>Transactions</span></a><a href="#gettrades" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Trades</span></a><a href="#getuseraccountids" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>User<wbr/>Account<wbr/>Ids</span></a><a href="#marketsstats" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>markets<wbr/>Stats</span></a><a href="#queryaction" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Action</span></a><a href="#queryprometheus" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Prometheus</span></a><a href="#queryrecentactions" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>query<wbr/>Recent<wbr/>Actions</span></a><a href="#subscribeaccount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Account</span></a><a href="#subscribeorderbook" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Orderbook</span></a><a href="#subscribetrades" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>subscribe<wbr/>Trades</span></a><a href="#initnord" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>init<wbr/>Nord</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@n1xyz/nord-ts</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>