@n1xyz/nord-ts 0.0.7 → 0.0.9

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 (151) hide show
  1. package/dist/gen/common.js +1 -1
  2. package/dist/gen/nord.js +1 -1
  3. package/dist/idl/bridge.js +237 -10
  4. package/dist/nord/api/metrics.js +101 -7
  5. package/dist/nord/api/queries.d.ts +7 -42
  6. package/dist/nord/api/queries.js +15 -93
  7. package/dist/nord/client/Nord.d.ts +11 -42
  8. package/dist/nord/client/Nord.js +13 -52
  9. package/docs/classes/Nord.html +41 -41
  10. package/docs/classes/NordError.html +8 -8
  11. package/docs/classes/NordUser.html +37 -37
  12. package/docs/classes/NordWebSocketClient.html +34 -34
  13. package/docs/classes/SolanaBridgeClient.html +22 -22
  14. package/docs/classes/Subscriber.html +3 -3
  15. package/docs/enums/FillMode.html +2 -2
  16. package/docs/enums/KeyType.html +2 -2
  17. package/docs/enums/MetricPeriod.html +2 -2
  18. package/docs/enums/PdaSeedType.html +2 -2
  19. package/docs/enums/PeakTpsPeriodUnit.html +2 -2
  20. package/docs/enums/Side.html +2 -2
  21. package/docs/enums/WebSocketMessageType.html +2 -2
  22. package/docs/functions/actionQueryRollman.html +1 -1
  23. package/docs/functions/actionsQueryRollman.html +1 -1
  24. package/docs/functions/aggregateMetrics-1.html +1 -1
  25. package/docs/functions/assert.html +1 -1
  26. package/docs/functions/bigIntToProtoU128.html +1 -1
  27. package/docs/functions/blockQueryRollman.html +1 -1
  28. package/docs/functions/blockSummaryQueryRollman.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/getMedianLatency.html +1 -1
  47. package/docs/functions/getOrderbook.html +1 -1
  48. package/docs/functions/getPeakTps.html +1 -1
  49. package/docs/functions/getTimestamp.html +1 -1
  50. package/docs/functions/getTotalTransactions.html +1 -1
  51. package/docs/functions/getTrades.html +1 -1
  52. package/docs/functions/getUserAccountIds.html +1 -1
  53. package/docs/functions/hexToBuffer.html +1 -1
  54. package/docs/functions/initWebSocketClient.html +1 -1
  55. package/docs/functions/keypairFromPrivateKey.html +1 -1
  56. package/docs/functions/makeSigningFunction.html +1 -1
  57. package/docs/functions/makeWalletSignFn.html +1 -1
  58. package/docs/functions/marketsStats.html +1 -1
  59. package/docs/functions/optExpect.html +1 -1
  60. package/docs/functions/optMap.html +1 -1
  61. package/docs/functions/optUnwrap.html +1 -1
  62. package/docs/functions/panic.html +1 -1
  63. package/docs/functions/placeOrder.html +1 -1
  64. package/docs/functions/queryAction.html +1 -1
  65. package/docs/functions/queryBlock.html +1 -1
  66. package/docs/functions/queryLastNBlocks.html +1 -1
  67. package/docs/functions/queryPrometheus.html +1 -1
  68. package/docs/functions/queryRecentActions.html +1 -1
  69. package/docs/functions/queryRecentBlocks.html +1 -1
  70. package/docs/functions/revokeSession.html +1 -1
  71. package/docs/functions/shortenPublicKey.html +1 -1
  72. package/docs/functions/signAction.html +1 -1
  73. package/docs/functions/toBN.html +1 -1
  74. package/docs/functions/toScaledU128.html +1 -1
  75. package/docs/functions/toScaledU64.html +1 -1
  76. package/docs/functions/transfer.html +1 -1
  77. package/docs/functions/withdraw.html +1 -1
  78. package/docs/interfaces/Account.html +2 -2
  79. package/docs/interfaces/ActionInfo.html +2 -2
  80. package/docs/interfaces/ActionNonceResponse.html +2 -2
  81. package/docs/interfaces/ActionQuery.html +2 -2
  82. package/docs/interfaces/ActionResponse.html +2 -2
  83. package/docs/interfaces/ActionsExtendedInfo.html +2 -2
  84. package/docs/interfaces/ActionsQuery.html +2 -2
  85. package/docs/interfaces/ActionsResponse.html +2 -2
  86. package/docs/interfaces/AggregateMetrics.html +2 -2
  87. package/docs/interfaces/BlockFacts.html +5 -5
  88. package/docs/interfaces/BlockQuery.html +2 -2
  89. package/docs/interfaces/BlockResponse.html +2 -2
  90. package/docs/interfaces/BlockSummary.html +2 -2
  91. package/docs/interfaces/BlockSummaryResponse.html +2 -2
  92. package/docs/interfaces/DeltaEvent.html +2 -2
  93. package/docs/interfaces/DepositSplParams.html +5 -5
  94. package/docs/interfaces/Info.html +2 -2
  95. package/docs/interfaces/Market.html +2 -2
  96. package/docs/interfaces/MarketStats.html +2 -2
  97. package/docs/interfaces/MarketsStatsResponse.html +2 -2
  98. package/docs/interfaces/NordConfig.html +7 -7
  99. package/docs/interfaces/NordWebSocketClientEvents.html +2 -2
  100. package/docs/interfaces/NordWebSocketEvents.html +2 -2
  101. package/docs/interfaces/Order.html +2 -2
  102. package/docs/interfaces/OrderInfo.html +2 -2
  103. package/docs/interfaces/OrderbookEntry.html +2 -2
  104. package/docs/interfaces/OrderbookQuery.html +2 -2
  105. package/docs/interfaces/OrderbookResponse.html +2 -2
  106. package/docs/interfaces/OrderbookSubscription.html +18 -18
  107. package/docs/interfaces/PerpMarketStats.html +2 -2
  108. package/docs/interfaces/RollmanActionExtendedInfo.html +2 -2
  109. package/docs/interfaces/RollmanActionInfo.html +2 -2
  110. package/docs/interfaces/RollmanActionResponse.html +2 -2
  111. package/docs/interfaces/RollmanActionsResponse.html +2 -2
  112. package/docs/interfaces/RollmanBlockResponse.html +2 -2
  113. package/docs/interfaces/SPLTokenInfo.html +5 -5
  114. package/docs/interfaces/SolanaBridgeConfig.html +5 -5
  115. package/docs/interfaces/StateFacts.html +5 -5
  116. package/docs/interfaces/SubscriberConfig.html +2 -2
  117. package/docs/interfaces/TimestampResponse.html +2 -2
  118. package/docs/interfaces/Token.html +2 -2
  119. package/docs/interfaces/TokenInfo.html +2 -2
  120. package/docs/interfaces/Trade.html +2 -2
  121. package/docs/interfaces/TradeSubscription.html +18 -18
  122. package/docs/interfaces/Trades.html +2 -2
  123. package/docs/interfaces/TradesQuery.html +2 -2
  124. package/docs/interfaces/TradesResponse.html +2 -2
  125. package/docs/interfaces/TransferParams.html +4 -4
  126. package/docs/interfaces/UserAccountIdsQuery.html +2 -2
  127. package/docs/interfaces/UserAccountIdsResponse.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/WebSocketUserUpdate.html +2 -2
  132. package/docs/interfaces/WithdrawalClaim.html +7 -7
  133. package/docs/interfaces/WithdrawalParams.html +4 -4
  134. package/docs/types/BigIntValue.html +1 -1
  135. package/docs/types/WebSocketMessage.html +1 -1
  136. package/docs/variables/DEBUG_KEYS.html +1 -1
  137. package/docs/variables/DEFAULT_FUNDING_AMOUNTS.html +1 -1
  138. package/docs/variables/DEV_TOKEN_INFOS.html +1 -1
  139. package/docs/variables/DEV_URL.html +1 -1
  140. package/docs/variables/MAX_BUFFER_LEN.html +1 -1
  141. package/docs/variables/SESSION_TTL.html +1 -1
  142. package/docs/variables/WEBSERVER_DEV_URL.html +1 -1
  143. package/docs/variables/ZERO_DECIMAL.html +1 -1
  144. package/docs/variables/_private.html +1 -1
  145. package/package.json +1 -1
  146. package/src/gen/common.ts +1 -1
  147. package/src/gen/nord.ts +1 -1
  148. package/src/idl/bridge.ts +238 -11
  149. package/src/nord/api/queries.ts +16 -113
  150. package/src/nord/client/Nord.ts +15 -64
  151. package/test.ts +107 -0
