<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Backup copy of Qora API Reference http://api.qora.org/</title>
<link href="stylesheets/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link href="stylesheets/print.css" rel="stylesheet" type="text/css" media="print" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="javascripts/all.js" type="text/javascript"></script>
<script>
$(function() {
setupLanguages(["shell","http"]);
});
</script>
</head>
<body class="index">
<a href="#" id="nav-button">
<span>
NAV
<img src="images/navbar.png" />
</span>
</a>
<div class="tocify-wrapper">
<img src="images/logo.png" />
<div class="lang-selector">
<a href="#" data-language-name="shell">shell</a>
<a href="#" data-language-name="http">http</a>
</div>
<div class="search">
<input type="text" class="search" id="input-search" placeholder="Search">
</div>
<ul class="search-results"></ul>
<div id="toc">
</div>
<ul class="toc-footer">
<li><a href='https://github.com/tripit/slate'>Documentation Powered by Slate</a></li>
</ul>
</div>
<div class="page-wrapper">
<div class="dark-box"></div>
<div class="content">
<h1 id="introduction">Introduction</h1>
<p>This is the official API documentation of Qora.</p>
<p>Current version </p>
<p><a href="https://github.com/Qoracoin/Qora/releases"><img alt="release" src="https://img.shields.io/github/release/Qoracoin/Qora.svg" /></a></p>
<h1 id="qora">Qora</h1>
<p>Provides general information about the state of the application and the ability to close the application.</p>
<h2 id="stop">Stop</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/qora/stop"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">qora/stop</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Will stop the application. This command might not be able to return a http OK message.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET qora/stop</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/qora/stop" target="blank">http://127.0.0.1:9085/qora/stop</a>
</aside>
<h2 id="status">Status</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/qora/status"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">/qora/status</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the status of the application</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET qora/status</code></p>
<table><thead>
<tr>
<th>Status</th>
<th>Value</th>
</tr>
</thead><tbody>
<tr>
<td>0</td>
<td>No connections</td>
</tr>
<tr>
<td>1</td>
<td>Synchronizing</td>
</tr>
<tr>
<td>2</td>
<td>Oke</td>
</tr>
</tbody></table>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/qora/status" target="blank">http://127.0.0.1:9085/qora/status</a>
</aside>
<h2 id="forging-status">Forging Status</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/qora/status/forging"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">qora/status/forging</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the forging status</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET qora/status/forging</code></p>
<table><thead>
<tr>
<th>Status</th>
<th>Value</th>
</tr>
</thead><tbody>
<tr>
<td>0</td>
<td>Forging Disabled</td>
</tr>
<tr>
<td>1</td>
<td>Forging Enabled</td>
</tr>
<tr>
<td>2</td>
<td>Forging</td>
</tr>
</tbody></table>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/qora/status/forging" target="blank">http://127.0.0.1:9085/qora/status/forging</a>
</aside>
<h2 id="is-up-to-date">Is Up To Date</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/qora/isuptodate"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">qora/isuptodate</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns a boolean that shows if the application is synchronized with the network.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET qora/isuptodate</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/qora/isuptodate" target="blank">http://127.0.0.1:9085/qora/isuptodate</a>
</aside>
<h2 id="version">Version</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/version"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">version</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the current version and the build date of the installed application.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET version</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/version" target="blank">http://127.0.0.1:9085/version</a>
</aside>
<h1 id="seed">Seed</h1>
<p>To generate a random base58 encoded seed. These seeds can be used to create a wallet or to import an account.</p>
<h2 id="get-seed">Get Seed</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/seed"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">seed</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns a base58 encoded random seed of 32 bytes</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET seed</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/seed" target="blank">http://127.0.0.1:9085/seed</a>
</aside>
<h2 id="get-seed-by-length">Get Seed By Length</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/seed/{length}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">seed/{length}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Use the optional parameter length to request a seed of {length} bytes.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET seed/{length}</code> </p>
<h1 id="peers">Peers</h1>
<h2 id="get-peers">Get Peers</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/peers"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">peers</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the IP’s of the peers to which the application is currently connected.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET peers</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/peers" target="blank">http://127.0.0.1:9085/peers</a>
</aside>
<h1 id="transactions">Transactions</h1>
<h2 id="get-transactions">Get Transactions</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"account"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"account"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QQNFGuE8iZZ3sHjCnvvdbhfQHXokU8SgCX"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns an array of your accounts each with their 50 last transactions.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-limited-transactions">Get Limited Transactions</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/limit/{limit}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions/limit/{limit}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"account"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"account"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QQNFGuE8iZZ3sHjCnvvdbhfQHXokU8SgCX"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns an array of your accounts each with their {limit} last transactions.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions/limit/{limit}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<!-- ## GET transactions/{address}
```shell
GET transactions/{address}
```
Returns an array of the last 50 transactions of a specific address in your wallet.
Will be removed in future versions, use GET transactions/address/{address} instead.
### Errors
| Error | Description |
| --- | --- |
| 102 | Invalid address. |
| 201 | Wallet does not exist. |
| 202 | address does not exist in wallet | -->
<h2 id="get-transactions-by-address">Get Transactions By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/address/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions/address/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of the last 50 transactions of a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions/address/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>address does not exist in wallet</td>
</tr>
</tbody></table>
<h2 id="get-limited-transactions-by-address">Get Limited Transactions By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/address/{address}/limit/{limit}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions/address/{address}/limit/{limit}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of the last {limit} transactions of a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions/address/{address}/limit/{limit}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>address does not exist in wallet</td>
</tr>
</tbody></table>
<h2 id="get-transactions-by-signature">Get Transactions By Signature</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/signature/{signature}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions/signature/{signature}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the transaction that matches the given signature.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions/signature/{signature}</code></p>
<!-- Will be moved to GET transactions/{signature} once GET transactions/{address} is removed. -->
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>311</td>
<td>Transaction does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-network-transactions">Get Network Transactions</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/network"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">transactions/network</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the unconfirmed transactions known to the client.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET transactions/network</code></p>
<h2 id="scan-transactions">Scan Transactions</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/transactions/scan"</span>
-d <span class="s1">'{"blocklimit":1000,"transactionlimit":100,"type":2}'</span>
-X POST
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">transactions/scan</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "blocklimit": 1000,</span>
<span class="s"> "transactionlimit": 100,</span>
<span class="s"> "type": 2</span>
<span class="s">}</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="mi">303</span><span class="p">,</span><span class="w">
</span><span class="s2">"lastscanned"</span><span class="p">:</span><span class="w"> </span><span class="s2">"HQzVY265bpf2pSuLK8P5PRWQN47Ui5PiqyFsgyz2WpRiu6xUaLyyj99yrkUt2xSMbexRoF5fqJijJwG9DGJjPVYDwrhgSa33vg2KxvehAXRdhXvegzjnW55Fn1NXy51Ei3D8A9CyW7N4ohzFdHwmGjNryM26RPnqaTmmrZA32HeX7uc"</span><span class="p">,</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1400254833419</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qec5ueWc4rcBrty47GZfFSqvLymxvcycFm"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">1959</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"38sGerf4a24fRCTeknzQJgGBJe6hKribjKZGpQmrqajJwDM216FoUm9VCve7tst4Dypn1qgHKVgb6qN4vK9QFv3p"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2kioUSPPZdGvqWYZuT61J5M9nQ3udSzS2AZGU3MhdtNdbS2naWfuD6cpR2T9ZpKjRs2GFsyEYHDntQbBmTdsCyZL"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QWNNYAh4dD7gktCfN9hb454qEaitjEnfy5"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1400258674297</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVjcFWE6TnGePGJEtbNc1thwD2sgHBLvUV"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"42940527.25000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">1949</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"kRMLekdCQY7Prq2nyL8XLuL77oAJKP8WNarq1GaU6CTLQZ8VHgZJQFAeqJrNeKpt52QgsYrawcscRncY1XEsePB"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4YEbzGrvKntTJbfX3v4AZSY1JUaUqw7LFRm1s4ZDZKJqxfMWtKUw2Ho1jXXE16FSqwU4GqP8dxHaCV8huA6xDSg5"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qd9jQKZSXoYgFypTQySJUSbXcZvjgdiemn"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<p>Returns all the transactions that match the filters. All filters are optional but please limit that amount of transactions or blocks to scan to avoid running into issues.</p>
<!-- ### REQUEST -->
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST transactions/scan</code></p>
<table><thead>
<tr>
<th>Filter</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>start</td>
<td>The signature of the starting block.</td>
</tr>
<tr>
<td>blocklimit</td>
<td>The maximum amount of blocks to scan.</td>
</tr>
<tr>
<td>transactionlimit</td>
<td>The maximum amount of transactions to return.</td>
</tr>
<tr>
<td>type</td>
<td>Only return transactions with the given type.</td>
</tr>
<tr>
<td>service</td>
<td>Only return Arbitrary Transactions with the given service.</td>
</tr>
<tr>
<td>address</td>
<td>Only return transactions where the given address is involved.</td>
</tr>
</tbody></table>
<p>Return the last block it scanned, the amount of blocks it scanned and the scanned transactions.</p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h1 id="blocks">Blocks</h1>
<h2 id="get-blocks">Get Blocks</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of the 50 last blocks generated by your accounts.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks" target="blank">http://127.0.0.1:9085/blocks</a>
</aside>
<h2 id="get-blocks-by-address">Get Blocks By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/address/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/address/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of the 50 last blocks generated by a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/address/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
</tbody></table>
<h2 id="get-blocks-by-signature">Get Blocks By Signature</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/{signature}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/{signature}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the block that matches the given signature.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/{signature}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-genesis-block">Get Genesis Block</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/first"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/first</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the genesis block.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/first</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks/first" target="blank">http://127.0.0.1:9085/blocks/first</a>
</aside>
<h2 id="get-last-block">Get Last Block</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/last"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/last</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the last valid block.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/last</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks/last" target="blank">http://127.0.0.1:9085/blocks/last</a>
</aside>
<h2 id="get-child-block">Get Child Block</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/child/{signature}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/child/{signature}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the child block of the block that matches the given signature.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/child/{signature}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-generating-balance-of-the-next-block">Get Generating Balance Of The Next Block</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/generatingbalance"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/generatingbalance</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Calculates the generating balance of the block that will follow the last block.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/generatingbalance</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks/generatingbalance" target="blank">http://127.0.0.1:9085/blocks/generatingbalance</a>
</aside>
<h2 id="get-blocks-generating-balance">Get Blocks Generating Balance</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/generatingbalance/{signature}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/generatingbalance/{signature}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Calculates the generating balance of the block that will follow the block that matches the signature.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/generatingbalance/{signature}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-time-for-the-next-block">Get Time For The Next Block</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/time"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/time</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Calculates the time it should take for the network to generate the next block.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/time</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks/time" target="blank">http://127.0.0.1:9085/blocks/time</a>
</aside>
<!-- ## GET blocks/time/{generatingbalance}
```shell
GET blocks/time/{generatingbalance}
```
Calculates the time it should take for the network to generate blocks when the current generating balance in the network is the specified generating balance. -->
<h2 id="get-last-block-height">Get Last Block Height</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/height"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/height</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the block height of the last block.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/height</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/blocks/height" target="blank">http://127.0.0.1:9085/blocks/height</a>
</aside>
<h2 id="get-block-height-by-signature">Get Block Height By Signature</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/height/{signature}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/height/{signature}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the block height of the block that matches the given signature.</p>
<h3 id="request">REQUEST</h3>
<!-- `GET blocks/height/{signature}` -->
<p><code class="prettyprint">GET blocks/height/{signature}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-blocks-by-height">Get Blocks By Height</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/blocks/byheight/{height}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">blocks/byheight/{height}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the specified block</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET blocks/byheight/{height}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
</tbody></table>
<h1 id="addresses">Addresses</h1>
<h2 id="get-addresses">Get Addresses</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the addresses in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses</code></p>
<aside class="notice">
You can execute this command by clicking here: <a href="http://127.0.0.1:9085/addresses" target="blank">http://127.0.0.1:9085/addresses</a>
</aside>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="validate-address">Validate Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/validate/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/validate/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Validates the given address.Returns true/false.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/validate/{address}</code></p>
<h2 id="get-address-seed">Get Address Seed</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/seed/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/seed/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the 32-byte long base58-encoded account seed of the given address.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/seed/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="create-a-new-address">Create A New Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/new"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/new</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Generates a new account and returns the newly generated address.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/new</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="import-address">Import Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses"</span>
-X POST
-d seed
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">addresses</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">seed</span>
</code></pre>
<p>Imports the given 32-byte long base58-encoded account seed.</p>
<p>Returns the address when successfully imported.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST addresses seed</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>103</td>
<td>Invalid seed.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="delete-address">Delete Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/{address}
-X DELETE
</span></code></pre>
<pre class="highlight http"><code><span class="nf">DELETE</span> <span class="nn">addresses/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Deletes the given address.Returns true/false.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">DELETE addresses/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="get-address-balance">Get Address Balance</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/balance/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/balance/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the confirmed balance of the given address.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/balance/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
</tbody></table>
<h2 id="get-address-generating-balance">Get Address Generating Balance</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/generatingbalance/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/generatingbalance/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Return the generating balance of the given address.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/generatingbalance/{address}</code></p>
<h2 id="get-asset-balance-by-address">Get Asset Balance By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/assetbalance/{assetid}/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/assetbalance/{assetid}/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the confirmed balance of the given asset ID and the given address.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/assetbalance/{assetid}/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>601</td>
<td>Invalid asset id.</td>
</tr>
</tbody></table>
<h2 id="calculate-address-balance">Calculate Address Balance</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://http://127.0.0.1:9085/addresses/balance/{address}/{confirmation}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/balance/{address}/{confirmation}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Calculates the balance of the given address after the given confirmations.</p>
<p>0 confirmations can only be used on addresses that exist in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET addresses/balance/{address}/{confirmation}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
</tbody></table>
<h2 id="get-address-public-key">Get Address Public key</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/publickey/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">addresses/publickey/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns the public key of the given address</p>
<h3 id="request">REQUEST</h3>
<!-- `GET addresses/publickey/{address}` -->
<p><code class="prettyprint">GET addresses/publickey/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
</tbody></table>
<h2 id="sign-message">Sign Message</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/sign/{address}"</span>
-X POST
-d <span class="nb">test</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">addresses/sign/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">test</span>
</code></pre>
<p>Signs the given message using the given address.</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"test"</span><span class="p">,</span><span class="w">
</span><span class="s2">"publickey"</span><span class="p">:</span><span class="w"> </span><span class="s2">"6cWtyccawscvHhE5woPaLbDUc6qFaH7b7YuDJFrBvgJ3"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2XuAEoUG2GmWJ8s5ZMZMK7csQ1nfHcqL5JYm3JBqetUAZKeT9mu7mSKYYMjLQoLBr5DqLCfaKXLQJnbzCLYCfC21"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST addresses/sign/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="verify-message">Verify Message</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/addresses/verify/{address}"</span>
-X POST
-d <span class="s1">'{"message": "test","publickey": "6cWtyccawscvHhE5woPaLbDUc6qFaH7b7YuDJFrBvgJ3","signature":"2XuAEoUG2GmWJ8s5ZMZMK7csQ1nfHcqL5JYm3JBqetUAZKeT9mu7mSKYYMjLQoLBr5DqLCfaKXLQJnbzCLYCfC21"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">addresses/verify/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "message": "test",</span>
<span class="s"> "publickey": "6cWtyccawscvHhE5woPaLbDUc6qFaH7b7YuDJFrBvgJ3",</span>
<span class="s"> "signature": "2XuAEoUG2GmWJ8s5ZMZMK7csQ1nfHcqL5JYm3JBqetUAZKeT9mu7mSKYYMjLQoLBr5DqLCfaKXLQJnbzCLYCfC21"</span>
<span class="s">}</span>
</code></pre>
<p>Verifies if the given message was signed by the given address. Returns true or false.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST addresses/verify/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>101</td>
<td>Invalid signature</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>112</td>
<td>Invalid public key.</td>
</tr>
</tbody></table>
<h1 id="wallet">Wallet</h1>
<h2 id="get-wallet">Get Wallet</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">wallet</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"exists"</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span><span class="w">
</span><span class="s2">"isunlocked"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<p>Returns general information about the wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET wallet</code></p>
<h2 id="get-wallet-seed">Get Wallet Seed</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet/seed"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">wallet/seed</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Return the 32-byte long base58-encoded wallet seed.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET wallet/seed</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="wallet-synchronize">Wallet Synchronize</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet/synchronize"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">wallet/synchronize</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Rescans the blockchain for data.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET wallet/synchronize</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="lock-wallet">Lock Wallet</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet/lock"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">wallet/lock</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Locks the wallet.</p>
<p>Returns true/false depending on the fact if the wallet was already locked and if the password was correct.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET wallet/lock</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="unlock-wallet">Unlock Wallet</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet/unlock"</span>
-X POST
-d password
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">wallet/unlock</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">password</span>
</code></pre>
<p>Unlocks the wallet using the given password.</p>
<p>Returns true/false depending on the fact if the password is correct.</p>
<h3 id="request">REQUEST</h3>
<!-- `POST wallet/unlock` -->
<p><code class="prettyprint">POST wallet/unlock</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="create-wallet">Create Wallet</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/wallet"</span>
-X POST
-d <span class="s1">'{"seed": "FQgbSAm6swGbtqA3NE8PttijPhT4N3Ufh4bHFAkyVnQz","password": "cookies","recover": false,"amount": 10}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">wallet</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "seed": "FQgbSAm6swGbtqA3NE8PttijPhT4N3Ufh4bHFAkyVnQz",</span>
<span class="s"> "password": "cookies",</span>
<span class="s"> "recover": false,</span>
<span class="s"> "amount": 10</span>
<span class="s">}</span>
</code></pre>
<p>Creates a wallet using the given 32-byte long base58-encoded seed, password,recover flag and amount.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST wallet</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>103</td>
<td>Invalid seed.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>204</td>
<td>Wallet already exists.</td>
</tr>
</tbody></table>
<h1 id="payment">Payment</h1>
<h2 id="post-payment">Post Payment</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1/9085/payment"</span>
-X POST
-d <span class="s1">'{"amount":"10.05","fee":"1.000001","sender":"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM","recipient":"QhMaXFowsVqdAhvU2xkcLzuVaH5VDyEWsS"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">payment</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "amount": "10.05",</span>
<span class="s"> "fee": "1.000001",</span>
<span class="s"> "sender": "Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM",</span>
<span class="s"> "recipient": "QhMaXFowsVqdAhvU2xkcLzuVaH5VDyEWsS"</span>
<span class="s">}</span>
</code></pre>
<p>Send a new payment using the given data.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST payment</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>106</td>
<td>Invalid sender.</td>
</tr>
<tr>
<td>107</td>
<td>Invalid recipient.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h2 id="post-name-payment">Post Name Payment</h2>
<pre class="highlight shell"><code>curl http://127.0.0.1:9085/namepayment
-X POST
-d <span class="s1">'{"amount": "10.05","fee": "1.000001","sender": "Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM","recipient":"qora"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">namepayment</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "amount": "10.05",</span>
<span class="s"> "fee": "1.000001",</span>
<span class="s"> "sender": "Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM",</span>
<span class="s"> "recipient": "qora"</span>
<span class="s">}</span>
</code></pre>
<p>Send a new namepayment using the given data.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST namepayment</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>106</td>
<td>Invalid sender.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>701</td>
<td>Name not registered.</td>
</tr>
<tr>
<td>702</td>
<td>Name for sale.</td>
</tr>
<tr>
<td>703</td>
<td>Name with space.</td>
</tr>
</tbody></table>
<h1 id="names">Names</h1>
<h2 id="get-names">Get Names</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/names"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">names</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the names owned by your accounts.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET names</code></p>
<h2 id="get-names-by-address">Get Names By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/names/address/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">names/address/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the names owned by a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET names/address/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
</tbody></table>
<h2 id="get-name-details">Get Name Details</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/names/{name}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">names/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"value"</span><span class="p">:</span><span class="w"> </span><span class="s2">"http://qora.org"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<p>Returns details about the given name</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET names/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
</tbody></table>
<h2 id="register-name">Register Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1/9085/names"</span>
-X POST
-d <span class="s1">'{"name": "qora","value": "http://qora.org","registrant": "QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5","fee": "1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">names</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "name": "qora",</span>
<span class="s"> "value": "http://qora.org",</span>
<span class="s"> "registrant": "QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5",</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Register a new name.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST names</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>109</td>
<td>Invalid value length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>402</td>
<td>Name already exists.</td>
</tr>
<tr>
<td>404</td>
<td>Name must be lower case.</td>
</tr>
</tbody></table>
<h2 id="update-name">Update Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/names/{name}"</span>
-X POST
-d <span class="s1">'{"newvalue":"http://qora.net","newowner":"QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5","fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">names/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "newvalue": "http://qora.net",</span>
<span class="s"> "newowner": "QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5",</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Updates an existing name.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST names/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>109</td>
<td>Invalid value length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
<tr>
<td>403</td>
<td>Name already for sale.</td>
</tr>
</tbody></table>
<h1 id="namesales">NameSales</h1>
<h2 id="get-namesales">Get Namesales</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">namesales</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the namesales owned by your accounts.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET namesales</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-namesales-by-address">Get Namesales By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/address/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">namesales/address/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the namesales owned by a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET namesales/address/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
</tbody></table>
<h2 id="get-sale-name-details">Get Sale Name Details</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/{name}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">namesales/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Return details about the given name that is for sale.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET namesales/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>410</td>
<td>Name is not for sale.</td>
</tr>
</tbody></table>
<h2 id="list-names">List Names</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/network"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">namesales/network</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"test"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns an array of all the names that are for sale.</p>
<p>For performance this array only contains the keys of the names that are for sale and not the details.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET namesales/network</code></p>
<h2 id="buy-a-name">Buy A Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/buy/{name}"</span>
-X POST
-d <span class="s1">'{"buyer":"QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5","fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">namesales/buy/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "buyer": "QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5",</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Used to purchase the given name.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST namesales/buy/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>111</td>
<td>Invalid buyer.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
<tr>
<td>410</td>
<td>Name is not for sale.</td>
</tr>
<tr>
<td>411</td>
<td>Buyer is already the owner.</td>
</tr>
</tbody></table>
<h2 id="sell-a-name">Sell A Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/{name}"</span>
-X POST
-d <span class="s1">'{"amount":"100","fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">namesales/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "amount": "100",</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Used to sell the given name.Returns the transaction in JSON when successful.</p>
<!-- ### REQUEST -->
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST namesales/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>109</td>
<td>Invalid name owner.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
<tr>
<td>403</td>
<td>Name already for sale.</td>
</tr>
</tbody></table>
<h2 id="cancel-sale-name">Cancel Sale Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/namesales/{name}/{fee}"</span>
-X DELETE
</code></pre>
<pre class="highlight http"><code><span class="nf">DELETE</span> <span class="nn">namesales/{name}/{fee}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Used to cancel the sale of the given name.Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">DELETE namesales/{name}/{fee}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>110</td>
<td>Invalid name owner.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
<tr>
<td>410</td>
<td>Name is not for sale.</td>
</tr>
</tbody></table>
<h1 id="polls">Polls</h1>
<h2 id="get-polls">Get Polls</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/polls"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">polls</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the polls created by your accounts.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET polls</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
</tbody></table>
<h2 id="get-polls-by-address">Get Polls By Address</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/polls/address/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">polls/address/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of all the polls owned by a specific address in your wallet.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET polls/address/{address}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
</tbody></table>
<h2 id="get-polls-by-name">Get Polls By Name</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/polls/{name}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">polls/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET polls/{name}</code></p>
<p>Return details about the poll with the given name.</p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>501</td>
<td>Poll does not exist.</td>
</tr>
</tbody></table>
<h2 id="list-polls">List Polls</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/polls/network"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">polls/network</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"test"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET polls/network</code></p>
<p>Returns an array of all the polls.</p>
<p>For performance this array only contains the names of the polls and not the details.</p>
<h2 id="vote">Vote</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085polls/vote/{name}"</span>
-X POST
-d <span class="s1">'{"voter":"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6","option":"option one","fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">polls/vote/{name}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "voter": "QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6",</span>
<span class="s"> "option": "option one",</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Used to vote on a poll with the given name.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST polls/vote/{name}</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>3</td>
<td>Not yet released.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>114</td>
<td>Invalid option length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>404</td>
<td>Name must be lowercase.</td>
</tr>
<tr>
<td>501</td>
<td>Poll does not exist.</td>
</tr>
<tr>
<td>504</td>
<td>Polloption does not exist.</td>
</tr>
<tr>
<td>505</td>
<td>Already voted for that option.</td>
</tr>
</tbody></table>
<h2 id="create-poll">Create Poll</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/polls"</span>
-X POST
-d <span class="s1">'{"creator":"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6","name":"testpoll","description":"this is a testpoll","options": ["option one","option two"],"fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">polls</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "creator": "QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6",</span>
<span class="s"> "name": "testpoll",</span>
<span class="s"> "description": "this is a testpoll",</span>
<span class="s"> "options": [</span>
<span class="s"> "option one",</span>
<span class="s"> "option two"</span>
<span class="s"> ],</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Used to create a new poll.</p>
<p>Returns the transaction in JSON when successful.</p>
REQUEST</h3>
<p><code class="prettyprint">POST polls</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>3</td>
<td>Not yet released.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>109</td>
<td>Invalid description length.</td>
</tr>
<tr>
<td>113</td>
<td>Invalid options length.</td>
</tr>
<tr>
<td>114</td>
<td>Invalid option length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>404</td>
<td>Name must be lowercase.</td>
</tr>
<tr>
<td>502</td>
<td>Poll already exists.</td>
</tr>
<tr>
<td>503</td>
<td>Duplicate option.</td>
</tr>
</tbody></table>
<h1 id="arbitrary-transactions">Arbitrary Transactions</h1>
<h2 id="create-arbitrary-transaction">Create Arbitrary Transaction</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/arbitrarytransactions"</span>
-X POST
-d <span class="s1">'{"creator":"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6","data":"4GFHMAo9fmbUq7usopgntwUfAiLtpL98K6QCosAJsqQmY95tfd5KoUaKu34v6Qwp7RtYEhobCx7LVi7aYbbtpzfA","service":555,"fee":"1.00001"}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">arbitrarytransactions</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "creator": "QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6",</span>
<span class="s"> "data": "4GFHMAo9fmbUq7usopgntwUfAiLtpL98K6QCosAJsqQmY95tfd5KoUaKu34v6Qwp7RtYEhobCx7LVi7aYbbtpzfA",</span>
<span class="s"> "service": 555,</span>
<span class="s"> "fee": "1.00001"</span>
<span class="s">}</span>
</code></pre>
<p>Used to send an arbitrary transaction.</p>
<p>The data of the arbitrary transaction must be base58 encoded and must be between 1-4000 bytes.</p>
<p>Returns the transaction in JSON when successful.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">POST arbitrarytransactions</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>3</td>
<td>Not yet released.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>115</td>
<td>Invalid data.</td>
</tr>
<tr>
<td>116</td>
<td>Invalid data length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
</tbody></table>
<h1 id="automated-transactions">Automated Transactions</h1>
<h2 id="get-at">Get AT</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<p>Returns an array of deployed AT scripts.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET at</code></p>
<p>For performance this array only contains the addresses of the deployed AT scripts and not the details.</p>
<h2 id="get-at-by-id">Get AT By ID</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/id/{id}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/id/{id}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"tags"</span><span class="p">:</span><span class="w"> </span><span class="s2">"acct,atomic cross chain tx,respond,responder"</span><span class="p">,</span><span class="w">
</span><span class="s2">"accountBalance"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Responders BURST address: BURST-2Z98-XJU6-A2UA-FDKZP"</span><span class="p">,</span><span class="w">
</span><span class="s2">"minActivation"</span><span class="p">:</span><span class="w"> </span><span class="s2">"20.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"BURSTQORA @ 0.10"</span><span class="p">,</span><span class="w">
</span><span class="s2">"state"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="s2">"stopped"</span><span class="p">:</span><span class="w"> </span><span class="s2">"false"</span><span class="p">,</span><span class="w">
</span><span class="s2">"machineData"</span><span class="p">:</span><span class="w"> </span><span class="s2">"8e6a81f23b849c75d33f6398244d84881066c9cc09f9c3e1fe8c72710f64b62300000000b88301003a334bb82f7d8b71010c8c94148688024e5f2027fb0b930ca00000000000000001000000f48201000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"prevBalance"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"machineCode"</span><span class="p">:</span><span class="w"> </span><span class="s2">"3501030900000006040000000900000029302009000000040000000f1ab4000000330403090000003525010a000000260a000000320903350703090000003526010a0000001b0a000000cd322801331601000000003317010100000033180102000000331901030000003505020a0000001b0a000000a1320b033205041e050000001833000509000000320a033203041ab400000033160105000000331701060000003318010700000033190108000000320304320b033203041ab70000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"finished"</span><span class="p">:</span><span class="w"> </span><span class="s2">"false"</span><span class="p">,</span><span class="w">
</span><span class="s2">"currentBalance"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"dead"</span><span class="p">:</span><span class="w"> </span><span class="s2">"false"</span><span class="p">,</span><span class="w">
</span><span class="s2">"frozen"</span><span class="p">:</span><span class="w"> </span><span class="s2">"true"</span><span class="p">,</span><span class="w">
</span><span class="s2">"running"</span><span class="p">:</span><span class="w"> </span><span class="s2">"false"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="s2">"creationBlock"</span><span class="p">:</span><span class="w"> </span><span class="mi">99056</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"acct"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVDVVphUiaQsEKVTXsNwsWbQvV6zTzeP2t"</span><span class="p">,</span><span class="w">
</span><span class="s2">"version"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<p>Returns the details of the given AT id.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET at/id/{id}</code></p>
<h2 id="get-at-by-creator">Get AT By Creator</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/creator/{creator}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/creator/{creator}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ALqEsn9ZysQqxmBvmvYCNTksrdNJLhjmrj"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns the IDs of the ATs created by the given creator.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET at/creator/{creator}</code></p>
<h2 id="get-at-by-type">Get AT By Type</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/type/{type}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/type/{type}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"AJMrqNG7LiwTquYtpXCuZbgzaD9hANSntn"</span><span class="p">,</span><span class="w">
</span><span class="s2">"AJiK5MN1r1vtgCnjaDD7FWDfrQo3Gmsx1f"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ALHZt7FYS2RcFjJjmXGkqAF9dcVQuFTGdb"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ALqEsn9ZysQqxmBvmvYCNTksrdNJLhjmrj"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ASUn6hgiMYad1GPwiHodGgQvv6EkAadGiD"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns an array of the AT IDs for the given type.</p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET at/type/{type}</code></p>
<h2 id="get-limited-at">Get Limited AT</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/limit/{limit}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/limit/{limit}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ALqEsn9ZysQqxmBvmvYCNTksrdNJLhjmrj"</span><span class="p">,</span><span class="w">
</span><span class="s2">"AVMvpJxRpdHxxEHcmnibDt6nYC3cBe8oH5"</span><span class="p">,</span><span class="w">
</span><span class="s2">"AJiK5MN1r1vtgCnjaDD7FWDfrQo3Gmsx1f"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ALHZt7FYS2RcFjJjmXGkqAF9dcVQuFTGdb"</span><span class="p">,</span><span class="w">
</span><span class="s2">"AJMrqNG7LiwTquYtpXCuZbgzaD9hANSntn"</span><span class="p">,</span><span class="w">
</span><span class="s2">"ASUn6hgiMYad1GPwiHodGgQvv6EkAadGiD"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns an array of the AT IDs limited</p>
<h3 id="request">REQUEST</h3>
<!-- `GET at/limit/{limit}` -->
<p><code class="prettyprint">GET at/limit/{limit}</code></p>
<h2 id="get-at-transactions">Get AT Transactions</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/transactions/id/{id}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/transactions/id/{id}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.20000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99057</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"11111111111111111111111111"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"f596db64ca23c2c312658ee15a5d74eea858696e9279ecc1592982acdf6cfc68"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99061</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVDVVphUiaQsEKVTXsNwsWbQvV6zTzeP2t"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"50000.20000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99061</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRHDHASWAXarqTvB2X4SNtJCWbxGf68M2o"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"18.60000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99061</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"11111111111111111111111111"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns the transactions of the given AT ID.</p>
<h3 id="request">REQUEST</h3>
<!-- `GET at/transactions/id/{id}` -->
<p><code class="prettyprint">GET at/transactions/id/{id}</code></p>
<h2 id="get-at-transactions-by-recipient">Get AT Transactions By Recipient</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at/transactions/recipients/{address}"</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">GET</span> <span class="nn">at/transactions/recipients/{address}</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
</code></pre>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">200</span> <span class="ne">OK</span>
<span class="na">Content-Type</span><span class="p">:</span> <span class="s">application/json</span>
</code></pre>
<pre class="highlight json"><code><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"50000.20000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"AGvtqUUWEpBM8CeDFcPP7a9s42nE4RKwK7"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99061</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRHDHASWAXarqTvB2X4SNtJCWbxGf68M2o"</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">""</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"50000.20000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ALqEsn9ZysQqxmBvmvYCNTksrdNJLhjmrj"</span><span class="p">,</span><span class="w">
</span><span class="s2">"blockHeight"</span><span class="p">:</span><span class="w"> </span><span class="mi">99090</span><span class="p">,</span><span class="w">
</span><span class="s2">"seq"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRHDHASWAXarqTvB2X4SNtJCWbxGf68M2o"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span></code></pre>
<p>Returns the AT transactions for the given recipient’s address. </p>
<h3 id="request">REQUEST</h3>
<p><code class="prettyprint">GET at/transactions/recipients/{address}</code></p>
<h2 id="create-at">Create AT</h2>
<pre class="highlight shell"><code>curl <span class="s2">"http://127.0.0.1:9085/at"</span>
-X POST
-d <span class="s1">'{"creator":"","name":"","description":"","type":"","tags":"","fee":"","quantity":"","code":"","data":"","dpages":"","cspages":"","uspages":"","minActivationAmount":""}'</span>
</code></pre>
<pre class="highlight http"><code><span class="nf">POST</span> <span class="nn">at</span> <span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span>
<span class="na">Host</span><span class="p">:</span> <span class="s">127.0.0.1:9085</span>
<span class="s">{</span>
<span class="s"> "creator":"",</span>
<span class="s"> "name":"",</span>
<span class="s"> "description":"",</span>
<span class="s"> "type":"",</span>
<span class="s"> "tags":"",</span>
<span class="s"> "fee":"",</span>
<span class="s"> "quantity":"",</span>
<span class="s"> "code":"",</span>
<span class="s"> "data":"",</span>
<span class="s"> "dpages":"",</span>
<span class="s"> "cspages":"",</span>
<span class="s"> "uspages":"",</span>
<span class="s"> "minActivationAmount":""</span>
}
</code></pre>
<p>Deploys an AT with the given details.Returns the transaction when successful.</p>
<p><code class="prettyprint">POST at</code></p>
<h3 id="errors">Errors</h3>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>3</td>
<td>Not yet released.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked.</td>
</tr>
<tr>
<td>801</td>
<td>Invalid desc length.</td>
</tr>
<tr>
<td>809</td>
<td>Invalid creation bytes.</td>
</tr>
</tbody></table>
<h1 id="response-objects">Response Objects</h1>
<p>Below you will find generic information regarding API responses.</p>
<h2 id="block">Block</h2>
<p>Sample response of a block.</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"transactions"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399319724713</span><span class="p">,</span><span class="w">
</span><span class="s2">"generatorSignature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"3k7jpRRCJNexhf8cdR7w1HAD7ppmo7DK2wzXBekFmKpwfVmZF5SiM9q8b5MwjCHtHmyoBTSXbq9iTodGxpf2qeri"</span><span class="p">,</span><span class="w">
</span><span class="s2">"generatingBalance"</span><span class="p">:</span><span class="w"> </span><span class="mi">855786957</span><span class="p">,</span><span class="w">
</span><span class="s2">"generator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QUDPJRGS8EreTvZWMDs5imyp3rAqU9hCPK"</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"HnhRcmrXp13dZwtP7T35Pzaav278pm8CDJmWRZStVpGVkzs6Bo4VnrbZ8XrouokReEKLGLZfLsbmodmRrhiJgkd3b67vDjgVMtKcR9WRRom8zHsE6FGvRgTv8pivBb3VrYDryECj96bpXgMqxPtZdmQUQHTUM1BA81XtUQukw5svw3K"</span><span class="p">,</span><span class="w">
</span><span class="s2">"transactionsSignature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2pE2sn7jGHruhHzv4gWmr1sdgTXCBv8nvAZKsHDaCJETLVPX7XYhaYPSfwr5pz6WsAC99QRhPQihBeDyWDDqLxQP"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"F3Q5ihLGC2iFcS4RmRjbqSV85KWr13mXvSKDQCRBrBjG5h5n8hfd2sDWfLDSTiCrDhahojNmRQGKfwza57XFKs1vKFgK4xqQEAw7BjnEEAvvUWHndgE56LnaMDnfyGNfMGB3wfHNdQa8DQWoMptWbmUYKACzKyFEt2ssH6brknESgVM"</span><span class="p">,</span><span class="w">
</span><span class="s2">"version"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="name">Name</h2>
<p>Sample response of the naming feature.</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"value"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QUDPJRGS8EreTvZWMDs5imyp3rAqU9hCPK"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="namesale">NameSale</h2>
<p>Sample response of the NameSale feature.</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"500.0"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"seller"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QUDPJRGS8EreTvZWMDs5imyp3rAqU9hCPK"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="poll">Poll</h2>
<p>Sample response of the Poll feature.</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6"</span><span class="p">,</span><span class="w">
</span><span class="s2">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"this is a testpoll"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"testpoll"</span><span class="p">,</span><span class="w">
</span><span class="s2">"options"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"option one"</span><span class="p">,</span><span class="w">
</span><span class="s2">"votes"</span><span class="p">:</span><span class="w"> </span><span class="s2">"93393168.31001000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"voters"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="s2">"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6"</span><span class="p">,</span><span class="w">
</span><span class="s2">"QgpH3K3ArkQTg15xjKqGq3BRgE3aNH9Q2P"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"option two"</span><span class="p">,</span><span class="w">
</span><span class="s2">"votes"</span><span class="p">:</span><span class="w"> </span><span class="s2">"8772354.53899000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"voters"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="s2">"QRyECqW54ywKVt4kZTEXyRY17aaFUaxzc4"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-1">Transaction Type 1</h2>
<p>Genesis transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399139274713</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"500000000.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1"</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4GFHMAo9fmbUq7usopgntwUfAiLtpL98K6QCosAJsqQmY95tfd5KoUaKu34v6Qwp7RtYEhobCx7LVi7aYbbtpzfA"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QQNFGuE8iZZ3sHjCnvvdbhfQHXokU8SgCX"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-2">Transaction Type 2</h2>
<p>Payment transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRsraeFA9xiD3qVWiLSbxdcW2goUeGFVnF"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"10.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399656640390</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"keFP1SfTn4WVXgew1qUH6G8xmRrLaaSju65Ni36fhcSBMny8tMZjHc8BWdGMbjRRXmzNpBmi7JFwG1fPCMcvdkq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"wXrNfiDTamahSrMKNg96XAaAxojD5Nxm8gKPhM1qp2DzSMHvuaek5kzEQfHvzZe1AtxoQkbc5ELoEL5F4sXKNnt"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QhMaXFowsVqdAhvU2xkcLzuVaH5VDyEWsS"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-3">Transaction Type 3</h2>
<p>Register name transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399314215363</span><span class="p">,</span><span class="w">
</span><span class="s2">"registrant"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM"</span><span class="p">,</span><span class="w">
</span><span class="s2">"value"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">3</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5gE3vbzwDUbkR9YUem8RHVV3HcswrCX2ej9bA5MbJyaMrhQGXkFKqnvEtgq3s1vK3LizFEzCLz2HxJtdgULjMJRr"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5a1tyxSzX57sV6cqneyhTtWqV11pZPFsPqhTEPVqkNNFrrs1uCnG4DD3bUHar5PfJsF39YShxNCJYs1tZsFFtJoX"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-4">Transaction Type 4</h2>
<p>Update name transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"newValue"</span><span class="p">:</span><span class="w"> </span><span class="s2">"a"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399656876336</span><span class="p">,</span><span class="w">
</span><span class="s2">"newOwner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QNpfdoKjU3r3PDjYStQqKtjQ2CaxQWmzjZ"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">4</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"42npsTYYydk798VwtJg4a5JR2g39FC2ASEHPhdYr4x2jq6eLw1au2mjc2gxmvghsPojEmhaEreksj174rw4Uthbg"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5s2fqKKnAa8cVkYVng3aF2SqxkKE1ArWKyUwBsTRz5tqRP6RfQXzcA6SNbaXNgGH4T62oh9QaXoB4xbASemHRSGV"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-5">Transaction Type 5</h2>
<p>Sell name transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"500.0"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399314220865</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qdxn4qW8kiPUiBnBSy9mbqMGBrBHRhK2JM"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">5</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5a1tyxSzX57sV6cqneyhTtWqV11pZPFsPqhTEPVqkNNFrrs1uCnG4DD3bUHar5PfJsF39YShxNCJYs1tZsFFtJoX"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4L6XLyPCrAFChdzqmTCrGDp43yPiZk2Bn5Ch3YUUrGsXA8NuGo8dp7xQjsMNtRVSAtGdbXxsngTWmfM4ETVdTr6o"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-6">Transaction Type 6</h2>
<p>Cancel namesale transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399657084324</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"qora"</span><span class="p">,</span><span class="w">
</span><span class="s2">"owner"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QUDPJRGS8EreTvZWMDs5imyp3rAqU9hCPK"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">6</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2yLvx23qZjBwFkyWFj6ScowYRBi15rzCwEvx1wDYpKonS9P7s13eZLCrC1tvau3uAfZKPFFdBvK9Utnb53hEjWJy"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4uNmBZ5aKkApMWvvAKKEpM3CBKCXPq1b3G615UmXfH3cMfVrFFZUURGCbnkc6n9ZfdFkuk6hxpJtZAnMz1KZstB6"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-7">Transaction Type 7</h2>
<p>Buy name transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"500.0"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1399314260133</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"a"</span><span class="p">,</span><span class="w">
</span><span class="s2">"buyer"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVeHoptRAeLj5DqGq2TKHVL4w51KFGS5R5"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">7</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"PSG56nzDowqhYxzg2mmRXKcgxg8cBtyjEoTF37gXyCy4s3jXE6ygoRv81Sg7wTdHJ7xtwHD3uauWAEYKYGaxM7D"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"42npsTYYydk798VwtJg4a5JR2g39FC2ASEHPhdYr4x2jq6eLw1au2mjc2gxmvghsPojEmhaEreksj174rw4Uthbg"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-8">Transaction Type 8</h2>
<p>Create Poll transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00001000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1403552417900</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"this is a testpoll"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"testpoll"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">8</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"3cXi7YQGihx1q75P1YMcgeGnqHY2PGbzpScasMy4UTZ1brTCFuQVKWvDW8Ywj7c3BDh7aLKBoHft79mGZkkzs7bq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ofuYyAALXzR7x6Yhfh8HXkjDuqt2x5Ao9NP9QCtyRpmrd6A8CAXkb1GLQrntDA9zq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6"</span><span class="p">,</span><span class="w">
</span><span class="s2">"options"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="s2">"option one"</span><span class="p">,</span><span class="w">
</span><span class="s2">"option two"</span><span class="w">
</span><span class="p">]</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-9">Transaction Type 9</h2>
<p>Vote on poll transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00001000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1403553008161</span><span class="p">,</span><span class="w">
</span><span class="s2">"poll"</span><span class="p">:</span><span class="w"> </span><span class="s2">"testpoll"</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">9</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ofuYyAALXzR7x6Yhfh8HXkjDuz1t7XdZeM446ejPunjF5iEqt2x5Ao9NP9QCtyRpmrd6A8CAXkb1GLQrntDA9zq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2kErpXY5EToBRk3coHVbnk5P4j5WixukDqedWhTJnCXsVFKy7samMta6QF7sgrcNbdk"</span><span class="p">,</span><span class="w">
</span><span class="s2">"option"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-10">Transaction Type 10</h2>
<p>Arbitrary transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00001000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1403553008161</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">10</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ofuYyAALXzR7x6Yhfh8HXkjDuz1t7XdZeM446ejPunjF5iEqt2x5Ao9NP9QCtyRpmrd6A8CAXkb1GLQrntDA9zq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2kErpXY5EToBRk3coHVbnk5P4j5WixukDqedWhTJnCXsVFKy7samMta6QF7sgrcNbdk"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QNbA69dbnmwqJHLQeS9v63hSLZXXGkmtC6"</span><span class="p">,</span><span class="w">
</span><span class="s2">"service"</span><span class="p">:</span><span class="w"> </span><span class="mi">5555</span><span class="p">,</span><span class="w">
</span><span class="s2">"data"</span><span class="p">:</span><span class="w"> </span><span class="s2">"3cXi7YQGihx1q75P1YMcgeGnqHY2PGbzpScasMy4UTZ1brTCFuQVKWvDW8Ywj7c3BDh7aLKBoHft79mGZkkzs7bq"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-11">Transaction Type 11</h2>
<p>Issue Asset transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2YdxjuqN5N2de8iDcJgGZhBCGEVNxsgzhwEs23h41ywFDSXSkvvbNJCKYH8QRcg62AqozrJ7V9RZ1CDnTjzseKRB"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QWHDgD98axhWHctMnmoyQrY2QVmMQxXhnT"</span><span class="p">,</span><span class="w">
</span><span class="s2">"quantity"</span><span class="p">:</span><span class="w"> </span><span class="mi">100</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"3JeJ8yGnG8RCQH51S2qYJT5nfbokjHnBmM7KZsj61HPRy8K3ZWkGHh99QQ6HbRHxnknnjjAsffHRaeca1ap3tcFv"</span><span class="p">,</span><span class="w">
</span><span class="s2">"divisible"</span><span class="p">:</span><span class="w"> </span><span class="kc">false</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"xxx"</span><span class="p">,</span><span class="w">
</span><span class="s2">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"xxxxxxxxxxxxxxxxx"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">11</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">69581</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1411223305891</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-12">Transaction Type 12</h2>
<p>Transfer Asset transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"42KYmbw6HyEMKxV4onwtg24x3vUqVXMbSBEvAWYLn1mD9BEuWH92vFkF9fBBA8CMw9iQ6A2SYMLTp2FDKdKTxUfb"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2pQhMmpLUsavrjpegtHo47AVgHhyHY1vK7GCwNX8fiqmspq593mtTSrhGAgcwkv2FkmWzg2u5wGki1p5wEJGBcbA"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qc454HfRSVbrdLmhD1d9nmmMe45NbQmRnG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QPB4YcxKV9DRs3dnypZ4zgJkPWcPhHsuGv"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">12</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">67577</span><span class="p">,</span><span class="w">
</span><span class="s2">"asset"</span><span class="p">:</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1411860064838</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-13">Transaction Type 13</h2>
<p>Create Order Transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"LNiFt5dPCB2uaRetKJbxX38fG68LKdeVH2huyXKTVtdECRRjAYoV3NWANn5URVWyr6Drt1cpmfXGiNpbuoxufwX"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qc454HfRSVbrdLmhD1d9nmmMe45NbQmRnG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4EsGzQ87rXqXw2nic8LiihGCrM5iNErK53u9TRo2AJv4FWWyCK7bUKrCmswnrBbkB7Dsk7wfzi9hM2TGGqm6LVpd"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">13</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">69147</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1411364679566</span><span class="p">,</span><span class="w">
</span><span class="s2">"order"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"price"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"want"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"have"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-14">Transaction Type 14</h2>
<p>Cancel Order transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4EsGzQ87rXqXw2nic8LiihGCrM5iNErK53u9TRo2AJv4FWWyCK7bUKrCmswnrBbkB7Dsk7wfzi9hM2TGGqm6LVpd"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qc454HfRSVbrdLmhD1d9nmmMe45NbQmRnG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"2zoi8KKxuNpFg6zLgDs4H9fMRBFGgJg4tRjXEXqo3BUdijEJBPyCgWmgwRDMKVga84qKRLTnn2spXJMWnhNnJZZh"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">14</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">68989</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1411415120749</span><span class="p">,</span><span class="w">
</span><span class="s2">"order"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4EsGzQ87rXqXw2nic8LiihGCrM5iNErK53u9TRo2AJv4FWWyCK7bUKrCmswnrBbkB7Dsk7wfzi9hM2TGGqm6LVpd"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-15">Transaction Type 15</h2>
<p>Multi Payment Transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"cn4HPGW5zXdtcntBEvaqddQ9vVc33dYDBaPdejJW9NH6PXtyd3JNfughDDUNeftDaBreJd7y9t3ykLJY5UgyocG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"32VZ1kTmkx9RJyQZ5GSLqDBpjvx6Q6pcDwFPDqngc7btn2frGmoKkxKj84EtP4gTYmiNChpMysL5Uc7vQa6FpgsZ"</span><span class="p">,</span><span class="w">
</span><span class="s2">"sender"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qc454HfRSVbrdLmhD1d9nmmMe45NbQmRnG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"payments"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4.85000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Qc454HfRSVbrdLmhD1d9nmmMe45NbQmRnG"</span><span class="p">,</span><span class="w">
</span><span class="s2">"asset"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.10000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRWQ67MqGPDCHXF4kpBkfDfBT4EMbPNvEh"</span><span class="p">,</span><span class="w">
</span><span class="s2">"asset"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="w">
</span><span class="p">},</span><span class="w">
</span><span class="p">{</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.05000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QPB4YcxKV9DRs3dnypZ4zgJkPWcPhHsuGv"</span><span class="p">,</span><span class="w">
</span><span class="s2">"asset"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="w">
</span><span class="p">}</span><span class="w">
</span><span class="p">],</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">15</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">65753</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1412406922664</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-16">Transaction Type 16</h2>
<p>Deploy Automated Transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVDVVphUiaQsEKVTXsNwsWbQvV6zTzeP2t"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="s2">"50000.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"vjbqxnSYvhXdBVewwBxeWdvdJmNpCbKR3121qJXSoLWjt6CPoxF95Br5ZU6pNHTB4McnojTxEzWTqj9P9Sac6Ph"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"20.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"description"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Responders BURST address: BURST-2Z98-XJU6-A2UA-FDKZP"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">16</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">4183</span><span class="p">,</span><span class="w">
</span><span class="s2">"tags"</span><span class="p">:</span><span class="w"> </span><span class="s2">"acct,atomic cross chain tx,respond,responder"</span><span class="p">,</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"5U76JjucVSX6jMDZeNKVtFodbkuW8hLRc8Y734zcRPGH3cXwu7C6ChG264F2KDD8FagLtEszc9ATcdAeKLiB5VeJ"</span><span class="p">,</span><span class="w">
</span><span class="s2">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"BURSTQORA @ 0.10"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creationBytes"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0100000001000100000000000094357700000000bf3501030900000006040000000900000029302009000000040000000f1ab4000000330403090000003525010a000000260a000000320903350703090000003526010a0000001b0a000000cd322801331601000000003317010100000033180102000000331901030000003505020a0000001b0a000000a1320b033205041e050000001833000509000000320a033203041ab400000033160105000000331701060000003318010700000033190108000000320304320b033203041ab7000000688e6a81f23b849c75d33f6398244d84881066c9cc09f9c3e1fe8c72710f64b62300000000c80000003a334bb82f7d8b71010c8c94148688024e5f2027fb0b930ca0000000000000000000000000000000000000000000000000000000000000000000000000000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"atType"</span><span class="p">:</span><span class="w"> </span><span class="s2">"acct"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1431878798556</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h2 id="transaction-type-17">Transaction Type 17</h2>
<p>Message Transaction</p>
<blockquote>
<p>Response</p>
</blockquote>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"reference"</span><span class="p">:</span><span class="w"> </span><span class="s2">"4DmLHDermRc73svaGyFQh52x5PL1JPi8cGcozoFigBzKcvNWNeTGwDdmAGvMW2XJVKf2jQP2xaqKoHGY95fn5BVU"</span><span class="p">,</span><span class="w">
</span><span class="s2">"creator"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QRZ5Ggk6o5wwEgzL4Wo3xmueXuDEgwLeyQ"</span><span class="p">,</span><span class="w">
</span><span class="s2">"amount"</span><span class="p">:</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w">
</span><span class="s2">"data"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ZuffoGowuh1gH8KNtqk8b52vedgrzQSU8dNmrdgpRsSq"</span><span class="p">,</span><span class="w">
</span><span class="s2">"encrypted"</span><span class="p">:</span><span class="w"> </span><span class="s2">"true"</span><span class="p">,</span><span class="w">
</span><span class="s2">"signature"</span><span class="p">:</span><span class="w"> </span><span class="s2">"239akGRkCxWtGFXkccqSe2MFBQDXcs5s3AgsCuCK7EqYNUKwMXhL6UrvpgASQePJAHBFyHQZGo2akiWbHuuCgNpn"</span><span class="p">,</span><span class="w">
</span><span class="s2">"fee"</span><span class="p">:</span><span class="w"> </span><span class="s2">"1.00000000"</span><span class="p">,</span><span class="w">
</span><span class="s2">"recipient"</span><span class="p">:</span><span class="w"> </span><span class="s2">"QVYmeUnZXNge838SqYKYWvAFBHst5N8u7A"</span><span class="p">,</span><span class="w">
</span><span class="s2">"type"</span><span class="p">:</span><span class="w"> </span><span class="mi">17</span><span class="p">,</span><span class="w">
</span><span class="s2">"confirmations"</span><span class="p">:</span><span class="w"> </span><span class="mi">239</span><span class="p">,</span><span class="w">
</span><span class="s2">"isText"</span><span class="p">:</span><span class="w"> </span><span class="s2">"true"</span><span class="p">,</span><span class="w">
</span><span class="s2">"timestamp"</span><span class="p">:</span><span class="w"> </span><span class="mi">1433071935474</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<h1 id="errors">Errors</h1>
<p>When an error happens the API will return a HTTP message 400(bad request) combined with an error.</p>
<blockquote>
<p>Response </p>
</blockquote>
<pre class="highlight http"><code><span class="k">HTTP</span><span class="o">/</span><span class="m">1.1</span> <span class="m">400</span> <span class="ne">Bad Request</span>
</code></pre>
<pre class="highlight json"><code><span class="p">{</span><span class="w">
</span><span class="s2">"error"</span><span class="err">101</span><span class="p">:</span><span class="w"> </span><span class="p">,</span><span class="w">
</span><span class="s2">"message"</span><span class="p">:</span><span class="w"> </span><span class="s2">"invalid signature"</span><span class="w">
</span><span class="p">}</span><span class="w">
</span></code></pre>
<table><thead>
<tr>
<th>Error</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr>
<td>0</td>
<td>Unknown error.</td>
</tr>
<tr>
<td>1</td>
<td>Json error.</td>
</tr>
<tr>
<td>2</td>
<td>Not enough balance.</td>
</tr>
<tr>
<td>3</td>
<td>Not yet released.</td>
</tr>
<tr>
<td>101</td>
<td>Invalid signature.</td>
</tr>
<tr>
<td>102</td>
<td>Invalid address.</td>
</tr>
<tr>
<td>103</td>
<td>Invalid seed.</td>
</tr>
<tr>
<td>104</td>
<td>Invalid amount.</td>
</tr>
<tr>
<td>105</td>
<td>Invalid fee.</td>
</tr>
<tr>
<td>106</td>
<td>Invalid sender.</td>
</tr>
<tr>
<td>107</td>
<td>Invalid recipient.</td>
</tr>
<tr>
<td>108</td>
<td>Invalid name length.</td>
</tr>
<tr>
<td>109</td>
<td>Invalid value length.</td>
</tr>
<tr>
<td>110</td>
<td>Invalid name owner.</td>
</tr>
<tr>
<td>111</td>
<td>Invalid buyer.</td>
</tr>
<tr>
<td>112</td>
<td>Invalid public key.</td>
</tr>
<tr>
<td>113</td>
<td>Invalid options length.</td>
</tr>
<tr>
<td>114</td>
<td>Invalid option length.</td>
</tr>
<tr>
<td>115</td>
<td>Invalid data.</td>
</tr>
<tr>
<td>116</td>
<td>Invalid data length.</td>
</tr>
<tr>
<td>201</td>
<td>Wallet does not exist.</td>
</tr>
<tr>
<td>202</td>
<td>Address does not exist in wallet.</td>
</tr>
<tr>
<td>203</td>
<td>Wallet is locked</td>
</tr>
<tr>
<td>204</td>
<td>Wallet already exists.</td>
</tr>
<tr>
<td>301</td>
<td>Block does not exist.</td>
</tr>
<tr>
<td>311</td>
<td>Transaction does not exist.</td>
</tr>
<tr>
<td>401</td>
<td>Name does not exist.</td>
</tr>
<tr>
<td>402</td>
<td>Name already exists.</td>
</tr>
<tr>
<td>403</td>
<td>Name already for sale.</td>
</tr>
<tr>
<td>404</td>
<td>Name must be lower case.</td>
</tr>
<tr>
<td>410</td>
<td>Name is not for sale.</td>
</tr>
<tr>
<td>411</td>
<td>Buyer is already the owner.</td>
</tr>
<tr>
<td>501</td>
<td>Poll does not exist.</td>
</tr>
<tr>
<td>502</td>
<td>Poll already exists.</td>
</tr>
<tr>
<td>503</td>
<td>Duplicate option.</td>
</tr>
<tr>
<td>504</td>
<td>Polloption does not exist.</td>
</tr>
<tr>
<td>505</td>
<td>Already voted for that option.</td>
</tr>
</tbody></table>
<h1 id="changelogs">Changelogs</h1>
</div>
<div class="dark-box">
<div class="lang-selector">
<a href="#" data-language-name="shell">shell</a>
<a href="#" data-language-name="http">http</a>
</div>
</div>
</div>
</body>
</html>