[CI Skip] 0.31.11

This commit is contained in:
Travis CI
2018-10-11 13:31:50 +00:00
parent a4fc2c51e8
commit 4be4d8004f
225 changed files with 3166 additions and 6646 deletions
+37 -35
View File
@@ -273,22 +273,23 @@
<li class="chapter " data-level="2.1" data-path="../../examples/">
<li class="chapter " data-level="2.1" data-path="../../examples-rpc/">
<a href="../../examples/">
<a href="../../examples-rpc/">
Overview
RPC
</a>
</li>
<ul class="articles">
<li class="chapter " data-level="2.2" data-path="../../examples/01_simple_connect/">
<li class="chapter " data-level="2.1.1" data-path="../../examples-rpc/01_simple_connect/">
<a href="../../examples/01_simple_connect/">
<a href="../../examples-rpc/01_simple_connect/">
Simple connect
@@ -299,9 +300,9 @@
</li>
<li class="chapter " data-level="2.3" data-path="../../examples/02_listen_to_blocks/">
<li class="chapter " data-level="2.1.2" data-path="../../examples-rpc/02_listen_to_blocks/">
<a href="../../examples/02_listen_to_blocks/">
<a href="../../examples-rpc/02_listen_to_blocks/">
Listen to blocks
@@ -312,9 +313,9 @@
</li>
<li class="chapter " data-level="2.4" data-path="../../examples/03_listen_to_balance_change/">
<li class="chapter " data-level="2.1.3" data-path="../../examples-rpc/03_listen_to_balance_change/">
<a href="../../examples/03_listen_to_balance_change/">
<a href="../../examples-rpc/03_listen_to_balance_change/">
Listen to balance change
@@ -325,9 +326,9 @@
</li>
<li class="chapter " data-level="2.5" data-path="../../examples/04_generate_account/">
<li class="chapter " data-level="2.1.4" data-path="../../examples-rpc/04_generate_account/">
<a href="../../examples/04_generate_account/">
<a href="../../examples-rpc/04_generate_account/">
Generate Accounts
@@ -338,9 +339,9 @@
</li>
<li class="chapter " data-level="2.6" data-path="../../examples/05_read_storage/">
<li class="chapter " data-level="2.1.5" data-path="../../examples-rpc/05_read_storage/">
<a href="../../examples/05_read_storage/">
<a href="../../examples-rpc/05_read_storage/">
Read Storage
@@ -351,9 +352,9 @@
</li>
<li class="chapter " data-level="2.7" data-path="../../examples/06_craft_extrinsic/">
<li class="chapter " data-level="2.1.6" data-path="../../examples-rpc/06_craft_extrinsic/">
<a href="../../examples/06_craft_extrinsic/">
<a href="../../examples-rpc/06_craft_extrinsic/">
Craft Extrinsic
@@ -364,9 +365,9 @@
</li>
<li class="chapter " data-level="2.8" data-path="../../examples/07_transfer_dots/">
<li class="chapter " data-level="2.1.7" data-path="../../examples-rpc/07_transfer_dots/">
<a href="../../examples/07_transfer_dots/">
<a href="../../examples-rpc/07_transfer_dots/">
Transfer DOTs
@@ -378,6 +379,11 @@
</li>
</ul>
</li>
<li class="divider"></li>
@@ -442,13 +448,13 @@ graph LR;
<p><strong>Rpc</strong></p>
<h1 id="implements">Implements</h1>
<ul>
<li><a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a></li>
<li><code>RpcInterface</code></li>
</ul>
<h1 id="constructors">Constructors</h1>
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <strong>new Rpc</strong>(provider?: <em><code>ProviderInterface</code></em>): <a href="_index_.rpc.html">Rpc</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p><em><strong>constructor</strong></em>: Default constructor for the Api Object</p>
<p><strong>Parameters:</strong></p>
<table>
@@ -475,37 +481,33 @@ graph LR;
<p><a id="_provider"></a></p>
<h2 id="provider">_provider</h2>
<p><strong>&#x25CF; _provider</strong>: <em><code>ProviderInterface</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L43" target="_blank">index.ts:43</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L43" target="_blank">index.ts:43</a></em></p>
<hr>
<p><a id="author"></a></p>
<h2 id="author">author</h2>
<p><strong>&#x25CF; author</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#author">author</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<p><strong>&#x25CF; author</strong>: <em><code>RpcInterface$Section</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<hr>
<p><a id="chain"></a></p>
<h2 id="chain">chain</h2>
<p><strong>&#x25CF; chain</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#chain">chain</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L45" target="_blank">index.ts:45</a></em></p>
<p><strong>&#x25CF; chain</strong>: <em><code>RpcInterface$Section</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L45" target="_blank">index.ts:45</a></em></p>
<hr>
<p><a id="state"></a></p>
<h2 id="state">state</h2>
<p><strong>&#x25CF; state</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#state">state</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L46" target="_blank">index.ts:46</a></em></p>
<p><strong>&#x25CF; state</strong>: <em><code>RpcInterface$Section</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L46" target="_blank">index.ts:46</a></em></p>
<hr>
<p><a id="system"></a></p>
<h2 id="system">system</h2>
<p><strong>&#x25CF; system</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#system">system</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p><strong>&#x25CF; system</strong>: <em><code>RpcInterface$Section</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<hr>
<h1 id="methods">Methods</h1>
<p><a id="signature"></a></p>
<h2 id="static-signature"><code>&lt;Static&gt;</code> signature</h2>
<p>&#x25B8; <strong>signature</strong>(__namedParameters: <em><code>object</code></em>): <code>string</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L80" target="_blank">index.ts:80</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L80" target="_blank">index.ts:80</a></em></p>
<p><em><strong>name</strong></em>: signature</p>
<p><em><strong>summary</strong></em>: Returns a string representation of the method with inputs and outputs.</p>
<p><em><strong>description</strong></em>: Formats the name, inputs and outputs into a human-readable string. This contains the input parameter names input types and output type.</p>
@@ -574,7 +576,7 @@ graph LR;
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Rpc","level":"1.4.1","depth":2,"next":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"previous":{"title":"rpc-core","level":"1.4","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.4.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/classes/_index_.rpc.md","mtime":"2018-10-11T11:42:33.522Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T11:43:46.267Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Rpc","level":"1.4.1","depth":2,"next":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"previous":{"title":"rpc-core","level":"1.4","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.4.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/classes/_index_.rpc.md","mtime":"2018-10-11T13:30:18.190Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T13:31:41.446Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+12 -20
View File
@@ -27,7 +27,7 @@ const api = new Api(provider);
# Implements
* [RpcInterface](../interfaces/_types_d_.rpcinterface.md)
* `RpcInterface`
# Constructors
@@ -37,7 +37,7 @@ const api = new Api(provider);
⊕ **new Rpc**(provider?: *`ProviderInterface`*): [Rpc](_index_.rpc.md)
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L47)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L47)*
*__constructor__*: Default constructor for the Api Object
@@ -59,51 +59,43 @@ ___
**● _provider**: *`ProviderInterface`*
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L43)*
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L43)*
___
<a id="author"></a>
## author
**● author**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
**● author**: *`RpcInterface$Section`*
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[author](../interfaces/_types_d_.rpcinterface.md#author)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L44)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L44)*
___
<a id="chain"></a>
## chain
**● chain**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
**● chain**: *`RpcInterface$Section`*
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[chain](../interfaces/_types_d_.rpcinterface.md#chain)*
*Defined in [index.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L45)*
*Defined in [index.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L45)*
___
<a id="state"></a>
## state
**● state**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
**● state**: *`RpcInterface$Section`*
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[state](../interfaces/_types_d_.rpcinterface.md#state)*
*Defined in [index.ts:46](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L46)*
*Defined in [index.ts:46](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L46)*
___
<a id="system"></a>
## system
**● system**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
**● system**: *`RpcInterface$Section`*
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[system](../interfaces/_types_d_.rpcinterface.md#system)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L47)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L47)*
___
@@ -115,7 +107,7 @@ ___
▸ **signature**(__namedParameters: *`object`*): `string`
*Defined in [index.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/rpc-core/src/index.ts#L80)*
*Defined in [index.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/rpc-core/src/index.ts#L80)*
*__name__*: signature