@@ -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-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L45">src/nord/client/Nord.ts:45</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-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L45">src/nord/client/Nord.ts:45</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#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>
4
4
  <a href="Nord.html#solanaprogramid" 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/>Program<wbr/>Id</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>
@@ -49,134 +49,134 @@
49
49
  </div><div class="tsd-comment tsd-typography"></div></li><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">tradesSubscriptions</span><a id="tradessubscriptions" class="tsd-anchor"></a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Initial subscriptions for the trades WebSocket (e.g., [&quot;trades@BTCUSDC&quot;])</p>
50
50
  </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>
51
51
  </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>
52
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L106">src/nord/client/Nord.ts:106</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="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>
53
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L56">src/nord/client/Nord.ts:56</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="solanaprogramid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>solana<wbr/>Program<wbr/>Id</span><a href="#solanaprogramid" 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">solanaProgramId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Solana program ID</p>
54
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L50">src/nord/client/Nord.ts:50</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>
55
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L53">src/nord/client/Nord.ts:53</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>
56
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L59">src/nord/client/Nord.ts:59</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>
57
- </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L47">src/nord/client/Nord.ts:47</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>
52
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L106">src/nord/client/Nord.ts:106</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="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>
53
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L56">src/nord/client/Nord.ts:56</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="solanaprogramid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>solana<wbr/>Program<wbr/>Id</span><a href="#solanaprogramid" 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">solanaProgramId</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Solana program ID</p>
54
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L50">src/nord/client/Nord.ts:50</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>
55
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L53">src/nord/client/Nord.ts:53</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>
56
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L59">src/nord/client/Nord.ts:59</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>
57
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L47">src/nord/client/Nord.ts:47</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>
58
58
  </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>
