mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-07 21:48:19 -05:00
334 lines
196 KiB
HTML
334 lines
196 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>HavenoClient | haveno-ts</title><meta name="description" content="Documentation for haveno-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 async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></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">haveno-ts</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">haveno-ts</a></li><li><a href="../modules/HavenoClient.html">HavenoClient</a></li><li><a href="HavenoClient.HavenoClient-1.html">HavenoClient</a></li></ul><h1>Class HavenoClient </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Haveno daemon client.</p>
|
|
</div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">HavenoClient</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#accountExists" class="tsd-kind-icon">account<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#addMoneroConnection" class="tsd-kind-icon">add<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#addNotificationListener" class="tsd-kind-icon">add<wbr/>Notification<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#backupAccount" class="tsd-kind-icon">backup<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#changePassword" class="tsd-kind-icon">change<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#checkMoneroConnection" class="tsd-kind-icon">check<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#checkMoneroConnections" class="tsd-kind-icon">check<wbr/>Monero<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#closeAccount" class="tsd-kind-icon">close<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#completeTrade" class="tsd-kind-icon">complete<wbr/>Trade</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#confirmPaymentReceived" class="tsd-kind-icon">confirm<wbr/>Payment<wbr/>Received</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#confirmPaymentStarted" class="tsd-kind-icon">confirm<wbr/>Payment<wbr/>Started</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createAccount" class="tsd-kind-icon">create<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createCryptoPaymentAccount" class="tsd-kind-icon">create<wbr/>Crypto<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createPaymentAccount" class="tsd-kind-icon">create<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createXmrTx" class="tsd-kind-icon">create<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#deleteAccount" class="tsd-kind-icon">delete<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#disconnect" class="tsd-kind-icon">disconnect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getAppName" class="tsd-kind-icon">get<wbr/>App<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getBalances" class="tsd-kind-icon">get<wbr/>Balances</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getBestAvailableConnection" class="tsd-kind-icon">get<wbr/>Best<wbr/>Available<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getChatMessages" class="tsd-kind-icon">get<wbr/>Chat<wbr/>Messages</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getDispute" class="tsd-kind-icon">get<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getDisputes" class="tsd-kind-icon">get<wbr/>Disputes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMarketDepth" class="tsd-kind-icon">get<wbr/>Market<wbr/>Depth</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroConnection" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroConnections" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroNodeSettings" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Node<wbr/>Settings</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMyOffer" class="tsd-kind-icon">get<wbr/>My<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMyOffers" class="tsd-kind-icon">get<wbr/>My<wbr/>Offers</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getOffers" class="tsd-kind-icon">get<wbr/>Offers</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccount" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccountForm" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Account<wbr/>Form</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccounts" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentMethods" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Methods</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPrice" class="tsd-kind-icon">get<wbr/>Price</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPrices" class="tsd-kind-icon">get<wbr/>Prices</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getProcess" class="tsd-kind-icon">get<wbr/>Process</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getSupportedAssetCodes" class="tsd-kind-icon">get<wbr/>Supported<wbr/>Asset<wbr/>Codes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getTrade" class="tsd-kind-icon">get<wbr/>Trade</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getTrades" class="tsd-kind-icon">get<wbr/>Trades</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getUrl" class="tsd-kind-icon">get<wbr/>Url</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getWalletRpcPort" class="tsd-kind-icon">get<wbr/>Wallet<wbr/>Rpc<wbr/>Port</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrNewSubaddress" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>New<wbr/>Subaddress</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrPrimaryAddress" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Primary<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrSeed" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Seed</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrTx" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrTxs" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Txs</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isAccountOpen" class="tsd-kind-icon">is<wbr/>Account<wbr/>Open</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isConnectedToDaemon" class="tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Daemon</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isConnectedToMonero" class="tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Monero</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isMoneroNodeOnline" class="tsd-kind-icon">is<wbr/>Monero<wbr/>Node<wbr/>Online</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#openAccount" class="tsd-kind-icon">open<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#openDispute" class="tsd-kind-icon">open<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#postOffer" class="tsd-kind-icon">post<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#registerDisputeAgent" class="tsd-kind-icon">register<wbr/>Dispute<wbr/>Agent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#relayXmrTx" class="tsd-kind-icon">relay<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeMoneroConnection" class="tsd-kind-icon">remove<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeNotificationListener" class="tsd-kind-icon">remove<wbr/>Notification<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeOffer" class="tsd-kind-icon">remove<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#resolveDispute" class="tsd-kind-icon">resolve<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#restoreAccount" class="tsd-kind-icon">restore<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#sendChatMessage" class="tsd-kind-icon">send<wbr/>Chat<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#sendDisputeChatMessage" class="tsd-kind-icon">send<wbr/>Dispute<wbr/>Chat<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setAutoSwitch" class="tsd-kind-icon">set<wbr/>Auto<wbr/>Switch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setMoneroConnection" class="tsd-kind-icon">set<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setProcessLogging" class="tsd-kind-icon">set<wbr/>Process<wbr/>Logging</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#shutdownServer" class="tsd-kind-icon">shutdown<wbr/>Server</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#startCheckingConnection" class="tsd-kind-icon">start<wbr/>Checking<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#startMoneroNode" class="tsd-kind-icon">start<wbr/>Monero<wbr/>Node</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#stopCheckingConnection" class="tsd-kind-icon">stop<wbr/>Checking<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#stopMoneroNode" class="tsd-kind-icon">stop<wbr/>Monero<wbr/>Node</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#takeOffer" class="tsd-kind-icon">take<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#unregisterDisputeAgent" class="tsd-kind-icon">unregister<wbr/>Dispute<wbr/>Agent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#validateFormField" class="tsd-kind-icon">validate<wbr/>Form<wbr/>Field</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#startProcess" class="tsd-kind-icon">start<wbr/>Process</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Haveno<wbr/>Client<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, password<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="HavenoClient.HavenoClient-1.html" class="tsd-signature-type" data-tsd-kind="Class">HavenoClient</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L54">src/HavenoClient.ts:54</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Construct a client connected to a Haveno daemon.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Haveno daemon url</p>
|
|
</div></div></li><li><h5>password: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Haveno daemon password</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="HavenoClient.HavenoClient-1.html" class="tsd-signature-type" data-tsd-kind="Class">HavenoClient</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="accountExists" class="tsd-anchor"></a><h3 class="tsd-anchor-link">account<wbr/>Exists<a href="#accountExists" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">account<wbr/>Exists<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L255">src/HavenoClient.ts:255</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Indicates if the Haveno account is created.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><div><p>true if the account is created, false otherwise</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addMoneroConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Monero<wbr/>Connection<a href="#addMoneroConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>Monero<wbr/>Connection<span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L464">src/HavenoClient.ts:464</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Add a Monero daemon connection.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>connection: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>daemon url or connection to add</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addNotificationListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Notification<wbr/>Listener<a href="#addNotificationListener" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>Notification<wbr/>Listener<span class="tsd-signature-symbol">(</span>listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L430">src/HavenoClient.ts:430</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Add a listener to receive notifications from the Haveno daemon.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>listener: <span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the notification listener to add</p>
|
|
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>_notification: <a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="backupAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">backup<wbr/>Account<a href="#backupAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">backup<wbr/>Account<span class="tsd-signature-symbol">(</span>stream<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</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"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L377">src/HavenoClient.ts:377</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Backup the account to the given stream. TODO: stream type?</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>stream: <span class="tsd-signature-type">any</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="changePassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">change<wbr/>Password<a href="#changePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">change<wbr/>Password<span class="tsd-signature-symbol">(</span>password<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L329">src/HavenoClient.ts:329</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Change the Haveno account password.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the new account password</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="checkMoneroConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">check<wbr/>Monero<wbr/>Connection<a href="#checkMoneroConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">check<wbr/>Monero<wbr/>Connection<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L564">src/HavenoClient.ts:564</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Check the current Monero daemon connection.</p>
|
|
</div><div><p>If disconnected and auto switch enabled, switch to the best available connection and return its status.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></h4><div><p>the current daemon connection status, undefined if no current connection</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="checkMoneroConnections" class="tsd-anchor"></a><h3 class="tsd-anchor-link">check<wbr/>Monero<wbr/>Connections<a href="#checkMoneroConnections" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">check<wbr/>Monero<wbr/>Connections<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L582">src/HavenoClient.ts:582</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Check all Monero daemon connections.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>status of all managed connections.</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="closeAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">close<wbr/>Account<a href="#closeAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">close<wbr/>Account<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L345">src/HavenoClient.ts:345</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Close the currently open account.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="completeTrade" class="tsd-anchor"></a><h3 class="tsd-anchor-link">complete<wbr/>Trade<a href="#completeTrade" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">complete<wbr/>Trade<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1357">src/HavenoClient.ts:1357</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Acknowledge that a trade has completed.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="confirmPaymentReceived" class="tsd-anchor"></a><h3 class="tsd-anchor-link">confirm<wbr/>Payment<wbr/>Received<a href="#confirmPaymentReceived" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">confirm<wbr/>Payment<wbr/>Received<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1339">src/HavenoClient.ts:1339</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Confirm a payment is received.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="confirmPaymentStarted" class="tsd-anchor"></a><h3 class="tsd-anchor-link">confirm<wbr/>Payment<wbr/>Started<a href="#confirmPaymentStarted" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">confirm<wbr/>Payment<wbr/>Started<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1321">src/HavenoClient.ts:1321</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Confirm a payment is started.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Account<a href="#createAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Account<span class="tsd-signature-symbol">(</span>password<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L291">src/HavenoClient.ts:291</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Create and open a new Haveno account.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the password to encrypt the account</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createCryptoPaymentAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Crypto<wbr/>Payment<wbr/>Account<a href="#createCryptoPaymentAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Crypto<wbr/>Payment<wbr/>Account<span class="tsd-signature-symbol">(</span>accountName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, assetCode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, address<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"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1112">src/HavenoClient.ts:1112</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Create a crypto payment account.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>accountName: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>description of the account</p>
|
|
</div></div></li><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>traded asset code</p>
|
|
</div></div></li><li><h5>address: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>payment address of the account</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></h4><div><p>the created payment account</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createPaymentAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Payment<wbr/>Account<a href="#createPaymentAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Payment<wbr/>Account<span class="tsd-signature-symbol">(</span>paymentAccountForm<span class="tsd-signature-symbol">: </span><a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</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"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1091">src/HavenoClient.ts:1091</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Create a payment account.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>paymentAccountForm: <a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the completed form to create the payment account</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></h4><div><p>the created payment account</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createXmrTx" class="tsd-anchor"></a><h3 class="tsd-anchor-link">create<wbr/>Xmr<wbr/>Tx<a href="#createXmrTx" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Xmr<wbr/>Tx<span class="tsd-signature-symbol">(</span>destinations<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.XmrDestination-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrDestination</a><span class="tsd-signature-symbol">[]</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"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L882">src/HavenoClient.ts:882</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Create but do not relay a transaction to send funds from the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>destinations: <a href="protobuf_grpc_pb.XmrDestination-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrDestination</a><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">></span></h4><div><p>the created transaction</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="deleteAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">delete<wbr/>Account<a href="#deleteAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">delete<wbr/>Account<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L361">src/HavenoClient.ts:361</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Permanently delete the Haveno account and shutdown the server. // TODO: possible to not shutdown server?</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="disconnect" class="tsd-anchor"></a><h3 class="tsd-anchor-link">disconnect<a href="#disconnect" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">disconnect<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1519">src/HavenoClient.ts:1519</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Disconnect this client from the server.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getAppName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>App<wbr/>Name<a href="#getAppName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>App<wbr/>Name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L214">src/HavenoClient.ts:214</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the name of the Haveno application folder.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBalances" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Balances<a href="#getBalances" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Balances<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.XmrBalanceInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrBalanceInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L778">src/HavenoClient.ts:778</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the user's balances.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.XmrBalanceInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrBalanceInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>the user's balances</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBestAvailableConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Best<wbr/>Available<wbr/>Connection<a href="#getBestAvailableConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Best<wbr/>Available<wbr/>Connection<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L634">src/HavenoClient.ts:634</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the best available connection in order of priority then response time.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></h4><div><p>the best available connection in order of priority then response time, undefined if no connections available</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getChatMessages" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Chat<wbr/>Messages<a href="#getChatMessages" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Chat<wbr/>Messages<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><a href="protobuf_pb_pb.ChatMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">ChatMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1375">src/HavenoClient.ts:1375</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all chat messages for a trade.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.ChatMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">ChatMessage</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDispute" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Dispute<a href="#getDispute" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Dispute<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><a href="protobuf_pb_pb.Dispute-1.html" class="tsd-signature-type" data-tsd-kind="Class">Dispute</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1416">src/HavenoClient.ts:1416</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a dispute by trade id.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.Dispute-1.html" class="tsd-signature-type" data-tsd-kind="Class">Dispute</a><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDisputes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Disputes<a href="#getDisputes" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Disputes<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_pb_pb.Dispute-1.html" class="tsd-signature-type" data-tsd-kind="Class">Dispute</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1432">src/HavenoClient.ts:1432</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all disputes.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.Dispute-1.html" class="tsd-signature-type" data-tsd-kind="Class">Dispute</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMarketDepth" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Market<wbr/>Depth<a href="#getMarketDepth" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Market<wbr/>Depth<span class="tsd-signature-symbol">(</span>assetCode<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"><</span><a href="protobuf_grpc_pb.MarketDepthInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">MarketDepthInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L969">src/HavenoClient.ts:969</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the market depth of a currency.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>asset to get the market depth of</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.MarketDepthInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">MarketDepthInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>market depth of the given currency</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMoneroConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Monero<wbr/>Connection<a href="#getMoneroConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Monero<wbr/>Connection<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L500">src/HavenoClient.ts:500</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the current Monero daemon connection.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">></span></h4><div><p>the current daemon connection, undefined if no current connection</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMoneroConnections" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Monero<wbr/>Connections<a href="#getMoneroConnections" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Monero<wbr/>Connections<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L518">src/HavenoClient.ts:518</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all Monero daemon connections.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>all daemon connections</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMoneroNodeSettings" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Monero<wbr/>Node<wbr/>Settings<a href="#getMoneroNodeSettings" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Monero<wbr/>Node<wbr/>Settings<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_pb_pb.MoneroNodeSettings-1.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroNodeSettings</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L684">src/HavenoClient.ts:684</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Gets the current local monero node settings.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_pb_pb.MoneroNodeSettings-1.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroNodeSettings</a><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMyOffer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>My<wbr/>Offer<a href="#getMyOffer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>My<wbr/>Offer<span class="tsd-signature-symbol">(</span>offerId<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"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1178">src/HavenoClient.ts:1178</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get my offer by id.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offerId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>id of the user's created offer</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>the user's created offer</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getMyOffers" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>My<wbr/>Offers<a href="#getMyOffers" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>My<wbr/>Offers<span class="tsd-signature-symbol">(</span>assetCode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, direction<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"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1158">src/HavenoClient.ts:1158</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the user's posted offers to buy or sell XMR.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>traded asset code</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> direction: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>"buy" or "sell" XMR (default all)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>the user's created offers</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getOffers" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Offers<a href="#getOffers" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Offers<span class="tsd-signature-symbol">(</span>assetCode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, direction<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"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1137">src/HavenoClient.ts:1137</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get available offers to buy or sell XMR.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>traded asset code</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> direction: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>"buy" or "sell" (default all)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>the available offers</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPaymentAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Payment<wbr/>Account<a href="#getPaymentAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Payment<wbr/>Account<span class="tsd-signature-symbol">(</span>paymentAccountId<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"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1033">src/HavenoClient.ts:1033</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a payment account by id.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>paymentAccountId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the payment account id to get</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">></span></h4><div><p>the payment account</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPaymentAccountForm" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Payment<wbr/>Account<wbr/>Form<a href="#getPaymentAccountForm" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Payment<wbr/>Account<wbr/>Form<span class="tsd-signature-symbol">(</span>paymentMethodId<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"><</span><a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1048">src/HavenoClient.ts:1048</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a form for the given payment method to complete and create a new payment account.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>paymentMethodId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the payment method</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</a><span class="tsd-signature-symbol">></span></h4><div><p>the payment account form</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPaymentAccounts" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Payment<wbr/>Accounts<a href="#getPaymentAccounts" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Payment<wbr/>Accounts<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1014">src/HavenoClient.ts:1014</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get payment accounts.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentAccount-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccount</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>the payment accounts</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPaymentMethods" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Payment<wbr/>Methods<a href="#getPaymentMethods" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Payment<wbr/>Methods<span class="tsd-signature-symbol">(</span>assetCode<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"><</span><a href="protobuf_pb_pb.PaymentMethod-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentMethod</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L988">src/HavenoClient.ts:988</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get payment methods.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>get payment methods supporting this asset code (optional)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_pb_pb.PaymentMethod-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentMethod</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>the payment methods</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPrice" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Price<a href="#getPrice" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Price<span class="tsd-signature-symbol">(</span>assetCode<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"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L932">src/HavenoClient.ts:932</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the current market price per 1 XMR in the given currency.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>asset code to get the price of</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">></span></h4><div><p>the price of the asset per 1 XMR</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPrices" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Prices<a href="#getPrices" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Prices<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.MarketPriceInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">MarketPriceInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L950">src/HavenoClient.ts:950</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the current market prices of all a.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.MarketPriceInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">MarketPriceInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>prices of the assets per 1 XMR</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getProcess" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Process<a href="#getProcess" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Process<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L179">src/HavenoClient.ts:179</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Return the process running the haveno daemon.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div><p>the process running the haveno daemon</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getSupportedAssetCodes" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Supported<wbr/>Asset<wbr/>Codes<a href="#getSupportedAssetCodes" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Supported<wbr/>Asset<wbr/>Codes<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L920">src/HavenoClient.ts:920</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all supported assets codes.</p>
|
|
</div><div><p>TODO: replace this with getSupportedAssetCodes(): Promise<TradeCurrency[]>)</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</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></h4><div><p>all supported trade assets</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTrade" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Trade<a href="#getTrade" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Trade<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1285">src/HavenoClient.ts:1285</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a trade by id.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade and its offer</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>the trade with the given id</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getTrades" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Trades<a href="#getTrades" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Trades<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1303">src/HavenoClient.ts:1303</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all trades.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>all user trades</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getUrl" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Url<a href="#getUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Url<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L198">src/HavenoClient.ts:198</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the URL of the Haveno daemon.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><div><p>the URL of the Haveno daemon</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getVersion" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Version<a href="#getVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Version<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L223">src/HavenoClient.ts:223</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the Haveno version.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the Haveno daemon version</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getWalletRpcPort" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Wallet<wbr/>Rpc<wbr/>Port<a href="#getWalletRpcPort" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Wallet<wbr/>Rpc<wbr/>Port<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L207">src/HavenoClient.ts:207</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the port of the primary wallet rpc instance if known.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h4><div><p>the port of the primary wallet rpc instance if known</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getXmrNewSubaddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Xmr<wbr/>New<wbr/>Subaddress<a href="#getXmrNewSubaddress" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Xmr<wbr/>New<wbr/>Subaddress<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L832">src/HavenoClient.ts:832</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a new subaddress in the Monero wallet to receive deposits.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the deposit address (a subaddress in the Haveno wallet)</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getXmrPrimaryAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Xmr<wbr/>Primary<wbr/>Address<a href="#getXmrPrimaryAddress" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Xmr<wbr/>Primary<wbr/>Address<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L814">src/HavenoClient.ts:814</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the primary address of the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the primary address of the Monero wallet</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getXmrSeed" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Xmr<wbr/>Seed<a href="#getXmrSeed" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Xmr<wbr/>Seed<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L796">src/HavenoClient.ts:796</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the mnemonic seed phrase of the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the mnemonic seed phrase of the Monero wallet</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getXmrTx" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Xmr<wbr/>Tx<a href="#getXmrTx" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Xmr<wbr/>Tx<span class="tsd-signature-symbol">(</span>txHash<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"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L869">src/HavenoClient.ts:869</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get a transaction by hash in the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>txHash: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>hash of the transaction to get</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">></span></h4><div><p>the transaction with the hash</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getXmrTxs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Xmr<wbr/>Txs<a href="#getXmrTxs" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Xmr<wbr/>Txs<span class="tsd-signature-symbol">(</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"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L850">src/HavenoClient.ts:850</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get all transactions in the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.XmrTx-1.html" class="tsd-signature-type" data-tsd-kind="Class">XmrTx</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><div><p>the transactions</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isAccountOpen" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Account<wbr/>Open<a href="#isAccountOpen" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Account<wbr/>Open<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L273">src/HavenoClient.ts:273</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Indicates if the Haveno account is open and authenticated with the correct password.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><div><p>true if the account is open and authenticated, false otherwise</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isConnectedToDaemon" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Connected<wbr/>To<wbr/>Daemon<a href="#isConnectedToDaemon" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Daemon<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L241">src/HavenoClient.ts:241</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Indicates if connected and authenticated with the Haveno daemon.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><div><p>true if connected with the Haveno daemon, false otherwise</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isConnectedToMonero" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Connected<wbr/>To<wbr/>Monero<a href="#isConnectedToMonero" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Monero<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L452">src/HavenoClient.ts:452</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Indicates if connected to the Monero network based on last connection check.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><div><p>true if connected to the Monero network, false otherwise</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isMoneroNodeOnline" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Monero<wbr/>Node<wbr/>Online<a href="#isMoneroNodeOnline" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Monero<wbr/>Node<wbr/>Online<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L668">src/HavenoClient.ts:668</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns whether daemon is running a local monero node.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="openAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">open<wbr/>Account<a href="#openAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">open<wbr/>Account<span class="tsd-signature-symbol">(</span>password<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L310">src/HavenoClient.ts:310</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Open existing Haveno account.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the account password</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="openDispute" class="tsd-anchor"></a><h3 class="tsd-anchor-link">open<wbr/>Dispute<a href="#openDispute" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">open<wbr/>Dispute<span class="tsd-signature-symbol">(</span>tradeId<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1450">src/HavenoClient.ts:1450</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Open a dispute for a trade.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="postOffer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">post<wbr/>Offer<a href="#postOffer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">post<wbr/>Offer<span class="tsd-signature-symbol">(</span>direction<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, amount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">bigint</span>, assetCode<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, paymentAccountId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, buyerSecurityDepositPct<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, price<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, marketPriceMarginPct<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, triggerPrice<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, minAmount<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</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"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1205">src/HavenoClient.ts:1205</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Post an offer.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>direction: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>"buy" or "sell" XMR</p>
|
|
</div></div></li><li><h5>amount: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>amount of XMR to trade</p>
|
|
</div></div></li><li><h5>assetCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>asset code to trade for XMR</p>
|
|
</div></div></li><li><h5>paymentAccountId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>payment account id</p>
|
|
</div></div></li><li><h5>buyerSecurityDepositPct: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>buyer security deposit as % of trade amount</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> price: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>trade price (optional, default to market price)</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> marketPriceMarginPct: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>if using market price, % from market price to accept (optional, default 0%)</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> triggerPrice: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>price to remove offer (optional)</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> minAmount: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>minimum amount to trade (optional, default to fixed amount)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.OfferInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">OfferInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>the posted offer</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="registerDisputeAgent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">register<wbr/>Dispute<wbr/>Agent<a href="#registerDisputeAgent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">register<wbr/>Dispute<wbr/>Agent<span class="tsd-signature-symbol">(</span>disputeAgentType<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, registrationKey<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L739">src/HavenoClient.ts:739</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Register as a dispute agent.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>disputeAgentType: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>type of dispute agent to register, e.g. mediator, refundagent</p>
|
|
</div></div></li><li><h5>registrationKey: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>registration key</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="relayXmrTx" class="tsd-anchor"></a><h3 class="tsd-anchor-link">relay<wbr/>Xmr<wbr/>Tx<a href="#relayXmrTx" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">relay<wbr/>Xmr<wbr/>Tx<span class="tsd-signature-symbol">(</span>metadata<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"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L900">src/HavenoClient.ts:900</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Relay a previously created transaction to send funds from the Monero wallet.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>metadata: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the hash of the relayed transaction</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeMoneroConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Monero<wbr/>Connection<a href="#removeMoneroConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Monero<wbr/>Connection<span class="tsd-signature-symbol">(</span>url<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L482">src/HavenoClient.ts:482</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Remove a Monero daemon connection.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>url: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>url of the daemon connection to remove</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeNotificationListener" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Notification<wbr/>Listener<a href="#removeNotificationListener" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Notification<wbr/>Listener<span class="tsd-signature-symbol">(</span>listener<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L440">src/HavenoClient.ts:440</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Remove a notification listener.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>listener: <span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the notification listener to remove</p>
|
|
</div></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>_notification<span class="tsd-signature-symbol">: </span><a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>_notification: <a href="protobuf_grpc_pb.NotificationMessage-1.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationMessage</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeOffer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>Offer<a href="#removeOffer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Offer<span class="tsd-signature-symbol">(</span>offerId<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1242">src/HavenoClient.ts:1242</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Remove a posted offer, releasing its reserved funds.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offerId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the offer id to cancel</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resolveDispute" class="tsd-anchor"></a><h3 class="tsd-anchor-link">resolve<wbr/>Dispute<a href="#resolveDispute" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">resolve<wbr/>Dispute<span class="tsd-signature-symbol">(</span>tradeId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, winner<span class="tsd-signature-symbol">: </span><a href="../enums/protobuf_pb_pb.DisputeResult.Winner.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Winner</a>, reason<span class="tsd-signature-symbol">: </span><a href="../enums/protobuf_pb_pb.DisputeResult.Reason.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Reason</a>, summaryNotes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, customWinnerAmount<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">bigint</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1473">src/HavenoClient.ts:1473</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Resolve a dispute. By default, the winner receives the trade amount and the security deposits are returned,
|
|
but the arbitrator may award a custom amount to the winner and the loser will get the rest.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li><li><h5>winner: <a href="../enums/protobuf_pb_pb.DisputeResult.Winner.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Winner</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the winner of the dispute</p>
|
|
</div></div></li><li><h5>reason: <a href="../enums/protobuf_pb_pb.DisputeResult.Reason.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Reason</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the reason for the dispute</p>
|
|
</div></div></li><li><h5>summaryNotes: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>summary of the dispute</p>
|
|
</div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> customWinnerAmount: <span class="tsd-signature-type">bigint</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>custom amount to award the winner (optional)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="restoreAccount" class="tsd-anchor"></a><h3 class="tsd-anchor-link">restore<wbr/>Account<a href="#restoreAccount" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">restore<wbr/>Account<span class="tsd-signature-symbol">(</span>zipBytes<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Uint8Array</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L406">src/HavenoClient.ts:406</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Restore the account from zip bytes.</p>
|
|
</div><div><p>Sends chunked requests if size over max grpc envelope size (41943404 bytes).</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>zipBytes: <span class="tsd-signature-type">Uint8Array</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the bytes of the zipped account to restore</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="sendChatMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link">send<wbr/>Chat<wbr/>Message<a href="#sendChatMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">send<wbr/>Chat<wbr/>Message<span class="tsd-signature-symbol">(</span>tradeId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, message<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1395">src/HavenoClient.ts:1395</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Send a trade chat message.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>tradeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the trade</p>
|
|
</div></div></li><li><h5>message: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the message</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="sendDisputeChatMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link">send<wbr/>Dispute<wbr/>Chat<wbr/>Message<a href="#sendDisputeChatMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">send<wbr/>Dispute<wbr/>Chat<wbr/>Message<span class="tsd-signature-symbol">(</span>disputeId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, message<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, attachments<span class="tsd-signature-symbol">: </span><a href="protobuf_pb_pb.Attachment-1.html" class="tsd-signature-type" data-tsd-kind="Class">Attachment</a><span class="tsd-signature-symbol">[]</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1499">src/HavenoClient.ts:1499</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Send a dispute chat message.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>disputeId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the id of the dispute</p>
|
|
</div></div></li><li><h5>message: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the message</p>
|
|
</div></div></li><li><h5>attachments: <a href="protobuf_pb_pb.Attachment-1.html" class="tsd-signature-type" data-tsd-kind="Class">Attachment</a><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>attachments</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setAutoSwitch" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Auto<wbr/>Switch<a href="#setAutoSwitch" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Auto<wbr/>Switch<span class="tsd-signature-symbol">(</span>autoSwitch<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L652">src/HavenoClient.ts:652</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Automatically switch to the best available connection if current connection is disconnected after being checked.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>autoSwitch: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>whether auto switch is enabled or disabled</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setMoneroConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Monero<wbr/>Connection<a href="#setMoneroConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Monero<wbr/>Connection<span class="tsd-signature-symbol">(</span>connection<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L541">src/HavenoClient.ts:541</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Set the current Monero daemon connection.</p>
|
|
</div><div><p>Add the connection if not previously seen.
|
|
If the connection is provided as string, connect to the URI with any previously set credentials and priority.
|
|
If the connection is provided as UrlConnection, overwrite any previously set credentials and priority.
|
|
If undefined connection provided, disconnect the client.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> connection: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="protobuf_grpc_pb.UrlConnection-1.html" class="tsd-signature-type" data-tsd-kind="Class">UrlConnection</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>connection to set as current</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setProcessLogging" class="tsd-anchor"></a><h3 class="tsd-anchor-link">set<wbr/>Process<wbr/>Logging<a href="#setProcessLogging" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Process<wbr/>Logging<span class="tsd-signature-symbol">(</span>enabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L188">src/HavenoClient.ts:188</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Enable or disable process logging.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>enabled: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>specifies if logging is enabled or disabled</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="shutdownServer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">shutdown<wbr/>Server<a href="#shutdownServer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">shutdown<wbr/>Server<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1526">src/HavenoClient.ts:1526</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Shutdown the Haveno daemon server and stop the process if applicable.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="startCheckingConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">start<wbr/>Checking<wbr/>Connection<a href="#startCheckingConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">start<wbr/>Checking<wbr/>Connection<span class="tsd-signature-symbol">(</span>refreshPeriod<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L600">src/HavenoClient.ts:600</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Check the connection and start checking the connection periodically.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>refreshPeriod: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>time between checks in milliseconds (default 15000 ms or 15 seconds)</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="startMoneroNode" class="tsd-anchor"></a><h3 class="tsd-anchor-link">start<wbr/>Monero<wbr/>Node<a href="#startMoneroNode" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">start<wbr/>Monero<wbr/>Node<span class="tsd-signature-symbol">(</span>settings<span class="tsd-signature-symbol">: </span><a href="protobuf_pb_pb.MoneroNodeSettings-1.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroNodeSettings</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L703">src/HavenoClient.ts:703</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Starts the local monero node.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>settings: <a href="protobuf_pb_pb.MoneroNodeSettings-1.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroNodeSettings</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the settings to start the local node with</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stopCheckingConnection" class="tsd-anchor"></a><h3 class="tsd-anchor-link">stop<wbr/>Checking<wbr/>Connection<a href="#stopCheckingConnection" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">stop<wbr/>Checking<wbr/>Connection<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L616">src/HavenoClient.ts:616</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Stop checking the connection status periodically.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="stopMoneroNode" class="tsd-anchor"></a><h3 class="tsd-anchor-link">stop<wbr/>Monero<wbr/>Node<a href="#stopMoneroNode" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">stop<wbr/>Monero<wbr/>Node<span class="tsd-signature-symbol">(</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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L720">src/HavenoClient.ts:720</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Stops the local monero node.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="takeOffer" class="tsd-anchor"></a><h3 class="tsd-anchor-link">take<wbr/>Offer<a href="#takeOffer" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">take<wbr/>Offer<span class="tsd-signature-symbol">(</span>offerId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, paymentAccountId<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"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1262">src/HavenoClient.ts:1262</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Take an offer.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>offerId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>id of the offer to take</p>
|
|
</div></div></li><li><h5>paymentAccountId: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>id of the payment account</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="protobuf_grpc_pb.TradeInfo-1.html" class="tsd-signature-type" data-tsd-kind="Class">TradeInfo</a><span class="tsd-signature-symbol">></span></h4><div><p>the initialized trade</p>
|
|
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="unregisterDisputeAgent" class="tsd-anchor"></a><h3 class="tsd-anchor-link">unregister<wbr/>Dispute<wbr/>Agent<a href="#unregisterDisputeAgent" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">unregister<wbr/>Dispute<wbr/>Agent<span class="tsd-signature-symbol">(</span>disputeAgentType<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L760">src/HavenoClient.ts:760</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Unregister as a dispute agent.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>disputeAgentType: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>type of dispute agent to register, e.g. mediator, refundagent</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="validateFormField" class="tsd-anchor"></a><h3 class="tsd-anchor-link">validate<wbr/>Form<wbr/>Field<a href="#validateFormField" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">validate<wbr/>Form<wbr/>Field<span class="tsd-signature-symbol">(</span>form<span class="tsd-signature-symbol">: </span><a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</a>, fieldId<span class="tsd-signature-symbol">: </span><a href="../enums/protobuf_pb_pb.PaymentAccountFormField.FieldId.html" class="tsd-signature-type" data-tsd-kind="Enumeration">FieldId</a>, value<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"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L1068">src/HavenoClient.ts:1068</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>form: <a href="protobuf_pb_pb.PaymentAccountForm-1.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountForm</a></h5></li><li><h5>fieldId: <a href="../enums/protobuf_pb_pb.PaymentAccountFormField.FieldId.html" class="tsd-signature-type" data-tsd-kind="Enumeration">FieldId</a></h5></li><li><h5>value: <span class="tsd-signature-type">string</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static"><a id="startProcess" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> start<wbr/>Process<a href="#startProcess" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon">start<wbr/>Process<span class="tsd-signature-symbol">(</span>havenoPath<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, cmd<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span>, url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, enableLogging<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</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"><</span><a href="HavenoClient.HavenoClient-1.html" class="tsd-signature-type" data-tsd-kind="Class">HavenoClient</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/db7674c/src/HavenoClient.ts#L84">src/HavenoClient.ts:84</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Start a new Haveno process.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>havenoPath: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>path to Haveno binaries</p>
|
|
</div></div></li><li><h5>cmd: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>command to start the process</p>
|
|
</div></div></li><li><h5>url: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Haveno daemon url (must proxy to api port)</p>
|
|
</div></div></li><li><h5>enableLogging: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>specifies if logging is enabled or disabled at log level 3</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="HavenoClient.HavenoClient-1.html" class="tsd-signature-type" data-tsd-kind="Class">HavenoClient</a><span class="tsd-signature-symbol">></span></h4><div><p>a client connected to the newly started Haveno process</p>
|
|
</div></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Modules</a></li><li class="current tsd-kind-module"><a href="../modules/HavenoClient.html">Haveno<wbr/>Client</a><ul><li class=" tsd-kind-namespace tsd-parent-kind-module"><a href="../modules/HavenoClient._internal_.html"><internal></a></li></ul></li><li class=" tsd-kind-module"><a href="../modules/index.html">index</a></li><li class=" tsd-kind-module"><a href="../modules/index.html">index</a></li><li class=" tsd-kind-module"><a href="../modules/protobuf_GrpcServiceClientPb.html">protobuf/<wbr/>Grpc<wbr/>Service<wbr/>Client<wbr/>Pb</a></li><li class=" tsd-kind-module"><a href="../modules/protobuf_grpc_pb.html">protobuf/grpc_<wbr/>pb</a></li><li class=" tsd-kind-module"><a href="../modules/protobuf_pb_pb.html">protobuf/pb_<wbr/>pb</a></li><li class=" tsd-kind-module"><a href="../modules/utils_HavenoError.html">utils/<wbr/>Haveno<wbr/>Error</a></li><li class=" tsd-kind-module"><a href="../modules/utils_HavenoUtils.html">utils/<wbr/>Haveno<wbr/>Utils</a></li><li class=" tsd-kind-module"><a href="../modules/utils_TaskLooper.html">utils/<wbr/>Task<wbr/>Looper</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class tsd-parent-kind-module"><a href="HavenoClient.HavenoClient-1.html" class="tsd-kind-icon">Haveno<wbr/>Client</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#accountExists" class="tsd-kind-icon">account<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#addMoneroConnection" class="tsd-kind-icon">add<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#addNotificationListener" class="tsd-kind-icon">add<wbr/>Notification<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#backupAccount" class="tsd-kind-icon">backup<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#changePassword" class="tsd-kind-icon">change<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#checkMoneroConnection" class="tsd-kind-icon">check<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#checkMoneroConnections" class="tsd-kind-icon">check<wbr/>Monero<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#closeAccount" class="tsd-kind-icon">close<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#completeTrade" class="tsd-kind-icon">complete<wbr/>Trade</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#confirmPaymentReceived" class="tsd-kind-icon">confirm<wbr/>Payment<wbr/>Received</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#confirmPaymentStarted" class="tsd-kind-icon">confirm<wbr/>Payment<wbr/>Started</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createAccount" class="tsd-kind-icon">create<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createCryptoPaymentAccount" class="tsd-kind-icon">create<wbr/>Crypto<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createPaymentAccount" class="tsd-kind-icon">create<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#createXmrTx" class="tsd-kind-icon">create<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#deleteAccount" class="tsd-kind-icon">delete<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#disconnect" class="tsd-kind-icon">disconnect</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getAppName" class="tsd-kind-icon">get<wbr/>App<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getBalances" class="tsd-kind-icon">get<wbr/>Balances</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getBestAvailableConnection" class="tsd-kind-icon">get<wbr/>Best<wbr/>Available<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getChatMessages" class="tsd-kind-icon">get<wbr/>Chat<wbr/>Messages</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getDispute" class="tsd-kind-icon">get<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getDisputes" class="tsd-kind-icon">get<wbr/>Disputes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMarketDepth" class="tsd-kind-icon">get<wbr/>Market<wbr/>Depth</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroConnection" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroConnections" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Connections</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMoneroNodeSettings" class="tsd-kind-icon">get<wbr/>Monero<wbr/>Node<wbr/>Settings</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMyOffer" class="tsd-kind-icon">get<wbr/>My<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getMyOffers" class="tsd-kind-icon">get<wbr/>My<wbr/>Offers</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getOffers" class="tsd-kind-icon">get<wbr/>Offers</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccount" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccountForm" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Account<wbr/>Form</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentAccounts" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Accounts</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPaymentMethods" class="tsd-kind-icon">get<wbr/>Payment<wbr/>Methods</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPrice" class="tsd-kind-icon">get<wbr/>Price</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getPrices" class="tsd-kind-icon">get<wbr/>Prices</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getProcess" class="tsd-kind-icon">get<wbr/>Process</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getSupportedAssetCodes" class="tsd-kind-icon">get<wbr/>Supported<wbr/>Asset<wbr/>Codes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getTrade" class="tsd-kind-icon">get<wbr/>Trade</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getTrades" class="tsd-kind-icon">get<wbr/>Trades</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getUrl" class="tsd-kind-icon">get<wbr/>Url</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getVersion" class="tsd-kind-icon">get<wbr/>Version</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getWalletRpcPort" class="tsd-kind-icon">get<wbr/>Wallet<wbr/>Rpc<wbr/>Port</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrNewSubaddress" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>New<wbr/>Subaddress</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrPrimaryAddress" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Primary<wbr/>Address</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrSeed" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Seed</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrTx" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#getXmrTxs" class="tsd-kind-icon">get<wbr/>Xmr<wbr/>Txs</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isAccountOpen" class="tsd-kind-icon">is<wbr/>Account<wbr/>Open</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isConnectedToDaemon" class="tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Daemon</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isConnectedToMonero" class="tsd-kind-icon">is<wbr/>Connected<wbr/>To<wbr/>Monero</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#isMoneroNodeOnline" class="tsd-kind-icon">is<wbr/>Monero<wbr/>Node<wbr/>Online</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#openAccount" class="tsd-kind-icon">open<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#openDispute" class="tsd-kind-icon">open<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#postOffer" class="tsd-kind-icon">post<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#registerDisputeAgent" class="tsd-kind-icon">register<wbr/>Dispute<wbr/>Agent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#relayXmrTx" class="tsd-kind-icon">relay<wbr/>Xmr<wbr/>Tx</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeMoneroConnection" class="tsd-kind-icon">remove<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeNotificationListener" class="tsd-kind-icon">remove<wbr/>Notification<wbr/>Listener</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#removeOffer" class="tsd-kind-icon">remove<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#resolveDispute" class="tsd-kind-icon">resolve<wbr/>Dispute</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#restoreAccount" class="tsd-kind-icon">restore<wbr/>Account</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#sendChatMessage" class="tsd-kind-icon">send<wbr/>Chat<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#sendDisputeChatMessage" class="tsd-kind-icon">send<wbr/>Dispute<wbr/>Chat<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setAutoSwitch" class="tsd-kind-icon">set<wbr/>Auto<wbr/>Switch</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setMoneroConnection" class="tsd-kind-icon">set<wbr/>Monero<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#setProcessLogging" class="tsd-kind-icon">set<wbr/>Process<wbr/>Logging</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#shutdownServer" class="tsd-kind-icon">shutdown<wbr/>Server</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#startCheckingConnection" class="tsd-kind-icon">start<wbr/>Checking<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#startMoneroNode" class="tsd-kind-icon">start<wbr/>Monero<wbr/>Node</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#stopCheckingConnection" class="tsd-kind-icon">stop<wbr/>Checking<wbr/>Connection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#stopMoneroNode" class="tsd-kind-icon">stop<wbr/>Monero<wbr/>Node</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#takeOffer" class="tsd-kind-icon">take<wbr/>Offer</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#unregisterDisputeAgent" class="tsd-kind-icon">unregister<wbr/>Dispute<wbr/>Agent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#validateFormField" class="tsd-kind-icon">validate<wbr/>Form<wbr/>Field</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#startProcess" class="tsd-kind-icon">start<wbr/>Process</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html> |