[CI Skip] 0.33.11
This commit is contained in:
@@ -1977,7 +1977,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new AccountId</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_accountid_.accountid.html">AccountId</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2037,7 +2037,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2046,7 +2046,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2062,7 +2062,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2729,7 +2729,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2760,7 +2760,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2769,7 +2769,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L46" target="_blank">AccountId.ts:46</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L46" target="_blank">AccountId.ts:46</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2786,7 +2786,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L53" target="_blank">AccountId.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L53" target="_blank">AccountId.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2795,7 +2795,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2827,7 +2827,7 @@
|
||||
<p><a id="encode"></a></p>
|
||||
<h2 id="static-encode"><code><Static></code> encode</h2>
|
||||
<p>▸ <strong>encode</strong>(value: <em><code>Uint8Array</code></em>): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2888,7 +2888,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.1","depth":1,"next":{"title":"hidden","level":"4.2","depth":1,"path":"types/classes/_accountindex_.accountindex.md","ref":"types/classes/_accountindex_.accountindex.md","articles":[]},"previous":{"title":"Display system events","level":"3.1.6","depth":2,"path":"examples/promise/08_system_events/README.md","ref":"examples/promise/08_system_events/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_accountid_.accountid.md","mtime":"2018-12-10T11:01:33.632Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.1","depth":1,"next":{"title":"hidden","level":"4.2","depth":1,"path":"types/classes/_accountindex_.accountindex.md","ref":"types/classes/_accountindex_.accountindex.md","articles":[]},"previous":{"title":"Display system events","level":"3.1.6","depth":2,"path":"examples/promise/08_system_events/README.md","ref":"examples/promise/08_system_events/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_accountid_.accountid.md","mtime":"2018-12-10T13:50:45.879Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L19)*
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -691,7 +691,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L46)*
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -764,7 +764,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L53)*
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -781,7 +781,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -815,7 +815,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L27)*
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new AccountIndex</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_accountindex_.accountindex.html">AccountIndex</a></p>
|
||||
<p><em>Overrides <a href="_u32_.u32.html">U32</a>.<a href="_u32_.u32.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L29" target="_blank">AccountIndex.ts:29</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L29" target="_blank">AccountIndex.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1999,7 +1999,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2132,7 +2132,7 @@
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
@@ -3510,7 +3510,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tobn">toBn</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L92" target="_blank">AccountIndex.ts:92</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L92" target="_blank">AccountIndex.ts:92</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the AccountIndex</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -3546,7 +3546,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L99" target="_blank">AccountIndex.ts:99</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L99" target="_blank">AccountIndex.ts:99</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3555,7 +3555,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L108" target="_blank">AccountIndex.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L108" target="_blank">AccountIndex.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3595,7 +3595,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L115" target="_blank">AccountIndex.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L115" target="_blank">AccountIndex.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3627,7 +3627,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L125" target="_blank">AccountIndex.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L125" target="_blank">AccountIndex.ts:125</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3843,7 +3843,7 @@
|
||||
<p><a id="calclength"></a></p>
|
||||
<h2 id="static-calclength"><code><Static></code> calcLength</h2>
|
||||
<p>▸ <strong>calcLength</strong>(_value: <em> <code>BN</code> | <code>number</code></em>): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L52" target="_blank">AccountIndex.ts:52</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L52" target="_blank">AccountIndex.ts:52</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -3864,7 +3864,7 @@
|
||||
<p><a id="decodeaccountindex"></a></p>
|
||||
<h2 id="static-decodeaccountindex"><code><Static></code> decodeAccountIndex</h2>
|
||||
<p>▸ <strong>decodeAccountIndex</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <code>BN</code> | <code>Uint8Array</code> | <code>number</code> | <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L36" target="_blank">AccountIndex.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L36" target="_blank">AccountIndex.ts:36</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -3886,7 +3886,7 @@
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#decodeuint">decodeUInt</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4011,7 +4011,7 @@
|
||||
<p><a id="readlength"></a></p>
|
||||
<h2 id="static-readlength"><code><Static></code> readLength</h2>
|
||||
<p>▸ <strong>readLength</strong>(input: <em><code>Uint8Array</code></em>): [<code>number</code>, <code>number</code>]</p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L66" target="_blank">AccountIndex.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L66" target="_blank">AccountIndex.ts:66</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4055,7 +4055,7 @@
|
||||
<p><a id="writelength"></a></p>
|
||||
<h2 id="static-writelength"><code><Static></code> writeLength</h2>
|
||||
<p>▸ <strong>writeLength</strong>(input: <em><code>Uint8Array</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L80" target="_blank">AccountIndex.ts:80</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L80" target="_blank">AccountIndex.ts:80</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4116,7 +4116,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.2","depth":1,"next":{"title":"hidden","level":"4.3","depth":1,"path":"types/classes/_address_.address.md","ref":"types/classes/_address_.address.md","articles":[]},"previous":{"title":"hidden","level":"4.1","depth":1,"path":"types/classes/_accountid_.accountid.md","ref":"types/classes/_accountid_.accountid.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_accountindex_.accountindex.md","mtime":"2018-12-10T11:01:33.892Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.2","depth":1,"next":{"title":"hidden","level":"4.3","depth":1,"path":"types/classes/_address_.address.md","ref":"types/classes/_address_.address.md","articles":[]},"previous":{"title":"hidden","level":"4.1","depth":1,"path":"types/classes/_accountid_.accountid.md","ref":"types/classes/_accountid_.accountid.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_accountindex_.accountindex.md","mtime":"2018-12-10T13:50:46.151Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Defined in [AccountIndex.ts:29](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L29)*
|
||||
*Defined in [AccountIndex.ts:29](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -1521,7 +1521,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [AccountIndex.ts:92](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L92)*
|
||||
*Defined in [AccountIndex.ts:92](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L92)*
|
||||
|
||||
*__description__*: Returns the BN representation of the AccountIndex
|
||||
|
||||
@@ -1560,7 +1560,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [AccountIndex.ts:99](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L99)*
|
||||
*Defined in [AccountIndex.ts:99](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L99)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1577,7 +1577,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toJSON](_codec_uint_.uint.md#tojson)*
|
||||
|
||||
*Defined in [AccountIndex.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L108)*
|
||||
*Defined in [AccountIndex.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L108)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1630,7 +1630,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toString](_codec_uint_.uint.md#tostring)*
|
||||
|
||||
*Defined in [AccountIndex.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L115)*
|
||||
*Defined in [AccountIndex.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L115)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1668,7 +1668,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [AccountIndex.ts:125](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L125)*
|
||||
*Defined in [AccountIndex.ts:125](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L125)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1870,7 +1870,7 @@ ___
|
||||
|
||||
▸ **calcLength**(_value: * `BN` | `number`*): `number`
|
||||
|
||||
*Defined in [AccountIndex.ts:52](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L52)*
|
||||
*Defined in [AccountIndex.ts:52](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1887,7 +1887,7 @@ ___
|
||||
|
||||
▸ **decodeAccountIndex**(value: *[AnyNumber](../modules/_types_.md#anynumber)*): `BN` | `Uint8Array` | `number` | `string`
|
||||
|
||||
*Defined in [AccountIndex.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L36)*
|
||||
*Defined in [AccountIndex.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1906,7 +1906,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -2010,7 +2010,7 @@ ___
|
||||
|
||||
▸ **readLength**(input: *`Uint8Array`*): [`number`, `number`]
|
||||
|
||||
*Defined in [AccountIndex.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L66)*
|
||||
*Defined in [AccountIndex.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -2048,7 +2048,7 @@ ___
|
||||
|
||||
▸ **writeLength**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountIndex.ts:80](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountIndex.ts#L80)*
|
||||
*Defined in [AccountIndex.ts:80](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountIndex.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1970,7 +1970,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Address</strong>(value?: <em><code>AnyAddress</code></em>): <a href="_address_.address.html">Address</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L25" target="_blank">Address.ts:25</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L25" target="_blank">Address.ts:25</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1994,14 +1994,14 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L67" target="_blank">Address.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L67" target="_blank">Address.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="rawlength"></a></p>
|
||||
<h2 id="rawlength">rawLength</h2>
|
||||
<p>getrawLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L81" target="_blank">Address.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L81" target="_blank">Address.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the raw value, either AccountIndex or AccountId</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2009,28 +2009,28 @@
|
||||
<p><a id="tohex"></a></p>
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L90" target="_blank">Address.ts:90</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L90" target="_blank">Address.ts:90</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="tojson"></a></p>
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L97" target="_blank">Address.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L97" target="_blank">Address.ts:97</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
<p><a id="tostring"></a></p>
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L104" target="_blank">Address.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L104" target="_blank">Address.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="tou8a"></a></p>
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L112" target="_blank">Address.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L112" target="_blank">Address.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2054,7 +2054,7 @@
|
||||
<p><a id="decodeaddress"></a></p>
|
||||
<h2 id="static-decodeaddress"><code><Static></code> decodeAddress</h2>
|
||||
<p>▸ <strong>decodeAddress</strong>(value: <em><code>AnyAddress</code></em>): <a href="_accountid_.accountid.html">AccountId</a> | <a href="_accountindex_.accountindex.html">AccountIndex</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L32" target="_blank">Address.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L32" target="_blank">Address.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2115,7 +2115,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.3","depth":1,"next":{"title":"hidden","level":"4.4","depth":1,"path":"types/classes/_authorityid_.authorityid.md","ref":"types/classes/_authorityid_.authorityid.md","articles":[]},"previous":{"title":"hidden","level":"4.2","depth":1,"path":"types/classes/_accountindex_.accountindex.md","ref":"types/classes/_accountindex_.accountindex.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_address_.address.md","mtime":"2018-12-10T11:01:33.916Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.3","depth":1,"next":{"title":"hidden","level":"4.4","depth":1,"path":"types/classes/_authorityid_.authorityid.md","ref":"types/classes/_authorityid_.authorityid.md","articles":[]},"previous":{"title":"hidden","level":"4.2","depth":1,"path":"types/classes/_accountindex_.accountindex.md","ref":"types/classes/_accountindex_.accountindex.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_address_.address.md","mtime":"2018-12-10T13:50:46.171Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Address.ts:25](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L25)*
|
||||
*Defined in [Address.ts:25](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [Address.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L67)*
|
||||
*Defined in [Address.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L67)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
getrawLength(): `number`
|
||||
|
||||
*Defined in [Address.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L81)*
|
||||
*Defined in [Address.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L81)*
|
||||
|
||||
*__description__*: The length of the raw value, either AccountIndex or AccountId
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [Address.ts:90](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L90)*
|
||||
*Defined in [Address.ts:90](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L90)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
▸ **toJSON**(): `any`
|
||||
|
||||
*Defined in [Address.ts:97](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L97)*
|
||||
*Defined in [Address.ts:97](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L97)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
▸ **toString**(): `string`
|
||||
|
||||
*Defined in [Address.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L104)*
|
||||
*Defined in [Address.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L104)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: * `undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [Address.ts:112](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L112)*
|
||||
*Defined in [Address.ts:112](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L112)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
▸ **decodeAddress**(value: *`AnyAddress`*): [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
*Defined in [Address.ts:32](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Address.ts#L32)*
|
||||
*Defined in [Address.ts:32](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Address.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<p>⊕ <strong>new AuthorityId</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_authorityid_.authorityid.html">AuthorityId</a></p>
|
||||
<p><em>Inherited from <a href="_accountid_.accountid.html">AccountId</a>.<a href="_accountid_.accountid.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2036,7 +2036,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2045,7 +2045,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2061,7 +2061,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2728,7 +2728,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2759,7 +2759,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2769,7 +2769,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_accountid_.accountid.html">AccountId</a>.<a href="_accountid_.accountid.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L46" target="_blank">AccountId.ts:46</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L46" target="_blank">AccountId.ts:46</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2787,7 +2787,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_accountid_.accountid.html">AccountId</a>.<a href="_accountid_.accountid.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L53" target="_blank">AccountId.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L53" target="_blank">AccountId.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2796,7 +2796,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2829,7 +2829,7 @@
|
||||
<h2 id="static-encode"><code><Static></code> encode</h2>
|
||||
<p>▸ <strong>encode</strong>(value: <em><code>Uint8Array</code></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_accountid_.accountid.html">AccountId</a>.<a href="_accountid_.accountid.html#encode">encode</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2890,7 +2890,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.4","depth":1,"next":{"title":"hidden","level":"4.5","depth":1,"path":"types/classes/_balance_.balance.md","ref":"types/classes/_balance_.balance.md","articles":[]},"previous":{"title":"hidden","level":"4.3","depth":1,"path":"types/classes/_address_.address.md","ref":"types/classes/_address_.address.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_authorityid_.authorityid.md","mtime":"2018-12-10T11:01:34.104Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.4","depth":1,"next":{"title":"hidden","level":"4.5","depth":1,"path":"types/classes/_balance_.balance.md","ref":"types/classes/_balance_.balance.md","articles":[]},"previous":{"title":"hidden","level":"4.3","depth":1,"path":"types/classes/_address_.address.md","ref":"types/classes/_address_.address.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_authorityid_.authorityid.md","mtime":"2018-12-10T13:50:46.391Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L19)*
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -689,7 +689,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -713,7 +713,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L46)*
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L53)*
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -783,7 +783,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -819,7 +819,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
|
||||
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/AccountId.ts#L27)*
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1975,7 +1975,7 @@
|
||||
<p>⊕ <strong>new Balance</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_balance_.balance.html">Balance</a></p>
|
||||
<p><em>Inherited from <a href="_u128_.u128.html">U128</a>.<a href="_u128_.u128.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U128.ts#L14" target="_blank">U128.ts:14</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U128.ts#L14" target="_blank">U128.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1998,7 +1998,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2131,7 +2131,7 @@
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
@@ -3509,7 +3509,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tobn">toBn</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number. (Compatibility)</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -3545,7 +3545,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3555,7 +3555,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides BN.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3595,7 +3595,7 @@
|
||||
<p>▸ <strong>toString</strong>(base?: <em> <code>undefined</code> | <code>number</code></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides BN.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3644,7 +3644,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3861,7 +3861,7 @@
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#decodeuint">decodeUInt</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4049,7 +4049,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.5","depth":1,"next":{"title":"hidden","level":"4.6","depth":1,"path":"types/classes/_bft_.bftauthoritysignature.md","ref":"types/classes/_bft_.bftauthoritysignature.md","articles":[]},"previous":{"title":"hidden","level":"4.4","depth":1,"path":"types/classes/_authorityid_.authorityid.md","ref":"types/classes/_authorityid_.authorityid.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_balance_.balance.md","mtime":"2018-12-10T11:01:34.488Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.5","depth":1,"next":{"title":"hidden","level":"4.6","depth":1,"path":"types/classes/_bft_.bftauthoritysignature.md","ref":"types/classes/_bft_.bftauthoritysignature.md","articles":[]},"previous":{"title":"hidden","level":"4.4","depth":1,"path":"types/classes/_authorityid_.authorityid.md","ref":"types/classes/_authorityid_.authorityid.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_balance_.balance.md","mtime":"2018-12-10T13:50:46.803Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U128.ts:14](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U128.ts#L14)*
|
||||
*Defined in [U128.ts:14](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U128.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -1523,7 +1523,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71)*
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1562,7 +1562,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78)*
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85)*
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1634,7 +1634,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1678,7 +1678,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104)*
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1882,7 +1882,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new BftAuthoritySignature</strong>(value?: <em> <a href="../modules/_bft_.md#bftauthoritysignaturevalue">BftAuthoritySignatureValue</a> | <code>Uint8Array</code></em>): <a href="_bft_.bftauthoritysignature.html">BftAuthoritySignature</a></p>
|
||||
<p><em>Overrides <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L20" target="_blank">Bft.ts:20</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L20" target="_blank">Bft.ts:20</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2009,14 +2009,14 @@
|
||||
<h2 id="types">Types</h2>
|
||||
<p>getTypes(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#types">Types</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
<p><a id="authorityid"></a></p>
|
||||
<h2 id="authorityid">authorityId</h2>
|
||||
<p>getauthorityId(): <a href="_authorityid_.authorityid.html">AuthorityId</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L31" target="_blank">Bft.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L31" target="_blank">Bft.ts:31</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped [[AuthoriyId]]</p>
|
||||
<p><strong>Returns:</strong> <a href="_authorityid_.authorityid.html">AuthorityId</a></p>
|
||||
<hr>
|
||||
@@ -2024,14 +2024,14 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="signature"></a></p>
|
||||
<h2 id="signature">signature</h2>
|
||||
<p>getsignature(): <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L38" target="_blank">Bft.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L38" target="_blank">Bft.ts:38</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_signature_.signature.html">Signature</a> value</p>
|
||||
<p><strong>Returns:</strong> <a href="_signature_.signature.html">Signature</a></p>
|
||||
<hr>
|
||||
@@ -2212,7 +2212,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2765,7 +2765,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3147,7 +3147,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -3156,7 +3156,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3165,7 +3165,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3183,7 +3183,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3192,7 +3192,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3250,7 +3250,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---arrayconstructor">S : <code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3313,7 +3313,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.6","depth":1,"next":{"title":"hidden","level":"4.7","depth":1,"path":"types/classes/_bft_.bfthashsignature.md","ref":"types/classes/_bft_.bfthashsignature.md","articles":[]},"previous":{"title":"hidden","level":"4.5","depth":1,"path":"types/classes/_balance_.balance.md","ref":"types/classes/_balance_.balance.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bft_.bftauthoritysignature.md","mtime":"2018-12-10T11:01:34.752Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.6","depth":1,"next":{"title":"hidden","level":"4.7","depth":1,"path":"types/classes/_bft_.bfthashsignature.md","ref":"types/classes/_bft_.bfthashsignature.md","articles":[]},"previous":{"title":"hidden","level":"4.5","depth":1,"path":"types/classes/_balance_.balance.md","ref":"types/classes/_balance_.balance.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bft_.bftauthoritysignature.md","mtime":"2018-12-10T13:50:47.075Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:20](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L20)*
|
||||
*Defined in [Bft.ts:20](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -67,7 +67,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Defined in [Bft.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L31)*
|
||||
*Defined in [Bft.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L31)*
|
||||
|
||||
*__description__*: The wrapped \[\[AuthoriyId\]\]
|
||||
|
||||
@@ -95,7 +95,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66)*
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L38)*
|
||||
*Defined in [Bft.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L38)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md) value
|
||||
|
||||
@@ -278,7 +278,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131)*
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1006,7 +1006,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82)*
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1023,7 +1023,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89)*
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1040,7 +1040,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96)*
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1074,7 +1074,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1091,7 +1091,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1148,7 +1148,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53)*
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new BftHashSignature</strong>(value?: <em> <a href="../modules/_bft_.md#bfthashsignaturevalue">BftHashSignatureValue</a> | <code>Uint8Array</code></em>): <a href="_bft_.bfthashsignature.html">BftHashSignature</a></p>
|
||||
<p><em>Overrides <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L51" target="_blank">Bft.ts:51</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L51" target="_blank">Bft.ts:51</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2009,7 +2009,7 @@
|
||||
<h2 id="types">Types</h2>
|
||||
<p>getTypes(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#types">Types</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
@@ -2017,21 +2017,21 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="hash"></a></p>
|
||||
<h2 id="hash">hash</h2>
|
||||
<p>gethash(): <a href="_hash_.hash.html">Hash</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L62" target="_blank">Bft.ts:62</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L62" target="_blank">Bft.ts:62</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_hash_.hash.html">Hash</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_hash_.hash.html">Hash</a></p>
|
||||
<hr>
|
||||
<p><a id="signature"></a></p>
|
||||
<h2 id="signature">signature</h2>
|
||||
<p>getsignature(): <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L69" target="_blank">Bft.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L69" target="_blank">Bft.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_signature_.signature.html">Signature</a></p>
|
||||
<hr>
|
||||
@@ -2212,7 +2212,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2765,7 +2765,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3147,7 +3147,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -3156,7 +3156,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3165,7 +3165,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3183,7 +3183,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3192,7 +3192,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3250,7 +3250,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---arrayconstructor">S : <code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3313,7 +3313,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.7","depth":1,"next":{"title":"hidden","level":"4.8","depth":1,"path":"types/classes/_block_.block.md","ref":"types/classes/_block_.block.md","articles":[]},"previous":{"title":"hidden","level":"4.6","depth":1,"path":"types/classes/_bft_.bftauthoritysignature.md","ref":"types/classes/_bft_.bftauthoritysignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bft_.bfthashsignature.md","mtime":"2018-12-10T11:01:35.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.7","depth":1,"next":{"title":"hidden","level":"4.8","depth":1,"path":"types/classes/_block_.block.md","ref":"types/classes/_block_.block.md","articles":[]},"previous":{"title":"hidden","level":"4.6","depth":1,"path":"types/classes/_bft_.bftauthoritysignature.md","ref":"types/classes/_bft_.bftauthoritysignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bft_.bfthashsignature.md","mtime":"2018-12-10T13:50:47.339Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:51](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L51)*
|
||||
*Defined in [Bft.ts:51](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -67,7 +67,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -82,7 +82,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66)*
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:62](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L62)*
|
||||
*Defined in [Bft.ts:62](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L62)*
|
||||
|
||||
*__description__*: The wrapped [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bft.ts#L69)*
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bft.ts#L69)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -278,7 +278,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131)*
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1006,7 +1006,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82)*
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1023,7 +1023,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89)*
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1040,7 +1040,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96)*
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1074,7 +1074,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1091,7 +1091,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1148,7 +1148,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53)*
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Block</strong>(value?: <em> <a href="../modules/_block_.md#blockvalue">BlockValue</a> | <code>Uint8Array</code></em>): <a href="_block_.block.html">Block</a></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L24" target="_blank">Block.ts:24</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L24" target="_blank">Block.ts:24</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
@@ -2023,28 +2023,28 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="extrinsics"></a></p>
|
||||
<h2 id="extrinsics">extrinsics</h2>
|
||||
<p>getextrinsics(): <a href="_extrinsics_.extrinsics.html">Extrinsics</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L35" target="_blank">Block.ts:35</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L35" target="_blank">Block.ts:35</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="../interfaces/_method_.extrinsics.md">Extrinsics</a> conatined in the block</p>
|
||||
<p><strong>Returns:</strong> <a href="_extrinsics_.extrinsics.html">Extrinsics</a></p>
|
||||
<hr>
|
||||
<p><a id="hash"></a></p>
|
||||
<h2 id="hash">hash</h2>
|
||||
<p>gethash(): <a href="_hash_.hash.html">Hash</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L42" target="_blank">Block.ts:42</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L42" target="_blank">Block.ts:42</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Coinvenience getter, encoded the <a href="_hash_.hash.html">Hash</a> for the block</p>
|
||||
<p><strong>Returns:</strong> <a href="_hash_.hash.html">Hash</a></p>
|
||||
<hr>
|
||||
<p><a id="header"></a></p>
|
||||
<h2 id="header">header</h2>
|
||||
<p>getheader(): <a href="_header_.header.html">Header</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L51" target="_blank">Block.ts:51</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L51" target="_blank">Block.ts:51</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_header_.header.html">Header</a> in the block</p>
|
||||
<p><strong>Returns:</strong> <a href="_header_.header.html">Header</a></p>
|
||||
<hr>
|
||||
@@ -2125,7 +2125,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2150,7 +2150,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2229,7 +2229,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2238,7 +2238,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2247,7 +2247,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2256,7 +2256,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2265,7 +2265,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2298,7 +2298,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2361,7 +2361,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.8","depth":1,"next":{"title":"hidden","level":"4.9","depth":1,"path":"types/classes/_blocknumber_.blocknumber.md","ref":"types/classes/_blocknumber_.blocknumber.md","articles":[]},"previous":{"title":"hidden","level":"4.7","depth":1,"path":"types/classes/_bft_.bfthashsignature.md","ref":"types/classes/_bft_.bfthashsignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_block_.block.md","mtime":"2018-12-10T11:01:35.064Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.8","depth":1,"next":{"title":"hidden","level":"4.9","depth":1,"path":"types/classes/_blocknumber_.blocknumber.md","ref":"types/classes/_blocknumber_.blocknumber.md","articles":[]},"previous":{"title":"hidden","level":"4.7","depth":1,"path":"types/classes/_bft_.bfthashsignature.md","ref":"types/classes/_bft_.bfthashsignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_block_.block.md","mtime":"2018-12-10T13:50:47.395Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Block.ts:24](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L24)*
|
||||
*Defined in [Block.ts:24](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -91,7 +91,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)*
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
*Defined in [Block.ts:35](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L35)*
|
||||
*Defined in [Block.ts:35](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L35)*
|
||||
|
||||
*__description__*: The [Extrinsics](../interfaces/_method_.extrinsics.md) conatined in the block
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Block.ts:42](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L42)*
|
||||
*Defined in [Block.ts:42](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L42)*
|
||||
|
||||
*__description__*: Coinvenience getter, encoded the [Hash](_hash_.hash.md) for the block
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
getheader(): [Header](_header_.header.md)
|
||||
|
||||
*Defined in [Block.ts:51](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Block.ts#L51)*
|
||||
*Defined in [Block.ts:51](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Block.ts#L51)*
|
||||
|
||||
*__description__*: The [Header](_header_.header.md) in the block
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -328,7 +328,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -345,7 +345,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -379,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -396,7 +396,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)*
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -432,7 +432,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1975,7 +1975,7 @@
|
||||
<p>⊕ <strong>new BlockNumber</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_blocknumber_.blocknumber.html">BlockNumber</a></p>
|
||||
<p><em>Inherited from <a href="_u64_.u64.html">U64</a>.<a href="_u64_.u64.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U64.ts#L14" target="_blank">U64.ts:14</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U64.ts#L14" target="_blank">U64.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1998,7 +1998,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2131,7 +2131,7 @@
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
@@ -3509,7 +3509,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tobn">toBn</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number. (Compatibility)</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -3545,7 +3545,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3555,7 +3555,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides BN.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3595,7 +3595,7 @@
|
||||
<p>▸ <strong>toString</strong>(base?: <em> <code>undefined</code> | <code>number</code></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides BN.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3644,7 +3644,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3861,7 +3861,7 @@
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#decodeuint">decodeUInt</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4049,7 +4049,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.9","depth":1,"next":{"title":"hidden","level":"4.10","depth":1,"path":"types/classes/_bool_.bool.md","ref":"types/classes/_bool_.bool.md","articles":[]},"previous":{"title":"hidden","level":"4.8","depth":1,"path":"types/classes/_block_.block.md","ref":"types/classes/_block_.block.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_blocknumber_.blocknumber.md","mtime":"2018-12-10T11:01:35.284Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.9","depth":1,"next":{"title":"hidden","level":"4.10","depth":1,"path":"types/classes/_bool_.bool.md","ref":"types/classes/_bool_.bool.md","articles":[]},"previous":{"title":"hidden","level":"4.8","depth":1,"path":"types/classes/_block_.block.md","ref":"types/classes/_block_.block.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_blocknumber_.blocknumber.md","mtime":"2018-12-10T13:50:47.635Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:14](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U64.ts#L14)*
|
||||
*Defined in [U64.ts:14](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -1523,7 +1523,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71)*
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1562,7 +1562,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78)*
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85)*
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1634,7 +1634,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1678,7 +1678,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104)*
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1882,7 +1882,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1973,7 +1973,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Bool</strong>(value?: <em> <a href="_bool_.bool.html">Bool</a> | <code>Boolean</code> | <code>Uint8Array</code> | <code>boolean</code> | <code>number</code></em>): <a href="_bool_.bool.html">Bool</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L15" target="_blank">Bool.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L15" target="_blank">Bool.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2003,7 +2003,7 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L35" target="_blank">Bool.ts:35</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L35" target="_blank">Bool.ts:35</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2012,7 +2012,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L42" target="_blank">Bool.ts:42</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L42" target="_blank">Bool.ts:42</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2020,7 +2020,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L49" target="_blank">Bool.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L49" target="_blank">Bool.ts:49</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2028,7 +2028,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L56" target="_blank">Bool.ts:56</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L56" target="_blank">Bool.ts:56</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2036,7 +2036,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L64" target="_blank">Bool.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L64" target="_blank">Bool.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2100,7 +2100,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.10","depth":1,"next":{"title":"hidden","level":"4.11","depth":1,"path":"types/classes/_bytes_.bytes.md","ref":"types/classes/_bytes_.bytes.md","articles":[]},"previous":{"title":"hidden","level":"4.9","depth":1,"path":"types/classes/_blocknumber_.blocknumber.md","ref":"types/classes/_blocknumber_.blocknumber.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bool_.bool.md","mtime":"2018-12-10T11:01:35.300Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.10","depth":1,"next":{"title":"hidden","level":"4.11","depth":1,"path":"types/classes/_bytes_.bytes.md","ref":"types/classes/_bytes_.bytes.md","articles":[]},"previous":{"title":"hidden","level":"4.9","depth":1,"path":"types/classes/_blocknumber_.blocknumber.md","ref":"types/classes/_blocknumber_.blocknumber.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bool_.bool.md","mtime":"2018-12-10T13:50:47.651Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
⊕ **new Bool**(value?: * [Bool](_bool_.bool.md) | `Boolean` | `Uint8Array` | `boolean` | `number`*): [Bool](_bool_.bool.md)
|
||||
|
||||
*Defined in [Bool.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L15)*
|
||||
*Defined in [Bool.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [Bool.ts:35](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L35)*
|
||||
*Defined in [Bool.ts:35](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L35)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [Bool.ts:42](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L42)*
|
||||
*Defined in [Bool.ts:42](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L42)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -87,7 +87,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [Bool.ts:49](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L49)*
|
||||
*Defined in [Bool.ts:49](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L49)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [Bool.ts:56](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L56)*
|
||||
*Defined in [Bool.ts:56](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L56)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [Bool.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bool.ts#L64)*
|
||||
*Defined in [Bool.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bool.ts#L64)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1980,7 +1980,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Bytes</strong>(value: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_bytes_.bytes.html">Bytes</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L64" target="_blank">Bytes.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L64" target="_blank">Bytes.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2047,7 +2047,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2722,7 +2722,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2753,7 +2753,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2762,7 +2762,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2780,7 +2780,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2789,7 +2789,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L72" target="_blank">Bytes.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L72" target="_blank">Bytes.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2861,7 +2861,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.11","depth":1,"next":{"title":"hidden","level":"4.12","depth":1,"path":"types/classes/_chainproperties_.chainproperties.md","ref":"types/classes/_chainproperties_.chainproperties.md","articles":[]},"previous":{"title":"hidden","level":"4.10","depth":1,"path":"types/classes/_bool_.bool.md","ref":"types/classes/_bool_.bool.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bytes_.bytes.md","mtime":"2018-12-10T11:01:35.460Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.11","depth":1,"next":{"title":"hidden","level":"4.12","depth":1,"path":"types/classes/_chainproperties_.chainproperties.md","ref":"types/classes/_chainproperties_.chainproperties.md","articles":[]},"previous":{"title":"hidden","level":"4.10","depth":1,"path":"types/classes/_bool_.bool.md","ref":"types/classes/_bool_.bool.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_bytes_.bytes.md","mtime":"2018-12-10T13:50:47.831Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -123,7 +123,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L64)*
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -140,7 +140,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -682,7 +682,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -706,7 +706,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -723,7 +723,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -757,7 +757,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -774,7 +774,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L72)*
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L72)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1973,7 +1973,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ChainProperties</strong>(value?: <em><code>object</code></em>): <a href="_chainproperties_.chainproperties.html">ChainProperties</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L17" target="_blank">ChainProperties.ts:17</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L17" target="_blank">ChainProperties.ts:17</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2003,7 +2003,7 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L31" target="_blank">ChainProperties.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L31" target="_blank">ChainProperties.ts:31</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Always 0, never encodes as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2012,7 +2012,7 @@
|
||||
<h2 id="get">get</h2>
|
||||
<p>▸ <strong>get</strong>(name: <em><code>string</code></em>): <code>any</code> | <code>undefined</code></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L39" target="_blank">ChainProperties.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L39" target="_blank">ChainProperties.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2037,7 +2037,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L46" target="_blank">ChainProperties.ts:46</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L46" target="_blank">ChainProperties.ts:46</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Unimplemented, will throw</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2045,7 +2045,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L53" target="_blank">ChainProperties.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L53" target="_blank">ChainProperties.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2053,7 +2053,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L64" target="_blank">ChainProperties.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L64" target="_blank">ChainProperties.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2061,7 +2061,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L71" target="_blank">ChainProperties.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L71" target="_blank">ChainProperties.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Unimplemented, will throw</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2123,7 +2123,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.12","depth":1,"next":{"title":"hidden","level":"4.13","depth":1,"path":"types/classes/_codec_base_.base.md","ref":"types/classes/_codec_base_.base.md","articles":[]},"previous":{"title":"hidden","level":"4.11","depth":1,"path":"types/classes/_bytes_.bytes.md","ref":"types/classes/_bytes_.bytes.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_chainproperties_.chainproperties.md","mtime":"2018-12-10T11:01:35.476Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.12","depth":1,"next":{"title":"hidden","level":"4.13","depth":1,"path":"types/classes/_codec_base_.base.md","ref":"types/classes/_codec_base_.base.md","articles":[]},"previous":{"title":"hidden","level":"4.11","depth":1,"path":"types/classes/_bytes_.bytes.md","ref":"types/classes/_bytes_.bytes.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_chainproperties_.chainproperties.md","mtime":"2018-12-10T13:50:47.851Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
⊕ **new ChainProperties**(value?: *`object`*): [ChainProperties](_chainproperties_.chainproperties.md)
|
||||
|
||||
*Defined in [ChainProperties.ts:17](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L17)*
|
||||
*Defined in [ChainProperties.ts:17](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [ChainProperties.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L31)*
|
||||
*Defined in [ChainProperties.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L31)*
|
||||
|
||||
*__description__*: Always 0, never encodes as a Uint8Array
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [ChainProperties.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L39)*
|
||||
*Defined in [ChainProperties.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L39)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [ChainProperties.ts:46](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L46)*
|
||||
*Defined in [ChainProperties.ts:46](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L46)*
|
||||
|
||||
*__description__*: Unimplemented, will throw
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [ChainProperties.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L53)*
|
||||
*Defined in [ChainProperties.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L53)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [ChainProperties.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L64)*
|
||||
*Defined in [ChainProperties.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L64)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [ChainProperties.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ChainProperties.ts#L71)*
|
||||
*Defined in [ChainProperties.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ChainProperties.ts#L71)*
|
||||
|
||||
*__description__*: Unimplemented, will throw
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Base</strong>(value?: <em><code>any</code></em>): <a href="_codec_base_.base.html">Base</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Base.ts#L10" target="_blank">codec/Base.ts:10</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Base.ts#L10" target="_blank">codec/Base.ts:10</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2037,7 +2037,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.13","depth":1,"next":{"title":"hidden","level":"4.14","depth":1,"path":"types/classes/_codec_compact_.compact.md","ref":"types/classes/_codec_compact_.compact.md","articles":[]},"previous":{"title":"hidden","level":"4.12","depth":1,"path":"types/classes/_chainproperties_.chainproperties.md","ref":"types/classes/_chainproperties_.chainproperties.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_base_.base.md","mtime":"2018-12-10T11:01:44.540Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.13","depth":1,"next":{"title":"hidden","level":"4.14","depth":1,"path":"types/classes/_codec_compact_.compact.md","ref":"types/classes/_codec_compact_.compact.md","articles":[]},"previous":{"title":"hidden","level":"4.12","depth":1,"path":"types/classes/_chainproperties_.chainproperties.md","ref":"types/classes/_chainproperties_.chainproperties.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_base_.base.md","mtime":"2018-12-10T13:50:58.207Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
⊕ **new Base**(value?: *`any`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Base.ts:10](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Base.ts#L10)*
|
||||
*Defined in [codec/Base.ts:10](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Base.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Compact</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a>< <a href="_codec_uint_.uint.html">UInt</a> | <a href="_moment_.moment.html">Moment</a>></em>, value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_codec_compact_.compact.html">Compact</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L22" target="_blank">codec/Compact.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L22" target="_blank">codec/Compact.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2003,25 +2003,25 @@
|
||||
<p><a id="addlengthprefix"></a></p>
|
||||
<h2 id="static-addlengthprefix"><code><Static></code> addLengthPrefix</h2>
|
||||
<p><strong>● addLengthPrefix</strong>: <em><code>compactAddLength</code></em> = compactAddLength</p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L40" target="_blank">codec/Compact.ts:40</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L40" target="_blank">codec/Compact.ts:40</a></em></p>
|
||||
<p>Prepend a Uint8Array with its compact length.
|
||||
<em><strong>param</strong></em>: The Uint8Array to be prefixed</p>
|
||||
<hr>
|
||||
<p><a id="decodeu8a"></a></p>
|
||||
<h2 id="static-decodeu8a"><code><Static></code> decodeU8a</h2>
|
||||
<p><strong>● decodeU8a</strong>: <em><code>compactFromU8a</code></em> = compactFromU8a</p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L41" target="_blank">codec/Compact.ts:41</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L41" target="_blank">codec/Compact.ts:41</a></em></p>
|
||||
<hr>
|
||||
<p><a id="encodeu8a"></a></p>
|
||||
<h2 id="static-encodeu8a"><code><Static></code> encodeU8a</h2>
|
||||
<p><strong>● encodeU8a</strong>: <em><code>compactToU8a</code></em> = compactToU8a</p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L42" target="_blank">codec/Compact.ts:42</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L42" target="_blank">codec/Compact.ts:42</a></em></p>
|
||||
<hr>
|
||||
<h1 id="accessors">Accessors</h1>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L71" target="_blank">codec/Compact.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L71" target="_blank">codec/Compact.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2029,14 +2029,14 @@
|
||||
<p><a id="bitlength"></a></p>
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L78" target="_blank">codec/Compact.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L78" target="_blank">codec/Compact.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
<p><a id="tobn"></a></p>
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L85" target="_blank">codec/Compact.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L85" target="_blank">codec/Compact.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -2044,7 +2044,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L92" target="_blank">codec/Compact.ts:92</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L92" target="_blank">codec/Compact.ts:92</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2052,14 +2052,14 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L99" target="_blank">codec/Compact.ts:99</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L99" target="_blank">codec/Compact.ts:99</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
<p><a id="tonumber"></a></p>
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L106" target="_blank">codec/Compact.ts:106</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L106" target="_blank">codec/Compact.ts:106</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2067,7 +2067,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L113" target="_blank">codec/Compact.ts:113</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L113" target="_blank">codec/Compact.ts:113</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2075,7 +2075,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L121" target="_blank">codec/Compact.ts:121</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L121" target="_blank">codec/Compact.ts:121</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2099,7 +2099,7 @@
|
||||
<p><a id="decodecompact"></a></p>
|
||||
<h2 id="static-decodecompact"><code><Static></code> decodeCompact</h2>
|
||||
<p>▸ <strong>decodeCompact</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a>< <a href="_codec_uint_.uint.html">UInt</a> | <a href="_moment_.moment.html">Moment</a>></em>, value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_moment_.moment.html">Moment</a> | <a href="_codec_uint_.uint.html">UInt</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L50" target="_blank">codec/Compact.ts:50</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L50" target="_blank">codec/Compact.ts:50</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2124,7 +2124,7 @@
|
||||
<p><a id="striplengthprefix"></a></p>
|
||||
<h2 id="static-striplengthprefix"><code><Static></code> stripLengthPrefix</h2>
|
||||
<p>▸ <strong>stripLengthPrefix</strong>(u8a: <em><code>Uint8Array</code></em>, bitLength?: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L44" target="_blank">codec/Compact.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L44" target="_blank">codec/Compact.ts:44</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2152,7 +2152,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a>< <a href="_codec_uint_.uint.html">UInt</a> | <a href="_moment_.moment.html">Moment</a>></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_compact_.compact.html">Compact</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L27" target="_blank">codec/Compact.ts:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L27" target="_blank">codec/Compact.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2213,7 +2213,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.14","depth":1,"next":{"title":"hidden","level":"4.15","depth":1,"path":"types/classes/_codec_enum_.enum.md","ref":"types/classes/_codec_enum_.enum.md","articles":[]},"previous":{"title":"hidden","level":"4.13","depth":1,"path":"types/classes/_codec_base_.base.md","ref":"types/classes/_codec_base_.base.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_compact_.compact.md","mtime":"2018-12-10T11:01:44.568Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.14","depth":1,"next":{"title":"hidden","level":"4.15","depth":1,"path":"types/classes/_codec_enum_.enum.md","ref":"types/classes/_codec_enum_.enum.md","articles":[]},"previous":{"title":"hidden","level":"4.13","depth":1,"path":"types/classes/_codec_base_.base.md","ref":"types/classes/_codec_base_.base.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_compact_.compact.md","mtime":"2018-12-10T13:50:58.223Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Compact.ts:22](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L22)*
|
||||
*Defined in [codec/Compact.ts:22](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
**● addLengthPrefix**: *`compactAddLength`* = compactAddLength
|
||||
|
||||
*Defined in [codec/Compact.ts:40](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L40)*
|
||||
*Defined in [codec/Compact.ts:40](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L40)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
*__param__*: The Uint8Array to be prefixed
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
**● decodeU8a**: *`compactFromU8a`* = compactFromU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:41](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L41)*
|
||||
*Defined in [codec/Compact.ts:41](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L41)*
|
||||
|
||||
___
|
||||
<a id="encodeu8a"></a>
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
**● encodeU8a**: *`compactToU8a`* = compactToU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
___
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L71)*
|
||||
*Defined in [codec/Compact.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L71)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): [UIntBitLength](../modules/_codec_uint_.md#uintbitlength)
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/Compact.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L85)*
|
||||
*Defined in [codec/Compact.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L85)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Compact.ts:92](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L92)*
|
||||
*Defined in [codec/Compact.ts:92](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L92)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -137,7 +137,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Compact.ts:99](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L99)*
|
||||
*Defined in [codec/Compact.ts:99](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L99)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:106](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L106)*
|
||||
*Defined in [codec/Compact.ts:106](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L106)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Compact.ts:113](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L113)*
|
||||
*Defined in [codec/Compact.ts:113](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L113)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:121](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L121)*
|
||||
*Defined in [codec/Compact.ts:121](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L121)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
▸ **decodeCompact**(Type: *[Constructor](../modules/_types_.md#constructor)< [UInt](_codec_uint_.uint.md) | [Moment](_moment_.moment.md)>*, value: *[AnyNumber](../modules/_types_.md#anynumber)*): [Moment](_moment_.moment.md) | [UInt](_codec_uint_.uint.md)
|
||||
|
||||
*Defined in [codec/Compact.ts:50](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L50)*
|
||||
*Defined in [codec/Compact.ts:50](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L50)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
▸ **stripLengthPrefix**(u8a: *`Uint8Array`*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:44](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L44)*
|
||||
*Defined in [codec/Compact.ts:44](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
▸ **with**(Type: *[Constructor](../modules/_types_.md#constructor)< [UInt](_codec_uint_.uint.md) | [Moment](_moment_.moment.md)>*): [Constructor](../modules/_types_.md#constructor)<[Compact](_codec_compact_.compact.md)>
|
||||
|
||||
*Defined in [codec/Compact.ts:27](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Compact.ts#L27)*
|
||||
*Defined in [codec/Compact.ts:27](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Compact.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Enum</strong>(def: <em><code>EnumDef</code></em>, value?: <em> <a href="_codec_enum_.enum.html">Enum</a> | <code>Uint8Array</code> | <code>number</code></em>): <a href="_codec_enum_.enum.html">Enum</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L25" target="_blank">codec/Enum.ts:25</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L25" target="_blank">codec/Enum.ts:25</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2006,7 +2006,7 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L48" target="_blank">codec/Enum.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L48" target="_blank">codec/Enum.ts:48</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L55" target="_blank">codec/Enum.ts:55</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L55" target="_blank">codec/Enum.ts:55</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2023,14 +2023,14 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L62" target="_blank">codec/Enum.ts:62</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L62" target="_blank">codec/Enum.ts:62</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
<p><a id="tonumber"></a></p>
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L69" target="_blank">codec/Enum.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L69" target="_blank">codec/Enum.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L76" target="_blank">codec/Enum.ts:76</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L76" target="_blank">codec/Enum.ts:76</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2046,7 +2046,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L84" target="_blank">codec/Enum.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L84" target="_blank">codec/Enum.ts:84</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2070,7 +2070,7 @@
|
||||
<p><a id="decodeenum"></a></p>
|
||||
<h2 id="static-decodeenum"><code><Static></code> decodeEnum</h2>
|
||||
<p>▸ <strong>decodeEnum</strong>(value?: <em> <a href="_codec_enum_.enum.html">Enum</a> | <code>Uint8Array</code> | <code>number</code></em>): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L35" target="_blank">codec/Enum.ts:35</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L35" target="_blank">codec/Enum.ts:35</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2133,7 +2133,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.15","depth":1,"next":{"title":"hidden","level":"4.16","depth":1,"path":"types/classes/_codec_enumtype_.enumtype.md","ref":"types/classes/_codec_enumtype_.enumtype.md","articles":[]},"previous":{"title":"hidden","level":"4.14","depth":1,"path":"types/classes/_codec_compact_.compact.md","ref":"types/classes/_codec_compact_.compact.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_enum_.enum.md","mtime":"2018-12-10T11:01:44.580Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.15","depth":1,"next":{"title":"hidden","level":"4.16","depth":1,"path":"types/classes/_codec_enumtype_.enumtype.md","ref":"types/classes/_codec_enumtype_.enumtype.md","articles":[]},"previous":{"title":"hidden","level":"4.14","depth":1,"path":"types/classes/_codec_compact_.compact.md","ref":"types/classes/_codec_compact_.compact.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_enum_.enum.md","mtime":"2018-12-10T13:50:58.239Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Enum.ts:25](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L25)*
|
||||
*Defined in [codec/Enum.ts:25](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:48](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L48)*
|
||||
*Defined in [codec/Enum.ts:48](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L48)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Enum.ts:55](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L55)*
|
||||
*Defined in [codec/Enum.ts:55](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L55)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:62](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L62)*
|
||||
*Defined in [codec/Enum.ts:62](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L62)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:69](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L69)*
|
||||
*Defined in [codec/Enum.ts:69](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L69)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:76](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L76)*
|
||||
*Defined in [codec/Enum.ts:76](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L76)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:84](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L84)*
|
||||
*Defined in [codec/Enum.ts:84](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L84)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
▸ **decodeEnum**(value?: * [Enum](_codec_enum_.enum.md) | `Uint8Array` | `number`*): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Enum.ts#L35)*
|
||||
*Defined in [codec/Enum.ts:35](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Enum.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1981,7 +1981,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new EnumType</strong>(def: <em><code>TypesDef</code></em>, value?: <em><code>any</code></em>, index?: <em> <code>number</code> | <a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>T</code>></em>): <a href="_codec_enumtype_.enumtype.html">EnumType</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L28" target="_blank">codec/EnumType.ts:28</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L28" target="_blank">codec/EnumType.ts:28</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2011,35 +2011,35 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="isnone"></a></p>
|
||||
<h2 id="isnone">isNone</h2>
|
||||
<p>getisNone(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="isnull"></a></p>
|
||||
<h2 id="isnull">isNull</h2>
|
||||
<p>getisNull(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type (deprecated, use isNone)</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="type"></a></p>
|
||||
<h2 id="type">type</h2>
|
||||
<p>gettype(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The name of the type this enum value represents</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="value"></a></p>
|
||||
<h2 id="value">value</h2>
|
||||
<p>getvalue(): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The value of the enum</p>
|
||||
<p><strong>Returns:</strong> <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<hr>
|
||||
@@ -2048,7 +2048,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2056,14 +2056,14 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
<p><a id="tonumber"></a></p>
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2071,7 +2071,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2079,7 +2079,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2103,7 +2103,7 @@
|
||||
<p><a id="decodeenumtype"></a></p>
|
||||
<h2 id="static-decodeenumtype"><code><Static></code> decodeEnumType</h2>
|
||||
<p>▸ <strong>decodeEnumType</strong><<code>T</code>>(def: <em><code>TypesDef</code></em>, value?: <em><code>any</code></em>, index?: <em> <code>number</code> | <a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>T</code>></em>): <code>object</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t">T</h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2174,7 +2174,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.16","depth":1,"next":{"title":"hidden","level":"4.17","depth":1,"path":"types/classes/_codec_option_.option.md","ref":"types/classes/_codec_option_.option.md","articles":[]},"previous":{"title":"hidden","level":"4.15","depth":1,"path":"types/classes/_codec_enum_.enum.md","ref":"types/classes/_codec_enum_.enum.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_enumtype_.enumtype.md","mtime":"2018-12-10T11:01:44.600Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.16","depth":1,"next":{"title":"hidden","level":"4.17","depth":1,"path":"types/classes/_codec_option_.option.md","ref":"types/classes/_codec_option_.option.md","articles":[]},"previous":{"title":"hidden","level":"4.15","depth":1,"path":"types/classes/_codec_enum_.enum.md","ref":"types/classes/_codec_enum_.enum.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_enumtype_.enumtype.md","mtime":"2018-12-10T13:50:58.271Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:28](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L28)*
|
||||
*Defined in [codec/EnumType.ts:28](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87)*
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
getisNone(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94)*
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getisNull(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
gettype(): `string`
|
||||
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108)*
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122)*
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129)*
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136)*
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143)*
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151)*
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -205,7 +205,7 @@ ___
|
||||
|
||||
▸ **decodeEnumType**<`T`>(def: *`TypesDef`*, value?: *`any`*, index?: * `number` | [EnumType](_codec_enumtype_.enumtype.md)<`T`>*): `object`
|
||||
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47)*
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Option</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a></em>, value?: <em><code>any</code></em>): <a href="_codec_option_.option.html">Option</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L19" target="_blank">codec/Option.ts:19</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L19" target="_blank">codec/Option.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2002,28 +2002,28 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L52" target="_blank">codec/Option.ts:52</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L52" target="_blank">codec/Option.ts:52</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="isnone"></a></p>
|
||||
<h2 id="isnone">isNone</h2>
|
||||
<p>getisNone(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L60" target="_blank">codec/Option.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L60" target="_blank">codec/Option.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Option has no value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="issome"></a></p>
|
||||
<h2 id="issome">isSome</h2>
|
||||
<p>getisSome(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L67" target="_blank">codec/Option.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L67" target="_blank">codec/Option.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Option has a value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="value"></a></p>
|
||||
<h2 id="value">value</h2>
|
||||
<p>getvalue(): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L74" target="_blank">codec/Option.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L74" target="_blank">codec/Option.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The actual value for the Option</p>
|
||||
<p><strong>Returns:</strong> <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<hr>
|
||||
@@ -2032,7 +2032,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L81" target="_blank">codec/Option.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L81" target="_blank">codec/Option.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2040,7 +2040,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L88" target="_blank">codec/Option.ts:88</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L88" target="_blank">codec/Option.ts:88</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2048,7 +2048,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L95" target="_blank">codec/Option.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L95" target="_blank">codec/Option.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2056,7 +2056,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L103" target="_blank">codec/Option.ts:103</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L103" target="_blank">codec/Option.ts:103</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2080,14 +2080,14 @@
|
||||
<p><a id="unwrap"></a></p>
|
||||
<h2 id="unwrap">unwrap</h2>
|
||||
<p>▸ <strong>unwrap</strong>(): <code>T</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L121" target="_blank">codec/Option.ts:121</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L121" target="_blank">codec/Option.ts:121</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the value that the Option represents (if available)</p>
|
||||
<p><strong>Returns:</strong> <code>T</code></p>
|
||||
<hr>
|
||||
<p><a id="decodeoption"></a></p>
|
||||
<h2 id="static-decodeoption"><code><Static></code> decodeOption</h2>
|
||||
<p>▸ <strong>decodeOption</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a></em>, value?: <em><code>any</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L26" target="_blank">codec/Option.ts:26</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L26" target="_blank">codec/Option.ts:26</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o">O</h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2114,7 +2114,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_option_.option.html">Option</a><<code>O</code>>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L41" target="_blank">codec/Option.ts:41</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L41" target="_blank">codec/Option.ts:41</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o---codec">O : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2177,7 +2177,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.17","depth":1,"next":{"title":"hidden","level":"4.18","depth":1,"path":"types/classes/_codec_set_.set.md","ref":"types/classes/_codec_set_.set.md","articles":[]},"previous":{"title":"hidden","level":"4.16","depth":1,"path":"types/classes/_codec_enumtype_.enumtype.md","ref":"types/classes/_codec_enumtype_.enumtype.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_option_.option.md","mtime":"2018-12-10T11:01:44.612Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.17","depth":1,"next":{"title":"hidden","level":"4.18","depth":1,"path":"types/classes/_codec_set_.set.md","ref":"types/classes/_codec_set_.set.md","articles":[]},"previous":{"title":"hidden","level":"4.16","depth":1,"path":"types/classes/_codec_enumtype_.enumtype.md","ref":"types/classes/_codec_enumtype_.enumtype.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_option_.option.md","mtime":"2018-12-10T13:50:58.287Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Option.ts:19](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L19)*
|
||||
*Defined in [codec/Option.ts:19](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Option.ts:52](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L52)*
|
||||
*Defined in [codec/Option.ts:52](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L52)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
getisNone(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L60)*
|
||||
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L60)*
|
||||
|
||||
*__description__*: Checks if the Option has no value
|
||||
|
||||
@@ -73,7 +73,7 @@ ___
|
||||
|
||||
getisSome(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L67)*
|
||||
*Defined in [codec/Option.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L67)*
|
||||
|
||||
*__description__*: Checks if the Option has a value
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L74)*
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L74)*
|
||||
|
||||
*__description__*: The actual value for the Option
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Option.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L81)*
|
||||
*Defined in [codec/Option.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L81)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Option.ts:88](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L88)*
|
||||
*Defined in [codec/Option.ts:88](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L88)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Option.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L95)*
|
||||
*Defined in [codec/Option.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Option.ts:103](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L103)*
|
||||
*Defined in [codec/Option.ts:103](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L103)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
▸ **unwrap**(): `T`
|
||||
|
||||
*Defined in [codec/Option.ts:121](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L121)*
|
||||
*Defined in [codec/Option.ts:121](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L121)*
|
||||
|
||||
*__description__*: Returns the value that the Option represents (if available)
|
||||
|
||||
@@ -181,7 +181,7 @@ ___
|
||||
|
||||
▸ **decodeOption**<`O`>(Type: *[Constructor](../modules/_types_.md#constructor)*, value?: *`any`*): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L26)*
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L26)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *[Constructor](../modules/_types_.md#constructor)*): [Constructor](../modules/_types_.md#constructor)<[Option](_codec_option_.option.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Option.ts:41](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Option.ts#L41)*
|
||||
*Defined in [codec/Option.ts:41](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Option.ts#L41)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Set</strong>(setValues: <em><code>SetValues</code></em>, value?: <em> <code>Array</code><<code>string</code>> | <code>Uint8Array</code> | <code>number</code></em>): <a href="_codec_set_.set.html">Set</a></p>
|
||||
<p><em>Overrides <a href="_codec_base_.base.html">Base</a>.<a href="_codec_base_.base.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L22" target="_blank">codec/Set.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L22" target="_blank">codec/Set.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2000,28 +2000,28 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L72" target="_blank">codec/Set.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L72" target="_blank">codec/Set.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="isempty"></a></p>
|
||||
<h2 id="isempty">isEmpty</h2>
|
||||
<p>getisEmpty(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L79" target="_blank">codec/Set.ts:79</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L79" target="_blank">codec/Set.ts:79</a></em></p>
|
||||
<p><em><strong>description</strong></em>: true is the Set contains no values</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="valueencoded"></a></p>
|
||||
<h2 id="valueencoded">valueEncoded</h2>
|
||||
<p>getvalueEncoded(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L93" target="_blank">codec/Set.ts:93</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L93" target="_blank">codec/Set.ts:93</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The encoded value for the set members</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="values"></a></p>
|
||||
<h2 id="values">values</h2>
|
||||
<p>getvalues(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L86" target="_blank">codec/Set.ts:86</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L86" target="_blank">codec/Set.ts:86</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The actual set values as a Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
@@ -2030,7 +2030,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L100" target="_blank">codec/Set.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L100" target="_blank">codec/Set.ts:100</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L107" target="_blank">codec/Set.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L107" target="_blank">codec/Set.ts:107</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2046,7 +2046,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L114" target="_blank">codec/Set.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L114" target="_blank">codec/Set.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2054,7 +2054,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L122" target="_blank">codec/Set.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L122" target="_blank">codec/Set.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2078,7 +2078,7 @@
|
||||
<p><a id="decodeset"></a></p>
|
||||
<h2 id="static-decodeset"><code><Static></code> decodeSet</h2>
|
||||
<p>▸ <strong>decodeSet</strong>(setValues: <em><code>SetValues</code></em>, value?: <em> <code>Array</code><<code>string</code>> | <code>Uint8Array</code> | <code>number</code></em>): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L32" target="_blank">codec/Set.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L32" target="_blank">codec/Set.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2106,7 +2106,7 @@
|
||||
<p><a id="encodeset"></a></p>
|
||||
<h2 id="static-encodeset"><code><Static></code> encodeSet</h2>
|
||||
<p>▸ <strong>encodeSet</strong>(setValues: <em><code>SetValues</code></em>, value: <em><code>Array</code><<code>string</code>></em>): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L63" target="_blank">codec/Set.ts:63</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L63" target="_blank">codec/Set.ts:63</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2171,7 +2171,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.18","depth":1,"next":{"title":"hidden","level":"4.19","depth":1,"path":"types/classes/_codec_struct_.struct.md","ref":"types/classes/_codec_struct_.struct.md","articles":[]},"previous":{"title":"hidden","level":"4.17","depth":1,"path":"types/classes/_codec_option_.option.md","ref":"types/classes/_codec_option_.option.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_set_.set.md","mtime":"2018-12-10T11:01:44.644Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.18","depth":1,"next":{"title":"hidden","level":"4.19","depth":1,"path":"types/classes/_codec_struct_.struct.md","ref":"types/classes/_codec_struct_.struct.md","articles":[]},"previous":{"title":"hidden","level":"4.17","depth":1,"path":"types/classes/_codec_option_.option.md","ref":"types/classes/_codec_option_.option.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_set_.set.md","mtime":"2018-12-10T13:50:58.303Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Set.ts:22](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L22)*
|
||||
*Defined in [codec/Set.ts:22](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L72)*
|
||||
*Defined in [codec/Set.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Set.ts:79](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L79)*
|
||||
*Defined in [codec/Set.ts:79](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L79)*
|
||||
|
||||
*__description__*: true is the Set contains no values
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
getvalueEncoded(): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:93](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L93)*
|
||||
*Defined in [codec/Set.ts:93](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L93)*
|
||||
|
||||
*__description__*: The encoded value for the set members
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getvalues(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Set.ts:86](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L86)*
|
||||
*Defined in [codec/Set.ts:86](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L86)*
|
||||
|
||||
*__description__*: The actual set values as a Array
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Set.ts:100](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L100)*
|
||||
*Defined in [codec/Set.ts:100](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L100)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Set.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L107)*
|
||||
*Defined in [codec/Set.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L107)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Set.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L114)*
|
||||
*Defined in [codec/Set.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Set.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L122)*
|
||||
*Defined in [codec/Set.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L122)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -166,7 +166,7 @@ ___
|
||||
|
||||
▸ **decodeSet**(setValues: *`SetValues`*, value?: * `Array`<`string`> | `Uint8Array` | `number`*): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Set.ts:32](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L32)*
|
||||
*Defined in [codec/Set.ts:32](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
▸ **encodeSet**(setValues: *`SetValues`*, value: *`Array`<`string`>*): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:63](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Set.ts#L63)*
|
||||
*Defined in [codec/Set.ts:63](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Set.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2010,7 +2010,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Struct</strong>(Types: <em><code>S</code></em>, value?: <em> <code>V</code> | <code>Array</code><<code>any</code>></em>, jsonMap?: <em><code>Map</code><<code>keyof S</code>, <code>string</code>></em>): <a href="_codec_struct_.struct.html">Struct</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L30" target="_blank">codec/Struct.ts:30</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L30" target="_blank">codec/Struct.ts:30</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2050,14 +2050,14 @@
|
||||
<p><a id="type"></a></p>
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2066,7 +2066,7 @@
|
||||
<h2 id="get">get</h2>
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2090,7 +2090,7 @@
|
||||
<p><a id="getatindex"></a></p>
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2112,7 +2112,7 @@
|
||||
<p><a id="toarray"></a></p>
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2120,7 +2120,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2128,7 +2128,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2136,7 +2136,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2144,7 +2144,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2168,7 +2168,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2231,7 +2231,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.19","depth":1,"next":{"title":"hidden","level":"4.20","depth":1,"path":"types/classes/_codec_tuple_.tuple.md","ref":"types/classes/_codec_tuple_.tuple.md","articles":[]},"previous":{"title":"hidden","level":"4.18","depth":1,"path":"types/classes/_codec_set_.set.md","ref":"types/classes/_codec_set_.set.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_struct_.struct.md","mtime":"2018-12-10T11:01:44.660Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.19","depth":1,"next":{"title":"hidden","level":"4.20","depth":1,"path":"types/classes/_codec_tuple_.tuple.md","ref":"types/classes/_codec_tuple_.tuple.md","articles":[]},"previous":{"title":"hidden","level":"4.18","depth":1,"path":"types/classes/_codec_set_.set.md","ref":"types/classes/_codec_set_.set.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_struct_.struct.md","mtime":"2018-12-10T13:50:58.331Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
|
||||
⊕ **new Struct**(Types: *`S`*, value?: * `V` | `Array`<`any`>*, jsonMap?: *`Map`<`keyof S`, `string`>*): [Struct](_codec_struct_.struct.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L30)*
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
getType(): `E`
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)*
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
▸ **getAtIndex**(index: *`number`*): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -194,7 +194,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -209,7 +209,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -239,7 +239,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)*
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): [Constructor](../modules/_types_.md#constructor)<[Struct](_codec_struct_.struct.md)<`S`>>
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1985,7 +1985,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Tuple</strong>(Types: <em><code>S</code></em>, value: <em><code>any</code></em>): <a href="_codec_tuple_.tuple.html">Tuple</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L19" target="_blank">codec/Tuple.ts:19</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L19" target="_blank">codec/Tuple.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2017,14 +2017,14 @@
|
||||
<p><a id="types"></a></p>
|
||||
<h2 id="types">Types</h2>
|
||||
<p>getTypes(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2033,7 +2033,7 @@
|
||||
<h2 id="filter">filter</h2>
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2063,7 +2063,7 @@
|
||||
<h2 id="map">map</h2>
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -2094,7 +2094,7 @@
|
||||
<p><a id="toarray"></a></p>
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2102,7 +2102,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2110,7 +2110,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2119,7 +2119,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2127,7 +2127,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2151,7 +2151,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a><<code>S</code>>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---arrayconstructor">S : <code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2214,7 +2214,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.20","depth":1,"next":{"title":"hidden","level":"4.21","depth":1,"path":"types/classes/_codec_typeregistry_.typeregistry.md","ref":"types/classes/_codec_typeregistry_.typeregistry.md","articles":[]},"previous":{"title":"hidden","level":"4.19","depth":1,"path":"types/classes/_codec_struct_.struct.md","ref":"types/classes/_codec_struct_.struct.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_tuple_.tuple.md","mtime":"2018-12-10T11:01:44.680Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.20","depth":1,"next":{"title":"hidden","level":"4.21","depth":1,"path":"types/classes/_codec_typeregistry_.typeregistry.md","ref":"types/classes/_codec_typeregistry_.typeregistry.md","articles":[]},"previous":{"title":"hidden","level":"4.19","depth":1,"path":"types/classes/_codec_struct_.struct.md","ref":"types/classes/_codec_struct_.struct.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_tuple_.tuple.md","mtime":"2018-12-10T13:50:58.355Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
⊕ **new Tuple**(Types: *`S`*, value: *`any`*): [Tuple](_codec_tuple_.tuple.md)
|
||||
|
||||
*Defined in [codec/Tuple.ts:19](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L19)*
|
||||
*Defined in [codec/Tuple.ts:19](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ ___
|
||||
|
||||
getTypes(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66)*
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131)*
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82)*
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89)*
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -182,7 +182,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96)*
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -214,7 +214,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -233,7 +233,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): [Constructor](../modules/_types_.md#constructor)<[Tuple](_codec_tuple_.tuple.md)<`S`>>
|
||||
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53)*
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1966,13 +1966,13 @@
|
||||
<p><a id="defaultregistry"></a></p>
|
||||
<h2 id="static-defaultregistry"><code><Static></code> defaultRegistry</h2>
|
||||
<p><strong>● defaultRegistry</strong>: <em><a href="_codec_typeregistry_.typeregistry.html">TypeRegistry</a></em> = new TypeRegistry()</p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L10" target="_blank">codec/typeRegistry.ts:10</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L10" target="_blank">codec/typeRegistry.ts:10</a></em></p>
|
||||
<hr>
|
||||
<h1 id="methods">Methods</h1>
|
||||
<p><a id="get"></a></p>
|
||||
<h2 id="get">get</h2>
|
||||
<p>▸ <strong>get</strong>(name: <em><code>string</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a> | <code>undefined</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L34" target="_blank">codec/typeRegistry.ts:34</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L34" target="_blank">codec/typeRegistry.ts:34</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1994,7 +1994,7 @@
|
||||
<h2 id="register">register</h2>
|
||||
<p>▸ <strong>register</strong>(type: <em> <a href="../modules/_types_.md#constructor">Constructor</a> | <code>object</code></em>): <code>void</code></p>
|
||||
<p>▸ <strong>register</strong>(name: <em><code>string</code></em>, type: <em><a href="../modules/_types_.md#constructor">Constructor</a></em>): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L14" target="_blank">codec/typeRegistry.ts:14</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L14" target="_blank">codec/typeRegistry.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2011,7 +2011,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L15" target="_blank">codec/typeRegistry.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L15" target="_blank">codec/typeRegistry.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2076,7 +2076,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.21","depth":1,"next":{"title":"hidden","level":"4.22","depth":1,"path":"types/classes/_codec_u8a_.u8a.md","ref":"types/classes/_codec_u8a_.u8a.md","articles":[]},"previous":{"title":"hidden","level":"4.20","depth":1,"path":"types/classes/_codec_tuple_.tuple.md","ref":"types/classes/_codec_tuple_.tuple.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_typeregistry_.typeregistry.md","mtime":"2018-12-10T11:01:44.864Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.21","depth":1,"next":{"title":"hidden","level":"4.22","depth":1,"path":"types/classes/_codec_u8a_.u8a.md","ref":"types/classes/_codec_u8a_.u8a.md","articles":[]},"previous":{"title":"hidden","level":"4.20","depth":1,"path":"types/classes/_codec_tuple_.tuple.md","ref":"types/classes/_codec_tuple_.tuple.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_typeregistry_.typeregistry.md","mtime":"2018-12-10T13:50:58.523Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
**● defaultRegistry**: *[TypeRegistry](_codec_typeregistry_.typeregistry.md)* = new TypeRegistry()
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:10](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L10)*
|
||||
*Defined in [codec/typeRegistry.ts:10](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L10)*
|
||||
|
||||
___
|
||||
|
||||
@@ -24,7 +24,7 @@ ___
|
||||
|
||||
▸ **get**(name: *`string`*): [Constructor](../modules/_types_.md#constructor) | `undefined`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:34](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L34)*
|
||||
*Defined in [codec/typeRegistry.ts:34](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
▸ **register**(name: *`string`*, type: *[Constructor](../modules/_types_.md#constructor)*): `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:14](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L14)*
|
||||
*Defined in [codec/typeRegistry.ts:14](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/typeRegistry.ts#L15)*
|
||||
*Defined in [codec/typeRegistry.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/typeRegistry.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new U8a</strong>(value: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_codec_u8a_.u8a.html">U8a</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2007,7 +2007,7 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="length">length</h2>
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2024,7 +2024,7 @@
|
||||
<h2 id="subarray">subarray</h2>
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2054,7 +2054,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2062,7 +2062,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2071,7 +2071,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2079,7 +2079,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2143,7 +2143,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.22","depth":1,"next":{"title":"hidden","level":"4.23","depth":1,"path":"types/classes/_codec_u8afixed_.u8afixed.md","ref":"types/classes/_codec_u8afixed_.u8afixed.md","articles":[]},"previous":{"title":"hidden","level":"4.21","depth":1,"path":"types/classes/_codec_typeregistry_.typeregistry.md","ref":"types/classes/_codec_typeregistry_.typeregistry.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_u8a_.u8a.md","mtime":"2018-12-10T11:01:44.708Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.22","depth":1,"next":{"title":"hidden","level":"4.23","depth":1,"path":"types/classes/_codec_u8afixed_.u8afixed.md","ref":"types/classes/_codec_u8afixed_.u8afixed.md","articles":[]},"previous":{"title":"hidden","level":"4.21","depth":1,"path":"types/classes/_codec_typeregistry_.typeregistry.md","ref":"types/classes/_codec_typeregistry_.typeregistry.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_u8a_.u8a.md","mtime":"2018-12-10T13:50:58.371Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
⊕ **new U8a**(value: *[AnyU8a](../modules/_types_.md#anyu8a)*): [U8a](_codec_u8a_.u8a.md)
|
||||
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -80,7 +80,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -135,7 +135,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1982,7 +1982,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new U8aFixed</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>, bitLength?: <em><code>BitLength</code></em>): <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L19" target="_blank">codec/U8aFixed.ts:19</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L19" target="_blank">codec/U8aFixed.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2047,7 +2047,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2056,7 +2056,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2071,7 +2071,7 @@
|
||||
<p><a id="bitlength"></a></p>
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2738,7 +2738,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2769,7 +2769,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2778,7 +2778,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2796,7 +2796,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2805,7 +2805,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2877,7 +2877,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.23","depth":1,"next":{"title":"hidden","level":"4.24","depth":1,"path":"types/classes/_codec_uint_.uint.md","ref":"types/classes/_codec_uint_.uint.md","articles":[]},"previous":{"title":"hidden","level":"4.22","depth":1,"path":"types/classes/_codec_u8a_.u8a.md","ref":"types/classes/_codec_u8a_.u8a.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_u8afixed_.u8afixed.md","mtime":"2018-12-10T11:01:44.812Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.23","depth":1,"next":{"title":"hidden","level":"4.24","depth":1,"path":"types/classes/_codec_uint_.uint.md","ref":"types/classes/_codec_uint_.uint.md","articles":[]},"previous":{"title":"hidden","level":"4.22","depth":1,"path":"types/classes/_codec_u8a_.u8a.md","ref":"types/classes/_codec_u8a_.u8a.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_u8afixed_.u8afixed.md","mtime":"2018-12-10T13:50:58.471Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:19](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
*Defined in [codec/U8aFixed.ts:19](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -128,7 +128,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -145,7 +145,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): `number`
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -700,7 +700,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -724,7 +724,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -741,7 +741,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -775,7 +775,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -792,7 +792,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1980,7 +1980,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new UInt</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength?: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>, isHexJson?: <em><code>boolean</code></em>): <a href="_codec_uint_.uint.html">UInt</a></p>
|
||||
<p><em>Overrides BN.__constructor</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L27" target="_blank">codec/UInt.ts:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L27" target="_blank">codec/UInt.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2014,7 +2014,7 @@
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2023,14 +2023,14 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
<p><a id="tobn"></a></p>
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number. (Compatibility)</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2047,7 +2047,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides BN.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2055,7 +2055,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(base?: <em> <code>undefined</code> | <code>number</code></em>): <code>string</code></p>
|
||||
<p><em>Overrides BN.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2080,7 +2080,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2104,7 +2104,7 @@
|
||||
<p><a id="decodeuint"></a></p>
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2169,7 +2169,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.24","depth":1,"next":{"title":"hidden","level":"4.25","depth":1,"path":"types/classes/_codec_vector_.vector.md","ref":"types/classes/_codec_vector_.vector.md","articles":[]},"previous":{"title":"hidden","level":"4.23","depth":1,"path":"types/classes/_codec_u8afixed_.u8afixed.md","ref":"types/classes/_codec_u8afixed_.u8afixed.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_uint_.uint.md","mtime":"2018-12-10T11:01:44.824Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.24","depth":1,"next":{"title":"hidden","level":"4.25","depth":1,"path":"types/classes/_codec_vector_.vector.md","ref":"types/classes/_codec_vector_.vector.md","articles":[]},"previous":{"title":"hidden","level":"4.23","depth":1,"path":"types/classes/_codec_u8afixed_.u8afixed.md","ref":"types/classes/_codec_u8afixed_.u8afixed.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_uint_.uint.md","mtime":"2018-12-10T13:50:58.499Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
*Overrides BN.__constructor*
|
||||
|
||||
*Defined in [codec/UInt.ts:27](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L27)*
|
||||
*Defined in [codec/UInt.ts:27](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -76,7 +76,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71)*
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78)*
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85)*
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104)*
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_.md#anynumber)*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `string`
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1980,7 +1980,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Vector</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value?: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <a href="_codec_vector_.vector.html">Vector</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,13 +2015,13 @@
|
||||
<p><a id="type"></a></p>
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2029,7 +2029,7 @@
|
||||
<h2 id="length">length</h2>
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Overrides Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
<h2 id="filter">filter</h2>
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2068,7 +2068,7 @@
|
||||
<h2 id="map">map</h2>
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -2099,7 +2099,7 @@
|
||||
<p><a id="toarray"></a></p>
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>T</code>></p>
|
||||
<hr>
|
||||
@@ -2107,7 +2107,7 @@
|
||||
<h2 id="tohex">toHex</h2>
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2115,7 +2115,7 @@
|
||||
<h2 id="tojson">toJSON</h2>
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2124,7 +2124,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2132,7 +2132,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2156,7 +2156,7 @@
|
||||
<p><a id="decodevector"></a></p>
|
||||
<h2 id="static-decodevector"><code><Static></code> decodeVector</h2>
|
||||
<p>▸ <strong>decodeVector</strong><<code>T</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t---codec">T : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2183,7 +2183,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>O</code>></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_vector_.vector.html">Vector</a><<code>O</code>>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o---codec">O : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2246,7 +2246,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.25","depth":1,"next":{"title":"hidden","level":"4.26","depth":1,"path":"types/classes/_data_.data.md","ref":"types/classes/_data_.data.md","articles":[]},"previous":{"title":"hidden","level":"4.24","depth":1,"path":"types/classes/_codec_uint_.uint.md","ref":"types/classes/_codec_uint_.uint.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_vector_.vector.md","mtime":"2018-12-10T11:01:44.864Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.25","depth":1,"next":{"title":"hidden","level":"4.26","depth":1,"path":"types/classes/_data_.data.md","ref":"types/classes/_data_.data.md","articles":[]},"previous":{"title":"hidden","level":"4.24","depth":1,"path":"types/classes/_codec_uint_.uint.md","ref":"types/classes/_codec_uint_.uint.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_codec_vector_.vector.md","mtime":"2018-12-10T13:50:58.519Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
⊕ **new Vector**(Type: *[Constructor](../modules/_types_.md#constructor)<`T`>*, value?: * [Vector](_codec_vector_.vector.md)<`any`> | `Uint8Array` | `string` | `Array`<`any`>*): [Vector](_codec_vector_.vector.md)
|
||||
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21)*
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65)*
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72)*
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Array.length*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147)*
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156)*
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -155,7 +155,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -170,7 +170,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96)*
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103)*
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112)*
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125)*
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
▸ **decodeVector**<`T`>(Type: *[Constructor](../modules/_types_.md#constructor)<`T`>*, value: * [Vector](_codec_vector_.vector.md)<`any`> | `Uint8Array` | `string` | `Array`<`any`>*): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31)*
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -257,7 +257,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *[Constructor](../modules/_types_.md#constructor)<`O`>*): [Constructor](../modules/_types_.md#constructor)<[Vector](_codec_vector_.vector.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Data</strong>(value: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_data_.data.html">Data</a></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2034,7 +2034,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2043,7 +2043,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2718,7 +2718,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2749,7 +2749,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2776,7 +2776,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2857,7 +2857,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.26","depth":1,"next":{"title":"hidden","level":"4.27","depth":1,"path":"types/classes/_digest_.authoritieschange.md","ref":"types/classes/_digest_.authoritieschange.md","articles":[]},"previous":{"title":"hidden","level":"4.25","depth":1,"path":"types/classes/_codec_vector_.vector.md","ref":"types/classes/_codec_vector_.vector.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_data_.data.md","mtime":"2018-12-10T11:01:35.636Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.26","depth":1,"next":{"title":"hidden","level":"4.27","depth":1,"path":"types/classes/_digest_.authoritieschange.md","ref":"types/classes/_digest_.authoritieschange.md","articles":[]},"previous":{"title":"hidden","level":"4.25","depth":1,"path":"types/classes/_codec_vector_.vector.md","ref":"types/classes/_codec_vector_.vector.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_data_.data.md","mtime":"2018-12-10T13:50:48.035Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -674,7 +674,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -749,7 +749,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new AuthoritiesChange</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value?: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <a href="_digest_.authoritieschange.html">AuthoritiesChange</a></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2008,14 +2008,14 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2024,7 +2024,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#length">length</a></em></p>
|
||||
<p><em>Overrides Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2205,7 +2205,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3140,7 +3140,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>T</code>></p>
|
||||
<hr>
|
||||
@@ -3149,7 +3149,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3158,7 +3158,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3176,7 +3176,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3185,7 +3185,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3243,7 +3243,7 @@
|
||||
<h2 id="static-decodevector"><code><Static></code> decodeVector</h2>
|
||||
<p>▸ <strong>decodeVector</strong><<code>T</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#decodevector">decodeVector</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t---codec">T : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3271,7 +3271,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>O</code>></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_vector_.vector.html">Vector</a><<code>O</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o---codec">O : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3334,7 +3334,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.27","depth":1,"next":{"title":"hidden","level":"4.28","depth":1,"path":"types/classes/_digest_.changestrieroot.md","ref":"types/classes/_digest_.changestrieroot.md","articles":[]},"previous":{"title":"hidden","level":"4.26","depth":1,"path":"types/classes/_data_.data.md","ref":"types/classes/_data_.data.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.authoritieschange.md","mtime":"2018-12-10T11:01:35.864Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.27","depth":1,"next":{"title":"hidden","level":"4.28","depth":1,"path":"types/classes/_digest_.changestrieroot.md","ref":"types/classes/_digest_.changestrieroot.md","articles":[]},"previous":{"title":"hidden","level":"4.26","depth":1,"path":"types/classes/_data_.data.md","ref":"types/classes/_data_.data.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.authoritieschange.md","mtime":"2018-12-10T13:50:48.279Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[constructor](_codec_vector_.vector.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21)*
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -52,7 +52,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65)*
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -65,7 +65,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[encodedLength](_codec_vector_.vector.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72)*
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -82,7 +82,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Array.length*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -252,7 +252,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147)*
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -672,7 +672,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156)*
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -980,7 +980,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -997,7 +997,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96)*
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1014,7 +1014,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103)*
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1048,7 +1048,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112)*
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1065,7 +1065,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125)*
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1122,7 +1122,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31)*
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -1145,7 +1145,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<p>⊕ <strong>new ChangesTrieRoot</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_digest_.changestrieroot.html">ChangesTrieRoot</a></p>
|
||||
<p><em>Inherited from <a href="_h256_.h256.html">H256</a>.<a href="_h256_.h256.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2044,7 +2044,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2727,7 +2727,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2767,7 +2767,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2794,7 +2794,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2866,7 +2866,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.28","depth":1,"next":{"title":"hidden","level":"4.29","depth":1,"path":"types/classes/_digest_.digest.md","ref":"types/classes/_digest_.digest.md","articles":[]},"previous":{"title":"hidden","level":"4.27","depth":1,"path":"types/classes/_digest_.authoritieschange.md","ref":"types/classes/_digest_.authoritieschange.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.changestrieroot.md","mtime":"2018-12-10T11:01:35.984Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.28","depth":1,"next":{"title":"hidden","level":"4.29","depth":1,"path":"types/classes/_digest_.digest.md","ref":"types/classes/_digest_.digest.md","articles":[]},"previous":{"title":"hidden","level":"4.27","depth":1,"path":"types/classes/_digest_.authoritieschange.md","ref":"types/classes/_digest_.authoritieschange.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.changestrieroot.md","mtime":"2018-12-10T13:50:48.451Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15)*
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -691,7 +691,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -783,7 +783,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Digest</strong>(value: <em><code>any</code></em>): <a href="_digest_.digest.html">Digest</a></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L89" target="_blank">Digest.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L89" target="_blank">Digest.ts:89</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
@@ -2023,14 +2023,14 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="logs"></a></p>
|
||||
<h2 id="logs">logs</h2>
|
||||
<p>getlogs(): <a href="_codec_vector_.vector.html">Vector</a><<a href="_digest_.digestitem.html">DigestItem</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L99" target="_blank">Digest.ts:99</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L99" target="_blank">Digest.ts:99</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_digest_.digestitem.html">DigestItem</a> logs</p>
|
||||
<p><strong>Returns:</strong> <a href="_codec_vector_.vector.html">Vector</a><<a href="_digest_.digestitem.html">DigestItem</a>></p>
|
||||
<hr>
|
||||
@@ -2111,7 +2111,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2136,7 +2136,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2215,7 +2215,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2224,7 +2224,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2233,7 +2233,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2242,7 +2242,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2251,7 +2251,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2284,7 +2284,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2347,7 +2347,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.29","depth":1,"next":{"title":"hidden","level":"4.30","depth":1,"path":"types/classes/_digest_.digestitem.md","ref":"types/classes/_digest_.digestitem.md","articles":[]},"previous":{"title":"hidden","level":"4.28","depth":1,"path":"types/classes/_digest_.changestrieroot.md","ref":"types/classes/_digest_.changestrieroot.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.digest.md","mtime":"2018-12-10T11:01:36.032Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.29","depth":1,"next":{"title":"hidden","level":"4.30","depth":1,"path":"types/classes/_digest_.digestitem.md","ref":"types/classes/_digest_.digestitem.md","articles":[]},"previous":{"title":"hidden","level":"4.28","depth":1,"path":"types/classes/_digest_.changestrieroot.md","ref":"types/classes/_digest_.changestrieroot.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.digest.md","mtime":"2018-12-10T13:50:48.499Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Digest.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L89)*
|
||||
*Defined in [Digest.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -91,7 +91,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)*
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
getlogs(): [Vector](_codec_vector_.vector.md)<[DigestItem](_digest_.digestitem.md)>
|
||||
|
||||
*Defined in [Digest.ts:99](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L99)*
|
||||
*Defined in [Digest.ts:99](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L99)*
|
||||
|
||||
*__description__*: The [DigestItem](_digest_.digestitem.md) logs
|
||||
|
||||
@@ -206,7 +206,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -336,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -353,7 +353,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -370,7 +370,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)*
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -406,7 +406,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new DigestItem</strong>(value: <em><code>any</code></em>): <a href="_digest_.digestitem.html">DigestItem</a></p>
|
||||
<p><em>Overrides <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L73" target="_blank">Digest.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L73" target="_blank">Digest.ts:73</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1997,7 +1997,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2005,7 +2005,7 @@
|
||||
<h2 id="isnone">isNone</h2>
|
||||
<p>getisNone(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnone">isNone</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2013,7 +2013,7 @@
|
||||
<h2 id="isnull">isNull</h2>
|
||||
<p>getisNull(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnull">isNull</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type (deprecated, use isNone)</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2021,7 +2021,7 @@
|
||||
<h2 id="type">type</h2>
|
||||
<p>gettype(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#type">type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The name of the type this enum value represents</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2029,7 +2029,7 @@
|
||||
<h2 id="value">value</h2>
|
||||
<p>getvalue(): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#value">value</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The value of the enum</p>
|
||||
<p><strong>Returns:</strong> <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<hr>
|
||||
@@ -2039,7 +2039,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2048,7 +2048,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2056,7 +2056,7 @@
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tonumber">toNumber</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2065,7 +2065,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2074,7 +2074,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2099,7 +2099,7 @@
|
||||
<h2 id="static-decodeenumtype"><code><Static></code> decodeEnumType</h2>
|
||||
<p>▸ <strong>decodeEnumType</strong><<code>T</code>>(def: <em><code>TypesDef</code></em>, value?: <em><code>any</code></em>, index?: <em> <code>number</code> | <a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>T</code>></em>): <code>object</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#decodeenumtype">decodeEnumType</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t">T</h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2170,7 +2170,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.30","depth":1,"next":{"title":"hidden","level":"4.31","depth":1,"path":"types/classes/_digest_.other.md","ref":"types/classes/_digest_.other.md","articles":[]},"previous":{"title":"hidden","level":"4.29","depth":1,"path":"types/classes/_digest_.digest.md","ref":"types/classes/_digest_.digest.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.digestitem.md","mtime":"2018-12-10T11:01:36.064Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.30","depth":1,"next":{"title":"hidden","level":"4.31","depth":1,"path":"types/classes/_digest_.other.md","ref":"types/classes/_digest_.other.md","articles":[]},"previous":{"title":"hidden","level":"4.29","depth":1,"path":"types/classes/_digest_.digest.md","ref":"types/classes/_digest_.digest.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.digestitem.md","mtime":"2018-12-10T13:50:48.535Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Digest.ts:73](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L73)*
|
||||
*Defined in [Digest.ts:73](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L73)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87)*
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94)*
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -76,7 +76,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -91,7 +91,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108)*
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -106,7 +106,7 @@ getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[value](_codec_enumtype_.enumtype.md#value)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122)*
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129)*
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136)*
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143)*
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151)*
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -213,7 +213,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[decodeEnumType](_codec_enumtype_.enumtype.md#decodeenumtype)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47)*
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<p>⊕ <strong>new Other</strong>(value: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_digest_.other.html">Other</a></p>
|
||||
<p><em>Inherited from <a href="_bytes_.bytes.html">Bytes</a>.<a href="_bytes_.bytes.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2036,7 +2036,7 @@
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_bytes_.bytes.html">Bytes</a>.<a href="_bytes_.bytes.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L64" target="_blank">Bytes.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L64" target="_blank">Bytes.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2045,7 +2045,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2720,7 +2720,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2751,7 +2751,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2760,7 +2760,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2778,7 +2778,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2788,7 +2788,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_bytes_.bytes.html">Bytes</a>.<a href="_bytes_.bytes.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L72" target="_blank">Bytes.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L72" target="_blank">Bytes.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2860,7 +2860,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.31","depth":1,"next":{"title":"hidden","level":"4.32","depth":1,"path":"types/classes/_digest_.seal.md","ref":"types/classes/_digest_.seal.md","articles":[]},"previous":{"title":"hidden","level":"4.30","depth":1,"path":"types/classes/_digest_.digestitem.md","ref":"types/classes/_digest_.digestitem.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.other.md","mtime":"2018-12-10T11:01:36.204Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.31","depth":1,"next":{"title":"hidden","level":"4.32","depth":1,"path":"types/classes/_digest_.seal.md","ref":"types/classes/_digest_.seal.md","articles":[]},"previous":{"title":"hidden","level":"4.30","depth":1,"path":"types/classes/_digest_.digestitem.md","ref":"types/classes/_digest_.digestitem.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.other.md","mtime":"2018-12-10T13:50:48.703Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L64)*
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -136,7 +136,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -678,7 +678,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -702,7 +702,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -719,7 +719,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -772,7 +772,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Bytes.ts#L72)*
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Bytes.ts#L72)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Seal</strong>(value: <em><code>any</code></em>): <a href="_digest_.seal.html">Seal</a></p>
|
||||
<p><em>Overrides <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L44" target="_blank">Digest.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L44" target="_blank">Digest.ts:44</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2009,7 +2009,7 @@
|
||||
<h2 id="types">Types</h2>
|
||||
<p>getTypes(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#types">Types</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
@@ -2017,21 +2017,21 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="signature"></a></p>
|
||||
<h2 id="signature">signature</h2>
|
||||
<p>getsignature(): <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L55" target="_blank">Digest.ts:55</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L55" target="_blank">Digest.ts:55</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_signature_.signature.html">Signature</a></p>
|
||||
<hr>
|
||||
<p><a id="slot"></a></p>
|
||||
<h2 id="slot">slot</h2>
|
||||
<p>getslot(): <a href="_u64_.u64.html">U64</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L62" target="_blank">Digest.ts:62</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L62" target="_blank">Digest.ts:62</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_u64_.u64.html">U64</a> slot</p>
|
||||
<p><strong>Returns:</strong> <a href="_u64_.u64.html">U64</a></p>
|
||||
<hr>
|
||||
@@ -2212,7 +2212,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2765,7 +2765,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3147,7 +3147,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -3156,7 +3156,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3165,7 +3165,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3183,7 +3183,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3192,7 +3192,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3250,7 +3250,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---arrayconstructor">S : <code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3313,7 +3313,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.32","depth":1,"next":{"title":"hidden","level":"4.33","depth":1,"path":"types/classes/_event_.event.md","ref":"types/classes/_event_.event.md","articles":[]},"previous":{"title":"hidden","level":"4.31","depth":1,"path":"types/classes/_digest_.other.md","ref":"types/classes/_digest_.other.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.seal.md","mtime":"2018-12-10T11:01:36.388Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.32","depth":1,"next":{"title":"hidden","level":"4.33","depth":1,"path":"types/classes/_event_.event.md","ref":"types/classes/_event_.event.md","articles":[]},"previous":{"title":"hidden","level":"4.31","depth":1,"path":"types/classes/_digest_.other.md","ref":"types/classes/_digest_.other.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_digest_.seal.md","mtime":"2018-12-10T13:50:48.931Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Digest.ts:44](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L44)*
|
||||
*Defined in [Digest.ts:44](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -67,7 +67,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -82,7 +82,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66)*
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Digest.ts:55](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L55)*
|
||||
*Defined in [Digest.ts:55](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L55)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
getslot(): [U64](_u64_.u64.md)
|
||||
|
||||
*Defined in [Digest.ts:62](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Digest.ts#L62)*
|
||||
*Defined in [Digest.ts:62](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Digest.ts#L62)*
|
||||
|
||||
*__description__*: The wrapped [U64](_u64_.u64.md) slot
|
||||
|
||||
@@ -278,7 +278,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131)*
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1006,7 +1006,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82)*
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1023,7 +1023,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89)*
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1040,7 +1040,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96)*
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1074,7 +1074,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1091,7 +1091,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1148,7 +1148,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53)*
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Event</strong>(<em>value: <em><code>Uint8Array</code></em>): [Event](_event</em>.event.md)</p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L85" target="_blank">Event.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L85" target="_blank">Event.ts:85</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,14 +2015,14 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
<p><a id="data"></a></p>
|
||||
<h2 id="data">data</h2>
|
||||
<p>getdata(): <a href="_event_.eventdata.html">EventData</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L138" target="_blank">Event.ts:138</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L138" target="_blank">Event.ts:138</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_event_.eventdata.html">EventData</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_event_.eventdata.html">EventData</a></p>
|
||||
<hr>
|
||||
@@ -2030,42 +2030,42 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="index"></a></p>
|
||||
<h2 id="index">index</h2>
|
||||
<p>getindex(): <a href="_event_.eventindex.html">EventIndex</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L145" target="_blank">Event.ts:145</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L145" target="_blank">Event.ts:145</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_event_.eventindex.html">EventIndex</a>, identifying the raw event</p>
|
||||
<p><strong>Returns:</strong> <a href="_event_.eventindex.html">EventIndex</a></p>
|
||||
<hr>
|
||||
<p><a id="meta"></a></p>
|
||||
<h2 id="meta">meta</h2>
|
||||
<p>getmeta(): <a href="_metadata_events_.eventmetadata.md">EventMetadata</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L152" target="_blank">Event.ts:152</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L152" target="_blank">Event.ts:152</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_metadata_events_.eventmetadata.md">EventMetadata</a> with the documentation</p>
|
||||
<p><strong>Returns:</strong> <a href="_metadata_events_.eventmetadata.md">EventMetadata</a></p>
|
||||
<hr>
|
||||
<p><a id="method"></a></p>
|
||||
<h2 id="method">method</h2>
|
||||
<p>getmethod(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L159" target="_blank">Event.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L159" target="_blank">Event.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The method string identifying the event</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="section"></a></p>
|
||||
<h2 id="section">section</h2>
|
||||
<p>getsection(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L166" target="_blank">Event.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L166" target="_blank">Event.ts:166</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The section string identifying the event</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="typedef"></a></p>
|
||||
<h2 id="typedef">typeDef</h2>
|
||||
<p>gettypeDef(): <code>Array</code><<a href="../modules/_codec_createtype_.md#typedef">TypeDef</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L173" target="_blank">Event.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L173" target="_blank">Event.ts:173</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="../modules/_codec_createtype_.md#typedef">TypeDef</a> for the event</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../modules/_codec_createtype_.md#typedef">TypeDef</a>></p>
|
||||
<hr>
|
||||
@@ -2146,7 +2146,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2171,7 +2171,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2250,7 +2250,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2259,7 +2259,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2268,7 +2268,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2277,7 +2277,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2286,7 +2286,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2318,7 +2318,7 @@
|
||||
<p><a id="decodeevent"></a></p>
|
||||
<h2 id="static-decodeevent"><code><Static></code> decodeEvent</h2>
|
||||
<p>▸ <strong>decodeEvent</strong>(value: <em><code>Uint8Array</code></em>): <code>object</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L97" target="_blank">Event.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L97" target="_blank">Event.ts:97</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2339,7 +2339,7 @@
|
||||
<p><a id="injectmetadata"></a></p>
|
||||
<h2 id="static-injectmetadata"><code><Static></code> injectMetadata</h2>
|
||||
<p>▸ <strong>injectMetadata</strong>(metadata: <em><a href="_metadata_index_.metadata.md">Metadata</a></em>): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L116" target="_blank">Event.ts:116</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L116" target="_blank">Event.ts:116</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2361,7 +2361,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2424,7 +2424,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.33","depth":1,"next":{"title":"hidden","level":"4.34","depth":1,"path":"types/classes/_event_.eventdata.md","ref":"types/classes/_event_.eventdata.md","articles":[]},"previous":{"title":"hidden","level":"4.32","depth":1,"path":"types/classes/_digest_.seal.md","ref":"types/classes/_digest_.seal.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.event.md","mtime":"2018-12-10T11:01:36.444Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.33","depth":1,"next":{"title":"hidden","level":"4.34","depth":1,"path":"types/classes/_event_.eventdata.md","ref":"types/classes/_event_.eventdata.md","articles":[]},"previous":{"title":"hidden","level":"4.32","depth":1,"path":"types/classes/_digest_.seal.md","ref":"types/classes/_digest_.seal.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.event.md","mtime":"2018-12-10T13:50:48.983Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Event.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L85)*
|
||||
*Defined in [Event.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L85)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getdata(): [EventData](_event_.eventdata.md)
|
||||
|
||||
*Defined in [Event.ts:138](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L138)*
|
||||
*Defined in [Event.ts:138](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L138)*
|
||||
|
||||
*__description__*: The wrapped [EventData](_event_.eventdata.md)
|
||||
|
||||
@@ -104,7 +104,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)*
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getindex(): [EventIndex](_event_.eventindex.md)
|
||||
|
||||
*Defined in [Event.ts:145](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L145)*
|
||||
*Defined in [Event.ts:145](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L145)*
|
||||
|
||||
*__description__*: The [EventIndex](_event_.eventindex.md), identifying the raw event
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
getmeta(): [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
*Defined in [Event.ts:152](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L152)*
|
||||
*Defined in [Event.ts:152](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L152)*
|
||||
|
||||
*__description__*: The [EventMetadata](_metadata_events_.eventmetadata.md) with the documentation
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
getmethod(): `string`
|
||||
|
||||
*Defined in [Event.ts:159](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L159)*
|
||||
*Defined in [Event.ts:159](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L159)*
|
||||
|
||||
*__description__*: The method string identifying the event
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
getsection(): `string`
|
||||
|
||||
*Defined in [Event.ts:166](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L166)*
|
||||
*Defined in [Event.ts:166](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L166)*
|
||||
|
||||
*__description__*: The section string identifying the event
|
||||
|
||||
@@ -169,7 +169,7 @@ ___
|
||||
|
||||
gettypeDef(): `Array`<[TypeDef](../modules/_codec_createtype_.md#typedef)>
|
||||
|
||||
*Defined in [Event.ts:173](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L173)*
|
||||
*Defined in [Event.ts:173](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L173)*
|
||||
|
||||
*__description__*: The [TypeDef](../modules/_codec_createtype_.md#typedef) for the event
|
||||
|
||||
@@ -271,7 +271,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -367,7 +367,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -384,7 +384,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -401,7 +401,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -418,7 +418,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -435,7 +435,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)*
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -469,7 +469,7 @@ ___
|
||||
|
||||
▸ **decodeEvent**(value: *`Uint8Array`*): `object`
|
||||
|
||||
*Defined in [Event.ts:97](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L97)*
|
||||
*Defined in [Event.ts:97](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -486,7 +486,7 @@ ___
|
||||
|
||||
▸ **injectMetadata**(metadata: *[Metadata](_metadata_index_.metadata.md)*): `void`
|
||||
|
||||
*Defined in [Event.ts:116](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L116)*
|
||||
*Defined in [Event.ts:116](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -505,7 +505,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new EventData</strong>(Types: <em><code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></em>, value: <em><code>Uint8Array</code></em>, typeDef: <em><code>Array</code><<a href="../modules/_codec_createtype_.md#typedef">TypeDef</a>></em>, meta: <em><a href="_metadata_events_.eventmetadata.md">EventMetadata</a></em>, section: <em><code>string</code></em>, method: <em><code>string</code></em>): <a href="_event_.eventdata.html">EventData</a></p>
|
||||
<p><em>Overrides <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L27" target="_blank">Event.ts:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L27" target="_blank">Event.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2029,7 +2029,7 @@
|
||||
<h2 id="types">Types</h2>
|
||||
<p>getTypes(): <code>Array</code><<code>string</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#types">Types</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
@@ -2037,35 +2037,35 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66" target="_blank">codec/Tuple.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="meta"></a></p>
|
||||
<h2 id="meta">meta</h2>
|
||||
<p>getmeta(): <a href="_metadata_events_.eventmetadata.md">EventMetadata</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L41" target="_blank">Event.ts:41</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L41" target="_blank">Event.ts:41</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The wrapped <a href="_metadata_events_.eventmetadata.md">EventMetadata</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_metadata_events_.eventmetadata.md">EventMetadata</a></p>
|
||||
<hr>
|
||||
<p><a id="method"></a></p>
|
||||
<h2 id="method">method</h2>
|
||||
<p>getmethod(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L48" target="_blank">Event.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L48" target="_blank">Event.ts:48</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The method as a string</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="section"></a></p>
|
||||
<h2 id="section">section</h2>
|
||||
<p>getsection(): <code>string</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L55" target="_blank">Event.ts:55</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L55" target="_blank">Event.ts:55</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The section as a string</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="typedef"></a></p>
|
||||
<h2 id="typedef">typeDef</h2>
|
||||
<p>gettypeDef(): <code>Array</code><<a href="../modules/_codec_createtype_.md#typedef">TypeDef</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L62" target="_blank">Event.ts:62</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L62" target="_blank">Event.ts:62</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="../modules/_codec_createtype_.md#typedef">TypeDef</a> for this event</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../modules/_codec_createtype_.md#typedef">TypeDef</a>></p>
|
||||
<hr>
|
||||
@@ -2246,7 +2246,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131" target="_blank">codec/Tuple.ts:131</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2799,7 +2799,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3181,7 +3181,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82" target="_blank">codec/Tuple.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -3190,7 +3190,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89" target="_blank">codec/Tuple.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3199,7 +3199,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96" target="_blank">codec/Tuple.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3217,7 +3217,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3226,7 +3226,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3284,7 +3284,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_tuple_.tuple.html">Tuple</a>.<a href="_codec_tuple_.tuple.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53" target="_blank">codec/Tuple.ts:53</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---arrayconstructor">S : <code>Array</code><<a href="../modules/_types_.md#constructor">Constructor</a>></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3347,7 +3347,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.34","depth":1,"next":{"title":"hidden","level":"4.35","depth":1,"path":"types/classes/_event_.eventindex.md","ref":"types/classes/_event_.eventindex.md","articles":[]},"previous":{"title":"hidden","level":"4.33","depth":1,"path":"types/classes/_event_.event.md","ref":"types/classes/_event_.event.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.eventdata.md","mtime":"2018-12-10T11:01:36.644Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.34","depth":1,"next":{"title":"hidden","level":"4.35","depth":1,"path":"types/classes/_event_.eventindex.md","ref":"types/classes/_event_.eventindex.md","articles":[]},"previous":{"title":"hidden","level":"4.33","depth":1,"path":"types/classes/_event_.event.md","ref":"types/classes/_event_.event.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.eventdata.md","mtime":"2018-12-10T13:50:49.215Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Event.ts:27](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L27)*
|
||||
*Defined in [Event.ts:27](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L66)*
|
||||
*Defined in [codec/Tuple.ts:66](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L66)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
getmeta(): [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
*Defined in [Event.ts:41](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L41)*
|
||||
*Defined in [Event.ts:41](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L41)*
|
||||
|
||||
*__description__*: The wrapped [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
@@ -113,7 +113,7 @@ ___
|
||||
|
||||
getmethod(): `string`
|
||||
|
||||
*Defined in [Event.ts:48](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L48)*
|
||||
*Defined in [Event.ts:48](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L48)*
|
||||
|
||||
*__description__*: The method as a string
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
getsection(): `string`
|
||||
|
||||
*Defined in [Event.ts:55](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L55)*
|
||||
*Defined in [Event.ts:55](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L55)*
|
||||
|
||||
*__description__*: The section as a string
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
gettypeDef(): `Array`<[TypeDef](../modules/_codec_createtype_.md#typedef)>
|
||||
|
||||
*Defined in [Event.ts:62](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L62)*
|
||||
*Defined in [Event.ts:62](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L62)*
|
||||
|
||||
*__description__*: The [TypeDef](../modules/_codec_createtype_.md#typedef) for this event
|
||||
|
||||
@@ -309,7 +309,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L131)*
|
||||
*Defined in [codec/Tuple.ts:131](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L131)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -729,7 +729,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1037,7 +1037,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L82)*
|
||||
*Defined in [codec/Tuple.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L82)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1054,7 +1054,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L89)*
|
||||
*Defined in [codec/Tuple.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L89)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1071,7 +1071,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L96)*
|
||||
*Defined in [codec/Tuple.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L96)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1105,7 +1105,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1122,7 +1122,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1179,7 +1179,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Tuple.ts#L53)*
|
||||
*Defined in [codec/Tuple.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Tuple.ts#L53)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new EventIndex</strong>(value?: <em><code>any</code></em>): <a href="_event_.eventindex.html">EventIndex</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L73" target="_blank">Event.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L73" target="_blank">Event.ts:73</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2034,7 +2034,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2043,7 +2043,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2059,7 +2059,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2726,7 +2726,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2757,7 +2757,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2766,7 +2766,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2784,7 +2784,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2793,7 +2793,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2865,7 +2865,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.35","depth":1,"next":{"title":"hidden","level":"4.36","depth":1,"path":"types/classes/_eventrecord_.applyextrinsic.md","ref":"types/classes/_eventrecord_.applyextrinsic.md","articles":[]},"previous":{"title":"hidden","level":"4.34","depth":1,"path":"types/classes/_event_.eventdata.md","ref":"types/classes/_event_.eventdata.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.eventindex.md","mtime":"2018-12-10T11:01:36.792Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.35","depth":1,"next":{"title":"hidden","level":"4.36","depth":1,"path":"types/classes/_eventrecord_.applyextrinsic.md","ref":"types/classes/_eventrecord_.applyextrinsic.md","articles":[]},"previous":{"title":"hidden","level":"4.34","depth":1,"path":"types/classes/_event_.eventdata.md","ref":"types/classes/_event_.eventdata.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_event_.eventindex.md","mtime":"2018-12-10T13:50:49.367Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [Event.ts:73](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Event.ts#L73)*
|
||||
*Defined in [Event.ts:73](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Event.ts#L73)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -689,7 +689,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -713,7 +713,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -730,7 +730,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -764,7 +764,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -781,7 +781,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1975,7 +1975,7 @@
|
||||
<p>⊕ <strong>new ApplyExtrinsic</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_eventrecord_.applyextrinsic.html">ApplyExtrinsic</a></p>
|
||||
<p><em>Inherited from <a href="_u32_.u32.html">U32</a>.<a href="_u32_.u32.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U32.ts#L14" target="_blank">U32.ts:14</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U32.ts#L14" target="_blank">U32.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1998,7 +1998,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2131,7 +2131,7 @@
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
@@ -3509,7 +3509,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tobn">toBn</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number. (Compatibility)</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -3545,7 +3545,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3555,7 +3555,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides BN.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3595,7 +3595,7 @@
|
||||
<p>▸ <strong>toString</strong>(base?: <em> <code>undefined</code> | <code>number</code></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides BN.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3644,7 +3644,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3861,7 +3861,7 @@
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#decodeuint">decodeUInt</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4049,7 +4049,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.36","depth":1,"next":{"title":"hidden","level":"4.37","depth":1,"path":"types/classes/_eventrecord_.eventrecord.md","ref":"types/classes/_eventrecord_.eventrecord.md","articles":[]},"previous":{"title":"hidden","level":"4.35","depth":1,"path":"types/classes/_event_.eventindex.md","ref":"types/classes/_event_.eventindex.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.applyextrinsic.md","mtime":"2018-12-10T11:01:36.956Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.36","depth":1,"next":{"title":"hidden","level":"4.37","depth":1,"path":"types/classes/_eventrecord_.eventrecord.md","ref":"types/classes/_eventrecord_.eventrecord.md","articles":[]},"previous":{"title":"hidden","level":"4.35","depth":1,"path":"types/classes/_event_.eventindex.md","ref":"types/classes/_event_.eventindex.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.applyextrinsic.md","mtime":"2018-12-10T13:50:49.591Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:14](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U32.ts#L14)*
|
||||
*Defined in [U32.ts:14](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U32.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -1523,7 +1523,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71)*
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1562,7 +1562,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78)*
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85)*
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1634,7 +1634,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1678,7 +1678,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104)*
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1882,7 +1882,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new EventRecord</strong>(value: <em><code>any</code></em>): <a href="_eventrecord_.eventrecord.html">EventRecord</a></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L47" target="_blank">EventRecord.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L47" target="_blank">EventRecord.ts:47</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
@@ -2023,21 +2023,21 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134" target="_blank">codec/Struct.ts:134</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="event"></a></p>
|
||||
<h2 id="event">event</h2>
|
||||
<p>getevent(): <a href="_event_.event.html">Event</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L58" target="_blank">EventRecord.ts:58</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L58" target="_blank">EventRecord.ts:58</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_event_.event.html">Event</a> this record refers to</p>
|
||||
<p><strong>Returns:</strong> <a href="_event_.event.html">Event</a></p>
|
||||
<hr>
|
||||
<p><a id="phase"></a></p>
|
||||
<h2 id="phase">phase</h2>
|
||||
<p>getphase(): <a href="_eventrecord_.phase.html">Phase</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L65" target="_blank">EventRecord.ts:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L65" target="_blank">EventRecord.ts:65</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_eventrecord_.phase.html">Phase</a> where the event was generated</p>
|
||||
<p><strong>Returns:</strong> <a href="_eventrecord_.phase.html">Phase</a></p>
|
||||
<hr>
|
||||
@@ -2118,7 +2118,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2143,7 +2143,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2222,7 +2222,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2231,7 +2231,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2240,7 +2240,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2249,7 +2249,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2258,7 +2258,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194" target="_blank">codec/Struct.ts:194</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2291,7 +2291,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2354,7 +2354,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.37","depth":1,"next":{"title":"hidden","level":"4.38","depth":1,"path":"types/classes/_eventrecord_.finalization.md","ref":"types/classes/_eventrecord_.finalization.md","articles":[]},"previous":{"title":"hidden","level":"4.36","depth":1,"path":"types/classes/_eventrecord_.applyextrinsic.md","ref":"types/classes/_eventrecord_.applyextrinsic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.eventrecord.md","mtime":"2018-12-10T11:01:36.992Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.37","depth":1,"next":{"title":"hidden","level":"4.38","depth":1,"path":"types/classes/_eventrecord_.finalization.md","ref":"types/classes/_eventrecord_.finalization.md","articles":[]},"previous":{"title":"hidden","level":"4.36","depth":1,"path":"types/classes/_eventrecord_.applyextrinsic.md","ref":"types/classes/_eventrecord_.applyextrinsic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.eventrecord.md","mtime":"2018-12-10T13:50:49.631Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [EventRecord.ts:47](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L47)*
|
||||
*Defined in [EventRecord.ts:47](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -91,7 +91,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L134)*
|
||||
*Defined in [codec/Struct.ts:134](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L134)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
getevent(): [Event](_event_.event.md)
|
||||
|
||||
*Defined in [EventRecord.ts:58](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L58)*
|
||||
*Defined in [EventRecord.ts:58](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L58)*
|
||||
|
||||
*__description__*: The [Event](_event_.event.md) this record refers to
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getphase(): [Phase](_eventrecord_.phase.md)
|
||||
|
||||
*Defined in [EventRecord.ts:65](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L65)*
|
||||
*Defined in [EventRecord.ts:65](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L65)*
|
||||
|
||||
*__description__*: The [Phase](_eventrecord_.phase.md) where the event was generated
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -240,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -315,7 +315,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -332,7 +332,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L194)*
|
||||
*Defined in [codec/Struct.ts:194](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L194)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -419,7 +419,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L16" target="_blank">Null.ts:16</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L16" target="_blank">Null.ts:16</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -1984,7 +1984,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L23" target="_blank">Null.ts:23</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L23" target="_blank">Null.ts:23</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -1993,7 +1993,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L30" target="_blank">Null.ts:30</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L30" target="_blank">Null.ts:30</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2002,7 +2002,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L37" target="_blank">Null.ts:37</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L37" target="_blank">Null.ts:37</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2011,7 +2011,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L45" target="_blank">Null.ts:45</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L45" target="_blank">Null.ts:45</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2075,7 +2075,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.38","depth":1,"next":{"title":"hidden","level":"4.39","depth":1,"path":"types/classes/_eventrecord_.phase.md","ref":"types/classes/_eventrecord_.phase.md","articles":[]},"previous":{"title":"hidden","level":"4.37","depth":1,"path":"types/classes/_eventrecord_.eventrecord.md","ref":"types/classes/_eventrecord_.eventrecord.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.finalization.md","mtime":"2018-12-10T11:01:37.004Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.38","depth":1,"next":{"title":"hidden","level":"4.39","depth":1,"path":"types/classes/_eventrecord_.phase.md","ref":"types/classes/_eventrecord_.phase.md","articles":[]},"previous":{"title":"hidden","level":"4.37","depth":1,"path":"types/classes/_eventrecord_.eventrecord.md","ref":"types/classes/_eventrecord_.eventrecord.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.finalization.md","mtime":"2018-12-10T13:50:49.655Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[encodedLength](_null_.null.md#encodedlength)*
|
||||
|
||||
*Defined in [Null.ts:16](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L16)*
|
||||
*Defined in [Null.ts:16](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L16)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toHex](_null_.null.md#tohex)*
|
||||
|
||||
*Defined in [Null.ts:23](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L23)*
|
||||
*Defined in [Null.ts:23](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L23)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toJSON](_null_.null.md#tojson)*
|
||||
|
||||
*Defined in [Null.ts:30](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L30)*
|
||||
*Defined in [Null.ts:30](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L30)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toString](_null_.null.md#tostring)*
|
||||
|
||||
*Defined in [Null.ts:37](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L37)*
|
||||
*Defined in [Null.ts:37](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L37)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toU8a](_null_.null.md#tou8a)*
|
||||
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L45)*
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L45)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Phase</strong>(value: <em><code>any</code></em>, index?: <em> <code>undefined</code> | <code>number</code></em>): <a href="_eventrecord_.phase.html">Phase</a></p>
|
||||
<p><em>Overrides <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L32" target="_blank">EventRecord.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L32" target="_blank">EventRecord.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2001,7 +2001,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2009,7 +2009,7 @@
|
||||
<h2 id="isnone">isNone</h2>
|
||||
<p>getisNone(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnone">isNone</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2017,7 +2017,7 @@
|
||||
<h2 id="isnull">isNull</h2>
|
||||
<p>getisNull(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnull">isNull</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type (deprecated, use isNone)</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2025,7 +2025,7 @@
|
||||
<h2 id="type">type</h2>
|
||||
<p>gettype(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#type">type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The name of the type this enum value represents</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2033,7 +2033,7 @@
|
||||
<h2 id="value">value</h2>
|
||||
<p>getvalue(): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#value">value</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The value of the enum</p>
|
||||
<p><strong>Returns:</strong> <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<hr>
|
||||
@@ -2043,7 +2043,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2052,7 +2052,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tonumber">toNumber</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2069,7 +2069,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2078,7 +2078,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2103,7 +2103,7 @@
|
||||
<h2 id="static-decodeenumtype"><code><Static></code> decodeEnumType</h2>
|
||||
<p>▸ <strong>decodeEnumType</strong><<code>T</code>>(def: <em><code>TypesDef</code></em>, value?: <em><code>any</code></em>, index?: <em> <code>number</code> | <a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>T</code>></em>): <code>object</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#decodeenumtype">decodeEnumType</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t">T</h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2174,7 +2174,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.39","depth":1,"next":{"title":"hidden","level":"4.40","depth":1,"path":"types/classes/_extrinsic_.extrinsic.md","ref":"types/classes/_extrinsic_.extrinsic.md","articles":[]},"previous":{"title":"hidden","level":"4.38","depth":1,"path":"types/classes/_eventrecord_.finalization.md","ref":"types/classes/_eventrecord_.finalization.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.phase.md","mtime":"2018-12-10T11:01:37.036Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.39","depth":1,"next":{"title":"hidden","level":"4.40","depth":1,"path":"types/classes/_extrinsic_.extrinsic.md","ref":"types/classes/_extrinsic_.extrinsic.md","articles":[]},"previous":{"title":"hidden","level":"4.38","depth":1,"path":"types/classes/_eventrecord_.finalization.md","ref":"types/classes/_eventrecord_.finalization.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_eventrecord_.phase.md","mtime":"2018-12-10T13:50:49.683Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [EventRecord.ts:32](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/EventRecord.ts#L32)*
|
||||
*Defined in [EventRecord.ts:32](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/EventRecord.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87)*
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -62,7 +62,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94)*
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -77,7 +77,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -92,7 +92,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108)*
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -107,7 +107,7 @@ getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[value](_codec_enumtype_.enumtype.md#value)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122)*
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129)*
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136)*
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143)*
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151)*
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -214,7 +214,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[decodeEnumType](_codec_enumtype_.enumtype.md#decodeenumtype)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47)*
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1985,7 +1985,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Extrinsic</strong>(value?: <em> <code>ExtrinsicValue</code> | <a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_extrinsic_.extrinsic.html">Extrinsic</a></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L36" target="_blank">Extrinsic.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L36" target="_blank">Extrinsic.ts:36</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2021,28 +2021,28 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
<p><a id="args"></a></p>
|
||||
<h2 id="args">args</h2>
|
||||
<p>getargs(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L69" target="_blank">Extrinsic.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L69" target="_blank">Extrinsic.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The arguments passed to for the call, exposes args so it is compatible with <a href="_method_.method.html">Method</a></p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
<p><a id="callindex"></a></p>
|
||||
<h2 id="callindex">callIndex</h2>
|
||||
<p>getcallIndex(): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L76" target="_blank">Extrinsic.ts:76</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L76" target="_blank">Extrinsic.ts:76</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The actual <code>[sectionIndex, methodIndex]</code> as used in the Method</p>
|
||||
<p><strong>Returns:</strong> <code>Uint8Array</code></p>
|
||||
<hr>
|
||||
<p><a id="data"></a></p>
|
||||
<h2 id="data">data</h2>
|
||||
<p>getdata(): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L83" target="_blank">Extrinsic.ts:83</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L83" target="_blank">Extrinsic.ts:83</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The actual data for the Method</p>
|
||||
<p><strong>Returns:</strong> <code>Uint8Array</code></p>
|
||||
<hr>
|
||||
@@ -2050,49 +2050,49 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L90" target="_blank">Extrinsic.ts:90</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L90" target="_blank">Extrinsic.ts:90</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="hash"></a></p>
|
||||
<h2 id="hash">hash</h2>
|
||||
<p>gethash(): <a href="_hash_.hash.html">Hash</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L99" target="_blank">Extrinsic.ts:99</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L99" target="_blank">Extrinsic.ts:99</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Convernience function, encodes the extrinsic and returns the actual hash</p>
|
||||
<p><strong>Returns:</strong> <a href="_hash_.hash.html">Hash</a></p>
|
||||
<hr>
|
||||
<p><a id="issigned"></a></p>
|
||||
<h2 id="issigned">isSigned</h2>
|
||||
<p>getisSigned(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L108" target="_blank">Extrinsic.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L108" target="_blank">Extrinsic.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: <code>true</code> id the extrinsic is signed</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="length"></a></p>
|
||||
<h2 id="length">length</h2>
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L115" target="_blank">Extrinsic.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L115" target="_blank">Extrinsic.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the encoded value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="meta"></a></p>
|
||||
<h2 id="meta">meta</h2>
|
||||
<p>getmeta(): <a href="_metadata_modules_.functionmetadata.md">FunctionMetadata</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L122" target="_blank">Extrinsic.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L122" target="_blank">Extrinsic.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_metadata_modules_.functionmetadata.md">FunctionMetadata</a> that describes the extrinsic</p>
|
||||
<p><strong>Returns:</strong> <a href="_metadata_modules_.functionmetadata.md">FunctionMetadata</a></p>
|
||||
<hr>
|
||||
<p><a id="method"></a></p>
|
||||
<h2 id="method">method</h2>
|
||||
<p>getmethod(): <a href="_method_.method.html">Method</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L129" target="_blank">Extrinsic.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L129" target="_blank">Extrinsic.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_method_.method.html">Method</a> this extrinsic wraps</p>
|
||||
<p><strong>Returns:</strong> <a href="_method_.method.html">Method</a></p>
|
||||
<hr>
|
||||
<p><a id="signature"></a></p>
|
||||
<h2 id="signature">signature</h2>
|
||||
<p>getsignature(): <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L136" target="_blank">Extrinsic.ts:136</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L136" target="_blank">Extrinsic.ts:136</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<p><strong>Returns:</strong> <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<hr>
|
||||
@@ -2108,7 +2108,7 @@
|
||||
<p><a id="addsignature"></a></p>
|
||||
<h2 id="addsignature">addSignature</h2>
|
||||
<p>▸ <strong>addSignature</strong>(signer: <em> <a href="_address_.address.html">Address</a> | <code>Uint8Array</code></em>, signature: <em><code>Uint8Array</code></em>, nonce: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, era?: <em><a href="_codec_u8a_.u8a.html#uint8array">Uint8Array</a></em>): <a href="_extrinsic_.extrinsic.html">Extrinsic</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L143" target="_blank">Extrinsic.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L143" target="_blank">Extrinsic.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Add an <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a> to the extrinsic (already generated)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2207,7 +2207,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2232,7 +2232,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2310,7 +2310,7 @@
|
||||
<p><a id="sign"></a></p>
|
||||
<h2 id="sign">sign</h2>
|
||||
<p>▸ <strong>sign</strong>(signerPair: <em><code>KeyringPair</code></em>, nonce: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, blockHash: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>, era?: <em><a href="_codec_u8a_.u8a.html#uint8array">Uint8Array</a></em>): <a href="_extrinsic_.extrinsic.html">Extrinsic</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L152" target="_blank">Extrinsic.ts:152</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L152" target="_blank">Extrinsic.ts:152</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Sign the extrinsic with a specific keypair</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2345,7 +2345,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2354,7 +2354,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L161" target="_blank">Extrinsic.ts:161</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L161" target="_blank">Extrinsic.ts:161</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2363,7 +2363,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L168" target="_blank">Extrinsic.ts:168</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L168" target="_blank">Extrinsic.ts:168</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2372,7 +2372,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2381,7 +2381,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L176" target="_blank">Extrinsic.ts:176</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L176" target="_blank">Extrinsic.ts:176</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2413,7 +2413,7 @@
|
||||
<p><a id="decodeextrinsic"></a></p>
|
||||
<h2 id="static-decodeextrinsic"><code><Static></code> decodeExtrinsic</h2>
|
||||
<p>▸ <strong>decodeExtrinsic</strong>(value?: <em> <code>ExtrinsicValue</code> | <a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <code>object</code> | <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L44" target="_blank">Extrinsic.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L44" target="_blank">Extrinsic.ts:44</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2435,7 +2435,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2498,7 +2498,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.40","depth":1,"next":{"title":"hidden","level":"4.41","depth":1,"path":"types/classes/_extrinsicera_.extrinsicera.md","ref":"types/classes/_extrinsicera_.extrinsicera.md","articles":[]},"previous":{"title":"hidden","level":"4.39","depth":1,"path":"types/classes/_eventrecord_.phase.md","ref":"types/classes/_eventrecord_.phase.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsic_.extrinsic.md","mtime":"2018-12-10T11:01:37.100Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.40","depth":1,"next":{"title":"hidden","level":"4.41","depth":1,"path":"types/classes/_extrinsicera_.extrinsicera.md","ref":"types/classes/_extrinsicera_.extrinsicera.md","articles":[]},"previous":{"title":"hidden","level":"4.39","depth":1,"path":"types/classes/_eventrecord_.phase.md","ref":"types/classes/_eventrecord_.phase.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsic_.extrinsic.md","mtime":"2018-12-10T13:50:49.755Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -36,7 +36,7 @@ Can be:
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Extrinsic.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L36)*
|
||||
*Defined in [Extrinsic.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
getargs(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [Extrinsic.ts:69](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L69)*
|
||||
*Defined in [Extrinsic.ts:69](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L69)*
|
||||
|
||||
*__description__*: The arguments passed to for the call, exposes args so it is compatible with [Method](_method_.method.md)
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:76](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L76)*
|
||||
*Defined in [Extrinsic.ts:76](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L76)*
|
||||
|
||||
*__description__*: The actual `[sectionIndex, methodIndex]` as used in the Method
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:83](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L83)*
|
||||
*Defined in [Extrinsic.ts:83](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L83)*
|
||||
|
||||
*__description__*: The actual data for the Method
|
||||
|
||||
@@ -137,7 +137,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [Extrinsic.ts:90](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L90)*
|
||||
*Defined in [Extrinsic.ts:90](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L90)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:99](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L99)*
|
||||
*Defined in [Extrinsic.ts:99](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L99)*
|
||||
|
||||
*__description__*: Convernience function, encodes the extrinsic and returns the actual hash
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [Extrinsic.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L108)*
|
||||
*Defined in [Extrinsic.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L108)*
|
||||
|
||||
*__description__*: `true` id the extrinsic is signed
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [Extrinsic.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L115)*
|
||||
*Defined in [Extrinsic.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L115)*
|
||||
|
||||
*__description__*: The length of the encoded value
|
||||
|
||||
@@ -189,7 +189,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_modules_.functionmetadata.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L122)*
|
||||
*Defined in [Extrinsic.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L122)*
|
||||
|
||||
*__description__*: The [FunctionMetadata](_metadata_modules_.functionmetadata.md) that describes the extrinsic
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
getmethod(): [Method](_method_.method.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:129](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L129)*
|
||||
*Defined in [Extrinsic.ts:129](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L129)*
|
||||
|
||||
*__description__*: The [Method](_method_.method.md) this extrinsic wraps
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
getsignature(): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:136](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L136)*
|
||||
*Defined in [Extrinsic.ts:136](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L136)*
|
||||
|
||||
*__description__*: The [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
▸ **addSignature**(signer: * [Address](_address_.address.md) | `Uint8Array`*, signature: *`Uint8Array`*, nonce: *[AnyNumber](../modules/_types_.md#anynumber)*, era?: *[Uint8Array](_codec_u8a_.u8a.md#uint8array)*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:143](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L143)*
|
||||
*Defined in [Extrinsic.ts:143](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L143)*
|
||||
|
||||
*__description__*: Add an [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) to the extrinsic (already generated)
|
||||
|
||||
@@ -339,7 +339,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -360,7 +360,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -433,7 +433,7 @@ ___
|
||||
|
||||
▸ **sign**(signerPair: *`KeyringPair`*, nonce: *[AnyNumber](../modules/_types_.md#anynumber)*, blockHash: *[AnyU8a](../modules/_types_.md#anyu8a)*, era?: *[Uint8Array](_codec_u8a_.u8a.md#uint8array)*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:152](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L152)*
|
||||
*Defined in [Extrinsic.ts:152](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L152)*
|
||||
|
||||
*__description__*: Sign the extrinsic with a specific keypair
|
||||
|
||||
@@ -457,7 +457,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -474,7 +474,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [Extrinsic.ts:161](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L161)*
|
||||
*Defined in [Extrinsic.ts:161](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L161)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -491,7 +491,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [Extrinsic.ts:168](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L168)*
|
||||
*Defined in [Extrinsic.ts:168](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L168)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -508,7 +508,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -525,7 +525,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [Extrinsic.ts:176](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L176)*
|
||||
*Defined in [Extrinsic.ts:176](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L176)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -559,7 +559,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsic**(value?: * `ExtrinsicValue` | [AnyU8a](../modules/_types_.md#anyu8a)*): `object` | `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Extrinsic.ts#L44)*
|
||||
*Defined in [Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Extrinsic.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -578,7 +578,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1976,7 +1976,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ExtrinsicEra</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_extrinsicera_.extrinsicera.html">ExtrinsicEra</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicEra.ts#L16" target="_blank">ExtrinsicEra.ts:16</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicEra.ts#L16" target="_blank">ExtrinsicEra.ts:16</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2034,7 +2034,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2043,7 +2043,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2718,7 +2718,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2749,7 +2749,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2776,7 +2776,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2817,7 +2817,7 @@
|
||||
<p><a id="decodeextrinsicera"></a></p>
|
||||
<h2 id="static-decodeextrinsicera"><code><Static></code> decodeExtrinsicEra</h2>
|
||||
<p>▸ <strong>decodeExtrinsicEra</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicEra.ts#L23" target="_blank">ExtrinsicEra.ts:23</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicEra.ts#L23" target="_blank">ExtrinsicEra.ts:23</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2878,7 +2878,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.41","depth":1,"next":{"title":"hidden","level":"4.42","depth":1,"path":"types/classes/_extrinsics_.extrinsics.md","ref":"types/classes/_extrinsics_.extrinsics.md","articles":[]},"previous":{"title":"hidden","level":"4.40","depth":1,"path":"types/classes/_extrinsic_.extrinsic.md","ref":"types/classes/_extrinsic_.extrinsic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicera_.extrinsicera.md","mtime":"2018-12-10T11:01:37.216Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.41","depth":1,"next":{"title":"hidden","level":"4.42","depth":1,"path":"types/classes/_extrinsics_.extrinsics.md","ref":"types/classes/_extrinsics_.extrinsics.md","articles":[]},"previous":{"title":"hidden","level":"4.40","depth":1,"path":"types/classes/_extrinsic_.extrinsic.md","ref":"types/classes/_extrinsic_.extrinsic.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicera_.extrinsicera.md","mtime":"2018-12-10T13:50:49.899Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:16](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicEra.ts#L16)*
|
||||
*Defined in [ExtrinsicEra.ts:16](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicEra.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -674,7 +674,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -749,7 +749,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -800,7 +800,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsicEra**(value?: *[AnyU8a](../modules/_types_.md#anyu8a)*): `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:23](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicEra.ts#L23)*
|
||||
*Defined in [ExtrinsicEra.ts:23](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicEra.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Extrinsics</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value?: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <a href="_extrinsics_.extrinsics.html">Extrinsics</a></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2009,14 +2009,14 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2025,7 +2025,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#length">length</a></em></p>
|
||||
<p><em>Overrides Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2206,7 +2206,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2759,7 +2759,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3141,7 +3141,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>T</code>></p>
|
||||
<hr>
|
||||
@@ -3150,7 +3150,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3159,7 +3159,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3177,7 +3177,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3186,7 +3186,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3244,7 +3244,7 @@
|
||||
<h2 id="static-decodevector"><code><Static></code> decodeVector</h2>
|
||||
<p>▸ <strong>decodeVector</strong><<code>T</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#decodevector">decodeVector</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t---codec">T : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3272,7 +3272,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>O</code>></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_vector_.vector.html">Vector</a><<code>O</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o---codec">O : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3335,7 +3335,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.42","depth":1,"next":{"title":"hidden","level":"4.43","depth":1,"path":"types/classes/_extrinsicsignature_.extrinsicsignature.md","ref":"types/classes/_extrinsicsignature_.extrinsicsignature.md","articles":[]},"previous":{"title":"hidden","level":"4.41","depth":1,"path":"types/classes/_extrinsicera_.extrinsicera.md","ref":"types/classes/_extrinsicera_.extrinsicera.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsics_.extrinsics.md","mtime":"2018-12-10T11:01:37.956Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.42","depth":1,"next":{"title":"hidden","level":"4.43","depth":1,"path":"types/classes/_extrinsicsignature_.extrinsicsignature.md","ref":"types/classes/_extrinsicsignature_.extrinsicsignature.md","articles":[]},"previous":{"title":"hidden","level":"4.41","depth":1,"path":"types/classes/_extrinsicera_.extrinsicera.md","ref":"types/classes/_extrinsicera_.extrinsicera.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsics_.extrinsics.md","mtime":"2018-12-10T13:50:50.899Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[constructor](_codec_vector_.vector.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21)*
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65)*
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -67,7 +67,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[encodedLength](_codec_vector_.vector.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72)*
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -84,7 +84,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Array.length*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147)*
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -674,7 +674,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156)*
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -982,7 +982,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -999,7 +999,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96)*
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1016,7 +1016,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103)*
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1050,7 +1050,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112)*
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1067,7 +1067,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125)*
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1124,7 +1124,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31)*
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -1147,7 +1147,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1979,7 +1979,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ExtrinsicSignature</strong>(value?: <em> <code>ExtrinsicSignatureValue</code> | <code>Uint8Array</code></em>): <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L37" target="_blank">ExtrinsicSignature.ts:37</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L37" target="_blank">ExtrinsicSignature.ts:37</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2015,7 +2015,7 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>E</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127" target="_blank">codec/Struct.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the Type description to sthe structure</p>
|
||||
<p><strong>Returns:</strong> <code>E</code></p>
|
||||
<hr>
|
||||
@@ -2023,49 +2023,49 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L71" target="_blank">ExtrinsicSignature.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L71" target="_blank">ExtrinsicSignature.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
<p><a id="era"></a></p>
|
||||
<h2 id="era">era</h2>
|
||||
<p>getera(): <a href="_extrinsicera_.extrinsicera.html">ExtrinsicEra</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L90" target="_blank">ExtrinsicSignature.ts:90</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L90" target="_blank">ExtrinsicSignature.ts:90</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_extrinsicera_.extrinsicera.html">ExtrinsicEra</a> (mortal or immortal) this signature applies to</p>
|
||||
<p><strong>Returns:</strong> <a href="_extrinsicera_.extrinsicera.html">ExtrinsicEra</a></p>
|
||||
<hr>
|
||||
<p><a id="issigned"></a></p>
|
||||
<h2 id="issigned">isSigned</h2>
|
||||
<p>getisSigned(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L83" target="_blank">ExtrinsicSignature.ts:83</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L83" target="_blank">ExtrinsicSignature.ts:83</a></em></p>
|
||||
<p><em><strong>description</strong></em>: <code>true</code> if the signature is valid</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
<p><a id="nonce"></a></p>
|
||||
<h2 id="nonce">nonce</h2>
|
||||
<p>getnonce(): <a href="_nonce_.nonce.html">Nonce</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L97" target="_blank">ExtrinsicSignature.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L97" target="_blank">ExtrinsicSignature.ts:97</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_nonce_.nonce.html">Nonce</a> for the signature</p>
|
||||
<p><strong>Returns:</strong> <a href="_nonce_.nonce.html">Nonce</a></p>
|
||||
<hr>
|
||||
<p><a id="signature"></a></p>
|
||||
<h2 id="signature">signature</h2>
|
||||
<p>getsignature(): <a href="_signature_.signature.html">Signature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L104" target="_blank">ExtrinsicSignature.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L104" target="_blank">ExtrinsicSignature.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The actuall <a href="_signature_.signature.html">Signature</a> hash</p>
|
||||
<p><strong>Returns:</strong> <a href="_signature_.signature.html">Signature</a></p>
|
||||
<hr>
|
||||
<p><a id="signer"></a></p>
|
||||
<h2 id="signer">signer</h2>
|
||||
<p>getsigner(): <a href="_address_.address.html">Address</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L111" target="_blank">ExtrinsicSignature.ts:111</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L111" target="_blank">ExtrinsicSignature.ts:111</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_address_.address.html">Address</a> that signed</p>
|
||||
<p><strong>Returns:</strong> <a href="_address_.address.html">Address</a></p>
|
||||
<hr>
|
||||
<p><a id="version"></a></p>
|
||||
<h2 id="version">version</h2>
|
||||
<p>getversion(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L118" target="_blank">ExtrinsicSignature.ts:118</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L118" target="_blank">ExtrinsicSignature.ts:118</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The encoded version for the signature</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2081,7 +2081,7 @@
|
||||
<p><a id="addsignature"></a></p>
|
||||
<h2 id="addsignature">addSignature</h2>
|
||||
<p>▸ <strong>addSignature</strong>(<em>signer: * [Address](_address</em>.address.md) | <code>Uint8Array</code><em>, _signature: </em><code>Uint8Array</code><em>, _nonce: </em><a href="../modules/_types_.md#anynumber">AnyNumber</a><em>, _era?: </em><code>Uint8Array</code>*): <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L142" target="_blank">ExtrinsicSignature.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L142" target="_blank">ExtrinsicSignature.ts:142</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Adds a raw signature</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2185,7 +2185,7 @@
|
||||
<p>▸ <strong>get</strong>(name: <em><code>keyof S</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a> | <code>undefined</code></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#get">get</a></em></p>
|
||||
<p><em>Overrides Map.get</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144" target="_blank">codec/Struct.ts:144</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2210,7 +2210,7 @@
|
||||
<h2 id="getatindex">getAtIndex</h2>
|
||||
<p>▸ <strong>getAtIndex</strong>(index: <em><code>number</code></em>): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#getatindex">getAtIndex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151" target="_blank">codec/Struct.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the values of a member at a specific index (Rather use get(name) for performance)</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2288,7 +2288,7 @@
|
||||
<p><a id="sign"></a></p>
|
||||
<h2 id="sign">sign</h2>
|
||||
<p>▸ <strong>sign</strong>(method: <em><a href="_method_.method.html">Method</a></em>, signerPair: <em><code>KeyringPair</code></em>, nonce: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, blockHash: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>, era?: <em><code>Uint8Array</code></em>): <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L154" target="_blank">ExtrinsicSignature.ts:154</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L154" target="_blank">ExtrinsicSignature.ts:154</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Generate a payload and pplies the signature from a keypair</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2333,7 +2333,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158" target="_blank">codec/Struct.ts:158</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2342,7 +2342,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165" target="_blank">codec/Struct.ts:165</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2351,7 +2351,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172" target="_blank">codec/Struct.ts:172</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2360,7 +2360,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186" target="_blank">codec/Struct.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2369,7 +2369,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L171" target="_blank">ExtrinsicSignature.ts:171</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L171" target="_blank">ExtrinsicSignature.ts:171</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2401,7 +2401,7 @@
|
||||
<p><a id="decodeextrinsicsignature"></a></p>
|
||||
<h2 id="static-decodeextrinsicsignature"><code><Static></code> decodeExtrinsicSignature</h2>
|
||||
<p>▸ <strong>decodeExtrinsicSignature</strong>(value: <em> <a href="_extrinsicsignature_.extrinsicsignature.html">ExtrinsicSignature</a> | <code>ExtrinsicSignatureValue</code> | <a href="../modules/_types_.md#anyu8a">AnyU8a</a> | <code>undefined</code></em>): <code>object</code> | <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L52" target="_blank">ExtrinsicSignature.ts:52</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L52" target="_blank">ExtrinsicSignature.ts:52</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2423,7 +2423,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>S</code>>(Types: <em><code>S</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_struct_.struct.html">Struct</a><<code>S</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_struct_.struct.html">Struct</a>.<a href="_codec_struct_.struct.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107" target="_blank">codec/Struct.ts:107</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="s---constructordef">S : <a href="../modules/_types_.md#constructordef">ConstructorDef</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2486,7 +2486,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.43","depth":1,"next":{"title":"hidden","level":"4.44","depth":1,"path":"types/classes/_extrinsicstatus_.broadcast.md","ref":"types/classes/_extrinsicstatus_.broadcast.md","articles":[]},"previous":{"title":"hidden","level":"4.42","depth":1,"path":"types/classes/_extrinsics_.extrinsics.md","ref":"types/classes/_extrinsics_.extrinsics.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicsignature_.extrinsicsignature.md","mtime":"2018-12-10T11:01:37.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.43","depth":1,"next":{"title":"hidden","level":"4.44","depth":1,"path":"types/classes/_extrinsicstatus_.broadcast.md","ref":"types/classes/_extrinsicstatus_.broadcast.md","articles":[]},"previous":{"title":"hidden","level":"4.42","depth":1,"path":"types/classes/_extrinsics_.extrinsics.md","ref":"types/classes/_extrinsics_.extrinsics.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicsignature_.extrinsicsignature.md","mtime":"2018-12-10T13:50:49.975Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:37](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
*Defined in [ExtrinsicSignature.ts:37](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L127)*
|
||||
*Defined in [codec/Struct.ts:127](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L127)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -91,7 +91,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L71)*
|
||||
*Defined in [ExtrinsicSignature.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L71)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
getera(): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:90](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L90)*
|
||||
*Defined in [ExtrinsicSignature.ts:90](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L90)*
|
||||
|
||||
*__description__*: The [ExtrinsicEra](_extrinsicera_.extrinsicera.md) (mortal or immortal) this signature applies to
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:83](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L83)*
|
||||
*Defined in [ExtrinsicSignature.ts:83](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L83)*
|
||||
|
||||
*__description__*: `true` if the signature is valid
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
getnonce(): [Nonce](_nonce_.nonce.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:97](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L97)*
|
||||
*Defined in [ExtrinsicSignature.ts:97](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L97)*
|
||||
|
||||
*__description__*: The [Nonce](_nonce_.nonce.md) for the signature
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
|
||||
*__description__*: The actuall [Signature](_signature_.signature.md) hash
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
getsigner(): [Address](_address_.address.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:111](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L111)*
|
||||
*Defined in [ExtrinsicSignature.ts:111](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L111)*
|
||||
|
||||
*__description__*: The [Address](_address_.address.md) that signed
|
||||
|
||||
@@ -169,7 +169,7 @@ ___
|
||||
|
||||
getversion(): `number`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:118](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L118)*
|
||||
*Defined in [ExtrinsicSignature.ts:118](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L118)*
|
||||
|
||||
*__description__*: The encoded version for the signature
|
||||
|
||||
@@ -200,7 +200,7 @@ ___
|
||||
|
||||
▸ **addSignature**(_signer: * [Address](_address_.address.md) | `Uint8Array`*, _signature: *`Uint8Array`*, _nonce: *[AnyNumber](../modules/_types_.md#anynumber)*, _era?: *`Uint8Array`*): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:142](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L142)*
|
||||
*Defined in [ExtrinsicSignature.ts:142](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L142)*
|
||||
|
||||
*__description__*: Adds a raw signature
|
||||
|
||||
@@ -293,7 +293,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L144)*
|
||||
*Defined in [codec/Struct.ts:144](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L144)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -387,7 +387,7 @@ ___
|
||||
|
||||
▸ **sign**(method: *[Method](_method_.method.md)*, signerPair: *`KeyringPair`*, nonce: *[AnyNumber](../modules/_types_.md#anynumber)*, blockHash: *[AnyU8a](../modules/_types_.md#anyu8a)*, era?: *`Uint8Array`*): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:154](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L154)*
|
||||
*Defined in [ExtrinsicSignature.ts:154](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L154)*
|
||||
|
||||
*__description__*: Generate a payload and pplies the signature from a keypair
|
||||
|
||||
@@ -412,7 +412,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L158)*
|
||||
*Defined in [codec/Struct.ts:158](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L158)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -429,7 +429,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L165)*
|
||||
*Defined in [codec/Struct.ts:165](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L165)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -446,7 +446,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L172)*
|
||||
*Defined in [codec/Struct.ts:172](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L172)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -463,7 +463,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L186)*
|
||||
*Defined in [codec/Struct.ts:186](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L186)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -480,7 +480,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:171](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L171)*
|
||||
*Defined in [ExtrinsicSignature.ts:171](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L171)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -514,7 +514,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsicSignature**(value: * [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | [AnyU8a](../modules/_types_.md#anyu8a) | `undefined`*): `object` | `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:52](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicSignature.ts#L52)*
|
||||
*Defined in [ExtrinsicSignature.ts:52](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicSignature.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -533,7 +533,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Struct.ts#L107)*
|
||||
*Defined in [codec/Struct.ts:107](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Struct.ts#L107)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1978,7 +1978,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Broadcast</strong>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value?: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <a href="_extrinsicstatus_.broadcast.html">Broadcast</a></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21" target="_blank">codec/Vector.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2008,14 +2008,14 @@
|
||||
<h2 id="type">Type</h2>
|
||||
<p>getType(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#type">Type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65" target="_blank">codec/Vector.ts:65</a></em></p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72" target="_blank">codec/Vector.ts:72</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2024,7 +2024,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#length">length</a></em></p>
|
||||
<p><em>Overrides Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2205,7 +2205,7 @@
|
||||
<p>▸ <strong>filter</strong>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#filter">filter</a></em></p>
|
||||
<p><em>Overrides Array.filter</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147" target="_blank">codec/Vector.ts:147</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>map</strong><<code>U</code>>(callbackfn: <em><code>function</code></em>, thisArg?: <em><code>any</code></em>): <code>Array</code><<code>U</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#map">map</a></em></p>
|
||||
<p><em>Overrides Array.map</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156" target="_blank">codec/Vector.ts:156</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Maps the array with the callback</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="u">U</h4>
|
||||
@@ -3140,7 +3140,7 @@
|
||||
<h2 id="toarray">toArray</h2>
|
||||
<p>▸ <strong>toArray</strong>(): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#toarray">toArray</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89" target="_blank">codec/Vector.ts:89</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>T</code>></p>
|
||||
<hr>
|
||||
@@ -3149,7 +3149,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96" target="_blank">codec/Vector.ts:96</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3158,7 +3158,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103" target="_blank">codec/Vector.ts:103</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3176,7 +3176,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112" target="_blank">codec/Vector.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3185,7 +3185,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125" target="_blank">codec/Vector.ts:125</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3243,7 +3243,7 @@
|
||||
<h2 id="static-decodevector"><code><Static></code> decodeVector</h2>
|
||||
<p>▸ <strong>decodeVector</strong><<code>T</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>T</code>></em>, value: <em> <a href="_codec_vector_.vector.html">Vector</a><<code>any</code>> | <code>Uint8Array</code> | <code>string</code> | <code>Array</code><<code>any</code>></em>): <code>Array</code><<code>T</code>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#decodevector">decodeVector</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31" target="_blank">codec/Vector.ts:31</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t---codec">T : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3271,7 +3271,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong><<code>O</code>>(Type: <em><a href="../modules/_types_.md#constructor">Constructor</a><<code>O</code>></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_vector_.vector.html">Vector</a><<code>O</code>>></p>
|
||||
<p><em>Inherited from <a href="_codec_vector_.vector.html">Vector</a>.<a href="_codec_vector_.vector.html#with">with</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o---codec">O : <a href="../interfaces/_types_.codec.md">Codec</a></h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -3334,7 +3334,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.44","depth":1,"next":{"title":"hidden","level":"4.45","depth":1,"path":"types/classes/_extrinsicstatus_.dropped.md","ref":"types/classes/_extrinsicstatus_.dropped.md","articles":[]},"previous":{"title":"hidden","level":"4.43","depth":1,"path":"types/classes/_extrinsicsignature_.extrinsicsignature.md","ref":"types/classes/_extrinsicsignature_.extrinsicsignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.broadcast.md","mtime":"2018-12-10T11:01:37.436Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.44","depth":1,"next":{"title":"hidden","level":"4.45","depth":1,"path":"types/classes/_extrinsicstatus_.dropped.md","ref":"types/classes/_extrinsicstatus_.dropped.md","articles":[]},"previous":{"title":"hidden","level":"4.43","depth":1,"path":"types/classes/_extrinsicsignature_.extrinsicsignature.md","ref":"types/classes/_extrinsicsignature_.extrinsicsignature.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.broadcast.md","mtime":"2018-12-10T13:50:50.187Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[constructor](_codec_vector_.vector.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L21)*
|
||||
*Defined in [codec/Vector.ts:21](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -52,7 +52,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L65)*
|
||||
*Defined in [codec/Vector.ts:65](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -65,7 +65,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[encodedLength](_codec_vector_.vector.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L72)*
|
||||
*Defined in [codec/Vector.ts:72](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -82,7 +82,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Array.length*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -252,7 +252,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L147)*
|
||||
*Defined in [codec/Vector.ts:147](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L147)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -672,7 +672,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L156)*
|
||||
*Defined in [codec/Vector.ts:156](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L156)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -980,7 +980,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -997,7 +997,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L96)*
|
||||
*Defined in [codec/Vector.ts:96](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L96)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1014,7 +1014,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L103)*
|
||||
*Defined in [codec/Vector.ts:103](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L103)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1048,7 +1048,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L112)*
|
||||
*Defined in [codec/Vector.ts:112](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1065,7 +1065,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L125)*
|
||||
*Defined in [codec/Vector.ts:125](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L125)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1122,7 +1122,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L31)*
|
||||
*Defined in [codec/Vector.ts:31](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L31)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -1145,7 +1145,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L16" target="_blank">Null.ts:16</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L16" target="_blank">Null.ts:16</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -1984,7 +1984,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L23" target="_blank">Null.ts:23</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L23" target="_blank">Null.ts:23</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -1993,7 +1993,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L30" target="_blank">Null.ts:30</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L30" target="_blank">Null.ts:30</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2002,7 +2002,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L37" target="_blank">Null.ts:37</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L37" target="_blank">Null.ts:37</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2011,7 +2011,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_null_.null.html">Null</a>.<a href="_null_.null.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L45" target="_blank">Null.ts:45</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L45" target="_blank">Null.ts:45</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2075,7 +2075,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.45","depth":1,"next":{"title":"hidden","level":"4.46","depth":1,"path":"types/classes/_extrinsicstatus_.extrinsicstatus.md","ref":"types/classes/_extrinsicstatus_.extrinsicstatus.md","articles":[]},"previous":{"title":"hidden","level":"4.44","depth":1,"path":"types/classes/_extrinsicstatus_.broadcast.md","ref":"types/classes/_extrinsicstatus_.broadcast.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.dropped.md","mtime":"2018-12-10T11:01:37.448Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.45","depth":1,"next":{"title":"hidden","level":"4.46","depth":1,"path":"types/classes/_extrinsicstatus_.extrinsicstatus.md","ref":"types/classes/_extrinsicstatus_.extrinsicstatus.md","articles":[]},"previous":{"title":"hidden","level":"4.44","depth":1,"path":"types/classes/_extrinsicstatus_.broadcast.md","ref":"types/classes/_extrinsicstatus_.broadcast.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.dropped.md","mtime":"2018-12-10T13:50:50.207Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[encodedLength](_null_.null.md#encodedlength)*
|
||||
|
||||
*Defined in [Null.ts:16](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L16)*
|
||||
*Defined in [Null.ts:16](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L16)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toHex](_null_.null.md#tohex)*
|
||||
|
||||
*Defined in [Null.ts:23](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L23)*
|
||||
*Defined in [Null.ts:23](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L23)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toJSON](_null_.null.md#tojson)*
|
||||
|
||||
*Defined in [Null.ts:30](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L30)*
|
||||
*Defined in [Null.ts:30](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L30)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toString](_null_.null.md#tostring)*
|
||||
|
||||
*Defined in [Null.ts:37](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L37)*
|
||||
*Defined in [Null.ts:37](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L37)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toU8a](_null_.null.md#tou8a)*
|
||||
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/Null.ts#L45)*
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/Null.ts#L45)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1974,7 +1974,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ExtrinsicStatus</strong>(value: <em><code>any</code></em>, index?: <em> <code>undefined</code> | <code>number</code></em>): <a href="_extrinsicstatus_.extrinsicstatus.html">ExtrinsicStatus</a></p>
|
||||
<p><em>Overrides <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicStatus.ts#L48" target="_blank">ExtrinsicStatus.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicStatus.ts#L48" target="_blank">ExtrinsicStatus.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2001,7 +2001,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87" target="_blank">codec/EnumType.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2009,7 +2009,7 @@
|
||||
<h2 id="isnone">isNone</h2>
|
||||
<p>getisNone(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnone">isNone</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94" target="_blank">codec/EnumType.ts:94</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2017,7 +2017,7 @@
|
||||
<h2 id="isnull">isNull</h2>
|
||||
<p>getisNull(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#isnull">isNull</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_null_.null.html">Null</a> type (deprecated, use isNone)</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2025,7 +2025,7 @@
|
||||
<h2 id="type">type</h2>
|
||||
<p>gettype(): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#type">type</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108" target="_blank">codec/EnumType.ts:108</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The name of the type this enum value represents</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2033,7 +2033,7 @@
|
||||
<h2 id="value">value</h2>
|
||||
<p>getvalue(): <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#value">value</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115" target="_blank">codec/EnumType.ts:115</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The value of the enum</p>
|
||||
<p><strong>Returns:</strong> <a href="../interfaces/_types_.codec.md">Codec</a></p>
|
||||
<hr>
|
||||
@@ -2043,7 +2043,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122" target="_blank">codec/EnumType.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2052,7 +2052,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129" target="_blank">codec/EnumType.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="tonumber">toNumber</h2>
|
||||
<p>▸ <strong>toNumber</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tonumber">toNumber</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136" target="_blank">codec/EnumType.ts:136</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number representation for the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2069,7 +2069,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143" target="_blank">codec/EnumType.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2078,7 +2078,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151" target="_blank">codec/EnumType.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2103,7 +2103,7 @@
|
||||
<h2 id="static-decodeenumtype"><code><Static></code> decodeEnumType</h2>
|
||||
<p>▸ <strong>decodeEnumType</strong><<code>T</code>>(def: <em><code>TypesDef</code></em>, value?: <em><code>any</code></em>, index?: <em> <code>number</code> | <a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>T</code>></em>): <code>object</code></p>
|
||||
<p><em>Inherited from <a href="_codec_enumtype_.enumtype.html">EnumType</a>.<a href="_codec_enumtype_.enumtype.html#decodeenumtype">decodeEnumType</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47" target="_blank">codec/EnumType.ts:47</a></em></p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="t">T</h4>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -2174,7 +2174,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.46","depth":1,"next":{"title":"hidden","level":"4.47","depth":1,"path":"types/classes/_extrinsicstatus_.finalised.md","ref":"types/classes/_extrinsicstatus_.finalised.md","articles":[]},"previous":{"title":"hidden","level":"4.45","depth":1,"path":"types/classes/_extrinsicstatus_.dropped.md","ref":"types/classes/_extrinsicstatus_.dropped.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.extrinsicstatus.md","mtime":"2018-12-10T11:01:37.476Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.46","depth":1,"next":{"title":"hidden","level":"4.47","depth":1,"path":"types/classes/_extrinsicstatus_.finalised.md","ref":"types/classes/_extrinsicstatus_.finalised.md","articles":[]},"previous":{"title":"hidden","level":"4.45","depth":1,"path":"types/classes/_extrinsicstatus_.dropped.md","ref":"types/classes/_extrinsicstatus_.dropped.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.extrinsicstatus.md","mtime":"2018-12-10T13:50:50.243Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicStatus.ts:48](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/ExtrinsicStatus.ts#L48)*
|
||||
*Defined in [ExtrinsicStatus.ts:48](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/ExtrinsicStatus.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L87)*
|
||||
*Defined in [codec/EnumType.ts:87](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L87)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -62,7 +62,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L94)*
|
||||
*Defined in [codec/EnumType.ts:94](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L94)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -77,7 +77,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -92,7 +92,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L108)*
|
||||
*Defined in [codec/EnumType.ts:108](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L108)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -107,7 +107,7 @@ getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[value](_codec_enumtype_.enumtype.md#value)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L122)*
|
||||
*Defined in [codec/EnumType.ts:122](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L122)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L129)*
|
||||
*Defined in [codec/EnumType.ts:129](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L129)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L136)*
|
||||
*Defined in [codec/EnumType.ts:136](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L136)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L143)*
|
||||
*Defined in [codec/EnumType.ts:143](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L143)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L151)*
|
||||
*Defined in [codec/EnumType.ts:151](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L151)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -214,7 +214,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[decodeEnumType](_codec_enumtype_.enumtype.md#decodeenumtype)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/EnumType.ts#L47)*
|
||||
*Defined in [codec/EnumType.ts:47](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/EnumType.ts#L47)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<p>⊕ <strong>new Finalised</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_extrinsicstatus_.finalised.html">Finalised</a></p>
|
||||
<p><em>Inherited from <a href="_h256_.h256.html">H256</a>.<a href="_h256_.h256.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2044,7 +2044,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2727,7 +2727,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2767,7 +2767,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2794,7 +2794,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2866,7 +2866,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.47","depth":1,"next":{"title":"hidden","level":"4.48","depth":1,"path":"types/classes/_extrinsicstatus_.usurped.md","ref":"types/classes/_extrinsicstatus_.usurped.md","articles":[]},"previous":{"title":"hidden","level":"4.46","depth":1,"path":"types/classes/_extrinsicstatus_.extrinsicstatus.md","ref":"types/classes/_extrinsicstatus_.extrinsicstatus.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.finalised.md","mtime":"2018-12-10T11:01:37.596Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.47","depth":1,"next":{"title":"hidden","level":"4.48","depth":1,"path":"types/classes/_extrinsicstatus_.usurped.md","ref":"types/classes/_extrinsicstatus_.usurped.md","articles":[]},"previous":{"title":"hidden","level":"4.46","depth":1,"path":"types/classes/_extrinsicstatus_.extrinsicstatus.md","ref":"types/classes/_extrinsicstatus_.extrinsicstatus.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.finalised.md","mtime":"2018-12-10T13:50:50.383Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15)*
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -691,7 +691,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -783,7 +783,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<p>⊕ <strong>new Usurped</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_extrinsicstatus_.usurped.html">Usurped</a></p>
|
||||
<p><em>Inherited from <a href="_h256_.h256.html">H256</a>.<a href="_h256_.h256.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2044,7 +2044,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2727,7 +2727,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2767,7 +2767,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2794,7 +2794,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2866,7 +2866,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.48","depth":1,"next":{"title":"hidden","level":"4.49","depth":1,"path":"types/classes/_gas_.gas.md","ref":"types/classes/_gas_.gas.md","articles":[]},"previous":{"title":"hidden","level":"4.47","depth":1,"path":"types/classes/_extrinsicstatus_.finalised.md","ref":"types/classes/_extrinsicstatus_.finalised.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.usurped.md","mtime":"2018-12-10T11:01:37.728Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.48","depth":1,"next":{"title":"hidden","level":"4.49","depth":1,"path":"types/classes/_gas_.gas.md","ref":"types/classes/_gas_.gas.md","articles":[]},"previous":{"title":"hidden","level":"4.47","depth":1,"path":"types/classes/_extrinsicstatus_.finalised.md","ref":"types/classes/_extrinsicstatus_.finalised.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_extrinsicstatus_.usurped.md","mtime":"2018-12-10T13:50:50.547Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15)*
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -691,7 +691,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -783,7 +783,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1975,7 +1975,7 @@
|
||||
<p>⊕ <strong>new Gas</strong>(value?: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_gas_.gas.html">Gas</a></p>
|
||||
<p><em>Inherited from <a href="_u64_.u64.html">U64</a>.<a href="_u64_.u64.html#constructor">constructor</a></em></p>
|
||||
<p><em>Overrides <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U64.ts#L14" target="_blank">U64.ts:14</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U64.ts#L14" target="_blank">U64.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1998,7 +1998,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57" target="_blank">codec/UInt.ts:57</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2131,7 +2131,7 @@
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Overrides BN.bitLength</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64" target="_blank">codec/UInt.ts:64</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<hr>
|
||||
@@ -3509,7 +3509,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tobn">toBn</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71" target="_blank">codec/UInt.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the BN representation of the number. (Compatibility)</p>
|
||||
<p><strong>Returns:</strong> <code>BN</code></p>
|
||||
<hr>
|
||||
@@ -3545,7 +3545,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78" target="_blank">codec/UInt.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -3555,7 +3555,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Overrides BN.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85" target="_blank">codec/UInt.ts:85</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -3595,7 +3595,7 @@
|
||||
<p>▸ <strong>toString</strong>(base?: <em> <code>undefined</code> | <code>number</code></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides BN.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95" target="_blank">codec/UInt.ts:95</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3644,7 +3644,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104" target="_blank">codec/UInt.ts:104</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -3861,7 +3861,7 @@
|
||||
<h2 id="static-decodeuint"><code><Static></code> decodeUInt</h2>
|
||||
<p>▸ <strong>decodeUInt</strong>(value: <em><a href="../modules/_types_.md#anynumber">AnyNumber</a></em>, bitLength: <em><a href="../modules/_codec_uint_.md#uintbitlength">UIntBitLength</a></em>): <code>string</code></p>
|
||||
<p><em>Inherited from <a href="_codec_uint_.uint.html">UInt</a>.<a href="_codec_uint_.uint.html#decodeuint">decodeUInt</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38" target="_blank">codec/UInt.ts:38</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -4049,7 +4049,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.49","depth":1,"next":{"title":"hidden","level":"4.50","depth":1,"path":"types/classes/_h256_.h256.md","ref":"types/classes/_h256_.h256.md","articles":[]},"previous":{"title":"hidden","level":"4.48","depth":1,"path":"types/classes/_extrinsicstatus_.usurped.md","ref":"types/classes/_extrinsicstatus_.usurped.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_gas_.gas.md","mtime":"2018-12-10T11:01:38.152Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.49","depth":1,"next":{"title":"hidden","level":"4.50","depth":1,"path":"types/classes/_h256_.h256.md","ref":"types/classes/_h256_.h256.md","articles":[]},"previous":{"title":"hidden","level":"4.48","depth":1,"path":"types/classes/_extrinsicstatus_.usurped.md","ref":"types/classes/_extrinsicstatus_.usurped.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_gas_.gas.md","mtime":"2018-12-10T13:50:51.335Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:14](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/U64.ts#L14)*
|
||||
*Defined in [U64.ts:14](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/U64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -1523,7 +1523,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L71)*
|
||||
*Defined in [codec/UInt.ts:71](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L71)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1562,7 +1562,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L78)*
|
||||
*Defined in [codec/UInt.ts:78](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L85)*
|
||||
*Defined in [codec/UInt.ts:85](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L85)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1634,7 +1634,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1678,7 +1678,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L104)*
|
||||
*Defined in [codec/UInt.ts:104](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L104)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1882,7 +1882,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/UInt.ts#L38)*
|
||||
*Defined in [codec/UInt.ts:38](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/UInt.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1977,7 +1977,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new H256</strong>(value?: <em><a href="../modules/_types_.md#anyu8a">AnyU8a</a></em>): <a href="_h256_.h256.html">H256</a></p>
|
||||
<p><em>Overrides <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#encodedlength">encodedLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36" target="_blank">codec/U8a.ts:36</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value when encoded as a Uint8Array</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2044,7 +2044,7 @@
|
||||
<p>getlength(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#length">length</a></em></p>
|
||||
<p><em>Overrides Uint8Array.length</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2060,7 +2060,7 @@
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <code>number</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8afixed_.u8afixed.html">U8aFixed</a>.<a href="_codec_u8afixed_.u8afixed.html#bitlength">bitLength</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39" target="_blank">codec/U8aFixed.ts:39</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the number of bits in the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2727,7 +2727,7 @@
|
||||
<p>▸ <strong>subarray</strong>(begin: <em><code>number</code></em>, end?: <em> <code>undefined</code> | <code>number</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#subarray">subarray</a></em></p>
|
||||
<p><em>Overrides Uint8Array.subarray</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53" target="_blank">codec/U8a.ts:53</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2758,7 +2758,7 @@
|
||||
<p>▸ <strong>toHex</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tohex">toHex</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tohex">toHex</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60" target="_blank">codec/U8a.ts:60</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2767,7 +2767,7 @@
|
||||
<p>▸ <strong>toJSON</strong>(): <code>any</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tojson">toJSON</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tojson">toJSON</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67" target="_blank">codec/U8a.ts:67</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2785,7 +2785,7 @@
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74" target="_blank">codec/U8a.ts:74</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2794,7 +2794,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82" target="_blank">codec/U8a.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2866,7 +2866,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.50","depth":1,"next":{"title":"hidden","level":"4.51","depth":1,"path":"types/classes/_h512_.h512.md","ref":"types/classes/_h512_.h512.md","articles":[]},"previous":{"title":"hidden","level":"4.49","depth":1,"path":"types/classes/_gas_.gas.md","ref":"types/classes/_gas_.gas.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_h256_.h256.md","mtime":"2018-12-10T11:01:38.620Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T11:02:16.661Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"hidden","level":"4.50","depth":1,"next":{"title":"hidden","level":"4.51","depth":1,"path":"types/classes/_h512_.h512.md","ref":"types/classes/_h512_.h512.md","articles":[]},"previous":{"title":"hidden","level":"4.49","depth":1,"path":"types/classes/_gas_.gas.md","ref":"types/classes/_gas_.gas.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"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},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":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":"types/classes/_h256_.h256.md","mtime":"2018-12-10T13:50:51.471Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-12-10T13:51:32.352Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/H256.ts#L15)*
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -691,7 +691,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -732,7 +732,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -783,7 +783,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/7be8d82/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/0c947a5/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user