59
59
  </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>
60
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L644">src/nord/client/Nord.ts:644</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>
60
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L644">src/nord/client/Nord.ts:644</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>
61
61
  </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>
62
62
  </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>
63
63
  <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>
64
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L390">src/nord/client/Nord.ts:390</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>
64
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L390">src/nord/client/Nord.ts:390</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>
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">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>
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/RollmanActionsResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanActionsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Rollman actions response</p>
67
67
  <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>
68
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L401">src/nord/client/Nord.ts:401</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>
68
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L401">src/nord/client/Nord.ts:401</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>
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">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>
70
70
  </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>
71
71
  </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>
72
72
  <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>
73
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="blockqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>block<wbr/>Query<wbr/>Rollman</span><a href="#blockqueryrollman" 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="blockqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">blockQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</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/RollmanBlockResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanBlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#blockqueryrollman-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 block from Rollman</p>
73
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="blockqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>block<wbr/>Query<wbr/>Rollman</span><a href="#blockqueryrollman" 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="blockqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">blockQueryRollman</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</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/RollmanBlockResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanBlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#blockqueryrollman-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 block from Rollman</p>
74
74
  </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/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</a></span><div class="tsd-comment tsd-typography"><p>Block query parameters</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/RollmanBlockResponse.html" class="tsd-signature-type tsd-kind-interface">RollmanBlockResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Rollman block response</p>
76
76
  <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 the request fails</p>
77
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="blocksummaryqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>block<wbr/>Summary<wbr/>Query<wbr/>Rollman</span><a href="#blocksummaryqueryrollman" 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="blocksummaryqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">blockSummaryQueryRollman</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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#blocksummaryqueryrollman-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 block summaries from Rollman</p>
77
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="blocksummaryqueryrollman" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>block<wbr/>Summary<wbr/>Query<wbr/>Rollman</span><a href="#blocksummaryqueryrollman" 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="blocksummaryqueryrollman-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">blockSummaryQueryRollman</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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#blocksummaryqueryrollman-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 block summaries from Rollman</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">last_n</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>Number of recent blocks to query</p>
79
79
  </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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Block summary response</p>
