mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
316 lines
223 KiB
HTML
316 lines
223 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 using gRPC.</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>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_accountClient" class="tsd-kind-icon">_account<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_appName" class="tsd-kind-icon">_app<wbr/>Name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_disputeAgentsClient" class="tsd-kind-icon">_dispute<wbr/>Agents<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_disputesClient" class="tsd-kind-icon">_disputes<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_getVersionClient" class="tsd-kind-icon">_get<wbr/>Version<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_keepAliveLooper" class="tsd-kind-icon">_keep<wbr/>Alive<wbr/>Looper</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_keepAlivePeriodMs" class="tsd-kind-icon">_keep<wbr/>Alive<wbr/>Period<wbr/>Ms</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_moneroConnectionsClient" class="tsd-kind-icon">_monero<wbr/>Connections<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_moneroNodeClient" class="tsd-kind-icon">_monero<wbr/>Node<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationListeners" class="tsd-kind-icon">_notification<wbr/>Listeners</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationStream" class="tsd-kind-icon">_notification<wbr/>Stream</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationsClient" class="tsd-kind-icon">_notifications<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_offersClient" class="tsd-kind-icon">_offers<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_password" class="tsd-kind-icon">_password</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_paymentAccountsClient" class="tsd-kind-icon">_payment<wbr/>Accounts<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_priceClient" class="tsd-kind-icon">_price<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_process" class="tsd-kind-icon">_process</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_processLogging" class="tsd-kind-icon">_process<wbr/>Logging</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_registerNotificationListenerCalled" class="tsd-kind-icon">_register<wbr/>Notification<wbr/>Listener<wbr/>Called</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_shutdownServerClient" class="tsd-kind-icon">_shutdown<wbr/>Server<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_tradesClient" class="tsd-kind-icon">_trades<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_url" class="tsd-kind-icon">_url</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_walletRpcPort" class="tsd-kind-icon">_wallet<wbr/>Rpc<wbr/>Port</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_walletsClient" class="tsd-kind-icon">_wallets<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#_fullyInitializedMessage" class="tsd-kind-icon">_fully<wbr/>Initialized<wbr/>Message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#_loginRequiredMessage" class="tsd-kind-icon">_login<wbr/>Required<wbr/>Message</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#_isAppInitialized" class="tsd-kind-icon">_is<wbr/>App<wbr/>Initialized</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_updateNotificationListenerRegistration" class="tsd-kind-icon">_update<wbr/>Notification<wbr/>Listener<wbr/>Registration</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#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#getNewDepositAddress" class="tsd-kind-icon">get<wbr/>New<wbr/>Deposit<wbr/>Address</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#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#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#isMoneroNodeRunning" class="tsd-kind-icon">is<wbr/>Monero<wbr/>Node<wbr/>Running</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 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/5875941/src/HavenoClient.ts#L52">src/HavenoClient.ts:52</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>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_accountClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_account<wbr/>Client<a href="#_accountClient" 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><div class="tsd-signature tsd-kind-icon">_account<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.AccountClient.html" class="tsd-signature-type" data-tsd-kind="Class">AccountClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L28">src/HavenoClient.ts:28</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_appName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_app<wbr/>Name<a href="#_appName" 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><div class="tsd-signature tsd-kind-icon">_app<wbr/>Name<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></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L15">src/HavenoClient.ts:15</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_disputeAgentsClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_dispute<wbr/>Agents<wbr/>Client<a href="#_disputeAgentsClient" 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><div class="tsd-signature tsd-kind-icon">_dispute<wbr/>Agents<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.DisputeAgentsClient.html" class="tsd-signature-type" data-tsd-kind="Class">DisputeAgentsClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L17">src/HavenoClient.ts:17</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_disputesClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_disputes<wbr/>Client<a href="#_disputesClient" 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><div class="tsd-signature tsd-kind-icon">_disputes<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.DisputesClient.html" class="tsd-signature-type" data-tsd-kind="Class">DisputesClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L18">src/HavenoClient.ts:18</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_getVersionClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_get<wbr/>Version<wbr/>Client<a href="#_getVersionClient" 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><div class="tsd-signature tsd-kind-icon">_get<wbr/>Version<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.GetVersionClient.html" class="tsd-signature-type" data-tsd-kind="Class">GetVersionClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L16">src/HavenoClient.ts:16</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_keepAliveLooper" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_keep<wbr/>Alive<wbr/>Looper<a href="#_keepAliveLooper" 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><div class="tsd-signature tsd-kind-icon">_keep<wbr/>Alive<wbr/>Looper<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L39">src/HavenoClient.ts:39</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_keepAlivePeriodMs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_keep<wbr/>Alive<wbr/>Period<wbr/>Ms<a href="#_keepAlivePeriodMs" 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><div class="tsd-signature tsd-kind-icon">_keep<wbr/>Alive<wbr/>Period<wbr/>Ms<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 60000</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L40">src/HavenoClient.ts:40</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_moneroConnectionsClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_monero<wbr/>Connections<wbr/>Client<a href="#_moneroConnectionsClient" 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><div class="tsd-signature tsd-kind-icon">_monero<wbr/>Connections<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.MoneroConnectionsClient.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroConnectionsClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L21">src/HavenoClient.ts:21</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_moneroNodeClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_monero<wbr/>Node<wbr/>Client<a href="#_moneroNodeClient" 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><div class="tsd-signature tsd-kind-icon">_monero<wbr/>Node<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.MoneroNodeClient.html" class="tsd-signature-type" data-tsd-kind="Class">MoneroNodeClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L22">src/HavenoClient.ts:22</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_notificationListeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_notification<wbr/>Listeners<a href="#_notificationListeners" 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><div class="tsd-signature tsd-kind-icon">_notification<wbr/>Listeners<span class="tsd-signature-symbol">:</span> <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-symbol"> = []</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L37">src/HavenoClient.ts:37</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_notificationStream" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_notification<wbr/>Stream<a href="#_notificationStream" 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><div class="tsd-signature tsd-kind-icon">_notification<wbr/>Stream<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="HavenoClient._internal_.ClientReadableStream.html" class="tsd-signature-type" data-tsd-kind="Class">ClientReadableStream</a><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></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L20">src/HavenoClient.ts:20</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_notificationsClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_notifications<wbr/>Client<a href="#_notificationsClient" 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><div class="tsd-signature tsd-kind-icon">_notifications<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.NotificationsClient.html" class="tsd-signature-type" data-tsd-kind="Class">NotificationsClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L19">src/HavenoClient.ts:19</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_offersClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_offers<wbr/>Client<a href="#_offersClient" 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><div class="tsd-signature tsd-kind-icon">_offers<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.OffersClient.html" class="tsd-signature-type" data-tsd-kind="Class">OffersClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L26">src/HavenoClient.ts:26</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_password" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_password<a href="#_password" 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><div class="tsd-signature tsd-kind-icon">_password<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L33">src/HavenoClient.ts:33</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_paymentAccountsClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_payment<wbr/>Accounts<wbr/>Client<a href="#_paymentAccountsClient" 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><div class="tsd-signature tsd-kind-icon">_payment<wbr/>Accounts<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.PaymentAccountsClient.html" class="tsd-signature-type" data-tsd-kind="Class">PaymentAccountsClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L25">src/HavenoClient.ts:25</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_priceClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_price<wbr/>Client<a href="#_priceClient" 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><div class="tsd-signature tsd-kind-icon">_price<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.PriceClient.html" class="tsd-signature-type" data-tsd-kind="Class">PriceClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L24">src/HavenoClient.ts:24</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_process" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_process<a href="#_process" 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><div class="tsd-signature tsd-kind-icon">_process<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L34">src/HavenoClient.ts:34</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_processLogging" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_process<wbr/>Logging<a href="#_processLogging" 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><div class="tsd-signature tsd-kind-icon">_process<wbr/>Logging<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L35">src/HavenoClient.ts:35</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_registerNotificationListenerCalled" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_register<wbr/>Notification<wbr/>Listener<wbr/>Called<a href="#_registerNotificationListenerCalled" 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><div class="tsd-signature tsd-kind-icon">_register<wbr/>Notification<wbr/>Listener<wbr/>Called<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L38">src/HavenoClient.ts:38</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_shutdownServerClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_shutdown<wbr/>Server<wbr/>Client<a href="#_shutdownServerClient" 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><div class="tsd-signature tsd-kind-icon">_shutdown<wbr/>Server<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.ShutdownServerClient.html" class="tsd-signature-type" data-tsd-kind="Class">ShutdownServerClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L29">src/HavenoClient.ts:29</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_tradesClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_trades<wbr/>Client<a href="#_tradesClient" 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><div class="tsd-signature tsd-kind-icon">_trades<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.TradesClient.html" class="tsd-signature-type" data-tsd-kind="Class">TradesClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L27">src/HavenoClient.ts:27</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_url" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_url<a href="#_url" 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><div class="tsd-signature tsd-kind-icon">_url<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L32">src/HavenoClient.ts:32</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_walletRpcPort" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_wallet<wbr/>Rpc<wbr/>Port<a href="#_walletRpcPort" 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><div class="tsd-signature tsd-kind-icon">_wallet<wbr/>Rpc<wbr/>Port<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></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L36">src/HavenoClient.ts:36</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_walletsClient" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_wallets<wbr/>Client<a href="#_walletsClient" 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><div class="tsd-signature tsd-kind-icon">_wallets<wbr/>Client<span class="tsd-signature-symbol">:</span> <a href="protobuf_GrpcServiceClientPb.WalletsClient.html" class="tsd-signature-type" data-tsd-kind="Class">WalletsClient</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L23">src/HavenoClient.ts:23</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="_fullyInitializedMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> _fully<wbr/>Initialized<wbr/>Message<a href="#_fullyInitializedMessage" 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><div class="tsd-signature tsd-kind-icon">_fully<wbr/>Initialized<wbr/>Message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Application fully initialized"</span><span class="tsd-signature-symbol"> = "Application fully initialized"</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L43">src/HavenoClient.ts:43</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="_loginRequiredMessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagReadonly">Readonly</span> _login<wbr/>Required<wbr/>Message<a href="#_loginRequiredMessage" 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><div class="tsd-signature tsd-kind-icon">_login<wbr/>Required<wbr/>Message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Interactive login required"</span><span class="tsd-signature-symbol"> = "Interactive login required"</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/woodser/haveno-ts/blob/5875941/src/HavenoClient.ts#L44">src/HavenoClient.ts:44</a></li></ul></aside></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="_isAppInitialized" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_is<wbr/>App<wbr/>Initialized<a href="#_isAppInitialized" 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/>App<wbr/>Initialized<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/5875941/src/HavenoClient.ts#L1231">src/HavenoClient.ts:1231</a></li></ul></aside><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="_updateNotificationListenerRegistration" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_update<wbr/>Notification<wbr/>Listener<wbr/>Registration<a href="#_updateNotificationListenerRegistration" 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">_update<wbr/>Notification<wbr/>Listener<wbr/>Registration<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/5875941/src/HavenoClient.ts#L1245">src/HavenoClient.ts:1245</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Update notification listener registration.
|
|
Due to the nature of grpc streaming, this method returns a promise
|
|
which may be resolved before the listener is actually registered.</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="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/5875941/src/HavenoClient.ts#L247">src/HavenoClient.ts:247</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/5875941/src/HavenoClient.ts#L424">src/HavenoClient.ts:424</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/5875941/src/HavenoClient.ts#L390">src/HavenoClient.ts:390</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/5875941/src/HavenoClient.ts#L341">src/HavenoClient.ts:341</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/5875941/src/HavenoClient.ts#L305">src/HavenoClient.ts:305</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/5875941/src/HavenoClient.ts#L504">src/HavenoClient.ts:504</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/5875941/src/HavenoClient.ts#L518">src/HavenoClient.ts:518</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/5875941/src/HavenoClient.ts#L317">src/HavenoClient.ts:317</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="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/5875941/src/HavenoClient.ts#L1046">src/HavenoClient.ts:1046</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/5875941/src/HavenoClient.ts#L1032">src/HavenoClient.ts:1032</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/5875941/src/HavenoClient.ts#L275">src/HavenoClient.ts:275</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/5875941/src/HavenoClient.ts#L859">src/HavenoClient.ts:859</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><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><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/5875941/src/HavenoClient.ts#L842">src/HavenoClient.ts:842</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: <span class="tsd-signature-type">any</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>the completed form as JSON 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/5875941/src/HavenoClient.ts#L712">src/HavenoClient.ts:712</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/5875941/src/HavenoClient.ts#L329">src/HavenoClient.ts:329</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/5875941/src/HavenoClient.ts#L1176">src/HavenoClient.ts:1176</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/5875941/src/HavenoClient.ts#L210">src/HavenoClient.ts:210</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/5875941/src/HavenoClient.ts#L656">src/HavenoClient.ts:656</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/5875941/src/HavenoClient.ts#L558">src/HavenoClient.ts:558</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/5875941/src/HavenoClient.ts#L1060">src/HavenoClient.ts:1060</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/5875941/src/HavenoClient.ts#L1093">src/HavenoClient.ts:1093</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/5875941/src/HavenoClient.ts#L1105">src/HavenoClient.ts:1105</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/5875941/src/HavenoClient.ts#L770">src/HavenoClient.ts:770</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/5875941/src/HavenoClient.ts#L452">src/HavenoClient.ts:452</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/5875941/src/HavenoClient.ts#L466">src/HavenoClient.ts:466</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/5875941/src/HavenoClient.ts#L596">src/HavenoClient.ts:596</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/5875941/src/HavenoClient.ts#L913">src/HavenoClient.ts:913</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/5875941/src/HavenoClient.ts#L897">src/HavenoClient.ts:897</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="getNewDepositAddress" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>New<wbr/>Deposit<wbr/>Address<a href="#getNewDepositAddress" 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/>New<wbr/>Deposit<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/5875941/src/HavenoClient.ts#L670">src/HavenoClient.ts:670</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="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/5875941/src/HavenoClient.ts#L880">src/HavenoClient.ts:880</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/5875941/src/HavenoClient.ts#L813">src/HavenoClient.ts:813</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><span class="tsd-signature-type">any</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/5875941/src/HavenoClient.ts#L827">src/HavenoClient.ts:827</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></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">any</span><span class="tsd-signature-symbol">></span></h4><div><p>the payment account form as JSON</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/5875941/src/HavenoClient.ts#L798">src/HavenoClient.ts:798</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><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/5875941/src/HavenoClient.ts#L784">src/HavenoClient.ts:784</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get payment methods.</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.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>currencyCode<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/5875941/src/HavenoClient.ts#L741">src/HavenoClient.ts:741</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>currencyCode: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>currency code (fiat or crypto) 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 current market price per 1 XMR in the given currency</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/5875941/src/HavenoClient.ts#L755">src/HavenoClient.ts:755</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Get the current market prices of all currencies.</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>price per 1 XMR in all supported currencies (fiat & crypto)</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/5875941/src/HavenoClient.ts#L175">src/HavenoClient.ts:175</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="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/5875941/src/HavenoClient.ts#L1004">src/HavenoClient.ts:1004</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/5875941/src/HavenoClient.ts#L1018">src/HavenoClient.ts:1018</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/5875941/src/HavenoClient.ts#L194">src/HavenoClient.ts:194</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/5875941/src/HavenoClient.ts#L219">src/HavenoClient.ts:219</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/5875941/src/HavenoClient.ts#L203">src/HavenoClient.ts:203</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="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/5875941/src/HavenoClient.ts#L699">src/HavenoClient.ts:699</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/5875941/src/HavenoClient.ts#L684">src/HavenoClient.ts:684</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/5875941/src/HavenoClient.ts#L261">src/HavenoClient.ts:261</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/5875941/src/HavenoClient.ts#L233">src/HavenoClient.ts:233</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/5875941/src/HavenoClient.ts#L412">src/HavenoClient.ts:412</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="isMoneroNodeRunning" class="tsd-anchor"></a><h3 class="tsd-anchor-link">is<wbr/>Monero<wbr/>Node<wbr/>Running<a href="#isMoneroNodeRunning" 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/>Running<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/5875941/src/HavenoClient.ts#L584">src/HavenoClient.ts:584</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/5875941/src/HavenoClient.ts#L290">src/HavenoClient.ts:290</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/5875941/src/HavenoClient.ts#L1119">src/HavenoClient.ts:1119</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>, buyerSecurityDeposit<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>, marketPriceMargin<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/5875941/src/HavenoClient.ts#L936">src/HavenoClient.ts:936</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>buyerSecurityDeposit: <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> marketPriceMargin: <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/5875941/src/HavenoClient.ts#L639">src/HavenoClient.ts:639</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/5875941/src/HavenoClient.ts#L726">src/HavenoClient.ts:726</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/5875941/src/HavenoClient.ts#L438">src/HavenoClient.ts:438</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/5875941/src/HavenoClient.ts#L400">src/HavenoClient.ts:400</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/5875941/src/HavenoClient.ts#L969">src/HavenoClient.ts:969</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/5875941/src/HavenoClient.ts#L1138">src/HavenoClient.ts:1138</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.</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/5875941/src/HavenoClient.ts#L366">src/HavenoClient.ts:366</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/5875941/src/HavenoClient.ts#L1076">src/HavenoClient.ts:1076</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/5875941/src/HavenoClient.ts#L1160">src/HavenoClient.ts:1160</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/5875941/src/HavenoClient.ts#L572">src/HavenoClient.ts:572</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/5875941/src/HavenoClient.ts#L485">src/HavenoClient.ts:485</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/5875941/src/HavenoClient.ts#L184">src/HavenoClient.ts:184</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/5875941/src/HavenoClient.ts#L1183">src/HavenoClient.ts:1183</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/5875941/src/HavenoClient.ts#L532">src/HavenoClient.ts:532</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/5875941/src/HavenoClient.ts#L611">src/HavenoClient.ts:611</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/5875941/src/HavenoClient.ts#L544">src/HavenoClient.ts:544</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/5875941/src/HavenoClient.ts#L624">src/HavenoClient.ts:624</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/5875941/src/HavenoClient.ts#L985">src/HavenoClient.ts:985</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 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/5875941/src/HavenoClient.ts#L82">src/HavenoClient.ts:82</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_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-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_accountClient" class="tsd-kind-icon">_account<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_appName" class="tsd-kind-icon">_app<wbr/>Name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_disputeAgentsClient" class="tsd-kind-icon">_dispute<wbr/>Agents<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_disputesClient" class="tsd-kind-icon">_disputes<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_getVersionClient" class="tsd-kind-icon">_get<wbr/>Version<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_keepAliveLooper" class="tsd-kind-icon">_keep<wbr/>Alive<wbr/>Looper</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_keepAlivePeriodMs" class="tsd-kind-icon">_keep<wbr/>Alive<wbr/>Period<wbr/>Ms</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_moneroConnectionsClient" class="tsd-kind-icon">_monero<wbr/>Connections<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_moneroNodeClient" class="tsd-kind-icon">_monero<wbr/>Node<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationListeners" class="tsd-kind-icon">_notification<wbr/>Listeners</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationStream" class="tsd-kind-icon">_notification<wbr/>Stream</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_notificationsClient" class="tsd-kind-icon">_notifications<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_offersClient" class="tsd-kind-icon">_offers<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_password" class="tsd-kind-icon">_password</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_paymentAccountsClient" class="tsd-kind-icon">_payment<wbr/>Accounts<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_priceClient" class="tsd-kind-icon">_price<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_process" class="tsd-kind-icon">_process</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_processLogging" class="tsd-kind-icon">_process<wbr/>Logging</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_registerNotificationListenerCalled" class="tsd-kind-icon">_register<wbr/>Notification<wbr/>Listener<wbr/>Called</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_shutdownServerClient" class="tsd-kind-icon">_shutdown<wbr/>Server<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_tradesClient" class="tsd-kind-icon">_trades<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_url" class="tsd-kind-icon">_url</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_walletRpcPort" class="tsd-kind-icon">_wallet<wbr/>Rpc<wbr/>Port</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_walletsClient" class="tsd-kind-icon">_wallets<wbr/>Client</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#_fullyInitializedMessage" class="tsd-kind-icon">_fully<wbr/>Initialized<wbr/>Message</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="HavenoClient.HavenoClient-1.html#_loginRequiredMessage" class="tsd-kind-icon">_login<wbr/>Required<wbr/>Message</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_isAppInitialized" class="tsd-kind-icon">_is<wbr/>App<wbr/>Initialized</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="HavenoClient.HavenoClient-1.html#_updateNotificationListenerRegistration" class="tsd-kind-icon">_update<wbr/>Notification<wbr/>Listener<wbr/>Registration</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#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#getNewDepositAddress" class="tsd-kind-icon">get<wbr/>New<wbr/>Deposit<wbr/>Address</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#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#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#isMoneroNodeRunning" class="tsd-kind-icon">is<wbr/>Monero<wbr/>Node<wbr/>Running</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 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-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</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-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static 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></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> |