[CI Skip] 0.38.14
This commit is contained in:
@@ -2003,7 +2003,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/1edf7a0/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/ed1ad05/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,7 +2028,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2037,7 +2037,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2046,7 +2046,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2055,7 +2055,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2087,7 +2087,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2096,7 +2096,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2105,7 +2105,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2113,7 +2113,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2139,7 +2139,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/1edf7a0/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/ed1ad05/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2200,7 +2200,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":"Upgrade via sudo","level":"3.1.8","depth":2,"path":"examples/promise/10_upgrade_chain/README.md","ref":"examples/promise/10_upgrade_chain/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":"2019-01-11T07:03:52.325Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"Upgrade via sudo","level":"3.1.8","depth":2,"path":"examples/promise/10_upgrade_chain/README.md","ref":"examples/promise/10_upgrade_chain/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":"2019-01-11T07:17:18.440Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/AccountId.ts#L19)*
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -68,7 +68,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,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/1edf7a0/packages/types/src/AccountId.ts#L46)*
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -161,7 +161,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/1edf7a0/packages/types/src/AccountId.ts#L53)*
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -176,7 +176,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -195,7 +195,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountId.ts#L27)*
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2000,7 +2000,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/1edf7a0/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/ed1ad05/packages/types/src/AccountIndex.ts#L29" target="_blank">AccountIndex.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2025,7 +2025,7 @@
|
||||
<h2 id="tobn">toBn</h2>
|
||||
<p>▸ <strong>toBn</strong>(): <code>BN</code></p>
|
||||
<p><em>Overrides AbstractInt.toBn</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2034,7 +2034,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2043,7 +2043,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 AbstractInt.toJSON</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2052,7 +2052,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 AbstractInt.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2061,7 +2061,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>, isStorageKey?: <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/1edf7a0/packages/types/src/AccountIndex.ts#L126" target="_blank">AccountIndex.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L126" target="_blank">AccountIndex.ts:126</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>
|
||||
@@ -2094,7 +2094,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/1edf7a0/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/ed1ad05/packages/types/src/AccountIndex.ts#L52" target="_blank">AccountIndex.ts:52</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2116,7 +2116,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/1edf7a0/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/ed1ad05/packages/types/src/AccountIndex.ts#L36" target="_blank">AccountIndex.ts:36</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2137,7 +2137,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/1edf7a0/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/ed1ad05/packages/types/src/AccountIndex.ts#L66" target="_blank">AccountIndex.ts:66</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2158,7 +2158,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/1edf7a0/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/ed1ad05/packages/types/src/AccountIndex.ts#L80" target="_blank">AccountIndex.ts:80</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2219,7 +2219,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":"2019-01-11T07:03:52.349Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:18.468Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/AccountIndex.ts#L29)*
|
||||
*Defined in [AccountIndex.ts:29](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toBn*
|
||||
|
||||
*Defined in [AccountIndex.ts:92](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L92)*
|
||||
*Defined in [AccountIndex.ts:92](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L92)*
|
||||
|
||||
*__description__*: Returns the BN representation of the AccountIndex
|
||||
|
||||
@@ -63,7 +63,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/1edf7a0/packages/types/src/AccountIndex.ts#L99)*
|
||||
*Defined in [AccountIndex.ts:99](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L99)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toJSON*
|
||||
|
||||
*Defined in [AccountIndex.ts:108](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L108)*
|
||||
*Defined in [AccountIndex.ts:108](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L108)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toString*
|
||||
|
||||
*Defined in [AccountIndex.ts:115](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L115)*
|
||||
*Defined in [AccountIndex.ts:115](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L115)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -114,7 +114,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [AccountIndex.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L126)*
|
||||
*Defined in [AccountIndex.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L126)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
▸ **calcLength**(_value: *`BN` | `number`*): `number`
|
||||
|
||||
*Defined in [AccountIndex.ts:52](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L52)*
|
||||
*Defined in [AccountIndex.ts:52](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
▸ **decodeAccountIndex**(value: *[AnyNumber](../modules/_types_.md#anynumber)*): `BN` | `Uint8Array` | `number` | `string`
|
||||
|
||||
*Defined in [AccountIndex.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L36)*
|
||||
*Defined in [AccountIndex.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
▸ **readLength**(input: *`Uint8Array`*): [`number`, `number`]
|
||||
|
||||
*Defined in [AccountIndex.ts:66](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L66)*
|
||||
*Defined in [AccountIndex.ts:66](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
▸ **writeLength**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountIndex.ts:80](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountIndex.ts#L80)*
|
||||
*Defined in [AccountIndex.ts:80](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountIndex.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1996,7 +1996,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/1edf7a0/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/ed1ad05/packages/types/src/Address.ts#L25" target="_blank">Address.ts:25</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2020,14 +2020,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2035,28 +2035,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2082,7 +2082,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/1edf7a0/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/ed1ad05/packages/types/src/Address.ts#L32" target="_blank">Address.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2143,7 +2143,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":"2019-01-11T07:03:52.377Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:18.492Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Address.ts#L25)*
|
||||
*Defined in [Address.ts:25](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L67)*
|
||||
*Defined in [Address.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L81)*
|
||||
*Defined in [Address.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L90)*
|
||||
*Defined in [Address.ts:90](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L97)*
|
||||
*Defined in [Address.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L104)*
|
||||
*Defined in [Address.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L112)*
|
||||
*Defined in [Address.ts:112](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Address.ts#L32)*
|
||||
*Defined in [Address.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Address.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [AttestedCandidate.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AttestedCandidate.ts#L74)*
|
||||
*Defined in [AttestedCandidate.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AttestedCandidate.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -66,7 +66,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -194,7 +194,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -61,7 +61,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -61,7 +61,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [AttestedCandidate.ts:30](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AttestedCandidate.ts#L30)*
|
||||
*Defined in [AttestedCandidate.ts:30](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AttestedCandidate.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -62,7 +62,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -211,7 +211,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/H512.ts#L14)*
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -68,7 +68,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -178,7 +178,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -61,7 +61,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/H512.ts#L14)*
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -64,7 +64,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -82,7 +82,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -123,7 +123,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -140,7 +140,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -174,7 +174,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -25,7 +25,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/1edf7a0/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1edf7a0/packages/types/src/Bytes.ts#L64)*
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -110,7 +110,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -163,7 +163,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/1edf7a0/packages/types/src/Bytes.ts#L72)*
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L72)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/H512.ts#L14)*
|
||||
*Defined in [H512.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -64,7 +64,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -82,7 +82,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -123,7 +123,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -140,7 +140,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -174,7 +174,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [AttestedCandidate.ts:54](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AttestedCandidate.ts#L54)*
|
||||
*Defined in [AttestedCandidate.ts:54](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AttestedCandidate.ts#L54)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L97)*
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -57,7 +57,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L104)*
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -72,7 +72,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -87,7 +87,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L118)*
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -102,7 +102,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:125](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L125)*
|
||||
*Defined in [codec/EnumType.ts:125](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L132)*
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L139)*
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L146)*
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L153)*
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L161)*
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -61,7 +61,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/AccountId.ts#L19" target="_blank">AccountId.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2027,7 +2027,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2036,7 +2036,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2045,7 +2045,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2054,7 +2054,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2086,7 +2086,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2096,7 +2096,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2106,7 +2106,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2114,7 +2114,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2141,7 +2141,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/1edf7a0/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/ed1ad05/packages/types/src/AccountId.ts#L27" target="_blank">AccountId.ts:27</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2202,7 +2202,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":"2019-01-11T07:03:52.777Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:18.913Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/AccountId.ts#L19)*
|
||||
*Defined in [AccountId.ts:19](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -84,7 +84,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -125,7 +125,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,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/1edf7a0/packages/types/src/AccountId.ts#L46)*
|
||||
*Defined in [AccountId.ts:46](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -163,7 +163,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/1edf7a0/packages/types/src/AccountId.ts#L53)*
|
||||
*Defined in [AccountId.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -178,7 +178,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
|
||||
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/AccountId.ts#L27)*
|
||||
*Defined in [AccountId.ts:27](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2001,7 +2001,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/1edf7a0/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/ed1ad05/packages/types/src/U128.ts#L14" target="_blank">U128.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,7 +2026,7 @@
|
||||
<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>Overrides AbstractInt.toHex</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</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>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></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>Overrides AbstractInt.toU8a</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</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>
|
||||
@@ -2101,7 +2101,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":"2019-01-11T07:03:52.789Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:18.925Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/U128.ts#L14)*
|
||||
*Defined in [U128.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/U128.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/Bft.ts#L20" target="_blank">Bft.ts:20</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,14 +2026,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/1edf7a0/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2041,14 +2041,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/1edf7a0/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2058,7 +2058,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/1edf7a0/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2089,7 +2089,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/1edf7a0/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</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>
|
||||
@@ -2121,7 +2121,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/1edf7a0/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</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>
|
||||
@@ -2130,7 +2130,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/1edf7a0/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</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>
|
||||
@@ -2139,7 +2139,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/1edf7a0/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</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>
|
||||
@@ -2149,7 +2149,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/1edf7a0/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</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>
|
||||
@@ -2157,7 +2157,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>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/1edf7a0/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</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>
|
||||
@@ -2184,7 +2184,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Types: <em><code>TupleConstructors</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></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/1edf7a0/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2245,7 +2245,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":"2019-01-11T07:03:52.833Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:18.965Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,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/1edf7a0/packages/types/src/Bft.ts#L20)*
|
||||
*Defined in [Bft.ts:20](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Defined in [Bft.ts:31](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Bft.ts#L31)*
|
||||
*Defined in [Bft.ts:31](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L31)*
|
||||
|
||||
*__description__*: The wrapped \[\[AuthoriyId\]\]
|
||||
|
||||
@@ -77,7 +77,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:38](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Bft.ts#L38)*
|
||||
*Defined in [Bft.ts:38](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L38)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md) value
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -248,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/Bft.ts#L51" target="_blank">Bft.ts:51</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,7 +2026,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/1edf7a0/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</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>
|
||||
@@ -2034,21 +2034,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/1edf7a0/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2058,7 +2058,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/1edf7a0/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2089,7 +2089,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/1edf7a0/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</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>
|
||||
@@ -2121,7 +2121,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/1edf7a0/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</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>
|
||||
@@ -2130,7 +2130,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/1edf7a0/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</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>
|
||||
@@ -2139,7 +2139,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/1edf7a0/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</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>
|
||||
@@ -2149,7 +2149,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/1edf7a0/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</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>
|
||||
@@ -2157,7 +2157,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>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/1edf7a0/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</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>
|
||||
@@ -2184,7 +2184,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Types: <em><code>TupleConstructors</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></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/1edf7a0/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2245,7 +2245,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":"2019-01-11T07:03:52.869Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.013Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,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/1edf7a0/packages/types/src/Bft.ts#L51)*
|
||||
*Defined in [Bft.ts:51](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -64,7 +64,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:62](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Bft.ts#L62)*
|
||||
*Defined in [Bft.ts:62](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L62)*
|
||||
|
||||
*__description__*: The wrapped [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Bft.ts#L69)*
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bft.ts#L69)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -248,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/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/ed1ad05/packages/types/src/Block.ts#L24" target="_blank">Block.ts:24</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2029,14 +2029,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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="contenthash"></a></p>
|
||||
<h2 id="contenthash">contentHash</h2>
|
||||
<p>getcontentHash(): <a href="_hash_.hash.html">Hash</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/packages/types/src/Block.ts#L35" target="_blank">Block.ts:35</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes a content <a href="_hash_.hash.html">Hash</a> for the block</p>
|
||||
<p><strong>Returns:</strong> <a href="_hash_.hash.html">Hash</a></p>
|
||||
<hr>
|
||||
@@ -2044,28 +2044,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/1edf7a0/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</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/1edf7a0/packages/types/src/Block.ts#L44" target="_blank">Block.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L44" target="_blank">Block.ts:44</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_extrinsics_.extrinsics.html">Extrinsics</a> contained 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/1edf7a0/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/ed1ad05/packages/types/src/Block.ts#L51" target="_blank">Block.ts:51</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Block/header <a href="_hash_.hash.html">Hash</a></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/1edf7a0/packages/types/src/Block.ts#L58" target="_blank">Block.ts:58</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L58" target="_blank">Block.ts:58</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_header_.header.html">Header</a> of the block</p>
|
||||
<p><strong>Returns:</strong> <a href="_header_.header.html">Header</a></p>
|
||||
<hr>
|
||||
@@ -2075,7 +2075,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2100,7 +2100,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2123,7 +2123,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2132,7 +2132,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2141,7 +2141,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2150,7 +2150,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2158,7 +2158,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>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/1edf7a0/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</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>
|
||||
@@ -2185,7 +2185,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2248,7 +2248,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":"2019-01-11T07:03:52.921Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.065Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Block.ts#L24)*
|
||||
*Defined in [Block.ts:24](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getcontentHash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Block.ts:35](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Block.ts#L35)*
|
||||
*Defined in [Block.ts:35](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L35)*
|
||||
|
||||
*__description__*: Encodes a content [Hash](_hash_.hash.md) for the block
|
||||
|
||||
@@ -79,7 +79,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
*Defined in [Block.ts:44](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Block.ts#L44)*
|
||||
*Defined in [Block.ts:44](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L44)*
|
||||
|
||||
*__description__*: The [Extrinsics](_extrinsics_.extrinsics.md) contained in the block
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Block.ts:51](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Block.ts#L51)*
|
||||
*Defined in [Block.ts:51](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L51)*
|
||||
|
||||
*__description__*: Block/header [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getheader(): [Header](_header_.header.md)
|
||||
|
||||
*Defined in [Block.ts:58](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Block.ts#L58)*
|
||||
*Defined in [Block.ts:58](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Block.ts#L58)*
|
||||
|
||||
*__description__*: The [Header](_header_.header.md) of the block
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -214,7 +214,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -231,7 +231,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -267,7 +267,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2001,7 +2001,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/1edf7a0/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/ed1ad05/packages/types/src/U64.ts#L14" target="_blank">U64.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,7 +2026,7 @@
|
||||
<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>Overrides AbstractInt.toHex</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</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>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></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>Overrides AbstractInt.toU8a</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</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>
|
||||
@@ -2101,7 +2101,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":"2019-01-11T07:03:52.933Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.077Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/U64.ts#L14)*
|
||||
*Defined in [U64.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/U64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1999,7 +1999,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/1edf7a0/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/ed1ad05/packages/types/src/Bool.ts#L15" target="_blank">Bool.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2033,7 +2033,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2042,7 +2042,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2050,7 +2050,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2058,14 +2058,14 @@
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2131,7 +2131,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":"2019-01-11T07:03:52.953Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.101Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Bool.ts#L15)*
|
||||
*Defined in [Bool.ts:15](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Bool.ts#L35)*
|
||||
*Defined in [Bool.ts:35](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Bool.ts#L42)*
|
||||
*Defined in [Bool.ts:42](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Bool.ts#L49)*
|
||||
*Defined in [Bool.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Bool.ts#L56)*
|
||||
*Defined in [Bool.ts:56](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bool.ts#L56)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [Bool.ts:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Bool.ts#L64)*
|
||||
*Defined in [Bool.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bool.ts#L64)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2007,7 +2007,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/1edf7a0/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/ed1ad05/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2030,7 +2030,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2039,7 +2039,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2049,7 +2049,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2081,7 +2081,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2090,7 +2090,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2100,7 +2100,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2108,7 +2108,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2174,7 +2174,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":"2019-01-11T07:03:52.981Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.129Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -37,7 +37,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/1edf7a0/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,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/1edf7a0/packages/types/src/Bytes.ts#L64)*
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -76,7 +76,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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 @@ ___
|
||||
|
||||
*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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -137,7 +137,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -171,7 +171,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/1edf7a0/packages/types/src/Bytes.ts#L72)*
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L72)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -1999,7 +1999,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ChainProperties</strong>(value?: <em><code>object</code> | <code>null</code></em>): <a href="_chainproperties_.chainproperties.html">ChainProperties</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/packages/types/src/ChainProperties.ts#L17" target="_blank">ChainProperties.ts:17</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,7 +2028,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/1edf7a0/packages/types/src/ChainProperties.ts#L29" target="_blank">ChainProperties.ts:29</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L29" target="_blank">ChainProperties.ts:29</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>
|
||||
@@ -2037,7 +2037,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/1edf7a0/packages/types/src/ChainProperties.ts#L37" target="_blank">ChainProperties.ts:37</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L37" target="_blank">ChainProperties.ts:37</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2062,7 +2062,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/1edf7a0/packages/types/src/ChainProperties.ts#L44" target="_blank">ChainProperties.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L44" target="_blank">ChainProperties.ts:44</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Unimplemented, will throw</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2070,7 +2070,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/1edf7a0/packages/types/src/ChainProperties.ts#L51" target="_blank">ChainProperties.ts:51</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L51" target="_blank">ChainProperties.ts:51</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>
|
||||
@@ -2078,14 +2078,14 @@
|
||||
<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/1edf7a0/packages/types/src/ChainProperties.ts#L62" target="_blank">ChainProperties.ts:62</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L62" target="_blank">ChainProperties.ts:62</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/1edf7a0/packages/types/src/ChainProperties.ts#L69" target="_blank">ChainProperties.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L69" target="_blank">ChainProperties.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Unimplemented, will throw</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2149,7 +2149,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":"2019-01-11T07:03:53.009Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.145Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
⊕ **new ChainProperties**(value?: *`object` | `null`*): [ChainProperties](_chainproperties_.chainproperties.md)
|
||||
|
||||
*Defined in [ChainProperties.ts:17](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L17)*
|
||||
*Defined in [ChainProperties.ts:17](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [ChainProperties.ts:29](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L29)*
|
||||
*Defined in [ChainProperties.ts:29](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L29)*
|
||||
|
||||
*__description__*: Always 0, never encodes as a Uint8Array
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [ChainProperties.ts:37](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L37)*
|
||||
*Defined in [ChainProperties.ts:37](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L37)*
|
||||
|
||||
*__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:44](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L44)*
|
||||
*Defined in [ChainProperties.ts:44](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L44)*
|
||||
|
||||
*__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:51](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L51)*
|
||||
*Defined in [ChainProperties.ts:51](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L51)*
|
||||
|
||||
*__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:62](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L62)*
|
||||
*Defined in [ChainProperties.ts:62](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L62)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [ChainProperties.ts:69](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ChainProperties.ts#L69)*
|
||||
*Defined in [ChainProperties.ts:69](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ChainProperties.ts#L69)*
|
||||
|
||||
*__description__*: Unimplemented, will throw
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Base.ts#L10" target="_blank">codec/Base.ts:10</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2063,7 +2063,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":"2019-01-11T07:03:56.229Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.386Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/Base.ts#L10)*
|
||||
*Defined in [codec/Base.ts:10](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Base.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2001,7 +2001,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="_codec_compact_.compact.html">Compact</a> | <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/1edf7a0/packages/types/src/codec/Compact.ts#L23" target="_blank">codec/Compact.ts:23</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L23" target="_blank">codec/Compact.ts:23</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2032,25 +2032,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Compact.ts#L41" target="_blank">codec/Compact.ts:41</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/1edf7a0/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/ed1ad05/packages/types/src/codec/Compact.ts#L42" target="_blank">codec/Compact.ts:42</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/1edf7a0/packages/types/src/codec/Compact.ts#L43" target="_blank">codec/Compact.ts:43</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L43" target="_blank">codec/Compact.ts:43</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/1edf7a0/packages/types/src/codec/Compact.ts#L72" target="_blank">codec/Compact.ts:72</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L72" target="_blank">codec/Compact.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>
|
||||
@@ -2058,14 +2058,14 @@
|
||||
<p><a id="bitlength"></a></p>
|
||||
<h2 id="bitlength">bitLength</h2>
|
||||
<p>▸ <strong>bitLength</strong>(): <a href="../modules/_codec_abstractint_.md#uintbitlength">UIntBitLength</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L79" target="_blank">codec/Compact.ts:79</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L79" target="_blank">codec/Compact.ts:79</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_abstractint_.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/1edf7a0/packages/types/src/codec/Compact.ts#L86" target="_blank">codec/Compact.ts:86</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L86" target="_blank">codec/Compact.ts:86</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>
|
||||
@@ -2073,7 +2073,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/1edf7a0/packages/types/src/codec/Compact.ts#L93" target="_blank">codec/Compact.ts:93</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L93" target="_blank">codec/Compact.ts:93</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>
|
||||
@@ -2081,14 +2081,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/1edf7a0/packages/types/src/codec/Compact.ts#L100" target="_blank">codec/Compact.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L100" target="_blank">codec/Compact.ts:100</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/1edf7a0/packages/types/src/codec/Compact.ts#L107" target="_blank">codec/Compact.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L107" target="_blank">codec/Compact.ts:107</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>
|
||||
@@ -2096,14 +2096,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/Compact.ts#L114" target="_blank">codec/Compact.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L114" target="_blank">codec/Compact.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>
|
||||
<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/1edf7a0/packages/types/src/codec/Compact.ts#L122" target="_blank">codec/Compact.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L122" target="_blank">codec/Compact.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>
|
||||
@@ -2129,7 +2129,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="_codec_compact_.compact.html">Compact</a> | <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/1edf7a0/packages/types/src/codec/Compact.ts#L51" target="_blank">codec/Compact.ts:51</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L51" target="_blank">codec/Compact.ts:51</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2156,7 +2156,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_abstractint_.md#uintbitlength">UIntBitLength</a></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L45" target="_blank">codec/Compact.ts:45</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L45" target="_blank">codec/Compact.ts:45</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2184,7 +2184,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/1edf7a0/packages/types/src/codec/Compact.ts#L28" target="_blank">codec/Compact.ts:28</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L28" target="_blank">codec/Compact.ts:28</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2246,7 +2246,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":"2019-01-11T07:03:56.249Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.418Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Compact.ts:23](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L23)*
|
||||
*Defined in [codec/Compact.ts:23](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
**● addLengthPrefix**: *`compactAddLength`* = compactAddLength
|
||||
|
||||
*Defined in [codec/Compact.ts:41](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L41)*
|
||||
*Defined in [codec/Compact.ts:41](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L41)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
*__param__*: The Uint8Array to be prefixed
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
**● decodeU8a**: *`compactFromU8a`* = compactFromU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="encodeu8a"></a>
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
**● encodeU8a**: *`compactToU8a`* = compactToU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L43)*
|
||||
*Defined in [codec/Compact.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L43)*
|
||||
|
||||
___
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:72](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L72)*
|
||||
*Defined in [codec/Compact.ts:72](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): [UIntBitLength](../modules/_codec_abstractint_.md#uintbitlength)
|
||||
|
||||
*Defined in [codec/Compact.ts:79](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L79)*
|
||||
*Defined in [codec/Compact.ts:79](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L79)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Compact.ts:93](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L93)*
|
||||
*Defined in [codec/Compact.ts:93](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L93)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:107](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L107)*
|
||||
*Defined in [codec/Compact.ts:107](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L107)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Compact.ts:114](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L114)*
|
||||
*Defined in [codec/Compact.ts:114](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L122)*
|
||||
*Defined in [codec/Compact.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L122)*
|
||||
|
||||
*__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: *[Compact](_codec_compact_.compact.md) | [AnyNumber](../modules/_types_.md#anynumber)*): [Moment](_moment_.moment.md) | [UInt](_codec_uint_.uint.md)
|
||||
|
||||
*Defined in [codec/Compact.ts:51](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L51)*
|
||||
*Defined in [codec/Compact.ts:51](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
▸ **stripLengthPrefix**(u8a: *`Uint8Array`*, bitLength?: *[UIntBitLength](../modules/_codec_abstractint_.md#uintbitlength)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:45](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L45)*
|
||||
*Defined in [codec/Compact.ts:45](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L45)*
|
||||
|
||||
**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:28](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Compact.ts#L28)*
|
||||
*Defined in [codec/Compact.ts:28](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Compact.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2003,7 +2003,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>string</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/1edf7a0/packages/types/src/codec/Enum.ts#L29" target="_blank">codec/Enum.ts:29</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L29" target="_blank">codec/Enum.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2035,7 +2035,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/1edf7a0/packages/types/src/codec/Enum.ts#L64" target="_blank">codec/Enum.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L64" target="_blank">codec/Enum.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>
|
||||
@@ -2044,7 +2044,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/1edf7a0/packages/types/src/codec/Enum.ts#L71" target="_blank">codec/Enum.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L71" target="_blank">codec/Enum.ts:71</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,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/1edf7a0/packages/types/src/codec/Enum.ts#L78" target="_blank">codec/Enum.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L78" target="_blank">codec/Enum.ts:78</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/1edf7a0/packages/types/src/codec/Enum.ts#L85" target="_blank">codec/Enum.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L85" target="_blank">codec/Enum.ts:85</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,14 +2067,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/Enum.ts#L92" target="_blank">codec/Enum.ts:92</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L92" target="_blank">codec/Enum.ts:92</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/1edf7a0/packages/types/src/codec/Enum.ts#L100" target="_blank">codec/Enum.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L100" target="_blank">codec/Enum.ts:100</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 @@
|
||||
<p><a id="decodeenum"></a></p>
|
||||
<h2 id="static-decodeenum"><code><Static></code> decodeEnum</h2>
|
||||
<p>▸ <strong>decodeEnum</strong>(def: <em><code>EnumDef</code></em>, value: <em><a href="_codec_enum_.enum.html">Enum</a> | <code>Uint8Array</code> | <code>string</code> | <code>number</code></em>): <code>number</code> | <code>undefined</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L47" target="_blank">codec/Enum.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L47" target="_blank">codec/Enum.ts:47</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2168,7 +2168,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":"2019-01-11T07:03:56.269Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.438Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:29](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L29)*
|
||||
*Defined in [codec/Enum.ts:29](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L64)*
|
||||
*Defined in [codec/Enum.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L64)*
|
||||
|
||||
*__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:71](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
*__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:78](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L78)*
|
||||
*Defined in [codec/Enum.ts:78](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L78)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:85](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L85)*
|
||||
*Defined in [codec/Enum.ts:85](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L85)*
|
||||
|
||||
*__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:92](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L92)*
|
||||
*Defined in [codec/Enum.ts:92](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L92)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Enum.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L100)*
|
||||
*Defined in [codec/Enum.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L100)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
▸ **decodeEnum**(def: *`EnumDef`*, value: *[Enum](_codec_enum_.enum.md) | `Uint8Array` | `string` | `number`*): `number` | `undefined`
|
||||
|
||||
*Defined in [codec/Enum.ts:47](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Enum.ts#L47)*
|
||||
*Defined in [codec/Enum.ts:47](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Enum.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2008,7 +2008,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/1edf7a0/packages/types/src/codec/EnumType.ts#L32" target="_blank">codec/EnumType.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L32" target="_blank">codec/EnumType.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2039,35 +2039,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/1edf7a0/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</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/1edf7a0/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</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/1edf7a0/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</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/1edf7a0/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</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/1edf7a0/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</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>
|
||||
@@ -2076,7 +2076,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/1edf7a0/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</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>
|
||||
@@ -2084,14 +2084,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/1edf7a0/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</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/1edf7a0/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</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>
|
||||
@@ -2099,14 +2099,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</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/1edf7a0/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</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>
|
||||
@@ -2172,7 +2172,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":"2019-01-11T07:03:56.297Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.466Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L32)*
|
||||
*Defined in [codec/EnumType.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L97)*
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -73,7 +73,7 @@ ___
|
||||
|
||||
getisNone(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L104)*
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
getisNull(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
gettype(): `string`
|
||||
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L118)*
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/EnumType.ts:125](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L125)*
|
||||
*Defined in [codec/EnumType.ts:125](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L132)*
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L139)*
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L146)*
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L153)*
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L161)*
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
*Overrides AbstractInt.__constructor*
|
||||
|
||||
*Defined in [codec/Int.ts:21](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Int.ts#L21)*
|
||||
*Defined in [codec/Int.ts:21](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Int.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Option.ts#L19" target="_blank">codec/Option.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,28 +2028,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2058,7 +2058,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2066,7 +2066,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2074,14 +2074,14 @@
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2107,14 +2107,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2141,7 +2141,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2204,7 +2204,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":"2019-01-11T07:03:56.329Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.506Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/Option.ts#L19)*
|
||||
*Defined in [codec/Option.ts:19](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L52)*
|
||||
*Defined in [codec/Option.ts:52](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L60)*
|
||||
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L67)*
|
||||
*Defined in [codec/Option.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L74)*
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L81)*
|
||||
*Defined in [codec/Option.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L88)*
|
||||
*Defined in [codec/Option.ts:88](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Option.ts#L95)*
|
||||
*Defined in [codec/Option.ts:95](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Option.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Option.ts:103](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Option.ts#L103)*
|
||||
*Defined in [codec/Option.ts:103](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Option.ts#L103)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -166,7 +166,7 @@ ___
|
||||
|
||||
▸ **unwrap**(): `T`
|
||||
|
||||
*Defined in [codec/Option.ts:121](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Option.ts#L121)*
|
||||
*Defined in [codec/Option.ts:121](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Option.ts#L121)*
|
||||
|
||||
*__description__*: Returns the value that the Option represents (if available)
|
||||
|
||||
@@ -179,7 +179,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/1edf7a0/packages/types/src/codec/Option.ts#L26)*
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Option.ts#L26)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -200,7 +200,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/1edf7a0/packages/types/src/codec/Option.ts#L41)*
|
||||
*Defined in [codec/Option.ts:41](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Option.ts#L41)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2000,7 +2000,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Set.ts#L22" target="_blank">codec/Set.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,28 +2028,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2058,7 +2058,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2066,7 +2066,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2074,14 +2074,14 @@
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2107,7 +2107,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Set.ts#L32" target="_blank">codec/Set.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2137,7 +2137,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Set.ts#L63" target="_blank">codec/Set.ts:63</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2202,7 +2202,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":"2019-01-11T07:03:56.349Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.530Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/Set.ts#L22)*
|
||||
*Defined in [codec/Set.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L72)*
|
||||
*Defined in [codec/Set.ts:72](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L79)*
|
||||
*Defined in [codec/Set.ts:79](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L93)*
|
||||
*Defined in [codec/Set.ts:93](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L86)*
|
||||
*Defined in [codec/Set.ts:86](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L100)*
|
||||
*Defined in [codec/Set.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L107)*
|
||||
*Defined in [codec/Set.ts:107](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/Set.ts#L114)*
|
||||
*Defined in [codec/Set.ts:114](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Set.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Set.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Set.ts#L122)*
|
||||
*Defined in [codec/Set.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Set.ts#L122)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
▸ **decodeSet**(setValues: *`SetValues`*, value?: *`Array`<`string`> | `Uint8Array` | `number`*): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Set.ts:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Set.ts#L32)*
|
||||
*Defined in [codec/Set.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Set.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -182,7 +182,7 @@ ___
|
||||
|
||||
▸ **encodeSet**(setValues: *`SetValues`*, value: *`Array`<`string`>*): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:63](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Set.ts#L63)*
|
||||
*Defined in [codec/Set.ts:63](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Set.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2040,7 +2040,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>Map</code><<code>any</code>, <code>any</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/1edf7a0/packages/types/src/codec/Struct.ts#L31" target="_blank">codec/Struct.ts:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L31" target="_blank">codec/Struct.ts:31</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2082,14 +2082,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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/1edf7a0/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</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>
|
||||
@@ -2098,7 +2098,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2122,7 +2122,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2144,7 +2144,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2152,7 +2152,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2160,7 +2160,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2168,14 +2168,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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/1edf7a0/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</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>
|
||||
@@ -2201,7 +2201,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2264,7 +2264,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":"2019-01-11T07:03:56.381Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.558Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
⊕ **new Struct**(Types: *`S`*, value?: *`V` | `Map`<`any`, `any`> | `Array`<`any`>*, jsonMap?: *`Map`<`keyof S`, `string`>*): [Struct](_codec_struct_.struct.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:31](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L31)*
|
||||
*Defined in [codec/Struct.ts:31](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -133,7 +133,7 @@ ___
|
||||
|
||||
getType(): `E`
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
▸ **getAtIndex**(index: *`number`*): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -247,7 +247,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -260,7 +260,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -279,7 +279,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): [Constructor](../modules/_types_.md#constructor)<[Struct](_codec_struct_.struct.md)<`S`>>
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2014,7 +2014,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Tuple</strong>(Types: <em><code>TupleConstructors</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/1edf7a0/packages/types/src/codec/Tuple.ts#L22" target="_blank">codec/Tuple.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22" target="_blank">codec/Tuple.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2046,14 +2046,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/1edf7a0/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</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/1edf7a0/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</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>
|
||||
@@ -2062,7 +2062,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/1edf7a0/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2092,7 +2092,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/1edf7a0/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</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>
|
||||
@@ -2123,7 +2123,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/1edf7a0/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</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>
|
||||
@@ -2131,7 +2131,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/1edf7a0/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</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>
|
||||
@@ -2139,7 +2139,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/1edf7a0/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</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>
|
||||
@@ -2148,14 +2148,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</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/1edf7a0/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</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>
|
||||
@@ -2181,7 +2181,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Types: <em><code>TupleConstructors</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2242,7 +2242,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":"2019-01-11T07:03:56.409Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.595Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
⊕ **new Tuple**(Types: *`TupleConstructors`*, value: *`any`*): [Tuple](_codec_tuple_.tuple.md)
|
||||
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getTypes(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -137,7 +137,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -220,7 +220,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -239,7 +239,7 @@ ___
|
||||
|
||||
▸ **with**(Types: *`TupleConstructors`*): [Constructor](../modules/_types_.md#constructor)<[Tuple](_codec_tuple_.tuple.md)>
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -1992,13 +1992,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/1edf7a0/packages/types/src/codec/typeRegistry.ts#L16" target="_blank">codec/typeRegistry.ts:16</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L16" target="_blank">codec/typeRegistry.ts:16</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/1edf7a0/packages/types/src/codec/typeRegistry.ts#L51" target="_blank">codec/typeRegistry.ts:51</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L51" target="_blank">codec/typeRegistry.ts:51</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2020,7 +2020,7 @@
|
||||
<h2 id="register">register</h2>
|
||||
<p>▸ <strong>register</strong>(type: <em><a href="../modules/_types_.md#constructor">Constructor</a> | <code>ConstructorObj</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/1edf7a0/packages/types/src/codec/typeRegistry.ts#L20" target="_blank">codec/typeRegistry.ts:20</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L20" target="_blank">codec/typeRegistry.ts:20</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2038,7 +2038,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/typeRegistry.ts#L21" target="_blank">codec/typeRegistry.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L21" target="_blank">codec/typeRegistry.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2103,7 +2103,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":"2019-01-11T07:03:56.497Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.687Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
**● defaultRegistry**: *[TypeRegistry](_codec_typeregistry_.typeregistry.md)* = new TypeRegistry()
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:16](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/typeRegistry.ts#L16)*
|
||||
*Defined in [codec/typeRegistry.ts:16](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L16)*
|
||||
|
||||
___
|
||||
|
||||
@@ -24,7 +24,7 @@ ___
|
||||
|
||||
▸ **get**(name: *`string`*): [Constructor](../modules/_types_.md#constructor) | `undefined`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:51](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/typeRegistry.ts#L51)*
|
||||
*Defined in [codec/typeRegistry.ts:51](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
▸ **register**(name: *`string`*, type: *[Constructor](../modules/_types_.md#constructor)*): `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:20](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/typeRegistry.ts#L20)*
|
||||
*Defined in [codec/typeRegistry.ts:20](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:21](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/typeRegistry.ts#L21)*
|
||||
*Defined in [codec/typeRegistry.ts:21](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/typeRegistry.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/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/ed1ad05/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2033,7 +2033,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2041,7 +2041,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2050,7 +2050,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2081,7 +2081,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2089,7 +2089,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2098,14 +2098,14 @@
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
<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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2171,7 +2171,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":"2019-01-11T07:03:56.425Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.615Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2008,7 +2008,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/1edf7a0/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/ed1ad05/packages/types/src/codec/U8aFixed.ts#L19" target="_blank">codec/U8aFixed.ts:19</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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2055,7 +2055,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2064,7 +2064,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2096,7 +2096,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2105,7 +2105,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2115,7 +2115,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2123,7 +2123,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2189,7 +2189,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":"2019-01-11T07:03:56.449Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.639Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
*Defined in [codec/U8aFixed.ts:19](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -79,7 +79,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): `number`
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -136,7 +136,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -153,7 +153,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -172,7 +172,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -187,7 +187,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2006,7 +2006,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_abstractint_.md#uintbitlength">UIntBitLength</a></em>, isHexJson?: <em><code>boolean</code></em>): <a href="_codec_uint_.uint.html">UInt</a></p>
|
||||
<p><em>Overrides AbstractInt.__constructor</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L21" target="_blank">codec/UInt.ts:21</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L21" target="_blank">codec/UInt.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2042,7 +2042,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 AbstractInt.toHex</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</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>
|
||||
@@ -2050,7 +2050,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>Overrides AbstractInt.toU8a</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</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>
|
||||
@@ -2116,7 +2116,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":"2019-01-11T07:03:56.469Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.647Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
*Overrides AbstractInt.__constructor*
|
||||
|
||||
*Defined in [codec/UInt.ts:21](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L21)*
|
||||
*Defined in [codec/UInt.ts:21](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2006,7 +2006,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/1edf7a0/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2044,13 +2044,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</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/1edf7a0/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.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>
|
||||
@@ -2058,7 +2058,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/1edf7a0/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2067,7 +2067,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/1edf7a0/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2097,7 +2097,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/1edf7a0/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</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>
|
||||
@@ -2128,7 +2128,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</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>
|
||||
@@ -2136,7 +2136,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/1edf7a0/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</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>
|
||||
@@ -2144,7 +2144,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/1edf7a0/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</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>
|
||||
@@ -2153,14 +2153,14 @@
|
||||
<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/1edf7a0/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.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/1edf7a0/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</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>
|
||||
@@ -2186,7 +2186,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/1edf7a0/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</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>
|
||||
@@ -2216,7 +2216,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/1edf7a0/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</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>
|
||||
@@ -2279,7 +2279,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":"2019-01-11T07:03:56.493Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:22.683Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L22)*
|
||||
*Defined in [codec/Vector.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L64)*
|
||||
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64)*
|
||||
|
||||
*__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:73](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L73)*
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L139)*
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L148)*
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -155,7 +155,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__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:88](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
*__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:95](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L95)*
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L104)*
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: *`undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L117)*
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -234,7 +234,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:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L32)*
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -255,7 +255,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:49](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L49)*
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2025,7 +2025,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2034,7 +2034,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2044,7 +2044,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2076,7 +2076,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2085,7 +2085,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2095,7 +2095,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2103,7 +2103,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2169,7 +2169,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":"2019-01-11T07:03:53.033Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.173Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -110,7 +110,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -161,7 +161,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2004,7 +2004,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/1edf7a0/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2037,14 +2037,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</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/1edf7a0/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.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>
|
||||
@@ -2053,7 +2053,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/1edf7a0/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2063,7 +2063,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/1edf7a0/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2094,7 +2094,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/1edf7a0/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</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>
|
||||
@@ -2126,7 +2126,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</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>
|
||||
@@ -2135,7 +2135,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/1edf7a0/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</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>
|
||||
@@ -2144,7 +2144,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/1edf7a0/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</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>
|
||||
@@ -2154,7 +2154,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/1edf7a0/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.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>
|
||||
@@ -2162,7 +2162,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>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/1edf7a0/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</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>
|
||||
@@ -2189,7 +2189,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/1edf7a0/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</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>
|
||||
@@ -2220,7 +2220,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/1edf7a0/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</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>
|
||||
@@ -2283,7 +2283,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":"2019-01-11T07:03:53.065Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.217Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L22)*
|
||||
*Defined in [codec/Vector.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22)*
|
||||
|
||||
**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:57](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**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:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L64)*
|
||||
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64)*
|
||||
|
||||
*__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:73](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L73)*
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L139)*
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L148)*
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L95)*
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -204,7 +204,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L104)*
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L117)*
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -240,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L32)*
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -263,7 +263,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L49)*
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2003,7 +2003,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/1edf7a0/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/ed1ad05/packages/types/src/H256.ts#L15" target="_blank">H256.ts:15</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,7 +2026,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2035,7 +2035,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2044,7 +2044,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2053,7 +2053,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2085,7 +2085,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2094,7 +2094,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2104,7 +2104,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2112,7 +2112,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2178,7 +2178,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":"2019-01-11T07:03:53.101Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.241Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/H256.ts#L15)*
|
||||
*Defined in [H256.ts:15](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -68,7 +68,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -144,7 +144,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -178,7 +178,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/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/ed1ad05/packages/types/src/Digest.ts#L89" target="_blank">Digest.ts:89</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,7 +2028,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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>
|
||||
@@ -2036,14 +2036,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/1edf7a0/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2053,7 +2053,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2078,7 +2078,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2101,7 +2101,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2110,7 +2110,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2119,7 +2119,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2128,7 +2128,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2136,7 +2136,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>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/1edf7a0/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</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>
|
||||
@@ -2163,7 +2163,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2226,7 +2226,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":"2019-01-11T07:03:53.129Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.273Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Digest.ts#L89)*
|
||||
*Defined in [Digest.ts:89](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Digest.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -66,7 +66,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
getlogs(): [Vector](_codec_vector_.vector.md)<[DigestItem](_digest_.digestitem.md)>
|
||||
|
||||
*Defined in [Digest.ts:99](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Digest.ts#L99)*
|
||||
*Defined in [Digest.ts:99](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Digest.ts#L99)*
|
||||
|
||||
*__description__*: The [DigestItem](_digest_.digestitem.md) logs
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -228,7 +228,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2000,7 +2000,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/1edf7a0/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/ed1ad05/packages/types/src/Digest.ts#L73" target="_blank">Digest.ts:73</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2023,7 +2023,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/1edf7a0/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</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>
|
||||
@@ -2031,7 +2031,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/1edf7a0/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</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>
|
||||
@@ -2039,7 +2039,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/1edf7a0/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</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>
|
||||
@@ -2047,7 +2047,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/1edf7a0/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</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>
|
||||
@@ -2055,7 +2055,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/1edf7a0/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</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>
|
||||
@@ -2065,7 +2065,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/1edf7a0/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</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>
|
||||
@@ -2074,7 +2074,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/1edf7a0/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</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>
|
||||
@@ -2082,7 +2082,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/1edf7a0/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</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>
|
||||
@@ -2091,7 +2091,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/1edf7a0/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</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>
|
||||
@@ -2099,7 +2099,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>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/1edf7a0/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</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>
|
||||
@@ -2165,7 +2165,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":"2019-01-11T07:03:53.157Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.309Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Digest.ts#L73)*
|
||||
*Defined in [Digest.ts:73](https://github.com/polkadot-js/api/blob/ed1ad05/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:97](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L97)*
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97)*
|
||||
|
||||
*__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:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L104)*
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104)*
|
||||
|
||||
*__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:111](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
*__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:118](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L118)*
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118)*
|
||||
|
||||
*__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:125](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L125)*
|
||||
*Defined in [codec/EnumType.ts:125](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125)*
|
||||
|
||||
*__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:132](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L132)*
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132)*
|
||||
|
||||
*__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:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L139)*
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139)*
|
||||
|
||||
*__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:146](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L146)*
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146)*
|
||||
|
||||
*__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:153](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L153)*
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L161)*
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2003,7 +2003,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/1edf7a0/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/ed1ad05/packages/types/src/Bytes.ts#L18" target="_blank">Bytes.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2027,7 +2027,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2036,7 +2036,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2046,7 +2046,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2078,7 +2078,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2087,7 +2087,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2097,7 +2097,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2106,7 +2106,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2172,7 +2172,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":"2019-01-11T07:03:53.189Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.333Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -53,7 +53,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/1edf7a0/packages/types/src/Bytes.ts#L64)*
|
||||
*Defined in [Bytes.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -70,7 +70,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -114,7 +114,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -131,7 +131,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -167,7 +167,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/1edf7a0/packages/types/src/Bytes.ts#L72)*
|
||||
*Defined in [Bytes.ts:72](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Bytes.ts#L72)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/Digest.ts#L44" target="_blank">Digest.ts:44</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2025,7 +2025,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/1edf7a0/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</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>
|
||||
@@ -2033,21 +2033,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/1edf7a0/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2057,7 +2057,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/1edf7a0/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2088,7 +2088,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/1edf7a0/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</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>
|
||||
@@ -2120,7 +2120,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/1edf7a0/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</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>
|
||||
@@ -2129,7 +2129,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/1edf7a0/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</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>
|
||||
@@ -2138,7 +2138,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/1edf7a0/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</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>
|
||||
@@ -2148,7 +2148,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/1edf7a0/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</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>
|
||||
@@ -2156,7 +2156,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>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/1edf7a0/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</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>
|
||||
@@ -2183,7 +2183,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Types: <em><code>TupleConstructors</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></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/1edf7a0/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2244,7 +2244,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":"2019-01-11T07:03:53.225Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.377Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,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/1edf7a0/packages/types/src/Digest.ts#L44)*
|
||||
*Defined in [Digest.ts:44](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Digest.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -64,7 +64,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Digest.ts:55](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Digest.ts#L55)*
|
||||
*Defined in [Digest.ts:55](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Digest.ts#L55)*
|
||||
|
||||
*__description__*: The wrapped [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getslot(): [U64](_u64_.u64.md)
|
||||
|
||||
*Defined in [Digest.ts:62](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Digest.ts#L62)*
|
||||
*Defined in [Digest.ts:62](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Digest.ts#L62)*
|
||||
|
||||
*__description__*: The wrapped [U64](_u64_.u64.md) slot
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -248,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2005,7 +2005,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Event</strong>(<em>value?: *[Uint8Array](_codec_u8a</em>.u8a.md#uint8array)*): <a href="_event_.event.html">Event</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/1edf7a0/packages/types/src/Event.ts#L86" target="_blank">Event.ts:86</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L86" target="_blank">Event.ts:86</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,14 +2028,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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/1edf7a0/packages/types/src/Event.ts#L144" target="_blank">Event.ts:144</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L144" target="_blank">Event.ts:144</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>
|
||||
@@ -2043,42 +2043,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/1edf7a0/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</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/1edf7a0/packages/types/src/Event.ts#L151" target="_blank">Event.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L151" target="_blank">Event.ts:151</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/1edf7a0/packages/types/src/Event.ts#L158" target="_blank">Event.ts:158</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L158" target="_blank">Event.ts:158</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/1edf7a0/packages/types/src/Event.ts#L165" target="_blank">Event.ts:165</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L165" target="_blank">Event.ts:165</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/1edf7a0/packages/types/src/Event.ts#L172" target="_blank">Event.ts:172</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L172" target="_blank">Event.ts:172</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/_types_.md#typedef">TypeDef</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L179" target="_blank">Event.ts:179</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L179" target="_blank">Event.ts:179</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="../modules/_types_.md#typedef">TypeDef</a> for the event</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../modules/_types_.md#typedef">TypeDef</a>></p>
|
||||
<hr>
|
||||
@@ -2088,7 +2088,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2113,7 +2113,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2136,7 +2136,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2145,7 +2145,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2154,7 +2154,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2163,7 +2163,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2171,7 +2171,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>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/1edf7a0/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</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>
|
||||
@@ -2197,7 +2197,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> | <code>object</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L98" target="_blank">Event.ts:98</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L98" target="_blank">Event.ts:98</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2220,7 +2220,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/1edf7a0/packages/types/src/Event.ts#L122" target="_blank">Event.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L122" target="_blank">Event.ts:122</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2242,7 +2242,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2305,7 +2305,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":"2019-01-11T07:03:53.273Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.421Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:86](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L86)*
|
||||
*Defined in [Event.ts:86](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getdata(): [EventData](_event_.eventdata.md)
|
||||
|
||||
*Defined in [Event.ts:144](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L144)*
|
||||
*Defined in [Event.ts:144](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L144)*
|
||||
|
||||
*__description__*: The wrapped [EventData](_event_.eventdata.md)
|
||||
|
||||
@@ -79,7 +79,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getindex(): [EventIndex](_event_.eventindex.md)
|
||||
|
||||
*Defined in [Event.ts:151](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L151)*
|
||||
*Defined in [Event.ts:151](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L151)*
|
||||
|
||||
*__description__*: The [EventIndex](_event_.eventindex.md), identifying the raw event
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
getmeta(): [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
*Defined in [Event.ts:158](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L158)*
|
||||
*Defined in [Event.ts:158](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L158)*
|
||||
|
||||
*__description__*: The [EventMetadata](_metadata_events_.eventmetadata.md) with the documentation
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getmethod(): `string`
|
||||
|
||||
*Defined in [Event.ts:165](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L165)*
|
||||
*Defined in [Event.ts:165](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L165)*
|
||||
|
||||
*__description__*: The method string identifying the event
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
getsection(): `string`
|
||||
|
||||
*Defined in [Event.ts:172](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L172)*
|
||||
*Defined in [Event.ts:172](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L172)*
|
||||
|
||||
*__description__*: The section string identifying the event
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
gettypeDef(): `Array`<[TypeDef](../modules/_types_.md#typedef)>
|
||||
|
||||
*Defined in [Event.ts:179](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L179)*
|
||||
*Defined in [Event.ts:179](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L179)*
|
||||
|
||||
*__description__*: The [TypeDef](../modules/_types_.md#typedef) for the event
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -206,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -240,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -257,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -272,7 +272,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -291,7 +291,7 @@ ___
|
||||
|
||||
▸ **decodeEvent**(value?: *`Uint8Array`*): `object` | `object`
|
||||
|
||||
*Defined in [Event.ts:98](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L98)*
|
||||
*Defined in [Event.ts:98](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L98)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -308,7 +308,7 @@ ___
|
||||
|
||||
▸ **injectMetadata**(metadata: *[Metadata](_metadata_index_.metadata.md)*): `void`
|
||||
|
||||
*Defined in [Event.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L122)*
|
||||
*Defined in [Event.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -327,7 +327,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/_types_.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/1edf7a0/packages/types/src/Event.ts#L28" target="_blank">Event.ts:28</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L28" target="_blank">Event.ts:28</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2045,7 +2045,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/1edf7a0/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</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>
|
||||
@@ -2053,35 +2053,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/1edf7a0/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59" target="_blank">codec/Tuple.ts:59</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/1edf7a0/packages/types/src/Event.ts#L42" target="_blank">Event.ts:42</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L42" target="_blank">Event.ts:42</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/1edf7a0/packages/types/src/Event.ts#L49" target="_blank">Event.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L49" target="_blank">Event.ts:49</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/1edf7a0/packages/types/src/Event.ts#L56" target="_blank">Event.ts:56</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L56" target="_blank">Event.ts:56</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/_types_.md#typedef">TypeDef</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L63" target="_blank">Event.ts:63</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L63" target="_blank">Event.ts:63</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The <a href="../modules/_types_.md#typedef">TypeDef</a> for this event</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../modules/_types_.md#typedef">TypeDef</a>></p>
|
||||
<hr>
|
||||
@@ -2091,7 +2091,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/1edf7a0/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126" target="_blank">codec/Tuple.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2122,7 +2122,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/1edf7a0/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135" target="_blank">codec/Tuple.ts:135</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>
|
||||
@@ -2154,7 +2154,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/1edf7a0/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77" target="_blank">codec/Tuple.ts:77</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>
|
||||
@@ -2163,7 +2163,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/1edf7a0/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</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>
|
||||
@@ -2172,7 +2172,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/1edf7a0/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91" target="_blank">codec/Tuple.ts:91</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>
|
||||
@@ -2182,7 +2182,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/1edf7a0/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100" target="_blank">codec/Tuple.ts:100</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>
|
||||
@@ -2190,7 +2190,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>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/1edf7a0/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109" target="_blank">codec/Tuple.ts:109</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>
|
||||
@@ -2217,7 +2217,7 @@
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Types: <em><code>TupleConstructors</code></em>): <a href="../modules/_types_.md#constructor">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></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/1edf7a0/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2278,7 +2278,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":"2019-01-11T07:03:53.321Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.477Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Event.ts:28](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L28)*
|
||||
*Defined in [Event.ts:28](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -69,7 +69,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[encodedLength](_codec_tuple_.tuple.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
getmeta(): [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
*Defined in [Event.ts:42](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L42)*
|
||||
*Defined in [Event.ts:42](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L42)*
|
||||
|
||||
*__description__*: The wrapped [EventMetadata](_metadata_events_.eventmetadata.md)
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
getmethod(): `string`
|
||||
|
||||
*Defined in [Event.ts:49](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L49)*
|
||||
*Defined in [Event.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L49)*
|
||||
|
||||
*__description__*: The method as a string
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
getsection(): `string`
|
||||
|
||||
*Defined in [Event.ts:56](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L56)*
|
||||
*Defined in [Event.ts:56](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L56)*
|
||||
|
||||
*__description__*: The section as a string
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
gettypeDef(): `Array`<[TypeDef](../modules/_types_.md#typedef)>
|
||||
|
||||
*Defined in [Event.ts:63](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L63)*
|
||||
*Defined in [Event.ts:63](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L63)*
|
||||
|
||||
*__description__*: The [TypeDef](../modules/_types_.md#typedef) for this event
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L126)*
|
||||
*Defined in [codec/Tuple.ts:126](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L126)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L135)*
|
||||
*Defined in [codec/Tuple.ts:135](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L135)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L77)*
|
||||
*Defined in [codec/Tuple.ts:77](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L77)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L100)*
|
||||
*Defined in [codec/Tuple.ts:100](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L100)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L109)*
|
||||
*Defined in [codec/Tuple.ts:109](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L109)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -279,7 +279,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[with](_codec_tuple_.tuple.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/packages/types/src/Event.ts#L74" target="_blank">Event.ts:74</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L74" target="_blank">Event.ts:74</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2025,7 +2025,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2034,7 +2034,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2043,7 +2043,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2052,7 +2052,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2084,7 +2084,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2093,7 +2093,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2103,7 +2103,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2111,7 +2111,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2177,7 +2177,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":"2019-01-11T07:03:53.349Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.505Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Event.ts#L74)*
|
||||
*Defined in [Event.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Event.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -84,7 +84,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/1edf7a0/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
*Defined in [codec/U8aFixed.ts:39](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8aFixed.ts#L39)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -125,7 +125,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -142,7 +142,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -161,7 +161,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -176,7 +176,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2001,7 +2001,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/1edf7a0/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/ed1ad05/packages/types/src/U32.ts#L14" target="_blank">U32.ts:14</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2026,7 +2026,7 @@
|
||||
<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>Overrides AbstractInt.toHex</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36" target="_blank">codec/UInt.ts:36</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>
|
||||
@@ -2035,7 +2035,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></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>Overrides AbstractInt.toU8a</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48" target="_blank">codec/UInt.ts:48</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>
|
||||
@@ -2101,7 +2101,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":"2019-01-11T07:03:53.365Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.517Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/U32.ts#L14)*
|
||||
*Defined in [U32.ts:14](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/U32.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/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/ed1ad05/packages/types/src/EventRecord.ts#L47" target="_blank">EventRecord.ts:47</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,7 +2028,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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>
|
||||
@@ -2036,21 +2036,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/1edf7a0/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149" target="_blank">codec/Struct.ts:149</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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2060,7 +2060,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2085,7 +2085,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2108,7 +2108,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2117,7 +2117,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2126,7 +2126,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2135,7 +2135,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2143,7 +2143,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>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/1edf7a0/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209" target="_blank">codec/Struct.ts:209</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>
|
||||
@@ -2170,7 +2170,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2233,7 +2233,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":"2019-01-11T07:03:53.401Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.549Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/EventRecord.ts#L47)*
|
||||
*Defined in [EventRecord.ts:47](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/EventRecord.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -66,7 +66,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L149)*
|
||||
*Defined in [codec/Struct.ts:149](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L149)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
getevent(): [Event](_event_.event.md)
|
||||
|
||||
*Defined in [EventRecord.ts:58](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/EventRecord.ts#L58)*
|
||||
*Defined in [EventRecord.ts:58](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/EventRecord.ts#L58)*
|
||||
|
||||
*__description__*: The [Event](_event_.event.md) this record refers to
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getphase(): [Phase](_eventrecord_.phase.md)
|
||||
|
||||
*Defined in [EventRecord.ts:65](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/EventRecord.ts#L65)*
|
||||
*Defined in [EventRecord.ts:65](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/EventRecord.ts#L65)*
|
||||
|
||||
*__description__*: The [Phase](_eventrecord_.phase.md) where the event was generated
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -133,7 +133,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -205,7 +205,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -220,7 +220,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L209)*
|
||||
*Defined in [codec/Struct.ts:209](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -241,7 +241,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2000,7 +2000,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2010,7 +2010,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2019,7 +2019,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2028,7 +2028,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2102,7 +2102,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":"2019-01-11T07:03:53.417Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.573Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Null.ts#L16)*
|
||||
*Defined in [Null.ts:16](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Null.ts#L23)*
|
||||
*Defined in [Null.ts:23](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Null.ts#L30)*
|
||||
*Defined in [Null.ts:30](https://github.com/polkadot-js/api/blob/ed1ad05/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/1edf7a0/packages/types/src/Null.ts#L37)*
|
||||
*Defined in [Null.ts:37](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Null.ts#L37)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_null_.null.md).[toU8a](_null_.null.md#tou8a)*
|
||||
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Null.ts#L45)*
|
||||
*Defined in [Null.ts:45](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Null.ts#L45)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2000,7 +2000,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/1edf7a0/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/ed1ad05/packages/types/src/EventRecord.ts#L32" target="_blank">EventRecord.ts:32</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2028,7 +2028,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/1edf7a0/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97" target="_blank">codec/EnumType.ts:97</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>
|
||||
@@ -2036,7 +2036,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/1edf7a0/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104" target="_blank">codec/EnumType.ts:104</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>
|
||||
@@ -2044,7 +2044,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/1edf7a0/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111" target="_blank">codec/EnumType.ts:111</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>
|
||||
@@ -2052,7 +2052,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/1edf7a0/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118" target="_blank">codec/EnumType.ts:118</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>
|
||||
@@ -2060,7 +2060,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/1edf7a0/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125" target="_blank">codec/EnumType.ts:125</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>
|
||||
@@ -2070,7 +2070,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/1edf7a0/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132" target="_blank">codec/EnumType.ts:132</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>
|
||||
@@ -2079,7 +2079,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/1edf7a0/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139" target="_blank">codec/EnumType.ts:139</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>
|
||||
@@ -2087,7 +2087,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/1edf7a0/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146" target="_blank">codec/EnumType.ts:146</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>
|
||||
@@ -2096,7 +2096,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/1edf7a0/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153" target="_blank">codec/EnumType.ts:153</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>
|
||||
@@ -2104,7 +2104,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>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/1edf7a0/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161" target="_blank">codec/EnumType.ts:161</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>
|
||||
@@ -2170,7 +2170,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":"2019-01-11T07:03:53.449Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.601Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/EventRecord.ts#L32)*
|
||||
*Defined in [EventRecord.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/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:97](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L97)*
|
||||
*Defined in [codec/EnumType.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L97)*
|
||||
|
||||
*__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:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L104)*
|
||||
*Defined in [codec/EnumType.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L104)*
|
||||
|
||||
*__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:111](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
*__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:118](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L118)*
|
||||
*Defined in [codec/EnumType.ts:118](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L118)*
|
||||
|
||||
*__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:125](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L125)*
|
||||
*Defined in [codec/EnumType.ts:125](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L125)*
|
||||
|
||||
*__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:132](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L132)*
|
||||
*Defined in [codec/EnumType.ts:132](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L132)*
|
||||
|
||||
*__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:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L139)*
|
||||
*Defined in [codec/EnumType.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L139)*
|
||||
|
||||
*__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:146](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L146)*
|
||||
*Defined in [codec/EnumType.ts:146](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L146)*
|
||||
|
||||
*__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:153](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L153)*
|
||||
*Defined in [codec/EnumType.ts:153](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L153)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -191,7 +191,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/EnumType.ts#L161)*
|
||||
*Defined in [codec/EnumType.ts:161](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/EnumType.ts#L161)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2011,7 +2011,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Extrinsic</strong>(value?: <em><code>ExtrinsicValue</code> | <a href="../modules/_types_.md#anyu8a">AnyU8a</a> | <a href="_method_.method.html">Method</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/1edf7a0/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/ed1ad05/packages/types/src/Extrinsic.ts#L36" target="_blank">Extrinsic.ts:36</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2036,28 +2036,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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/1edf7a0/packages/types/src/Extrinsic.ts#L71" target="_blank">Extrinsic.ts:71</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L71" target="_blank">Extrinsic.ts:71</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/1edf7a0/packages/types/src/Extrinsic.ts#L78" target="_blank">Extrinsic.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L78" target="_blank">Extrinsic.ts:78</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/1edf7a0/packages/types/src/Extrinsic.ts#L85" target="_blank">Extrinsic.ts:85</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L85" target="_blank">Extrinsic.ts:85</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>
|
||||
@@ -2065,49 +2065,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/1edf7a0/packages/types/src/Extrinsic.ts#L92" target="_blank">Extrinsic.ts:92</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L92" target="_blank">Extrinsic.ts:92</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/1edf7a0/packages/types/src/Extrinsic.ts#L101" target="_blank">Extrinsic.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L101" target="_blank">Extrinsic.ts:101</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/1edf7a0/packages/types/src/Extrinsic.ts#L110" target="_blank">Extrinsic.ts:110</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L110" target="_blank">Extrinsic.ts:110</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/1edf7a0/packages/types/src/Extrinsic.ts#L117" target="_blank">Extrinsic.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L117" target="_blank">Extrinsic.ts:117</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/1edf7a0/packages/types/src/Extrinsic.ts#L124" target="_blank">Extrinsic.ts:124</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L124" target="_blank">Extrinsic.ts:124</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/1edf7a0/packages/types/src/Extrinsic.ts#L131" target="_blank">Extrinsic.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L131" target="_blank">Extrinsic.ts:131</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/1edf7a0/packages/types/src/Extrinsic.ts#L138" target="_blank">Extrinsic.ts:138</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L138" target="_blank">Extrinsic.ts:138</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>
|
||||
@@ -2115,7 +2115,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/1edf7a0/packages/types/src/Extrinsic.ts#L145" target="_blank">Extrinsic.ts:145</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L145" target="_blank">Extrinsic.ts:145</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>
|
||||
@@ -2152,7 +2152,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2177,7 +2177,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2199,7 +2199,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/1edf7a0/packages/types/src/Extrinsic.ts#L154" target="_blank">Extrinsic.ts:154</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L154" target="_blank">Extrinsic.ts:154</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Sign the extrinsic with a specific keypair</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2234,7 +2234,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2243,7 +2243,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/1edf7a0/packages/types/src/Extrinsic.ts#L163" target="_blank">Extrinsic.ts:163</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L163" target="_blank">Extrinsic.ts:163</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>
|
||||
@@ -2252,7 +2252,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/1edf7a0/packages/types/src/Extrinsic.ts#L170" target="_blank">Extrinsic.ts:170</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L170" target="_blank">Extrinsic.ts:170</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>
|
||||
@@ -2261,7 +2261,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2269,7 +2269,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>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/1edf7a0/packages/types/src/Extrinsic.ts#L178" target="_blank">Extrinsic.ts:178</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L178" target="_blank">Extrinsic.ts:178</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>
|
||||
@@ -2295,7 +2295,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> | <a href="_method_.method.html">Method</a></em>): <code>ExtrinsicValue</code> | <code>Array</code><<code>number</code>> | <code>Uint8Array</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/1edf7a0/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/ed1ad05/packages/types/src/Extrinsic.ts#L44" target="_blank">Extrinsic.ts:44</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2319,7 +2319,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2382,7 +2382,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":"2019-01-11T07:03:53.513Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.669Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/Extrinsic.ts#L36)*
|
||||
*Defined in [Extrinsic.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
getargs(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [Extrinsic.ts:71](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L71)*
|
||||
*Defined in [Extrinsic.ts:71](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L71)*
|
||||
|
||||
*__description__*: The arguments passed to for the call, exposes args so it is compatible with [Method](_method_.method.md)
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:78](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L78)*
|
||||
*Defined in [Extrinsic.ts:78](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L78)*
|
||||
|
||||
*__description__*: The actual `[sectionIndex, methodIndex]` as used in the Method
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L85)*
|
||||
*Defined in [Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L85)*
|
||||
|
||||
*__description__*: The actual data for the Method
|
||||
|
||||
@@ -112,7 +112,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [Extrinsic.ts:92](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L92)*
|
||||
*Defined in [Extrinsic.ts:92](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L92)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:101](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L101)*
|
||||
*Defined in [Extrinsic.ts:101](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L101)*
|
||||
|
||||
*__description__*: Convernience function, encodes the extrinsic and returns the actual hash
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L110)*
|
||||
*Defined in [Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L110)*
|
||||
|
||||
*__description__*: `true` id the extrinsic is signed
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [Extrinsic.ts:117](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L117)*
|
||||
*Defined in [Extrinsic.ts:117](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L117)*
|
||||
|
||||
*__description__*: The length of the encoded value
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_modules_.functionmetadata.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:124](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L124)*
|
||||
*Defined in [Extrinsic.ts:124](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L124)*
|
||||
|
||||
*__description__*: The [FunctionMetadata](_metadata_modules_.functionmetadata.md) that describes the extrinsic
|
||||
|
||||
@@ -177,7 +177,7 @@ ___
|
||||
|
||||
getmethod(): [Method](_method_.method.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L131)*
|
||||
*Defined in [Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L131)*
|
||||
|
||||
*__description__*: The [Method](_method_.method.md) this extrinsic wraps
|
||||
|
||||
@@ -190,7 +190,7 @@ ___
|
||||
|
||||
getsignature(): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:138](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L138)*
|
||||
*Defined in [Extrinsic.ts:138](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L138)*
|
||||
|
||||
*__description__*: The [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
@@ -206,7 +206,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:145](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L145)*
|
||||
*Defined in [Extrinsic.ts:145](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L145)*
|
||||
|
||||
*__description__*: Add an [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) to the extrinsic (already generated)
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__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:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -272,7 +272,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:154](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L154)*
|
||||
*Defined in [Extrinsic.ts:154](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L154)*
|
||||
|
||||
*__description__*: Sign the extrinsic with a specific keypair
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -313,7 +313,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [Extrinsic.ts:163](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L163)*
|
||||
*Defined in [Extrinsic.ts:163](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L163)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -330,7 +330,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [Extrinsic.ts:170](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L170)*
|
||||
*Defined in [Extrinsic.ts:170](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L170)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -347,7 +347,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [Extrinsic.ts:178](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L178)*
|
||||
*Defined in [Extrinsic.ts:178](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L178)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -381,7 +381,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsic**(value: *`ExtrinsicValue` | [AnyU8a](../modules/_types_.md#anyu8a) | [Method](_method_.method.md)*): `ExtrinsicValue` | `Array`<`number`> | `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/Extrinsic.ts#L44)*
|
||||
*Defined in [Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/Extrinsic.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2002,7 +2002,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/1edf7a0/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/ed1ad05/packages/types/src/ExtrinsicEra.ts#L16" target="_blank">ExtrinsicEra.ts:16</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2025,7 +2025,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2034,7 +2034,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2044,7 +2044,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2076,7 +2076,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2085,7 +2085,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2095,7 +2095,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2103,7 +2103,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2129,7 +2129,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/1edf7a0/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/ed1ad05/packages/types/src/ExtrinsicEra.ts#L23" target="_blank">ExtrinsicEra.ts:23</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2190,7 +2190,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":"2019-01-11T07:03:53.545Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.693Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/ExtrinsicEra.ts#L16)*
|
||||
*Defined in [ExtrinsicEra.ts:16](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicEra.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,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/1edf7a0/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/ed1ad05/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
|
||||
|
||||
@@ -110,7 +110,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/1edf7a0/packages/types/src/codec/U8a.ts#L60)*
|
||||
*Defined in [codec/U8a.ts:60](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -127,7 +127,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/1edf7a0/packages/types/src/codec/U8a.ts#L67)*
|
||||
*Defined in [codec/U8a.ts:67](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/U8a.ts#L74)*
|
||||
*Defined in [codec/U8a.ts:74](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -161,7 +161,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/1edf7a0/packages/types/src/codec/U8a.ts#L82)*
|
||||
*Defined in [codec/U8a.ts:82](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/U8a.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsicEra**(value?: *[AnyU8a](../modules/_types_.md#anyu8a)*): `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:23](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicEra.ts#L23)*
|
||||
*Defined in [ExtrinsicEra.ts:23](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicEra.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2038,14 +2038,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</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/1edf7a0/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.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>
|
||||
@@ -2054,7 +2054,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/1edf7a0/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2064,7 +2064,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/1edf7a0/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2095,7 +2095,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/1edf7a0/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</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>
|
||||
@@ -2127,7 +2127,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</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>
|
||||
@@ -2136,7 +2136,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/1edf7a0/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</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>
|
||||
@@ -2145,7 +2145,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/1edf7a0/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</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>
|
||||
@@ -2155,7 +2155,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/1edf7a0/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.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>
|
||||
@@ -2163,7 +2163,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>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/1edf7a0/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</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>
|
||||
@@ -2190,7 +2190,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/1edf7a0/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</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>
|
||||
@@ -2221,7 +2221,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/1edf7a0/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</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>
|
||||
@@ -2284,7 +2284,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":"2019-01-11T07:03:53.921Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:20.001Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L22)*
|
||||
*Defined in [codec/Vector.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22)*
|
||||
|
||||
**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:57](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**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:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L64)*
|
||||
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64)*
|
||||
|
||||
*__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:73](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L73)*
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L139)*
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L148)*
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -153,7 +153,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -170,7 +170,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L95)*
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -206,7 +206,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L104)*
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -221,7 +221,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L117)*
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -242,7 +242,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L32)*
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -265,7 +265,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L49)*
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2005,7 +2005,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/1edf7a0/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/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L37" target="_blank">ExtrinsicSignature.ts:37</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2029,7 +2029,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/1edf7a0/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142" target="_blank">codec/Struct.ts:142</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>
|
||||
@@ -2037,49 +2037,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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2087,7 +2087,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2129,7 +2129,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/1edf7a0/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159" target="_blank">codec/Struct.ts:159</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2154,7 +2154,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/1edf7a0/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166" target="_blank">codec/Struct.ts:166</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>
|
||||
@@ -2176,7 +2176,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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2221,7 +2221,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/1edf7a0/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173" target="_blank">codec/Struct.ts:173</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>
|
||||
@@ -2230,7 +2230,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/1edf7a0/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180" target="_blank">codec/Struct.ts:180</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>
|
||||
@@ -2239,7 +2239,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/1edf7a0/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187" target="_blank">codec/Struct.ts:187</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>
|
||||
@@ -2248,7 +2248,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/1edf7a0/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201" target="_blank">codec/Struct.ts:201</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>
|
||||
@@ -2256,7 +2256,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>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/1edf7a0/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/ed1ad05/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>
|
||||
@@ -2282,7 +2282,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/1edf7a0/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/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L52" target="_blank">ExtrinsicSignature.ts:52</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2307,7 +2307,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/1edf7a0/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122" target="_blank">codec/Struct.ts:122</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>
|
||||
@@ -2370,7 +2370,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":"2019-01-11T07:03:53.593Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.753Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
*Defined in [ExtrinsicSignature.ts:37](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L142)*
|
||||
*Defined in [codec/Struct.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L142)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -66,7 +66,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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L71)*
|
||||
*Defined in [ExtrinsicSignature.ts:71](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L71)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
getera(): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:90](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L90)*
|
||||
*Defined in [ExtrinsicSignature.ts:90](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L90)*
|
||||
|
||||
*__description__*: The [ExtrinsicEra](_extrinsicera_.extrinsicera.md) (mortal or immortal) this signature applies to
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:83](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L83)*
|
||||
*Defined in [ExtrinsicSignature.ts:83](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L83)*
|
||||
|
||||
*__description__*: `true` if the signature is valid
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
getnonce(): [Nonce](_nonce_.nonce.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:97](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L97)*
|
||||
*Defined in [ExtrinsicSignature.ts:97](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L97)*
|
||||
|
||||
*__description__*: The [Nonce](_nonce_.nonce.md) for the signature
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
|
||||
*__description__*: The actuall [Signature](_signature_.signature.md) hash
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
getsigner(): [Address](_address_.address.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:111](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L111)*
|
||||
*Defined in [ExtrinsicSignature.ts:111](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L111)*
|
||||
|
||||
*__description__*: The [Address](_address_.address.md) that signed
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
getversion(): `number`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:118](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L118)*
|
||||
*Defined in [ExtrinsicSignature.ts:118](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L118)*
|
||||
|
||||
*__description__*: The encoded version for the signature
|
||||
|
||||
@@ -160,7 +160,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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L142)*
|
||||
*Defined in [ExtrinsicSignature.ts:142](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L142)*
|
||||
|
||||
*__description__*: Adds a raw signature
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L159)*
|
||||
*Defined in [codec/Struct.ts:159](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L159)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L166)*
|
||||
*Defined in [codec/Struct.ts:166](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L166)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -226,7 +226,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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L154)*
|
||||
*Defined in [ExtrinsicSignature.ts:154](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L154)*
|
||||
|
||||
*__description__*: Generate a payload and pplies the signature from a keypair
|
||||
|
||||
@@ -251,7 +251,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L173)*
|
||||
*Defined in [codec/Struct.ts:173](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L173)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -268,7 +268,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L180)*
|
||||
*Defined in [codec/Struct.ts:180](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L180)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L187)*
|
||||
*Defined in [codec/Struct.ts:187](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L187)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L201)*
|
||||
*Defined in [codec/Struct.ts:201](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L201)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -317,7 +317,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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L171)*
|
||||
*Defined in [ExtrinsicSignature.ts:171](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L171)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -336,7 +336,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/1edf7a0/packages/types/src/ExtrinsicSignature.ts#L52)*
|
||||
*Defined in [ExtrinsicSignature.ts:52](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/ExtrinsicSignature.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -355,7 +355,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2004,7 +2004,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/1edf7a0/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2037,14 +2037,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L57" target="_blank">codec/Vector.ts:57</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/1edf7a0/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64" target="_blank">codec/Vector.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>
|
||||
@@ -2053,7 +2053,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/1edf7a0/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73" target="_blank">codec/Vector.ts:73</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2063,7 +2063,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/1edf7a0/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139" target="_blank">codec/Vector.ts:139</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2094,7 +2094,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/1edf7a0/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148" target="_blank">codec/Vector.ts:148</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>
|
||||
@@ -2126,7 +2126,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/1edf7a0/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/ed1ad05/packages/types/src/codec/Vector.ts#L81" target="_blank">codec/Vector.ts:81</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>
|
||||
@@ -2135,7 +2135,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/1edf7a0/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88" target="_blank">codec/Vector.ts:88</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>
|
||||
@@ -2144,7 +2144,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/1edf7a0/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95" target="_blank">codec/Vector.ts:95</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>
|
||||
@@ -2154,7 +2154,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/1edf7a0/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104" target="_blank">codec/Vector.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>
|
||||
@@ -2162,7 +2162,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>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/1edf7a0/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117" target="_blank">codec/Vector.ts:117</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>
|
||||
@@ -2189,7 +2189,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/1edf7a0/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32" target="_blank">codec/Vector.ts:32</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>
|
||||
@@ -2220,7 +2220,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/1edf7a0/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49" target="_blank">codec/Vector.ts:49</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>
|
||||
@@ -2283,7 +2283,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":"2019-01-11T07:03:53.637Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:04:29.262Z"},"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":"2019-01-11T07:17:19.789Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-01-11T07:17:58.466Z"},"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:22](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L22)*
|
||||
*Defined in [codec/Vector.ts:22](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L22)*
|
||||
|
||||
**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:57](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L57)*
|
||||
*Defined in [codec/Vector.ts:57](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L57)*
|
||||
|
||||
**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:64](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L64)*
|
||||
*Defined in [codec/Vector.ts:64](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L64)*
|
||||
|
||||
*__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:73](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L73)*
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L139)*
|
||||
*Defined in [codec/Vector.ts:139](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L139)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L148)*
|
||||
*Defined in [codec/Vector.ts:148](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L148)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toArray](_codec_vector_.vector.md#toarray)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toHex](_codec_vector_.vector.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toJSON](_codec_vector_.vector.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L95)*
|
||||
*Defined in [codec/Vector.ts:95](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L95)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -204,7 +204,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L104)*
|
||||
*Defined in [codec/Vector.ts:104](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L104)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[toU8a](_codec_vector_.vector.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L117)*
|
||||
*Defined in [codec/Vector.ts:117](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L117)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -240,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decodeVector](_codec_vector_.vector.md#decodevector)*
|
||||
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L32)*
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L32)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -263,7 +263,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/1edf7a0/packages/types/src/codec/Vector.ts#L49)*
|
||||
*Defined in [codec/Vector.ts:49](https://github.com/polkadot-js/api/blob/ed1ad05/packages/types/src/codec/Vector.ts#L49)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user