80
80
  <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>
81
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="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>
81
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="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>
82
82
  </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-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>
83
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L198">src/nord/client/Nord.ts:198</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>
83
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L198">src/nord/client/Nord.ts:198</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>
84
84
  </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>
85
85
  </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>
86
86
  <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>
87
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L624">src/nord/client/Nord.ts:624</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>
87
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L624">src/nord/client/Nord.ts:624</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>
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">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Next action nonce</p>
89
89
  <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>
90
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L189">src/nord/client/Nord.ts:189</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>
90
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L189">src/nord/client/Nord.ts:189</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>
91
91
  </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>
92
92
  </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>
93
93
  <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>
94
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="getdeltaswebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Deltas<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getdeltaswebsocketclient" 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="getdeltaswebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getDeltasWebSocketClient</span><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="#getdeltaswebsocketclient-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 deltas WebSocket client
94
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="getdeltaswebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Deltas<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getdeltaswebsocketclient" 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="getdeltaswebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getDeltasWebSocketClient</span><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="#getdeltaswebsocketclient-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 deltas WebSocket client
95
95
  If not already initialized, it will be created</p>
96
96
  </div><h4 class="tsd-returns-title">Returns <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a></h4><p>WebSocket client for orderbook deltas</p>
97
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L448">src/nord/client/Nord.ts:448</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>
97
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L448">src/nord/client/Nord.ts:448</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>
98
98
  </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>
99
99
  <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>
100
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L613">src/nord/client/Nord.ts:613</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>
100
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L613">src/nord/client/Nord.ts:613</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>
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/MarketsStatsResponse.html" class="tsd-signature-type tsd-kind-interface">MarketsStatsResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Market statistics response</p>
102
102
  <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>
103
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L634">src/nord/client/Nord.ts:634</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>
103
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L634">src/nord/client/Nord.ts:634</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>
104
104
  </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>
105
105
  </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>
106
106
  <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>
107
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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>
107
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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>
108
108
  </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>
109
109
  </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>
110
110
  <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>
111
111
  </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
112
112
  to ensure market information is properly loaded before calling this method.</p>
113
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L583">src/nord/client/Nord.ts:583</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>
113
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L583">src/nord/client/Nord.ts:583</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>
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">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>
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><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></h4><p>Peak TPS value</p>
116
116
  <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>
117
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="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>
117
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="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>
118
118
  </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>
119
119
  <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 the request fails</p>
120
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L179">src/nord/client/Nord.ts:179</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>
120
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L179">src/nord/client/Nord.ts:179</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>
121
121
  </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>
122
122
  <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>
123
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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>
123
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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>
124
124
  </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>
125
125
  </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>
126
126
  <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>
127
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L557">src/nord/client/Nord.ts:557</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettradeswebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Trades<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#gettradeswebsocketclient" 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="gettradeswebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTradesWebSocketClient</span><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="#gettradeswebsocketclient-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 trades WebSocket client
127
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L557">src/nord/client/Nord.ts:557</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="gettradeswebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Trades<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#gettradeswebsocketclient" 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="gettradeswebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getTradesWebSocketClient</span><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="#gettradeswebsocketclient-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 trades WebSocket client
128
128
  If not already initialized, it will be created</p>
129
129
  </div><h4 class="tsd-returns-title">Returns <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a></h4><p>WebSocket client for trades</p>
130
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L435">src/nord/client/Nord.ts:435</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>
130
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L435">src/nord/client/Nord.ts:435</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>
131
131
  </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>
132
132
  </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>
133
133
  <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>
134
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="getuserwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getuserwebsocketclient" 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="getuserwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getUserWebSocketClient</span><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="#getuserwebsocketclient-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 user WebSocket client
134
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="getuserwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>User<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getuserwebsocketclient" 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="getuserwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getUserWebSocketClient</span><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="#getuserwebsocketclient-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 user WebSocket client
135
135
  If not already initialized, it will be created</p>
136
136
  </div><h4 class="tsd-returns-title">Returns <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a></h4><p>WebSocket client for user updates</p>
137
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L461">src/nord/client/Nord.ts:461</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getwebsocketclient" 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="getwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getWebSocketClient</span><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="#getwebsocketclient-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 trades WebSocket client (default)
137
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L461">src/nord/client/Nord.ts:461</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="getwebsocketclient" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>get<wbr/>Web<wbr/>Socket<wbr/>Client</span><a href="#getwebsocketclient" 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="getwebsocketclient-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getWebSocketClient</span><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="#getwebsocketclient-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 trades WebSocket client (default)
138
138
  If not already initialized, it will be created</p>
139
139
  </div><h4 class="tsd-returns-title">Returns <a href="NordWebSocketClient.html" class="tsd-signature-type tsd-kind-class">NordWebSocketClient</a></h4><p>WebSocket client for trades</p>
140
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L422">src/nord/client/Nord.ts:422</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="initializewebsockets" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>initialize<wbr/>Web<wbr/>Sockets</span><a href="#initializewebsockets" 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="initializewebsockets-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">initializeWebSockets</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">tradesSubscriptions</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><br/>    <span class="tsd-kind-parameter">deltasSubscriptions</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><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#initializewebsockets-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 WebSocket clients for trades and deltas</p>
140
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L422">src/nord/client/Nord.ts:422</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="initializewebsockets" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>initialize<wbr/>Web<wbr/>Sockets</span><a href="#initializewebsockets" 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="initializewebsockets-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">initializeWebSockets</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">tradesSubscriptions</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><br/>    <span class="tsd-kind-parameter">deltasSubscriptions</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><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#initializewebsockets-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 WebSocket clients for trades and deltas</p>
141
141
  <p>This method can be called manually if websockets were not initialized during construction
142
142
  (i.e., if initWebSockets was set to false in the constructor).</p>
143
143
  <p>It initializes the trades and deltas WebSocket clients. The user WebSocket client
144
144
  is initialized on demand when needed.</p>
145
145
  </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">tradesSubscriptions</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Optional array of trades subscriptions to initialize with</p>
146
146
  </div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">deltasSubscriptions</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Optional array of deltas subscriptions to initialize with</p>
147
- </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L152">src/nord/client/Nord.ts:152</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>
147
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L152">src/nord/client/Nord.ts:152</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>
148
148
  </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>
149
149
  <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>
150
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L239">src/nord/client/Nord.ts:239</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>
150
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L239">src/nord/client/Nord.ts:239</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>
151
151
  </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>
152
152
  </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>
153
153
  <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>
154
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L282">src/nord/client/Nord.ts:282</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryblock" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Block</span><a href="#queryblock" 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="queryblock-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryBlock</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</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/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryblock-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 block</p>
154
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L282">src/nord/client/Nord.ts:282</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="queryblock" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Block</span><a href="#queryblock" 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="queryblock-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryBlock</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">query</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</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/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryblock-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 block</p>
155
155
  </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/BlockQuery.html" class="tsd-signature-type tsd-kind-interface">BlockQuery</a></span><div class="tsd-comment tsd-typography"><p>Block query parameters</p>
156
156
  </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/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Block response</p>
157
157
  <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>
158
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L250">src/nord/client/Nord.ts:250</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="querylastnblocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>LastNBlocks</span><a href="#querylastnblocks" 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="querylastnblocks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryLastNBlocks</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/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#querylastnblocks-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 the last N blocks</p>
158
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L250">src/nord/client/Nord.ts:250</a></li></ul></aside></div></li></ul></section><section class="tsd-panel tsd-member"><a id="querylastnblocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>LastNBlocks</span><a href="#querylastnblocks" 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="querylastnblocks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryLastNBlocks</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/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#querylastnblocks-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 the last N blocks</p>
159
159
  </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/BlockResponse.html" class="tsd-signature-type tsd-kind-interface">BlockResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Block response for the last N blocks</p>
160
160
  <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>
161
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="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>
161
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="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>
162
162
  </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>
163
163
  </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>
164
164
  <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>
165
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L412">src/nord/client/Nord.ts:412</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">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/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>
165
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L412">src/nord/client/Nord.ts:412</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">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/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>
166
166
  </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>
167
167
  </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>
168
168
  <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 the request fails</p>
169
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="queryrecentblocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Recent<wbr/>Blocks</span><a href="#queryrecentblocks" 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="queryrecentblocks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryRecentBlocks</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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryrecentblocks-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 blocks</p>
169
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="queryrecentblocks" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>query<wbr/>Recent<wbr/>Blocks</span><a href="#queryrecentblocks" 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="queryrecentblocks-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">queryRecentBlocks</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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span><a href="#queryrecentblocks-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 blocks</p>
170
170
  </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 blocks to query</p>
171
171
  </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/BlockSummaryResponse.html" class="tsd-signature-type tsd-kind-interface">BlockSummaryResponse</a><span class="tsd-signature-symbol">&gt;</span></h4><p>Block summary response</p>
172
172
  <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 the request fails</p>
173
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/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="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>
173
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/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="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>
174
174
  </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>
175
175
  </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>
176
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L476">src/nord/client/Nord.ts:476</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>
176
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L476">src/nord/client/Nord.ts:476</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>
177
177
  </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>
178
178
  </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>
179
- <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L514">src/nord/client/Nord.ts:514</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>
179
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L514">src/nord/client/Nord.ts:514</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>
180
180
  </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>
181
181
  </div><div class="tsd-comment tsd-typography"></div><div class="tsd-comment tsd-typography"><p>Configuration options for the Nord client</p>
182
182
  </div><ul class="tsd-parameters"><li class="tsd-parameter"><h5><code class="tsd-tag">Optional</code><span class="tsd-kind-property">deltasSubscriptions</span><a id="deltassubscriptions" class="tsd-anchor"></a><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><p>Initial subscriptions for the deltas WebSocket (e.g., [&quot;deltas@BTCUSDC&quot;])</p>
@@ -187,4 +187,4 @@ is initialized on demand when needed.</p>
187
187
  </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>
188
188
  </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>
189
189
  <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 initialization fails</p>
190
- </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/0ccd231a58c45ad8470295b8146824da36e480d6/src/nord/client/Nord.ts#L227">src/nord/client/Nord.ts:227</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="#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="#solanaprogramid" 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/>Program<wbr/>Id</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="#blockqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>block<wbr/>Query<wbr/>Rollman</span></a><a href="#blocksummaryqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>block<wbr/>Summary<wbr/>Query<wbr/>Rollman</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="#getdeltaswebsocketclient" 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/>Deltas<wbr/>Web<wbr/>Socket<wbr/>Client</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="#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="#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="#gettradeswebsocketclient" 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<wbr/>Web<wbr/>Socket<wbr/>Client</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="#getuserwebsocketclient" 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/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#getwebsocketclient" 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/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#initializewebsockets" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>initialize<wbr/>Web<wbr/>Sockets</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="#queryblock" 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/>Block</span></a><a href="#querylastnblocks" 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/>LastNBlocks</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="#queryrecentblocks" 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/>Blocks</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>
190
+ </div></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/n1xyz/nord-ts/blob/f2620fa3c3fd6c29fd140ee792bf23daeed79f91/src/nord/client/Nord.ts#L227">src/nord/client/Nord.ts:227</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="#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="#solanaprogramid" 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/>Program<wbr/>Id</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="#blockqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>block<wbr/>Query<wbr/>Rollman</span></a><a href="#blocksummaryqueryrollman" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>block<wbr/>Summary<wbr/>Query<wbr/>Rollman</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="#getdeltaswebsocketclient" 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/>Deltas<wbr/>Web<wbr/>Socket<wbr/>Client</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="#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="#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="#gettradeswebsocketclient" 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<wbr/>Web<wbr/>Socket<wbr/>Client</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="#getuserwebsocketclient" 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/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#getwebsocketclient" 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/>Web<wbr/>Socket<wbr/>Client</span></a><a href="#initializewebsockets" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>initialize<wbr/>Web<wbr/>Sockets</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="#queryblock" 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/>Block</span></a><a href="#querylastnblocks" 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/>LastNBlocks</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="#queryrecentblocks" 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/>Blocks</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>