[CI Skip] 0.45.9
This commit is contained in:
@@ -2151,7 +2151,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/f4119bf/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/d1825c7/packages/types/src/codec/Base.ts#L10" target="_blank">codec/Base.ts:10</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2212,7 +2212,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-02-20T07:23:33.814Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.517Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/Base.ts#L10)*
|
||||
*Defined in [codec/Base.ts:10](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Base.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2150,7 +2150,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Compact</strong>(Type: <em><a href="../interfaces/_types_.constructor.md">Constructor</a><<a href="_codec_uint_.uint.html">UInt</a> | <a href="_primitive_moment_.moment.md">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/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L23" target="_blank">codec/Compact.ts:23</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2181,32 +2181,32 @@
|
||||
<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/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L41" target="_blank">codec/Compact.ts:41</a></em></p>
|
||||
<p>Prepend a Uint8Array with its compact length.</p>
|
||||
<p><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/f4119bf/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/d1825c7/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/f4119bf/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/d1825c7/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/f4119bf/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/d1825c7/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>
|
||||
<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/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L79" target="_blank">codec/Compact.ts:79</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2214,7 +2214,7 @@
|
||||
<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/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L86" target="_blank">codec/Compact.ts:86</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>
|
||||
@@ -2222,7 +2222,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L93" target="_blank">codec/Compact.ts:93</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2244,7 +2244,7 @@
|
||||
<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/f4119bf/packages/types/src/codec/Compact.ts#L104" target="_blank">codec/Compact.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L104" target="_blank">codec/Compact.ts:104</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>
|
||||
@@ -2252,7 +2252,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/f4119bf/packages/types/src/codec/Compact.ts#L111" target="_blank">codec/Compact.ts:111</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L111" target="_blank">codec/Compact.ts:111</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>
|
||||
@@ -2260,14 +2260,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/f4119bf/packages/types/src/codec/Compact.ts#L118" target="_blank">codec/Compact.ts:118</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L118" target="_blank">codec/Compact.ts:118</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/f4119bf/packages/types/src/codec/Compact.ts#L125" target="_blank">codec/Compact.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L125" target="_blank">codec/Compact.ts:125</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>
|
||||
@@ -2275,7 +2275,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L132" target="_blank">codec/Compact.ts:132</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L132" target="_blank">codec/Compact.ts:132</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>
|
||||
@@ -2283,7 +2283,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L140" target="_blank">codec/Compact.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L140" target="_blank">codec/Compact.ts:140</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>
|
||||
@@ -2309,14 +2309,14 @@
|
||||
<p><a id="unwrap"></a></p>
|
||||
<h2 id="unwrap">unwrap</h2>
|
||||
<p>▸ <strong>unwrap</strong>(): <a href="_codec_uint_.uint.html">UInt</a> | <a href="_primitive_moment_.moment.md">Moment</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L147" target="_blank">codec/Compact.ts:147</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L147" target="_blank">codec/Compact.ts:147</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the embedded <a href="_codec_uint_.uint.html">UInt</a> or <a href="_primitive_moment_.moment.md">Moment</a> value</p>
|
||||
<p><strong>Returns:</strong> <a href="_codec_uint_.uint.html">UInt</a> | <a href="_primitive_moment_.moment.md">Moment</a></p>
|
||||
<hr>
|
||||
<p><a id="decodecompact"></a></p>
|
||||
<h2 id="static-decodecompact"><code><Static></code> decodeCompact</h2>
|
||||
<p>▸ <strong>decodeCompact</strong>(Type: <em><a href="../interfaces/_types_.constructor.md">Constructor</a><<a href="_codec_uint_.uint.html">UInt</a> | <a href="_primitive_moment_.moment.md">Moment</a>></em>, value: <em><a href="_codec_compact_.compact.html">Compact</a> | <a href="../modules/_types_.md#anynumber">AnyNumber</a></em>): <a href="_primitive_moment_.moment.md">Moment</a> | <a href="_codec_uint_.uint.html">UInt</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L51" target="_blank">codec/Compact.ts:51</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2343,7 +2343,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/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L45" target="_blank">codec/Compact.ts:45</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2371,7 +2371,7 @@
|
||||
<p><a id="with"></a></p>
|
||||
<h2 id="static-with"><code><Static></code> with</h2>
|
||||
<p>▸ <strong>with</strong>(Type: <em><a href="../interfaces/_types_.constructor.md">Constructor</a><<a href="_codec_uint_.uint.html">UInt</a> | <a href="_primitive_moment_.moment.md">Moment</a>></em>): <a href="../interfaces/_types_.constructor.md">Constructor</a><<a href="_codec_compact_.compact.html">Compact</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Compact.ts#L28" target="_blank">codec/Compact.ts:28</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2433,7 +2433,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-02-20T07:23:33.870Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.561Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/Compact.ts#L23)*
|
||||
*Defined in [codec/Compact.ts:23](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/Compact.ts#L41)*
|
||||
*Defined in [codec/Compact.ts:41](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L41)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**● decodeU8a**: *`compactFromU8a`* = compactFromU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="encodeu8a"></a>
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
**● encodeU8a**: *`compactToU8a`* = compactToU8a
|
||||
|
||||
*Defined in [codec/Compact.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L43)*
|
||||
*Defined in [codec/Compact.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L43)*
|
||||
|
||||
___
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:72](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L72)*
|
||||
*Defined in [codec/Compact.ts:72](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L72)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Compact.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L79)*
|
||||
*Defined in [codec/Compact.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L79)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): [UIntBitLength](../modules/_codec_abstractint_.md#uintbitlength)
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Compact.ts:93](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L93)*
|
||||
*Defined in [codec/Compact.ts:93](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L93)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/Compact.ts:104](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L104)*
|
||||
*Defined in [codec/Compact.ts:104](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L104)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Compact.ts:111](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L111)*
|
||||
*Defined in [codec/Compact.ts:111](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L111)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Compact.ts:118](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L118)*
|
||||
*Defined in [codec/Compact.ts:118](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L118)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Compact.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L125)*
|
||||
*Defined in [codec/Compact.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L125)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Compact.ts:132](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L132)*
|
||||
*Defined in [codec/Compact.ts:132](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L132)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L140)*
|
||||
*Defined in [codec/Compact.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L140)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
▸ **unwrap**(): [UInt](_codec_uint_.uint.md) \| [Moment](_primitive_moment_.moment.md)
|
||||
|
||||
*Defined in [codec/Compact.ts:147](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L147)*
|
||||
*Defined in [codec/Compact.ts:147](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L147)*
|
||||
|
||||
*__description__*: Returns the embedded [UInt](_codec_uint_.uint.md) or [Moment](_primitive_moment_.moment.md) value
|
||||
|
||||
@@ -249,7 +249,7 @@ ___
|
||||
|
||||
▸ **decodeCompact**(Type: *[Constructor](../interfaces/_types_.constructor.md)<[UInt](_codec_uint_.uint.md) \| [Moment](_primitive_moment_.moment.md)>*, value: *[Compact](_codec_compact_.compact.md) \| [AnyNumber](../modules/_types_.md#anynumber)*): [Moment](_primitive_moment_.moment.md) \| [UInt](_codec_uint_.uint.md)
|
||||
|
||||
*Defined in [codec/Compact.ts:51](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L51)*
|
||||
*Defined in [codec/Compact.ts:51](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -267,7 +267,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/f4119bf/packages/types/src/codec/Compact.ts#L45)*
|
||||
*Defined in [codec/Compact.ts:45](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
▸ **with**(Type: *[Constructor](../interfaces/_types_.constructor.md)<[UInt](_codec_uint_.uint.md) \| [Moment](_primitive_moment_.moment.md)>*): [Constructor](../interfaces/_types_.constructor.md)<[Compact](_codec_compact_.compact.md)>
|
||||
|
||||
*Defined in [codec/Compact.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Compact.ts#L28)*
|
||||
*Defined in [codec/Compact.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Compact.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2152,7 +2152,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/f4119bf/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/d1825c7/packages/types/src/codec/Enum.ts#L29" target="_blank">codec/Enum.ts:29</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2184,14 +2184,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/f4119bf/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/d1825c7/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>
|
||||
<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/f4119bf/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/d1825c7/packages/types/src/codec/Enum.ts#L71" target="_blank">codec/Enum.ts:71</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value (always false)</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2200,7 +2200,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Enum.ts#L78" target="_blank">codec/Enum.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2223,7 +2223,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/f4119bf/packages/types/src/codec/Enum.ts#L91" target="_blank">codec/Enum.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L91" target="_blank">codec/Enum.ts:91</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>
|
||||
@@ -2231,14 +2231,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/f4119bf/packages/types/src/codec/Enum.ts#L98" target="_blank">codec/Enum.ts:98</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L98" target="_blank">codec/Enum.ts:98</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/f4119bf/packages/types/src/codec/Enum.ts#L105" target="_blank">codec/Enum.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L105" target="_blank">codec/Enum.ts:105</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>
|
||||
@@ -2246,7 +2246,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L112" target="_blank">codec/Enum.ts:112</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L112" target="_blank">codec/Enum.ts:112</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2254,7 +2254,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L120" target="_blank">codec/Enum.ts:120</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L120" target="_blank">codec/Enum.ts:120</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>
|
||||
@@ -2280,7 +2280,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/f4119bf/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/d1825c7/packages/types/src/codec/Enum.ts#L47" target="_blank">codec/Enum.ts:47</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2348,7 +2348,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-02-20T07:23:33.906Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.581Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/Enum.ts#L29)*
|
||||
*Defined in [codec/Enum.ts:29](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/Enum.ts#L64)*
|
||||
*Defined in [codec/Enum.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always false)
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Enum.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L78)*
|
||||
*Defined in [codec/Enum.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L78)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Enum.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L91)*
|
||||
*Defined in [codec/Enum.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L91)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L98)*
|
||||
*Defined in [codec/Enum.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L98)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L105)*
|
||||
*Defined in [codec/Enum.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L105)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:112](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L112)*
|
||||
*Defined in [codec/Enum.ts:112](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -161,7 +161,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:120](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L120)*
|
||||
*Defined in [codec/Enum.ts:120](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L120)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -180,7 +180,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/f4119bf/packages/types/src/codec/Enum.ts#L47)*
|
||||
*Defined in [codec/Enum.ts:47](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2159,7 +2159,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/f4119bf/packages/types/src/codec/EnumType.ts#L35" target="_blank">codec/EnumType.ts:35</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L35" target="_blank">codec/EnumType.ts:35</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2190,49 +2190,49 @@
|
||||
<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/f4119bf/packages/types/src/codec/EnumType.ts#L114" target="_blank">codec/EnumType.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L114" target="_blank">codec/EnumType.ts:114</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(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L121" target="_blank">codec/EnumType.ts:121</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L121" target="_blank">codec/EnumType.ts:121</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The index of the metadata value</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/f4119bf/packages/types/src/codec/EnumType.ts#L128" target="_blank">codec/EnumType.ts:128</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L128" target="_blank">codec/EnumType.ts:128</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</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/f4119bf/packages/types/src/codec/EnumType.ts#L135" target="_blank">codec/EnumType.ts:135</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L135" target="_blank">codec/EnumType.ts:135</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_primitive_null_.null.md">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/f4119bf/packages/types/src/codec/EnumType.ts#L142" target="_blank">codec/EnumType.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L142" target="_blank">codec/EnumType.ts:142</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the Enum points to a <a href="_primitive_null_.null.md">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/f4119bf/packages/types/src/codec/EnumType.ts#L149" target="_blank">codec/EnumType.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L149" target="_blank">codec/EnumType.ts:149</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/f4119bf/packages/types/src/codec/EnumType.ts#L156" target="_blank">codec/EnumType.ts:156</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L156" target="_blank">codec/EnumType.ts:156</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>
|
||||
@@ -2241,7 +2241,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L163" target="_blank">codec/EnumType.ts:163</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L163" target="_blank">codec/EnumType.ts:163</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2264,7 +2264,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/f4119bf/packages/types/src/codec/EnumType.ts#L176" target="_blank">codec/EnumType.ts:176</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L176" target="_blank">codec/EnumType.ts:176</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>
|
||||
@@ -2272,14 +2272,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/f4119bf/packages/types/src/codec/EnumType.ts#L183" target="_blank">codec/EnumType.ts:183</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L183" target="_blank">codec/EnumType.ts:183</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/f4119bf/packages/types/src/codec/EnumType.ts#L192" target="_blank">codec/EnumType.ts:192</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L192" target="_blank">codec/EnumType.ts:192</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>
|
||||
@@ -2287,7 +2287,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L199" target="_blank">codec/EnumType.ts:199</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L199" target="_blank">codec/EnumType.ts:199</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>
|
||||
@@ -2295,7 +2295,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L209" target="_blank">codec/EnumType.ts:209</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L209" target="_blank">codec/EnumType.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>
|
||||
@@ -2321,7 +2321,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>): <code>EnumConstructor</code><<a href="_codec_enumtype_.enumtype.html">EnumType</a><<code>S</code>>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L101" target="_blank">codec/EnumType.ts:101</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>
|
||||
@@ -2384,7 +2384,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-02-20T07:23:34.002Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.625Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:35](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L35)*
|
||||
*Defined in [codec/EnumType.ts:35](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L114)*
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L114)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
getindex(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L121)*
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L121)*
|
||||
|
||||
*__description__*: The index of the metadata value
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L128)*
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L128)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
getisNone(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L135)*
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L135)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
getisNull(): `boolean`
|
||||
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L142)*
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L142)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
gettype(): `string`
|
||||
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L149)*
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L149)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -142,7 +142,7 @@ ___
|
||||
|
||||
getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/EnumType.ts:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L156)*
|
||||
*Defined in [codec/EnumType.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L156)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L163)*
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L163)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -181,7 +181,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L176)*
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L176)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -196,7 +196,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L183)*
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L183)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -209,7 +209,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L192)*
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L192)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:199](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L199)*
|
||||
*Defined in [codec/EnumType.ts:199](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L199)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -239,7 +239,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L209)*
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): `EnumConstructor`<[EnumType](_codec_enumtype_.enumtype.md)<`S`>>
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
*Overrides AbstractInt.__constructor*
|
||||
|
||||
*Defined in [codec/Int.ts:21](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L21)*
|
||||
*Defined in [codec/Int.ts:21](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2151,7 +2151,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Option</strong>(Type: <em><a href="../interfaces/_types_.constructor.md">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/f4119bf/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/d1825c7/packages/types/src/codec/Option.ts#L19" target="_blank">codec/Option.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2177,35 +2177,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/f4119bf/packages/types/src/codec/Option.ts#L55" target="_blank">codec/Option.ts:55</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L55" target="_blank">codec/Option.ts:55</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/f4119bf/packages/types/src/codec/Option.ts#L63" target="_blank">codec/Option.ts:63</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L63" target="_blank">codec/Option.ts:63</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="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/f4119bf/packages/types/src/codec/Option.ts#L70" target="_blank">codec/Option.ts:70</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L70" target="_blank">codec/Option.ts:70</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/f4119bf/packages/types/src/codec/Option.ts#L77" target="_blank">codec/Option.ts:77</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L77" target="_blank">codec/Option.ts:77</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/f4119bf/packages/types/src/codec/Option.ts#L84" target="_blank">codec/Option.ts:84</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L84" target="_blank">codec/Option.ts:84</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>
|
||||
@@ -2214,7 +2214,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L91" target="_blank">codec/Option.ts:91</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L91" target="_blank">codec/Option.ts:91</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2237,7 +2237,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/f4119bf/packages/types/src/codec/Option.ts#L102" target="_blank">codec/Option.ts:102</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L102" target="_blank">codec/Option.ts:102</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>
|
||||
@@ -2245,7 +2245,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/f4119bf/packages/types/src/codec/Option.ts#L109" target="_blank">codec/Option.ts:109</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L109" target="_blank">codec/Option.ts:109</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>
|
||||
@@ -2253,7 +2253,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L116" target="_blank">codec/Option.ts:116</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L116" target="_blank">codec/Option.ts:116</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>
|
||||
@@ -2261,7 +2261,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L124" target="_blank">codec/Option.ts:124</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L124" target="_blank">codec/Option.ts:124</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>
|
||||
@@ -2287,14 +2287,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/f4119bf/packages/types/src/codec/Option.ts#L142" target="_blank">codec/Option.ts:142</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L142" target="_blank">codec/Option.ts:142</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the value that the Option represents (if available), throws if null</p>
|
||||
<p><strong>Returns:</strong> <code>T</code></p>
|
||||
<hr>
|
||||
<p><a id="unwrapor"></a></p>
|
||||
<h2 id="unwrapor">unwrapOr</h2>
|
||||
<p>▸ <strong>unwrapOr</strong><<code>O</code>>(defaultValue: <em><code>O</code></em>): <code>T</code> | <code>O</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L154" target="_blank">codec/Option.ts:154</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L154" target="_blank">codec/Option.ts:154</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns the value that the Option represents (if available) or defaultValue if none</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<h4 id="o">O</h4>
|
||||
@@ -2320,7 +2320,7 @@
|
||||
<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="../interfaces/_types_.constructor.md">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/f4119bf/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/d1825c7/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>
|
||||
@@ -2347,7 +2347,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="../interfaces/_types_.constructor.md">Constructor</a></em>): <a href="../interfaces/_types_.constructor.md">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/f4119bf/packages/types/src/codec/Option.ts#L44" target="_blank">codec/Option.ts:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L44" target="_blank">codec/Option.ts:44</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>
|
||||
@@ -2410,7 +2410,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-02-20T07:23:34.130Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.669Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/Option.ts#L19)*
|
||||
*Defined in [codec/Option.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Option.ts:55](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L55)*
|
||||
*Defined in [codec/Option.ts:55](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L55)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:63](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L63)*
|
||||
*Defined in [codec/Option.ts:63](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L63)*
|
||||
|
||||
*__description__*: Checks if the Option has no value
|
||||
|
||||
@@ -73,7 +73,7 @@ ___
|
||||
|
||||
getisNone(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:70](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L70)*
|
||||
*Defined in [codec/Option.ts:70](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L70)*
|
||||
|
||||
*__description__*: Checks if the Option has no value
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
getisSome(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:77](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L77)*
|
||||
*Defined in [codec/Option.ts:77](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L77)*
|
||||
|
||||
*__description__*: Checks if the Option has a value
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
getvalue(): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Option.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L84)*
|
||||
*Defined in [codec/Option.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L84)*
|
||||
|
||||
*__description__*: The actual value for the Option
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Option.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L91)*
|
||||
*Defined in [codec/Option.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L91)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Option.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L102)*
|
||||
*Defined in [codec/Option.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L102)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -153,7 +153,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Option.ts:109](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L109)*
|
||||
*Defined in [codec/Option.ts:109](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L109)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Option.ts:116](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L116)*
|
||||
*Defined in [codec/Option.ts:116](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L116)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Option.ts:124](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L124)*
|
||||
*Defined in [codec/Option.ts:124](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L124)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
▸ **unwrap**(): `T`
|
||||
|
||||
*Defined in [codec/Option.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L142)*
|
||||
*Defined in [codec/Option.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L142)*
|
||||
|
||||
*__description__*: Returns the value that the Option represents (if available), throws if null
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
▸ **unwrapOr**<`O`>(defaultValue: *`O`*): `T` \| `O`
|
||||
|
||||
*Defined in [codec/Option.ts:154](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L154)*
|
||||
*Defined in [codec/Option.ts:154](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L154)*
|
||||
|
||||
*__description__*: Returns the value that the Option represents (if available) or defaultValue if none
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
▸ **decodeOption**<`O`>(Type: *[Constructor](../interfaces/_types_.constructor.md)*, value?: *`any`*): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L26)*
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L26)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *[Constructor](../interfaces/_types_.constructor.md)*): [Constructor](../interfaces/_types_.constructor.md)<[Option](_codec_option_.option.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Option.ts:44](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Option.ts#L44)*
|
||||
*Defined in [codec/Option.ts:44](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Option.ts#L44)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2149,7 +2149,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/f4119bf/packages/types/src/codec/Set.ts#L23" target="_blank">codec/Set.ts:23</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L23" target="_blank">codec/Set.ts:23</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2177,28 +2177,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/f4119bf/packages/types/src/codec/Set.ts#L73" target="_blank">codec/Set.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L73" target="_blank">codec/Set.ts:73</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/f4119bf/packages/types/src/codec/Set.ts#L80" target="_blank">codec/Set.ts:80</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L80" target="_blank">codec/Set.ts:80</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/f4119bf/packages/types/src/codec/Set.ts#L94" target="_blank">codec/Set.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L94" target="_blank">codec/Set.ts:94</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/f4119bf/packages/types/src/codec/Set.ts#L87" target="_blank">codec/Set.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L87" target="_blank">codec/Set.ts:87</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>
|
||||
@@ -2207,7 +2207,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L101" target="_blank">codec/Set.ts:101</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L101" target="_blank">codec/Set.ts:101</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2230,7 +2230,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/f4119bf/packages/types/src/codec/Set.ts#L117" target="_blank">codec/Set.ts:117</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L117" target="_blank">codec/Set.ts:117</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>
|
||||
@@ -2238,7 +2238,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/f4119bf/packages/types/src/codec/Set.ts#L124" target="_blank">codec/Set.ts:124</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L124" target="_blank">codec/Set.ts:124</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>
|
||||
@@ -2246,7 +2246,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L131" target="_blank">codec/Set.ts:131</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L131" target="_blank">codec/Set.ts:131</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>
|
||||
@@ -2254,7 +2254,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L139" target="_blank">codec/Set.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L139" target="_blank">codec/Set.ts:139</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>
|
||||
@@ -2280,7 +2280,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/f4119bf/packages/types/src/codec/Set.ts#L33" target="_blank">codec/Set.ts:33</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L33" target="_blank">codec/Set.ts:33</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2310,7 +2310,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/f4119bf/packages/types/src/codec/Set.ts#L64" target="_blank">codec/Set.ts:64</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L64" target="_blank">codec/Set.ts:64</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2375,7 +2375,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-02-20T07:23:34.242Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.693Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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:23](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L23)*
|
||||
*Defined in [codec/Set.ts:23](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L73)*
|
||||
*Defined in [codec/Set.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Set.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L80)*
|
||||
*Defined in [codec/Set.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L80)*
|
||||
|
||||
*__description__*: true is the Set contains no values
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
getvalueEncoded(): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L94)*
|
||||
*Defined in [codec/Set.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L94)*
|
||||
|
||||
*__description__*: The encoded value for the set members
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getvalues(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Set.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L87)*
|
||||
*Defined in [codec/Set.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L87)*
|
||||
|
||||
*__description__*: The actual set values as a Array
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Set.ts:101](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L101)*
|
||||
*Defined in [codec/Set.ts:101](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L101)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Set.ts:117](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L117)*
|
||||
*Defined in [codec/Set.ts:117](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L117)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Set.ts:124](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L124)*
|
||||
*Defined in [codec/Set.ts:124](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L124)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -153,7 +153,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Set.ts:131](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L131)*
|
||||
*Defined in [codec/Set.ts:131](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L131)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Set.ts:139](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L139)*
|
||||
*Defined in [codec/Set.ts:139](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L139)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
▸ **decodeSet**(setValues: *`SetValues`*, value?: *`Array`<`string`> \| `Uint8Array` \| `number`*): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Set.ts:33](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L33)*
|
||||
*Defined in [codec/Set.ts:33](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -205,7 +205,7 @@ ___
|
||||
|
||||
▸ **encodeSet**(setValues: *`SetValues`*, value: *`Array`<`string`>*): `number`
|
||||
|
||||
*Defined in [codec/Set.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Set.ts#L64)*
|
||||
*Defined in [codec/Set.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Set.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2201,7 +2201,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/f4119bf/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/d1825c7/packages/types/src/codec/Struct.ts#L31" target="_blank">codec/Struct.ts:31</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2243,21 +2243,21 @@
|
||||
<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/f4119bf/packages/types/src/codec/Struct.ts#L160" target="_blank">codec/Struct.ts:160</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160" target="_blank">codec/Struct.ts:160</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/f4119bf/packages/types/src/codec/Struct.ts#L167" target="_blank">codec/Struct.ts:167</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167" target="_blank">codec/Struct.ts:167</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/f4119bf/packages/types/src/codec/Struct.ts#L145" target="_blank">codec/Struct.ts:145</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145" target="_blank">codec/Struct.ts:145</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2266,7 +2266,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176" target="_blank">codec/Struct.ts:176</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176" target="_blank">codec/Struct.ts:176</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2289,7 +2289,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/f4119bf/packages/types/src/codec/Struct.ts#L184" target="_blank">codec/Struct.ts:184</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184" target="_blank">codec/Struct.ts:184</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a specific names entry in the structure</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2313,7 +2313,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/f4119bf/packages/types/src/codec/Struct.ts#L191" target="_blank">codec/Struct.ts:191</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191" target="_blank">codec/Struct.ts:191</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>
|
||||
@@ -2335,7 +2335,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/f4119bf/packages/types/src/codec/Struct.ts#L198" target="_blank">codec/Struct.ts:198</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198" target="_blank">codec/Struct.ts:198</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>
|
||||
@@ -2343,7 +2343,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/f4119bf/packages/types/src/codec/Struct.ts#L205" target="_blank">codec/Struct.ts:205</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205" target="_blank">codec/Struct.ts:205</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2351,7 +2351,7 @@
|
||||
<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/f4119bf/packages/types/src/codec/Struct.ts#L212" target="_blank">codec/Struct.ts:212</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212" target="_blank">codec/Struct.ts:212</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>
|
||||
@@ -2359,7 +2359,7 @@
|
||||
<h2 id="tostring">toString</h2>
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226" target="_blank">codec/Struct.ts:226</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226" target="_blank">codec/Struct.ts:226</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>
|
||||
@@ -2367,7 +2367,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234" target="_blank">codec/Struct.ts:234</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234" target="_blank">codec/Struct.ts:234</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>
|
||||
@@ -2393,7 +2393,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="../interfaces/_types_.constructor.md">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/f4119bf/packages/types/src/codec/Struct.ts#L125" target="_blank">codec/Struct.ts:125</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125" target="_blank">codec/Struct.ts:125</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>
|
||||
@@ -2456,7 +2456,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-02-20T07:23:34.278Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.729Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -123,7 +123,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/f4119bf/packages/types/src/codec/Struct.ts#L31)*
|
||||
*Defined in [codec/Struct.ts:31](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
getType(): `E`
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -170,7 +170,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -222,7 +222,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -241,7 +241,7 @@ ___
|
||||
|
||||
▸ **getAtIndex**(index: *`number`*): [Codec](../interfaces/_types_.codec.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -260,7 +260,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -290,7 +290,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -305,7 +305,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -320,7 +320,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -339,7 +339,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): [Constructor](../interfaces/_types_.constructor.md)<[Struct](_codec_struct_.struct.md)<`S`>>
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -2163,7 +2163,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/f4119bf/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/d1825c7/packages/types/src/codec/Tuple.ts#L22" target="_blank">codec/Tuple.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2195,21 +2195,21 @@
|
||||
<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/f4119bf/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75" target="_blank">codec/Tuple.ts:75</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The types definition of the tuple</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<code>string</code>></p>
|
||||
<hr>
|
||||
<p><a id="encodedlength"></a></p>
|
||||
<h2 id="encodedlength">encodedLength</h2>
|
||||
<p>getencodedLength(): <code>number</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/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="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/f4119bf/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/d1825c7/packages/types/src/codec/Tuple.ts#L68" target="_blank">codec/Tuple.ts:68</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2218,7 +2218,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Tuple.ts#L84" target="_blank">codec/Tuple.ts:84</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2241,7 +2241,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/f4119bf/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140" target="_blank">codec/Tuple.ts:140</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2271,7 +2271,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/f4119bf/packages/types/src/codec/Tuple.ts#L149" target="_blank">codec/Tuple.ts:149</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149" target="_blank">codec/Tuple.ts:149</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>
|
||||
@@ -2302,7 +2302,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/f4119bf/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/d1825c7/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 an standard JavaScript Array</p>
|
||||
<p><strong>Returns:</strong> <code>Array</code><<a href="../interfaces/_types_.codec.md">Codec</a>></p>
|
||||
<hr>
|
||||
@@ -2310,7 +2310,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/f4119bf/packages/types/src/codec/Tuple.ts#L98" target="_blank">codec/Tuple.ts:98</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98" target="_blank">codec/Tuple.ts:98</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>
|
||||
@@ -2318,7 +2318,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/f4119bf/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105" target="_blank">codec/Tuple.ts:105</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>
|
||||
@@ -2327,7 +2327,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.ts:114</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114" target="_blank">codec/Tuple.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>
|
||||
@@ -2335,7 +2335,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123" target="_blank">codec/Tuple.ts:123</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123" target="_blank">codec/Tuple.ts:123</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>
|
||||
@@ -2361,7 +2361,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="../interfaces/_types_.constructor.md">Constructor</a><<a href="_codec_tuple_.tuple.html">Tuple</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/Tuple.ts#L48" target="_blank">codec/Tuple.ts:48</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2422,7 +2422,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-02-20T07:23:34.338Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.769Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
getTypes(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__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/f4119bf/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L149)*
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -194,7 +194,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -209,7 +209,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L98)*
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -241,7 +241,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -256,7 +256,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123)*
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
▸ **with**(Types: *`TupleConstructors`*): [Constructor](../interfaces/_types_.constructor.md)<[Tuple](_codec_tuple_.tuple.md)>
|
||||
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2141,13 +2141,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/f4119bf/packages/types/src/codec/typeRegistry.ts#L12" target="_blank">codec/typeRegistry.ts:12</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L12" target="_blank">codec/typeRegistry.ts:12</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="../interfaces/_types_.constructor.md">Constructor</a> | <code>undefined</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L47" target="_blank">codec/typeRegistry.ts:47</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L47" target="_blank">codec/typeRegistry.ts:47</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2169,7 +2169,7 @@
|
||||
<h2 id="register">register</h2>
|
||||
<p>▸ <strong>register</strong>(type: <em><a href="../interfaces/_types_.constructor.md">Constructor</a> | <a href="../modules/_types_.md#registrytypes">RegistryTypes</a></em>): <code>void</code></p>
|
||||
<p>▸ <strong>register</strong>(name: <em><code>string</code></em>, type: <em><a href="../interfaces/_types_.constructor.md">Constructor</a></em>): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/typeRegistry.ts#L16" target="_blank">codec/typeRegistry.ts:16</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2187,7 +2187,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L17" target="_blank">codec/typeRegistry.ts:17</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L17" target="_blank">codec/typeRegistry.ts:17</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2252,7 +2252,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-02-20T07:23:34.598Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:09.013Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
**● defaultRegistry**: *[TypeRegistry](_codec_typeregistry_.typeregistry.md)* = new TypeRegistry()
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:12](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L12)*
|
||||
*Defined in [codec/typeRegistry.ts:12](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L12)*
|
||||
|
||||
___
|
||||
|
||||
@@ -24,7 +24,7 @@ ___
|
||||
|
||||
▸ **get**(name: *`string`*): [Constructor](../interfaces/_types_.constructor.md) \| `undefined`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:47](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L47)*
|
||||
*Defined in [codec/typeRegistry.ts:47](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
▸ **register**(name: *`string`*, type: *[Constructor](../interfaces/_types_.constructor.md)*): `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:16](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L16)*
|
||||
*Defined in [codec/typeRegistry.ts:16](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
**Returns:** `void`
|
||||
|
||||
*Defined in [codec/typeRegistry.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/typeRegistry.ts#L17)*
|
||||
*Defined in [codec/typeRegistry.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/typeRegistry.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -2154,7 +2154,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/f4119bf/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/d1825c7/packages/types/src/codec/U8a.ts#L18" target="_blank">codec/U8a.ts:18</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2182,14 +2182,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/f4119bf/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/d1825c7/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>
|
||||
<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/f4119bf/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/d1825c7/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns true if the type wraps an empty/default all-0 value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2197,7 +2197,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/f4119bf/packages/types/src/codec/U8a.ts#L50" target="_blank">codec/U8a.ts:50</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50" target="_blank">codec/U8a.ts:50</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2206,7 +2206,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58" target="_blank">codec/U8a.ts:58</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58" target="_blank">codec/U8a.ts:58</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2229,7 +2229,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/f4119bf/packages/types/src/codec/U8a.ts#L73" target="_blank">codec/U8a.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73" target="_blank">codec/U8a.ts:73</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>
|
||||
@@ -2260,7 +2260,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/f4119bf/packages/types/src/codec/U8a.ts#L80" target="_blank">codec/U8a.ts:80</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80" target="_blank">codec/U8a.ts:80</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2268,7 +2268,7 @@
|
||||
<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/f4119bf/packages/types/src/codec/U8a.ts#L87" target="_blank">codec/U8a.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87" target="_blank">codec/U8a.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2277,7 +2277,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Uint8Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94" target="_blank">codec/U8a.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94" target="_blank">codec/U8a.ts:94</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>
|
||||
@@ -2285,7 +2285,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102" target="_blank">codec/U8a.ts:102</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102" target="_blank">codec/U8a.ts:102</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>
|
||||
@@ -2351,7 +2351,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-02-20T07:23:34.374Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.793Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -93,7 +93,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -169,7 +169,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2158,7 +2158,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/f4119bf/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/d1825c7/packages/types/src/codec/U8aFixed.ts#L19" target="_blank">codec/U8aFixed.ts:19</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2223,7 +2223,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/f4119bf/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/d1825c7/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>
|
||||
@@ -2231,7 +2231,7 @@
|
||||
<h2 id="isempty">isEmpty</h2>
|
||||
<p>getisEmpty(): <code>boolean</code></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#isempty">isEmpty</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/packages/types/src/codec/U8a.ts#L43" target="_blank">codec/U8a.ts:43</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns true if the type wraps an empty/default all-0 value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2240,7 +2240,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/f4119bf/packages/types/src/codec/U8a.ts#L50" target="_blank">codec/U8a.ts:50</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50" target="_blank">codec/U8a.ts:50</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2255,7 +2255,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/f4119bf/packages/types/src/codec/U8aFixed.ts#L52" target="_blank">codec/U8aFixed.ts:52</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52" target="_blank">codec/U8aFixed.ts:52</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>
|
||||
@@ -2308,7 +2308,7 @@
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58" target="_blank">codec/U8a.ts:58</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58" target="_blank">codec/U8a.ts:58</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2957,7 +2957,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/f4119bf/packages/types/src/codec/U8a.ts#L73" target="_blank">codec/U8a.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73" target="_blank">codec/U8a.ts:73</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>
|
||||
@@ -2989,7 +2989,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/f4119bf/packages/types/src/codec/U8a.ts#L80" target="_blank">codec/U8a.ts:80</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80" target="_blank">codec/U8a.ts:80</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>
|
||||
@@ -2998,7 +2998,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/f4119bf/packages/types/src/codec/U8a.ts#L87" target="_blank">codec/U8a.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87" target="_blank">codec/U8a.ts:87</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>
|
||||
@@ -3016,7 +3016,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/f4119bf/packages/types/src/codec/U8a.ts#L94" target="_blank">codec/U8a.ts:94</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94" target="_blank">codec/U8a.ts:94</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>
|
||||
@@ -3025,7 +3025,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Inherited from <a href="_codec_u8a_.u8a.html">U8a</a>.<a href="_codec_u8a_.u8a.html#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102" target="_blank">codec/U8a.ts:102</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102" target="_blank">codec/U8a.ts:102</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>
|
||||
@@ -3099,7 +3099,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-02-20T07:23:34.526Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.949Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -41,7 +41,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/f4119bf/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
*Defined in [codec/U8aFixed.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -130,7 +130,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/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -145,7 +145,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -162,7 +162,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -191,7 +191,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): `number`
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -740,7 +740,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -764,7 +764,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -781,7 +781,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -815,7 +815,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -832,7 +832,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2155,7 +2155,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/f4119bf/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/d1825c7/packages/types/src/codec/UInt.ts#L21" target="_blank">codec/UInt.ts:21</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2191,7 +2191,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/f4119bf/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/d1825c7/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>
|
||||
@@ -2200,7 +2200,7 @@
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Overrides AbstractInt.toU8a</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/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/d1825c7/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>
|
||||
@@ -2266,7 +2266,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-02-20T07:23:34.546Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.957Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"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/f4119bf/packages/types/src/codec/UInt.ts#L21)*
|
||||
*Defined in [codec/UInt.ts:21](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -2155,7 +2155,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new Vector</strong>(Type: <em><a href="../interfaces/_types_.constructor.md">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/f4119bf/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/d1825c7/packages/types/src/codec/Vector.ts#L22" target="_blank">codec/Vector.ts:22</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -2193,21 +2193,21 @@
|
||||
<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/f4119bf/packages/types/src/codec/Vector.ts#L66" target="_blank">codec/Vector.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L66" target="_blank">codec/Vector.ts:66</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The type for the items</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/f4119bf/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/d1825c7/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 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/f4119bf/packages/types/src/codec/Vector.ts#L59" target="_blank">codec/Vector.ts:59</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L59" target="_blank">codec/Vector.ts:59</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Checks if the value is an empty value</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code></p>
|
||||
<hr>
|
||||
@@ -2215,7 +2215,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/f4119bf/packages/types/src/codec/Vector.ts#L82" target="_blank">codec/Vector.ts:82</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L82" target="_blank">codec/Vector.ts:82</a></em></p>
|
||||
<p><em><strong>description</strong></em>: The length of the value</p>
|
||||
<p><strong>Returns:</strong> <code>number</code></p>
|
||||
<hr>
|
||||
@@ -2224,7 +2224,7 @@
|
||||
<h2 id="eq">eq</h2>
|
||||
<p>▸ <strong>eq</strong>(other?: <em><code>any</code></em>): <code>boolean</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#eq">eq</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L90" target="_blank">codec/Vector.ts:90</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L90" target="_blank">codec/Vector.ts:90</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Compares the value of the input to see if there is a match</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2247,7 +2247,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/f4119bf/packages/types/src/codec/Vector.ts#L173" target="_blank">codec/Vector.ts:173</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L173" target="_blank">codec/Vector.ts:173</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Filters the array with the callback</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2277,7 +2277,7 @@
|
||||
<h2 id="indexof">indexOf</h2>
|
||||
<p>▸ <strong>indexOf</strong>(_other?: <em><code>any</code></em>): <code>number</code></p>
|
||||
<p><em>Overrides Array.indexOf</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L97" target="_blank">codec/Vector.ts:97</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L97" target="_blank">codec/Vector.ts:97</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Finds the index of the value in the array</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2300,7 +2300,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/f4119bf/packages/types/src/codec/Vector.ts#L182" target="_blank">codec/Vector.ts:182</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L182" target="_blank">codec/Vector.ts:182</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>
|
||||
@@ -2331,7 +2331,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/f4119bf/packages/types/src/codec/Vector.ts#L115" target="_blank">codec/Vector.ts:115</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L115" target="_blank">codec/Vector.ts:115</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>
|
||||
@@ -2339,7 +2339,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/f4119bf/packages/types/src/codec/Vector.ts#L122" target="_blank">codec/Vector.ts:122</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L122" target="_blank">codec/Vector.ts:122</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Returns a hex string representation of the value</p>
|
||||
<p><strong>Returns:</strong> <code>string</code></p>
|
||||
<hr>
|
||||
@@ -2347,7 +2347,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/f4119bf/packages/types/src/codec/Vector.ts#L129" target="_blank">codec/Vector.ts:129</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L129" target="_blank">codec/Vector.ts:129</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Converts the Object to JSON, typically used for RPC transfers</p>
|
||||
<p><strong>Returns:</strong> <code>any</code></p>
|
||||
<hr>
|
||||
@@ -2356,7 +2356,7 @@
|
||||
<p>▸ <strong>toString</strong>(): <code>string</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tostring">toString</a></em></p>
|
||||
<p><em>Overrides Array.toString</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L138" target="_blank">codec/Vector.ts:138</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L138" target="_blank">codec/Vector.ts:138</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>
|
||||
@@ -2364,7 +2364,7 @@
|
||||
<h2 id="tou8a">toU8a</h2>
|
||||
<p>▸ <strong>toU8a</strong>(isBare?: <em><code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>Uint8Array</code></p>
|
||||
<p><em>Implementation of <a href="../interfaces/_types_.codec.md">Codec</a>.<a href="../interfaces/_types_.codec.md#tou8a">toU8a</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L151" target="_blank">codec/Vector.ts:151</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L151" target="_blank">codec/Vector.ts:151</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Encodes the value as a Uint8Array as per the parity-codec specifications</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -2390,7 +2390,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="../interfaces/_types_.constructor.md">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/f4119bf/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/d1825c7/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>
|
||||
@@ -2420,7 +2420,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="../interfaces/_types_.constructor.md">Constructor</a><<code>O</code>></em>): <a href="../interfaces/_types_.constructor.md">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/f4119bf/packages/types/src/codec/Vector.ts#L48" target="_blank">codec/Vector.ts:48</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L48" target="_blank">codec/Vector.ts:48</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>
|
||||
@@ -2483,7 +2483,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-02-20T07:23:34.586Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T07:24:26.298Z"},"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-02-20T16:26:08.997Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-02-20T16:26:56.711Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
⊕ **new Vector**(Type: *[Constructor](../interfaces/_types_.constructor.md)<`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/f4119bf/packages/types/src/codec/Vector.ts#L22)*
|
||||
*Defined in [codec/Vector.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L66)*
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L66)*
|
||||
|
||||
*__description__*: The type for the items
|
||||
|
||||
@@ -79,7 +79,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L73)*
|
||||
*Defined in [codec/Vector.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L73)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Vector.ts:59](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L59)*
|
||||
*Defined in [codec/Vector.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L59)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -107,7 +107,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Array.length*
|
||||
|
||||
*Defined in [codec/Vector.ts:82](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L82)*
|
||||
*Defined in [codec/Vector.ts:82](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L82)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [codec/Vector.ts:90](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L90)*
|
||||
*Defined in [codec/Vector.ts:90](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L90)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Vector.ts:173](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L173)*
|
||||
*Defined in [codec/Vector.ts:173](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L173)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Overrides Array.indexOf*
|
||||
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L97)*
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L97)*
|
||||
|
||||
*__description__*: Finds the index of the value in the array
|
||||
|
||||
@@ -189,7 +189,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Vector.ts:182](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L182)*
|
||||
*Defined in [codec/Vector.ts:182](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L182)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
▸ **toArray**(): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L115)*
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L115)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [codec/Vector.ts:122](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L122)*
|
||||
*Defined in [codec/Vector.ts:122](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L122)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -242,7 +242,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L129)*
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L129)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -259,7 +259,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Vector.ts:138](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L138)*
|
||||
*Defined in [codec/Vector.ts:138](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L138)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:151](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L151)*
|
||||
*Defined in [codec/Vector.ts:151](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L151)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -293,7 +293,7 @@ ___
|
||||
|
||||
▸ **decodeVector**<`T`>(Type: *[Constructor](../interfaces/_types_.constructor.md)<`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/f4119bf/packages/types/src/codec/Vector.ts#L32)*
|
||||
*Defined in [codec/Vector.ts:32](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L32)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *[Constructor](../interfaces/_types_.constructor.md)<`O`>*): [Constructor](../interfaces/_types_.constructor.md)<[Vector](_codec_vector_.vector.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Vector.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Vector.ts#L48)*
|
||||
*Defined in [codec/Vector.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Vector.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*Overrides [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[constructor](_metadata_metadataversioned_.metadataversioned.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/index.ts:15](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/index.ts#L15)*
|
||||
*Defined in [Metadata/index.ts:15](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/index.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -92,7 +92,7 @@ getasV0(): [MetadataV0](_metadata_v0_index_.metadatav0.md)
|
||||
|
||||
*Inherited from [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[asV0](_metadata_metadataversioned_.metadataversioned.md#asv0)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:86](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L86)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:86](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L86)*
|
||||
|
||||
*__description__*: Returns the wrapped metadata as a V0 object
|
||||
|
||||
@@ -107,7 +107,7 @@ getasV1(): [MetadataV1](_metadata_v1_index_.metadatav1.md)
|
||||
|
||||
*Inherited from [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[asV1](_metadata_metadataversioned_.metadataversioned.md#asv1)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:103](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L103)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:103](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L103)*
|
||||
|
||||
*__description__*: Returns the wrapped values as a V1 object
|
||||
|
||||
@@ -122,7 +122,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -137,7 +137,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -152,7 +152,7 @@ getmagicNumber(): [MagicNumber](_metadata_magicnumber_.magicnumber.md)
|
||||
|
||||
*Inherited from [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[magicNumber](_metadata_metadataversioned_.metadataversioned.md#magicnumber)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L65)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L65)*
|
||||
|
||||
*__description__*:
|
||||
|
||||
@@ -167,7 +167,7 @@ getversion(): `number`
|
||||
|
||||
*Inherited from [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[version](_metadata_metadataversioned_.metadataversioned.md#version)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L79)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L79)*
|
||||
|
||||
*__description__*: the metadata version this structure represents
|
||||
|
||||
@@ -249,7 +249,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -313,7 +313,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -330,13 +330,19 @@ ___
|
||||
|
||||
## getUniqTypes
|
||||
|
||||
▸ **getUniqTypes**(): `Array`<`string`>
|
||||
▸ **getUniqTypes**(throwError: *`boolean`*): `Array`<`string`>
|
||||
|
||||
*Implementation of [MetadataInterface](../interfaces/_metadata_types_.metadatainterface.md).[getUniqTypes](../interfaces/_metadata_types_.metadatainterface.md#getuniqtypes)*
|
||||
|
||||
*Inherited from [MetadataVersioned](_metadata_metadataversioned_.metadataversioned.md).[getUniqTypes](_metadata_metadataversioned_.metadataversioned.md#getuniqtypes)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:109](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L109)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:109](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L109)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| throwError | `boolean` |
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -403,7 +409,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -420,7 +426,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -437,7 +443,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -454,7 +460,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -471,7 +477,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -507,7 +513,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [U32](_primitive_u32_.u32.md).[constructor](_primitive_u32_.u32.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/MagicNumber.ts:11](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MagicNumber.ts#L11)*
|
||||
*Defined in [Metadata/MagicNumber.ts:11](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MagicNumber.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -57,7 +57,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -372,7 +372,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1536,7 +1536,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1577,7 +1577,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1596,7 +1596,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1649,7 +1649,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1695,7 +1695,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1899,7 +1899,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L53)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -79,7 +79,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getasV0(): [MetadataV0](_metadata_v0_index_.metadatav0.md)
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:86](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L86)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:86](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L86)*
|
||||
|
||||
*__description__*: Returns the wrapped metadata as a V0 object
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
getasV1(): [MetadataV1](_metadata_v1_index_.metadatav1.md)
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:103](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L103)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:103](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L103)*
|
||||
|
||||
*__description__*: Returns the wrapped values as a V1 object
|
||||
|
||||
@@ -120,7 +120,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -135,7 +135,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -148,7 +148,7 @@ ___
|
||||
|
||||
getmagicNumber(): [MagicNumber](_metadata_magicnumber_.magicnumber.md)
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L65)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L65)*
|
||||
|
||||
*__description__*:
|
||||
|
||||
@@ -161,7 +161,7 @@ ___
|
||||
|
||||
getversion(): `number`
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L79)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L79)*
|
||||
|
||||
*__description__*: the metadata version this structure represents
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -307,7 +307,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -324,11 +324,17 @@ ___
|
||||
|
||||
## getUniqTypes
|
||||
|
||||
▸ **getUniqTypes**(): `Array`<`string`>
|
||||
▸ **getUniqTypes**(throwError: *`boolean`*): `Array`<`string`>
|
||||
|
||||
*Implementation of [MetadataInterface](../interfaces/_metadata_types_.metadatainterface.md).[getUniqTypes](../interfaces/_metadata_types_.metadatainterface.md#getuniqtypes)*
|
||||
|
||||
*Defined in [Metadata/MetadataVersioned.ts:109](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/MetadataVersioned.ts#L109)*
|
||||
*Defined in [Metadata/MetadataVersioned.ts:109](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/MetadataVersioned.ts#L109)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| throwError | `boolean` |
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -395,7 +401,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -412,7 +418,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -429,7 +435,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -446,7 +452,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -463,7 +469,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -499,7 +505,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:10](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L10)*
|
||||
*Defined in [Metadata/v0/Calls.ts:10](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
getindex(): [U16](_primitive_u16_.u16.md)
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:22](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L22)*
|
||||
*Defined in [Metadata/v0/Calls.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L22)*
|
||||
|
||||
*__description__*: The [U16](_primitive_u16_.u16.md) index for the call
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:29](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L29)*
|
||||
*Defined in [Metadata/v0/Calls.ts:29](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L29)*
|
||||
|
||||
*__description__*: The name for the call
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L36)*
|
||||
*Defined in [Metadata/v0/Calls.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L36)*
|
||||
|
||||
*__description__*: The call prefix (or section)
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -266,7 +266,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -379,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -396,7 +396,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -413,7 +413,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -430,7 +430,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -466,7 +466,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:41](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L41)*
|
||||
*Defined in [Metadata/v0/Calls.ts:41](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
getcalls(): [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_v0_calls_.outerdispatchcall.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L52)*
|
||||
*Defined in [Metadata/v0/Calls.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L52)*
|
||||
|
||||
*__description__*: The \[\[OuterDispathCall\]\] wrapped
|
||||
|
||||
@@ -100,7 +100,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Calls.ts:59](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Calls.ts#L59)*
|
||||
*Defined in [Metadata/v0/Calls.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Calls.ts#L59)*
|
||||
|
||||
*__description__*: The name for the dispatch
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:11](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L11)*
|
||||
*Defined in [Metadata/v0/Events.ts:11](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
getarguments(): [Vector](_codec_vector_.vector.md)<[Type](_primitive_type_.type.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:23](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L23)*
|
||||
*Defined in [Metadata/v0/Events.ts:23](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L23)*
|
||||
|
||||
*__description__*: The arguments of [Type](_metadata_v0_events_.eventmetadata.md#type)
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:30](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L30)*
|
||||
*Defined in [Metadata/v0/Events.ts:30](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L30)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -113,7 +113,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -128,7 +128,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:37](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L37)*
|
||||
*Defined in [Metadata/v0/Events.ts:37](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L37)*
|
||||
|
||||
*__description__*: The name for the event
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -266,7 +266,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -379,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -396,7 +396,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -413,7 +413,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -430,7 +430,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -466,7 +466,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L65)*
|
||||
*Defined in [Metadata/v0/Events.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L65)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_v0_events_.outereventmetadataevent.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L76)*
|
||||
*Defined in [Metadata/v0/Events.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L76)*
|
||||
|
||||
*__description__*: The [OuterEventMetadataEvent](_metadata_v0_events_.outereventmetadataevent.md)
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:83](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L83)*
|
||||
*Defined in [Metadata/v0/Events.ts:83](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L83)*
|
||||
|
||||
*__description__*: The name of the event
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:42](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L42)*
|
||||
*Defined in [Metadata/v0/Events.ts:42](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -61,7 +61,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -76,7 +76,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/f4119bf/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[EventMetadata](_metadata_v0_events_.eventmetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L53)*
|
||||
*Defined in [Metadata/v0/Events.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L53)*
|
||||
|
||||
*__description__*: The [EventMetadata](_metadata_v0_events_.eventmetadata.md)
|
||||
|
||||
@@ -104,7 +104,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[isEmpty](_codec_tuple_.tuple.md#isempty)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Events.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Events.ts#L60)*
|
||||
*Defined in [Metadata/v0/Events.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Events.ts#L60)*
|
||||
|
||||
*__description__*: The name of the section
|
||||
|
||||
@@ -242,7 +242,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[eq](_codec_tuple_.tuple.md#eq)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -310,7 +310,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -730,7 +730,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L149)*
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1038,7 +1038,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1055,7 +1055,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L98)*
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1072,7 +1072,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1106,7 +1106,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1123,7 +1123,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123)*
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1180,7 +1180,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/f4119bf/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:26](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L26)*
|
||||
*Defined in [Metadata/v0/index.ts:26](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L26)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getcalls(): [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_v0_calls_.outerdispatchcall.md)>
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L60)*
|
||||
*Defined in [Metadata/v0/index.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L60)*
|
||||
|
||||
*__description__*: Wrapped [OuterDispatchCall](_metadata_v0_calls_.outerdispatchcall.md)
|
||||
|
||||
@@ -105,7 +105,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_v0_events_.outereventmetadataevent.md)>
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L67)*
|
||||
*Defined in [Metadata/v0/index.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L67)*
|
||||
|
||||
*__description__*: Wrapped [OuterEventMetadataEvent](_metadata_v0_events_.outereventmetadataevent.md)
|
||||
|
||||
@@ -133,7 +133,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
getmodules(): [Vector](_codec_vector_.vector.md)<[RuntimeModuleMetadata](_metadata_v0_modules_.runtimemodulemetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L74)*
|
||||
*Defined in [Metadata/v0/index.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L74)*
|
||||
|
||||
*__description__*: Wrapped [RuntimeModuleMetadata](_metadata_v0_modules_.runtimemodulemetadata.md)
|
||||
|
||||
@@ -228,7 +228,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -271,7 +271,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -309,14 +309,20 @@ ___
|
||||
|
||||
## getUniqTypes
|
||||
|
||||
▸ **getUniqTypes**(): `Array`<`string`>
|
||||
▸ **getUniqTypes**(throwError: *`boolean`*): `Array`<`string`>
|
||||
|
||||
*Implementation of [MetadataInterface](../interfaces/_metadata_types_.metadatainterface.md).[getUniqTypes](../interfaces/_metadata_types_.metadatainterface.md#getuniqtypes)*
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:109](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L109)*
|
||||
*Defined in [Metadata/v0/index.ts:109](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L109)*
|
||||
|
||||
*__description__*: Helper to retrieve a list of all type that are found, sorted and de-deuplicated
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| throwError | `boolean` |
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
___
|
||||
@@ -382,7 +388,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -399,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -416,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -433,7 +439,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -450,7 +456,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -484,7 +490,7 @@ ___
|
||||
|
||||
▸ **decodeMetadata**(value: *`string` \| `Uint8Array` \| `object`*): `object` \| `Uint8Array`
|
||||
|
||||
*Defined in [Metadata/v0/index.ts:35](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/index.ts#L35)*
|
||||
*Defined in [Metadata/v0/index.ts:35](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/index.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -503,7 +509,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L79)*
|
||||
*Defined in [Metadata/v0/Modules.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L79)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
getfunctions(): [Vector](_codec_vector_.vector.md)<[FunctionMetadata](_metadata_v0_modules_.functionmetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:90](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L90)*
|
||||
*Defined in [Metadata/v0/Modules.ts:90](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L90)*
|
||||
|
||||
*__description__*: The functions available as [FunctionMetadata](_metadata_v0_modules_.functionmetadata.md)
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:97](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L97)*
|
||||
*Defined in [Metadata/v0/Modules.ts:97](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L97)*
|
||||
|
||||
*__description__*: The section name
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L17)*
|
||||
*Defined in [Metadata/v0/Modules.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L28)*
|
||||
*Defined in [Metadata/v0/Modules.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L28)*
|
||||
|
||||
*__description__*: The argument name
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
gettype(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:35](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L35)*
|
||||
*Defined in [Metadata/v0/Modules.ts:35](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L35)*
|
||||
|
||||
*__description__*: The [Type](_metadata_v0_modules_.functionargumentmetadata.md#type)
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:40](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L40)*
|
||||
*Defined in [Metadata/v0/Modules.ts:40](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L40)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
getarguments(): [Vector](_codec_vector_.vector.md)<[FunctionArgumentMetadata](_metadata_v0_modules_.functionargumentmetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L53)*
|
||||
*Defined in [Metadata/v0/Modules.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L53)*
|
||||
|
||||
*__description__*: The [FunctionArgumentMetadata](_metadata_v0_modules_.functionargumentmetadata.md) for arguments
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L60)*
|
||||
*Defined in [Metadata/v0/Modules.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L60)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -113,7 +113,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
getid(): [U16](_primitive_u16_.u16.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L67)*
|
||||
*Defined in [Metadata/v0/Modules.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L67)*
|
||||
|
||||
*__description__*: The `[sectionIndex, methodIndex]` call id
|
||||
|
||||
@@ -141,7 +141,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L74)*
|
||||
*Defined in [Metadata/v0/Modules.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L74)*
|
||||
|
||||
*__description__*: The call name
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -279,7 +279,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -300,7 +300,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -375,7 +375,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -409,7 +409,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -426,7 +426,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -443,7 +443,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -479,7 +479,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:138](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L138)*
|
||||
*Defined in [Metadata/v0/Modules.ts:138](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
getkey(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L149)*
|
||||
*Defined in [Metadata/v0/Modules.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L149)*
|
||||
|
||||
*__description__*: The mapped key as [Type](_metadata_v0_modules_.maptype.md#type)
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getvalue(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L156)*
|
||||
*Defined in [Metadata/v0/Modules.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L156)*
|
||||
|
||||
*__description__*: The mapped value as [Type](_metadata_v0_modules_.maptype.md#type)
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L102)*
|
||||
*Defined in [Metadata/v0/Modules.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L102)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
getcall(): [CallMetadata](_metadata_v0_modules_.callmetadata.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:113](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L113)*
|
||||
*Defined in [Metadata/v0/Modules.ts:113](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L113)*
|
||||
|
||||
*__description__*: The calls as [CallMetadata](_metadata_v0_modules_.callmetadata.md)
|
||||
|
||||
@@ -100,7 +100,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:120](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L120)*
|
||||
*Defined in [Metadata/v0/Modules.ts:120](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L120)*
|
||||
|
||||
*__description__*: The name
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:281](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L281)*
|
||||
*Defined in [Metadata/v0/Modules.ts:281](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L281)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
getmodule(): [ModuleMetadata](_metadata_v0_modules_.modulemetadata.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:293](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L293)*
|
||||
*Defined in [Metadata/v0/Modules.ts:293](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L293)*
|
||||
|
||||
*__description__*: The [ModuleMetadata](_metadata_v0_modules_.modulemetadata.md)
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:300](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L300)*
|
||||
*Defined in [Metadata/v0/Modules.ts:300](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L300)*
|
||||
|
||||
*__description__*: The prefix
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
getstorage(): [Option](_codec_option_.option.md)<[StorageMetadata](_metadata_v0_modules_.storagemetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:307](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L307)*
|
||||
*Defined in [Metadata/v0/Modules.ts:307](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L307)*
|
||||
|
||||
*__description__*: The optional [StorageMetadata](_metadata_v0_modules_.storagemetadata.md)
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -266,7 +266,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -379,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -396,7 +396,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -413,7 +413,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -430,7 +430,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -466,7 +466,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:211](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L211)*
|
||||
*Defined in [Metadata/v0/Modules.ts:211](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L211)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
getdefault(): [Bytes](_primitive_bytes_.bytes.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:225](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L225)*
|
||||
*Defined in [Metadata/v0/Modules.ts:225](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L225)*
|
||||
|
||||
*__description__*: The default value of the storage function
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:232](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L232)*
|
||||
*Defined in [Metadata/v0/Modules.ts:232](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L232)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -113,7 +113,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -128,7 +128,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
getmodifier(): [StorageFunctionModifier](_metadata_v0_modules_.storagefunctionmodifier.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:246](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L246)*
|
||||
*Defined in [Metadata/v0/Modules.ts:246](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L246)*
|
||||
|
||||
*__description__*: The modifier
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:239](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L239)*
|
||||
*Defined in [Metadata/v0/Modules.ts:239](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L239)*
|
||||
|
||||
*__description__*: The key name
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
gettype(): [StorageFunctionType](_metadata_v0_modules_.storagefunctiontype.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:253](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L253)*
|
||||
*Defined in [Metadata/v0/Modules.ts:253](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L253)*
|
||||
|
||||
*__description__*: The [StorageFunctionType](_metadata_v0_modules_.storagefunctiontype.md)
|
||||
|
||||
@@ -249,7 +249,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -313,7 +313,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -388,7 +388,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -422,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -439,7 +439,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -456,7 +456,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -492,7 +492,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L125)*
|
||||
*Defined in [Metadata/v0/Modules.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L125)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[encodedLength](_codec_enum_.enum.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L64)*
|
||||
*Defined in [codec/Enum.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -57,7 +57,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[isEmpty](_codec_enum_.enum.md#isempty)*
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always false)
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
getisOptional(): `boolean`
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:133](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L133)*
|
||||
*Defined in [Metadata/v0/Modules.ts:133](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L133)*
|
||||
|
||||
*__description__*: `true` if the storage entry is optional
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[eq](_codec_enum_.enum.md#eq)*
|
||||
|
||||
*Defined in [codec/Enum.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L78)*
|
||||
*Defined in [codec/Enum.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L78)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -113,7 +113,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toHex](_codec_enum_.enum.md#tohex)*
|
||||
|
||||
*Defined in [codec/Enum.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L91)*
|
||||
*Defined in [codec/Enum.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L91)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toJSON](_codec_enum_.enum.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L98)*
|
||||
*Defined in [codec/Enum.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L98)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
|
||||
|
||||
*Defined in [codec/Enum.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L105)*
|
||||
*Defined in [codec/Enum.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L105)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toString](_codec_enum_.enum.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:112](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L112)*
|
||||
*Defined in [codec/Enum.ts:112](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L112)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toU8a](_codec_enum_.enum.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:120](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L120)*
|
||||
*Defined in [codec/Enum.ts:120](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L120)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -200,7 +200,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[decodeEnum](_codec_enum_.enum.md#decodeenum)*
|
||||
|
||||
*Defined in [codec/Enum.ts:47](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Enum.ts#L47)*
|
||||
*Defined in [codec/Enum.ts:47](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Enum.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:164](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L164)*
|
||||
*Defined in [Metadata/v0/Modules.ts:164](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L164)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
getasMap(): [MapType](_metadata_v0_modules_.maptype.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:182](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L182)*
|
||||
*Defined in [Metadata/v0/Modules.ts:182](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L182)*
|
||||
|
||||
*__description__*: The value as a mapped value
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getasType(): `PlainType`
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:189](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L189)*
|
||||
*Defined in [Metadata/v0/Modules.ts:189](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L189)*
|
||||
|
||||
*__description__*: The value as a \[\[Type\]\] value
|
||||
|
||||
@@ -69,7 +69,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L114)*
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L114)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -84,7 +84,7 @@ getindex(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[index](_codec_enumtype_.enumtype.md#index)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L121)*
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L121)*
|
||||
|
||||
*__description__*: The index of the metadata value
|
||||
|
||||
@@ -99,7 +99,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isEmpty](_codec_enumtype_.enumtype.md#isempty)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L128)*
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L128)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
getisMap(): `boolean`
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:175](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L175)*
|
||||
*Defined in [Metadata/v0/Modules.ts:175](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L175)*
|
||||
|
||||
*__description__*: `true` if the storage entry is a map
|
||||
|
||||
@@ -127,7 +127,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L135)*
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L135)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type
|
||||
|
||||
@@ -142,7 +142,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L142)*
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L142)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -157,7 +157,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L149)*
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L149)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -172,7 +172,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:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L156)*
|
||||
*Defined in [codec/EnumType.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L156)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[eq](_codec_enumtype_.enumtype.md#eq)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L163)*
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L163)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L176)*
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L176)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L183)*
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L183)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -247,7 +247,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L192)*
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L192)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -264,7 +264,7 @@ ___
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:196](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L196)*
|
||||
*Defined in [Metadata/v0/Modules.ts:196](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L196)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -281,7 +281,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L209)*
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[with](_codec_enumtype_.enumtype.md#with)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:258](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L258)*
|
||||
*Defined in [Metadata/v0/Modules.ts:258](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L258)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
getfunctions(): [Vector](_codec_vector_.vector.md)<[StorageFunctionMetadata](_metadata_v0_modules_.storagefunctionmetadata.md)>
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:269](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L269)*
|
||||
*Defined in [Metadata/v0/Modules.ts:269](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L269)*
|
||||
|
||||
*__description__*: The [StorageFunctionMetadata](_metadata_v0_modules_.storagefunctionmetadata.md) for the section
|
||||
|
||||
@@ -115,7 +115,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v0/Modules.ts:276](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v0/Modules.ts#L276)*
|
||||
*Defined in [Metadata/v0/Modules.ts:276](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v0/Modules.ts#L276)*
|
||||
|
||||
*__description__*: The section prefix
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:38](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L38)*
|
||||
*Defined in [Metadata/v1/Calls.ts:38](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L38)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getargs(): [Vector](_codec_vector_.vector.md)<[MetadataCallArg](_metadata_v1_calls_.metadatacallarg.md)>
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L53)*
|
||||
*Defined in [Metadata/v1/Calls.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L53)*
|
||||
|
||||
*__description__*: The [MetadataCallArg](_metadata_v1_calls_.metadatacallarg.md) for arguments
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
getdocs(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L60)*
|
||||
*Defined in [Metadata/v1/Calls.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L60)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L74)*
|
||||
*Defined in [Metadata/v1/Calls.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L74)*
|
||||
|
||||
*__description__*: The call name
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -270,7 +270,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -291,7 +291,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -434,7 +434,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -470,7 +470,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:10](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L10)*
|
||||
*Defined in [Metadata/v1/Calls.ts:10](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:21](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L21)*
|
||||
*Defined in [Metadata/v1/Calls.ts:21](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L21)*
|
||||
|
||||
*__description__*: The argument name
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
gettype(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v1/Calls.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Calls.ts#L28)*
|
||||
*Defined in [Metadata/v1/Calls.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Calls.ts#L28)*
|
||||
|
||||
*__description__*: The [Type](_metadata_v1_calls_.metadatacallarg.md#type)
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Events.ts:15](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Events.ts#L15)*
|
||||
*Defined in [Metadata/v1/Events.ts:15](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Events.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getargs(): [Vector](_codec_vector_.vector.md)<[Type](_primitive_type_.type.md)>
|
||||
|
||||
*Defined in [Metadata/v1/Events.ts:27](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Events.ts#L27)*
|
||||
*Defined in [Metadata/v1/Events.ts:27](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Events.ts#L27)*
|
||||
|
||||
*__description__*: The [Type](_metadata_v1_events_.metadataevent.md#type) for args
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
getdocs(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v1/Events.ts:34](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Events.ts#L34)*
|
||||
*Defined in [Metadata/v1/Events.ts:34](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Events.ts#L34)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/Events.ts:41](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Events.ts#L41)*
|
||||
*Defined in [Metadata/v1/Events.ts:41](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Events.ts#L41)*
|
||||
|
||||
*__description__*: The call name
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -270,7 +270,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -291,7 +291,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -434,7 +434,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -470,7 +470,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:22](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L22)*
|
||||
*Defined in [Metadata/v1/index.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getcalls(): [Option](_codec_option_.option.md)<[Vector](_codec_vector_.vector.md)<[MetadataCall](_metadata_v1_calls_.metadatacall.md)>>
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L36)*
|
||||
*Defined in [Metadata/v1/index.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L36)*
|
||||
|
||||
*__description__*: the module calls
|
||||
|
||||
@@ -104,7 +104,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getevents(): [Option](_codec_option_.option.md)<[Vector](_codec_vector_.vector.md)<[MetadataEvent](_metadata_v1_events_.metadataevent.md)>>
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L43)*
|
||||
*Defined in [Metadata/v1/index.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L43)*
|
||||
|
||||
*__description__*: the module events
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L50)*
|
||||
*Defined in [Metadata/v1/index.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L50)*
|
||||
|
||||
*__description__*: the module name
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:57](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L57)*
|
||||
*Defined in [Metadata/v1/index.ts:57](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L57)*
|
||||
|
||||
*__description__*: the module prefix
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
getstorage(): [Option](_codec_option_.option.md)<[Vector](_codec_vector_.vector.md)<[MetadataStorage](_metadata_v1_storage_.metadatastorage.md)>>
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L64)*
|
||||
*Defined in [Metadata/v1/index.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L64)*
|
||||
|
||||
*__description__*: the associated module storage
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -317,7 +317,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -409,7 +409,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -426,7 +426,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -443,7 +443,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -460,7 +460,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -496,7 +496,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L74)*
|
||||
*Defined in [Metadata/v1/index.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -92,7 +92,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -107,7 +107,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
getmodules(): [Vector](_codec_vector_.vector.md)<[MetadataModule](_metadata_v1_index_.metadatamodule.md)>
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L84)*
|
||||
*Defined in [Metadata/v1/index.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L84)*
|
||||
|
||||
*__description__*: The associated modules for this structure
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -245,7 +245,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -266,7 +266,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -283,14 +283,20 @@ ___
|
||||
|
||||
## getUniqTypes
|
||||
|
||||
▸ **getUniqTypes**(): `Array`<`string`>
|
||||
▸ **getUniqTypes**(throwError: *`boolean`*): `Array`<`string`>
|
||||
|
||||
*Implementation of [MetadataInterface](../interfaces/_metadata_types_.metadatainterface.md).[getUniqTypes](../interfaces/_metadata_types_.metadatainterface.md#getuniqtypes)*
|
||||
|
||||
*Defined in [Metadata/v1/index.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/index.ts#L123)*
|
||||
*Defined in [Metadata/v1/index.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/index.ts#L123)*
|
||||
|
||||
*__description__*: Helper to retrieve a list of all type that are found, sorted and de-deuplicated
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| throwError | `boolean` |
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
___
|
||||
@@ -356,7 +362,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -373,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -390,7 +396,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -407,7 +413,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -424,7 +430,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -460,7 +466,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[encodedLength](_primitive_null_.null.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L17)*
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L17)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -35,7 +35,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[isEmpty](_primitive_null_.null.md#isempty)*
|
||||
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L24)*
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L24)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always true)
|
||||
|
||||
@@ -55,7 +55,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[eq](_primitive_null_.null.md#eq)*
|
||||
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L31)*
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L31)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toHex](_primitive_null_.null.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L38)*
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L38)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toJSON](_primitive_null_.null.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L45)*
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L45)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toString](_primitive_null_.null.md#tostring)*
|
||||
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L52)*
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L52)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toU8a](_primitive_null_.null.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L60)*
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L60)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:37](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L37)*
|
||||
*Defined in [Metadata/v1/Storage.ts:37](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
getkey(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L48)*
|
||||
*Defined in [Metadata/v1/Storage.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L48)*
|
||||
|
||||
*__description__*: The mapped key as [Type](_metadata_v1_storage_.maptype.md#type)
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
getvalue(): [Type](_primitive_type_.type.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:55](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L55)*
|
||||
*Defined in [Metadata/v1/Storage.ts:55](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L55)*
|
||||
|
||||
*__description__*: The mapped value as [Type](_metadata_v1_storage_.maptype.md#type)
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -400,7 +400,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -453,7 +453,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:107](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L107)*
|
||||
*Defined in [Metadata/v1/Storage.ts:107](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
getdocs(): [Vector](_codec_vector_.vector.md)<[Text](_primitive_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L121)*
|
||||
*Defined in [Metadata/v1/Storage.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L121)*
|
||||
|
||||
*__description__*: The [Text](_primitive_text_.text.md) documentation
|
||||
|
||||
@@ -104,7 +104,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
getfallback(): [Bytes](_primitive_bytes_.bytes.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:128](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L128)*
|
||||
*Defined in [Metadata/v1/Storage.ts:128](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L128)*
|
||||
|
||||
*__description__*: The [Bytes](_primitive_bytes_.bytes.md) fallback default
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
getmodifier(): [MetadataStorageModifier](_metadata_v1_storage_.metadatastoragemodifier.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:135](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L135)*
|
||||
*Defined in [Metadata/v1/Storage.ts:135](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L135)*
|
||||
|
||||
*__description__*: The \[\[MetadataArgument\]\] for arguments
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
getname(): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L142)*
|
||||
*Defined in [Metadata/v1/Storage.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L142)*
|
||||
|
||||
*__description__*: The call name
|
||||
|
||||
@@ -171,7 +171,7 @@ ___
|
||||
|
||||
gettype(): [MetadataStorageType](_metadata_v1_storage_.metadatastoragetype.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L149)*
|
||||
*Defined in [Metadata/v1/Storage.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L149)*
|
||||
|
||||
*__description__*: The [MetadataStorageType](_metadata_v1_storage_.metadatastoragetype.md)
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -317,7 +317,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -409,7 +409,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -426,7 +426,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -443,7 +443,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -460,7 +460,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -496,7 +496,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L17)*
|
||||
*Defined in [Metadata/v1/Storage.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L114)*
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L114)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -58,7 +58,7 @@ getindex(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[index](_codec_enumtype_.enumtype.md#index)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L121)*
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L121)*
|
||||
|
||||
*__description__*: The index of the metadata value
|
||||
|
||||
@@ -73,7 +73,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isEmpty](_codec_enumtype_.enumtype.md#isempty)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L128)*
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L128)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -88,7 +88,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L135)*
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L135)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type
|
||||
|
||||
@@ -103,7 +103,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L142)*
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L142)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
getisOptional(): `boolean`
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L28)*
|
||||
*Defined in [Metadata/v1/Storage.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L28)*
|
||||
|
||||
*__description__*: `true` if the storage entry is optional
|
||||
|
||||
@@ -131,7 +131,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L149)*
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L149)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -146,7 +146,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:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L156)*
|
||||
*Defined in [codec/EnumType.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L156)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -166,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[eq](_codec_enumtype_.enumtype.md#eq)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L163)*
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L163)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -189,7 +189,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L176)*
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L176)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -206,7 +206,7 @@ ___
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:32](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L32)*
|
||||
*Defined in [Metadata/v1/Storage.ts:32](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L32)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L192)*
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L192)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:199](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L199)*
|
||||
*Defined in [codec/EnumType.ts:199](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L199)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -253,7 +253,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L209)*
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[with](_codec_enumtype_.enumtype.md#with)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:63](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L63)*
|
||||
*Defined in [Metadata/v1/Storage.ts:63](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
getasMap(): [MapType](_metadata_v1_storage_.maptype.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:81](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L81)*
|
||||
*Defined in [Metadata/v1/Storage.ts:81](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L81)*
|
||||
|
||||
*__description__*: The value as a mapped value
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getasType(): [PlainType](_metadata_v1_storage_.plaintype.md)
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:88](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L88)*
|
||||
*Defined in [Metadata/v1/Storage.ts:88](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L88)*
|
||||
|
||||
*__description__*: The value as a \[\[Type\]\] value
|
||||
|
||||
@@ -69,7 +69,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[encodedLength](_codec_enumtype_.enumtype.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L114)*
|
||||
*Defined in [codec/EnumType.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L114)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -84,7 +84,7 @@ getindex(): `number`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[index](_codec_enumtype_.enumtype.md#index)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L121)*
|
||||
*Defined in [codec/EnumType.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L121)*
|
||||
|
||||
*__description__*: The index of the metadata value
|
||||
|
||||
@@ -99,7 +99,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isEmpty](_codec_enumtype_.enumtype.md#isempty)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L128)*
|
||||
*Defined in [codec/EnumType.ts:128](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L128)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
getisMap(): `boolean`
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L74)*
|
||||
*Defined in [Metadata/v1/Storage.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L74)*
|
||||
|
||||
*__description__*: `true` if the storage entry is a map
|
||||
|
||||
@@ -127,7 +127,7 @@ getisNone(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNone](_codec_enumtype_.enumtype.md#isnone)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L135)*
|
||||
*Defined in [codec/EnumType.ts:135](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L135)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type
|
||||
|
||||
@@ -142,7 +142,7 @@ getisNull(): `boolean`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[isNull](_codec_enumtype_.enumtype.md#isnull)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L142)*
|
||||
*Defined in [codec/EnumType.ts:142](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L142)*
|
||||
|
||||
*__description__*: Checks if the Enum points to a [Null](_primitive_null_.null.md) type (deprecated, use isNone)
|
||||
|
||||
@@ -157,7 +157,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L149)*
|
||||
*Defined in [codec/EnumType.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L149)*
|
||||
|
||||
*__description__*: The name of the type this enum value represents
|
||||
|
||||
@@ -172,7 +172,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:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L156)*
|
||||
*Defined in [codec/EnumType.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L156)*
|
||||
|
||||
*__description__*: The value of the enum
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[eq](_codec_enumtype_.enumtype.md#eq)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L163)*
|
||||
*Defined in [codec/EnumType.ts:163](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L163)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toHex](_codec_enumtype_.enumtype.md#tohex)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L176)*
|
||||
*Defined in [codec/EnumType.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L176)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toJSON](_codec_enumtype_.enumtype.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L183)*
|
||||
*Defined in [codec/EnumType.ts:183](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L183)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -247,7 +247,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L192)*
|
||||
*Defined in [codec/EnumType.ts:192](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L192)*
|
||||
|
||||
*__description__*: Returns the number representation for the value
|
||||
|
||||
@@ -264,7 +264,7 @@ ___
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [Metadata/v1/Storage.ts:95](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/Metadata/v1/Storage.ts#L95)*
|
||||
*Defined in [Metadata/v1/Storage.ts:95](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/Metadata/v1/Storage.ts#L95)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -281,7 +281,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toU8a](_codec_enumtype_.enumtype.md#tou8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L209)*
|
||||
*Defined in [codec/EnumType.ts:209](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L209)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[with](_codec_enumtype_.enumtype.md#with)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/EnumType.ts#L101)*
|
||||
*Defined in [codec/EnumType.ts:101](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/EnumType.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[encodedLength](_primitive_null_.null.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L17)*
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L17)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -35,7 +35,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[isEmpty](_primitive_null_.null.md#isempty)*
|
||||
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L24)*
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L24)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always true)
|
||||
|
||||
@@ -55,7 +55,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[eq](_primitive_null_.null.md#eq)*
|
||||
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L31)*
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L31)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toHex](_primitive_null_.null.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L38)*
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L38)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toJSON](_primitive_null_.null.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L45)*
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L45)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toString](_primitive_null_.null.md#tostring)*
|
||||
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L52)*
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L52)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Inherited from [Null](_primitive_null_.null.md).[toU8a](_primitive_null_.null.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L60)*
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L60)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[constructor](_primitive_text_.text.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Type.ts:19](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L19)*
|
||||
*Defined in [primitive/Type.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -49,7 +49,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[encodedLength](_primitive_text_.text.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Type.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L76)*
|
||||
*Defined in [primitive/Type.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L76)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -64,7 +64,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[isEmpty](_primitive_text_.text.md#isempty)*
|
||||
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L52)*
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L52)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -81,7 +81,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides String.length*
|
||||
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L59)*
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -288,7 +288,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[eq](_primitive_text_.text.md#eq)*
|
||||
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L67)*
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L67)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -870,7 +870,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[toHex](_primitive_text_.text.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L76)*
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L76)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -887,7 +887,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[toJSON](_primitive_text_.text.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L83)*
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L83)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -951,7 +951,7 @@ ___
|
||||
|
||||
*Overrides String.toString*
|
||||
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L90)*
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L90)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -970,7 +970,7 @@ ___
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[toU8a](_primitive_text_.text.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Type.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L87)*
|
||||
*Defined in [primitive/Type.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L87)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
⊕ **new Bool**(value?: *[Bool](_primitive_bool_.bool.md) \| `Boolean` \| `Uint8Array` \| `boolean` \| `number`*): [Bool](_primitive_bool_.bool.md)
|
||||
|
||||
*Defined in [primitive/Bool.ts:15](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L15)*
|
||||
*Defined in [primitive/Bool.ts:15](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [primitive/Bool.ts:35](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L35)*
|
||||
*Defined in [primitive/Bool.ts:35](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L35)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [primitive/Bool.ts:42](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L42)*
|
||||
*Defined in [primitive/Bool.ts:42](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L42)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always false)
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [primitive/Bool.ts:49](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L49)*
|
||||
*Defined in [primitive/Bool.ts:49](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L49)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Bool.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L60)*
|
||||
*Defined in [primitive/Bool.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L60)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Bool.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L67)*
|
||||
*Defined in [primitive/Bool.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L67)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [primitive/Bool.ts:74](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L74)*
|
||||
*Defined in [primitive/Bool.ts:74](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L74)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Bool.ts:82](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bool.ts#L82)*
|
||||
*Defined in [primitive/Bool.ts:82](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bool.ts#L82)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
*Defined in [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -125,7 +125,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -140,7 +140,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -157,7 +157,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -228,7 +228,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -722,7 +722,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -746,7 +746,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -763,7 +763,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -797,7 +797,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -814,7 +814,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -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/f4119bf/packages/types/src/codec/U8a.ts#L18)*
|
||||
*Defined in [codec/U8a.ts:18](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -130,7 +130,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -147,7 +147,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -712,7 +712,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -736,7 +736,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -787,7 +787,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -804,7 +804,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [primitive/H160.ts:15](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/H160.ts#L15)*
|
||||
*Defined in [primitive/H160.ts:15](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/H160.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -130,7 +130,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -147,7 +147,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -233,7 +233,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -727,7 +727,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -751,7 +751,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -768,7 +768,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -802,7 +802,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -819,7 +819,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [primitive/H256.ts:15](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/H256.ts#L15)*
|
||||
*Defined in [primitive/H256.ts:15](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/H256.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -149,7 +149,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -729,7 +729,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -770,7 +770,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -804,7 +804,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/H512.ts#L14)*
|
||||
*Defined in [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -149,7 +149,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -729,7 +729,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -770,7 +770,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -804,7 +804,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I128.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I128.ts#L14)*
|
||||
*Defined in [primitive/I128.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I128.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I16.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I16.ts#L14)*
|
||||
*Defined in [primitive/I16.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I16.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I256.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I256.ts#L14)*
|
||||
*Defined in [primitive/I256.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I256.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I32.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I32.ts#L14)*
|
||||
*Defined in [primitive/I32.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I32.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I64.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I64.ts#L14)*
|
||||
*Defined in [primitive/I64.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
*Overrides [Int](_codec_int_.int.md).[constructor](_codec_int_.int.md#constructor)*
|
||||
|
||||
*Defined in [primitive/I8.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/I8.ts#L14)*
|
||||
*Defined in [primitive/I8.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/I8.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -50,7 +50,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -65,7 +65,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -205,7 +205,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -380,7 +380,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1544,7 +1544,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1585,7 +1585,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L36)*
|
||||
*Defined in [codec/Int.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1604,7 +1604,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1657,7 +1657,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1703,7 +1703,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Int.ts#L48)*
|
||||
*Defined in [codec/Int.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Int.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1907,7 +1907,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Method.ts:70](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L70)*
|
||||
*Defined in [primitive/Method.ts:70](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -79,7 +79,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getargs(): `Array`<[Codec](../interfaces/_types_.codec.md)>
|
||||
|
||||
*Defined in [primitive/Method.ts:192](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L192)*
|
||||
*Defined in [primitive/Method.ts:192](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L192)*
|
||||
|
||||
*__description__*: The arguments for the function call
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
getargsDef(): `ArgsDef`
|
||||
|
||||
*Defined in [primitive/Method.ts:200](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L200)*
|
||||
*Defined in [primitive/Method.ts:200](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L200)*
|
||||
|
||||
*__description__*: Thge argument defintions
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [primitive/Method.ts:207](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L207)*
|
||||
*Defined in [primitive/Method.ts:207](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L207)*
|
||||
|
||||
*__description__*: The encoded `[sectionIndex, methodIndex]` identifier
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [primitive/Method.ts:214](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L214)*
|
||||
*Defined in [primitive/Method.ts:214](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L214)*
|
||||
|
||||
*__description__*: The encoded data
|
||||
|
||||
@@ -146,7 +146,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
gethasOrigin(): `boolean`
|
||||
|
||||
*Defined in [primitive/Method.ts:221](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L221)*
|
||||
*Defined in [primitive/Method.ts:221](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L221)*
|
||||
|
||||
*__description__*: `true` if the `Origin` type is on the method (extrinsic method)
|
||||
|
||||
@@ -174,7 +174,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_v0_modules_.functionmetadata.md)
|
||||
|
||||
*Defined in [primitive/Method.ts:230](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L230)*
|
||||
*Defined in [primitive/Method.ts:230](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L230)*
|
||||
|
||||
*__description__*: The [FunctionMetadata](_metadata_v0_modules_.functionmetadata.md)
|
||||
|
||||
@@ -269,7 +269,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -312,7 +312,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -333,7 +333,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -408,7 +408,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -442,7 +442,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -459,7 +459,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -476,7 +476,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -510,7 +510,7 @@ ___
|
||||
|
||||
▸ **filterOrigin**(meta?: *[FunctionMetadata](_metadata_v0_modules_.functionmetadata.md)*): `Array`<[FunctionArgumentMetadata](_metadata_v0_modules_.functionargumentmetadata.md)>
|
||||
|
||||
*Defined in [primitive/Method.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L140)*
|
||||
*Defined in [primitive/Method.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -527,7 +527,7 @@ ___
|
||||
|
||||
▸ **findFunction**(callIndex: *`Uint8Array`*): [MethodFunction](../interfaces/_primitive_method_.methodfunction.md)
|
||||
|
||||
*Defined in [primitive/Method.ts:156](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L156)*
|
||||
*Defined in [primitive/Method.ts:156](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L156)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -544,7 +544,7 @@ ___
|
||||
|
||||
▸ **injectMethods**(moduleMethods: *[ModulesWithMethods](../interfaces/_primitive_method_.moduleswithmethods.md)*): `void`
|
||||
|
||||
*Defined in [primitive/Method.ts:181](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L181)*
|
||||
*Defined in [primitive/Method.ts:181](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L181)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -563,7 +563,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Method.ts:57](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Method.ts#L57)*
|
||||
*Defined in [primitive/Method.ts:57](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Method.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -130,7 +130,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -147,7 +147,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -233,7 +233,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -727,7 +727,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -751,7 +751,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -768,7 +768,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -802,7 +802,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -819,7 +819,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
⊕ **new Moment**(value?: *[Moment](_primitive_moment_.moment.md) \| `Date` \| [AnyNumber](../modules/_types_.md#anynumber)*): [Moment](_primitive_moment_.moment.md)
|
||||
|
||||
*Defined in [primitive/Moment.ts:24](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L24)*
|
||||
*Defined in [primitive/Moment.ts:24](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -56,7 +56,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [primitive/Moment.ts:51](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L51)*
|
||||
*Defined in [primitive/Moment.ts:51](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L51)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [primitive/Moment.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L58)*
|
||||
*Defined in [primitive/Moment.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L58)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
▸ **bitLength**(): [UIntBitLength](../modules/_codec_abstractint_.md#uintbitlength)
|
||||
|
||||
*Defined in [primitive/Moment.ts:72](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L72)*
|
||||
*Defined in [primitive/Moment.ts:72](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L72)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L65)*
|
||||
*Defined in [primitive/Moment.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L65)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [primitive/Moment.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L79)*
|
||||
*Defined in [primitive/Moment.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L79)*
|
||||
|
||||
*__description__*: Returns the BN representation of the timestamp
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:86](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L86)*
|
||||
*Defined in [primitive/Moment.ts:86](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L86)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Overrides Date.toJSON*
|
||||
|
||||
*Defined in [primitive/Moment.ts:93](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L93)*
|
||||
*Defined in [primitive/Moment.ts:93](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L93)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [primitive/Moment.ts:100](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L100)*
|
||||
*Defined in [primitive/Moment.ts:100](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L100)*
|
||||
|
||||
*__description__*: Returns the number representation for the timestamp
|
||||
|
||||
@@ -181,7 +181,7 @@ ___
|
||||
|
||||
*Overrides Date.toString*
|
||||
|
||||
*Defined in [primitive/Moment.ts:107](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L107)*
|
||||
*Defined in [primitive/Moment.ts:107](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L107)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -196,7 +196,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:116](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L116)*
|
||||
*Defined in [primitive/Moment.ts:116](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L116)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
▸ **decodeMoment**(value: *[Moment](_primitive_moment_.moment.md) \| `Date` \| [AnyNumber](../modules/_types_.md#anynumber)*): `Date`
|
||||
|
||||
*Defined in [primitive/Moment.ts:34](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L34)*
|
||||
*Defined in [primitive/Moment.ts:34](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[constructor](_primitive_moment_.moment.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:24](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L24)*
|
||||
*Defined in [primitive/Moment.ts:24](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -65,7 +65,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[encodedLength](_primitive_moment_.moment.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:51](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L51)*
|
||||
*Defined in [primitive/Moment.ts:51](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L51)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -80,7 +80,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[isEmpty](_primitive_moment_.moment.md#isempty)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L58)*
|
||||
*Defined in [primitive/Moment.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L58)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -170,7 +170,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[bitLength](_primitive_moment_.moment.md#bitlength)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:72](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L72)*
|
||||
*Defined in [primitive/Moment.ts:72](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L72)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[eq](_primitive_moment_.moment.md#eq)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L65)*
|
||||
*Defined in [primitive/Moment.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L65)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -811,7 +811,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[toBn](_primitive_moment_.moment.md#tobn)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:79](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L79)*
|
||||
*Defined in [primitive/Moment.ts:79](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L79)*
|
||||
|
||||
*__description__*: Returns the BN representation of the timestamp
|
||||
|
||||
@@ -843,7 +843,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[toHex](_primitive_moment_.moment.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:86](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L86)*
|
||||
*Defined in [primitive/Moment.ts:86](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L86)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -877,7 +877,7 @@ ___
|
||||
|
||||
*Overrides Date.toJSON*
|
||||
|
||||
*Defined in [primitive/Moment.ts:93](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L93)*
|
||||
*Defined in [primitive/Moment.ts:93](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L93)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -937,7 +937,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[toNumber](_primitive_moment_.moment.md#tonumber)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:100](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L100)*
|
||||
*Defined in [primitive/Moment.ts:100](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L100)*
|
||||
|
||||
*__description__*: Returns the number representation for the timestamp
|
||||
|
||||
@@ -956,7 +956,7 @@ ___
|
||||
|
||||
*Overrides Date.toString*
|
||||
|
||||
*Defined in [primitive/Moment.ts:107](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L107)*
|
||||
*Defined in [primitive/Moment.ts:107](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L107)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -988,7 +988,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[toU8a](_primitive_moment_.moment.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:116](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L116)*
|
||||
*Defined in [primitive/Moment.ts:116](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L116)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1039,7 +1039,7 @@ ___
|
||||
|
||||
*Inherited from [Moment](_primitive_moment_.moment.md).[decodeMoment](_primitive_moment_.moment.md#decodemoment)*
|
||||
|
||||
*Defined in [primitive/Moment.ts:34](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Moment.ts#L34)*
|
||||
*Defined in [primitive/Moment.ts:34](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Moment.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L17)*
|
||||
*Defined in [primitive/Null.ts:17](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L17)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -49,7 +49,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L24)*
|
||||
*Defined in [primitive/Null.ts:24](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L24)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value (always true)
|
||||
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L31)*
|
||||
*Defined in [primitive/Null.ts:31](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L31)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -88,7 +88,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L38)*
|
||||
*Defined in [primitive/Null.ts:38](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L38)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L45)*
|
||||
*Defined in [primitive/Null.ts:45](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L45)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L52)*
|
||||
*Defined in [primitive/Null.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L52)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -133,7 +133,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Null.ts#L60)*
|
||||
*Defined in [primitive/Null.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Null.ts#L60)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
*Defined in [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -151,7 +151,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -222,7 +222,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -716,7 +716,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -740,7 +740,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -757,7 +757,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -791,7 +791,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -810,7 +810,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
*Overrides [Bytes](_primitive_bytes_.bytes.md).[constructor](_primitive_bytes_.bytes.md#constructor)*
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L28)*
|
||||
*Defined in [primitive/StorageKey.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -149,7 +149,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
getmeta(): [StorageFunctionMetadata](_metadata_v0_modules_.storagefunctionmetadata.md) \| `null`
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:82](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L82)*
|
||||
*Defined in [primitive/StorageKey.ts:82](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L82)*
|
||||
|
||||
*__description__*: The metadata or `null` when not available
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
getoutputType(): `string` \| `null`
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:89](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L89)*
|
||||
*Defined in [primitive/StorageKey.ts:89](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L89)*
|
||||
|
||||
*__description__*: The output type, `null` when not available
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -740,7 +740,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -764,7 +764,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -781,7 +781,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -815,7 +815,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -834,7 +834,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -868,7 +868,7 @@ ___
|
||||
|
||||
▸ **decodeStorageKey**(value: *[AnyU8a](../modules/_types_.md#anyu8a) \| [StorageKey](_primitive_storagekey_.storagekey.md) \| [StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md) \| [[StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md), `any`]*): `Uint8Array`
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:37](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L37)*
|
||||
*Defined in [primitive/StorageKey.ts:37](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -885,7 +885,7 @@ ___
|
||||
|
||||
▸ **getMeta**(value: *[StorageKey](_primitive_storagekey_.storagekey.md) \| [StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md) \| [[StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md), `any`]*): [StorageFunctionMetadata](_metadata_v0_modules_.storagefunctionmetadata.md) \| `null`
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:51](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L51)*
|
||||
*Defined in [primitive/StorageKey.ts:51](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -902,7 +902,7 @@ ___
|
||||
|
||||
▸ **getType**(value: *[StorageKey](_primitive_storagekey_.storagekey.md) \| [StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md) \| [[StorageFunction](../interfaces/_primitive_storagekey_.storagefunction.md), `any`]*): `string` \| `null`
|
||||
|
||||
*Defined in [primitive/StorageKey.ts:65](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/StorageKey.ts#L65)*
|
||||
*Defined in [primitive/StorageKey.ts:65](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/StorageKey.ts#L65)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
⊕ **new Text**(value?: *[Text](_primitive_text_.text.md) \| `string` \| [AnyU8a](../modules/_types_.md#anyu8a) \| `object`*): [Text](_primitive_text_.text.md)
|
||||
|
||||
*Defined in [primitive/Text.ts:23](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L23)*
|
||||
*Defined in [primitive/Text.ts:23](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [primitive/Text.ts:45](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L45)*
|
||||
*Defined in [primitive/Text.ts:45](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L45)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -74,7 +74,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L52)*
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L52)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -89,7 +89,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides String.length*
|
||||
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L59)*
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L67)*
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L67)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L76)*
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L76)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L83)*
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L83)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Overrides String.toString*
|
||||
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L90)*
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L90)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Text.ts:99](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L99)*
|
||||
*Defined in [primitive/Text.ts:99](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L99)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[constructor](_primitive_text_.text.md#constructor)*
|
||||
|
||||
*Defined in [primitive/Type.ts:19](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L19)*
|
||||
*Defined in [primitive/Type.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[encodedLength](_primitive_text_.text.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Type.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L76)*
|
||||
*Defined in [primitive/Type.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L76)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -66,7 +66,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[isEmpty](_primitive_text_.text.md#isempty)*
|
||||
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L52)*
|
||||
*Defined in [primitive/Text.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L52)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -83,7 +83,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides String.length*
|
||||
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L59)*
|
||||
*Defined in [primitive/Text.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -290,7 +290,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[eq](_primitive_text_.text.md#eq)*
|
||||
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L67)*
|
||||
*Defined in [primitive/Text.ts:67](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L67)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -872,7 +872,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[toHex](_primitive_text_.text.md#tohex)*
|
||||
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L76)*
|
||||
*Defined in [primitive/Text.ts:76](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L76)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -889,7 +889,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_primitive_text_.text.md).[toJSON](_primitive_text_.text.md#tojson)*
|
||||
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L83)*
|
||||
*Defined in [primitive/Text.ts:83](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L83)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -953,7 +953,7 @@ ___
|
||||
|
||||
*Overrides String.toString*
|
||||
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Text.ts#L90)*
|
||||
*Defined in [primitive/Text.ts:90](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Text.ts#L90)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -970,7 +970,7 @@ ___
|
||||
|
||||
*Overrides [Text](_primitive_text_.text.md).[toU8a](_primitive_text_.text.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Type.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Type.ts#L87)*
|
||||
*Defined in [primitive/Type.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Type.ts#L87)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U128.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U128.ts#L14)*
|
||||
*Defined in [primitive/U128.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U128.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -63,7 +63,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -203,7 +203,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -378,7 +378,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1542,7 +1542,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1583,7 +1583,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1602,7 +1602,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1655,7 +1655,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1701,7 +1701,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1905,7 +1905,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U16.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U16.ts#L14)*
|
||||
*Defined in [primitive/U16.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U16.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U256.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U256.ts#L14)*
|
||||
*Defined in [primitive/U256.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U256.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U32.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U32.ts#L14)*
|
||||
*Defined in [primitive/U32.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U32.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -66,7 +66,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -81,7 +81,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -221,7 +221,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -396,7 +396,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1560,7 +1560,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1601,7 +1601,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1620,7 +1620,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1673,7 +1673,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1719,7 +1719,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1923,7 +1923,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U64.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U64.ts#L14)*
|
||||
*Defined in [primitive/U64.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -69,7 +69,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -209,7 +209,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -384,7 +384,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1548,7 +1548,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1589,7 +1589,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1608,7 +1608,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1661,7 +1661,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1707,7 +1707,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1911,7 +1911,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U8.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U8.ts#L14)*
|
||||
*Defined in [primitive/U8.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U8.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1540,7 +1540,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1581,7 +1581,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1600,7 +1600,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1653,7 +1653,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1699,7 +1699,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1903,7 +1903,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [primitive/U64.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/U64.ts#L14)*
|
||||
*Defined in [primitive/U64.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/U64.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -48,7 +48,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -63,7 +63,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -203,7 +203,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -378,7 +378,7 @@ ___
|
||||
|
||||
*Overrides BN.eq*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
*Defined in [codec/AbstractInt.ts:85](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L85)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1542,7 +1542,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1583,7 +1583,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1602,7 +1602,7 @@ ___
|
||||
|
||||
*Overrides BN.toJSON*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
*Defined in [codec/AbstractInt.ts:110](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L110)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1655,7 +1655,7 @@ ___
|
||||
|
||||
*Overrides BN.toString*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
*Defined in [codec/AbstractInt.ts:121](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L121)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1701,7 +1701,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1905,7 +1905,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [type/AccountId.ts:19](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L19)*
|
||||
*Defined in [type/AccountId.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,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/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -134,7 +134,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -151,7 +151,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -182,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [type/AccountId.ts:46](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L46)*
|
||||
*Defined in [type/AccountId.ts:46](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -731,7 +731,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -755,7 +755,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -772,7 +772,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [type/AccountId.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L53)*
|
||||
*Defined in [type/AccountId.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -804,7 +804,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [type/AccountId.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L60)*
|
||||
*Defined in [type/AccountId.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L60)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -855,7 +855,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [type/AccountId.ts:27](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L27)*
|
||||
*Defined in [type/AccountId.ts:27](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [type/AccountId.ts:19](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L19)*
|
||||
*Defined in [type/AccountId.ts:19](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -149,7 +149,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [type/AccountId.ts:46](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L46)*
|
||||
*Defined in [type/AccountId.ts:46](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L46)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -731,7 +731,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -755,7 +755,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -774,7 +774,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [type/AccountId.ts:53](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L53)*
|
||||
*Defined in [type/AccountId.ts:53](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L53)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -808,7 +808,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [type/AccountId.ts:60](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L60)*
|
||||
*Defined in [type/AccountId.ts:60](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L60)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -825,7 +825,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -861,7 +861,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_type_accountid_.accountid.md).[encode](_type_accountid_.accountid.md#encode)*
|
||||
|
||||
*Defined in [type/AccountId.ts:27](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountId.ts#L27)*
|
||||
*Defined in [type/AccountId.ts:27](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountId.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [U32](_primitive_u32_.u32.md).[constructor](_primitive_u32_.u32.md#constructor)*
|
||||
|
||||
*Defined in [type/AccountIndex.ts:28](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L28)*
|
||||
*Defined in [type/AccountIndex.ts:28](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from AbstractInt.encodedLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
*Defined in [codec/AbstractInt.ts:64](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L64)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -61,7 +61,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from AbstractInt.isEmpty*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
*Defined in [codec/AbstractInt.ts:71](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L71)*
|
||||
|
||||
*__description__*: Checks if the value is a zero value (align elsewhere)
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Overrides BN.bitLength*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
*Defined in [codec/AbstractInt.ts:78](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L78)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -374,7 +374,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.eq*
|
||||
|
||||
*Defined in [type/AccountIndex.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L87)*
|
||||
*Defined in [type/AccountIndex.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L87)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -1538,7 +1538,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.toBn*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
*Defined in [codec/AbstractInt.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L98)*
|
||||
|
||||
*__description__*: Returns the BN representation of the number. (Compatibility)
|
||||
|
||||
@@ -1579,7 +1579,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toHex*
|
||||
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L36)*
|
||||
*Defined in [codec/UInt.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L36)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1596,7 +1596,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toJSON*
|
||||
|
||||
*Defined in [type/AccountIndex.ts:100](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L100)*
|
||||
*Defined in [type/AccountIndex.ts:100](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L100)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1649,7 +1649,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toString*
|
||||
|
||||
*Defined in [type/AccountIndex.ts:107](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L107)*
|
||||
*Defined in [type/AccountIndex.ts:107](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L107)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1689,7 +1689,7 @@ ___
|
||||
|
||||
*Overrides AbstractInt.toU8a*
|
||||
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/UInt.ts#L48)*
|
||||
*Defined in [codec/UInt.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/UInt.ts#L48)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1891,7 +1891,7 @@ ___
|
||||
|
||||
▸ **calcLength**(_value: *`BN` \| `number`*): `number`
|
||||
|
||||
*Defined in [type/AccountIndex.ts:47](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L47)*
|
||||
*Defined in [type/AccountIndex.ts:47](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1910,7 +1910,7 @@ ___
|
||||
|
||||
*Inherited from AbstractInt.decodeAbstracInt*
|
||||
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
*Defined in [codec/AbstractInt.ts:39](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/AbstractInt.ts#L39)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1929,7 +1929,7 @@ ___
|
||||
|
||||
▸ **decodeAccountIndex**(value: *[AnyNumber](../modules/_types_.md#anynumber)*): `BN` \| `Uint8Array` \| `number` \| `string`
|
||||
|
||||
*Defined in [type/AccountIndex.ts:35](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L35)*
|
||||
*Defined in [type/AccountIndex.ts:35](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -2032,7 +2032,7 @@ ___
|
||||
|
||||
▸ **readLength**(input: *`Uint8Array`*): [`number`, `number`]
|
||||
|
||||
*Defined in [type/AccountIndex.ts:61](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L61)*
|
||||
*Defined in [type/AccountIndex.ts:61](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -2070,7 +2070,7 @@ ___
|
||||
|
||||
▸ **writeLength**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [type/AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AccountIndex.ts#L75)*
|
||||
*Defined in [type/AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AccountIndex.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [type/Address.ts:26](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L26)*
|
||||
*Defined in [type/Address.ts:26](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L26)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [type/Address.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L68)*
|
||||
*Defined in [type/Address.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L68)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [type/Address.ts:82](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L82)*
|
||||
*Defined in [type/Address.ts:82](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L82)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
getrawLength(): `number`
|
||||
|
||||
*Defined in [type/Address.ts:89](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L89)*
|
||||
*Defined in [type/Address.ts:89](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L89)*
|
||||
|
||||
*__description__*: The length of the raw value, either AccountIndex or AccountId
|
||||
|
||||
@@ -88,7 +88,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[eq](../interfaces/_types_.codec.md#eq)*
|
||||
|
||||
*Defined in [type/Address.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L98)*
|
||||
*Defined in [type/Address.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L98)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toHex](../interfaces/_types_.codec.md#tohex)*
|
||||
|
||||
*Defined in [type/Address.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L105)*
|
||||
*Defined in [type/Address.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L105)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toJSON](../interfaces/_types_.codec.md#tojson)*
|
||||
|
||||
*Defined in [type/Address.ts:112](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L112)*
|
||||
*Defined in [type/Address.ts:112](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L112)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toString](../interfaces/_types_.codec.md#tostring)*
|
||||
|
||||
*Defined in [type/Address.ts:119](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L119)*
|
||||
*Defined in [type/Address.ts:119](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L119)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Implementation of [Codec](../interfaces/_types_.codec.md).[toU8a](../interfaces/_types_.codec.md#tou8a)*
|
||||
|
||||
*Defined in [type/Address.ts:127](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L127)*
|
||||
*Defined in [type/Address.ts:127](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L127)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
▸ **decodeAddress**(value: *`AnyAddress`*): [AccountId](_type_accountid_.accountid.md) \| [AccountIndex](_type_accountindex_.accountindex.md)
|
||||
|
||||
*Defined in [type/Address.ts:33](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/Address.ts#L33)*
|
||||
*Defined in [type/Address.ts:33](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/Address.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [type/AttestedCandidate.ts:88](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AttestedCandidate.ts#L88)*
|
||||
*Defined in [type/AttestedCandidate.ts:88](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AttestedCandidate.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -76,7 +76,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -91,7 +91,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -106,7 +106,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -188,7 +188,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -231,7 +231,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -252,7 +252,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -327,7 +327,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -361,7 +361,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -378,7 +378,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -395,7 +395,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -431,7 +431,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**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/f4119bf/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -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/f4119bf/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[isEmpty](_codec_tuple_.tuple.md#isempty)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[eq](_codec_tuple_.tuple.md#eq)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -705,7 +705,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L149)*
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1013,7 +1013,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1030,7 +1030,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L98)*
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1047,7 +1047,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1081,7 +1081,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1098,7 +1098,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123)*
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1155,7 +1155,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/f4119bf/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/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/f4119bf/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -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/f4119bf/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[isEmpty](_codec_tuple_.tuple.md#isempty)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[eq](_codec_tuple_.tuple.md#eq)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -705,7 +705,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L149)*
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1013,7 +1013,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1030,7 +1030,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L98)*
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1047,7 +1047,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1081,7 +1081,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1098,7 +1098,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123)*
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1155,7 +1155,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/f4119bf/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/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 [type/AttestedCandidate.ts:30](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/type/AttestedCandidate.ts#L30)*
|
||||
*Defined in [type/AttestedCandidate.ts:30](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/type/AttestedCandidate.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -72,7 +72,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -87,7 +87,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -102,7 +102,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[isEmpty](_codec_struct_.struct.md#isempty)*
|
||||
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[eq](_codec_struct_.struct.md#eq)*
|
||||
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -227,7 +227,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -248,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -323,7 +323,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toArray](_codec_struct_.struct.md#toarray)*
|
||||
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -340,7 +340,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -357,7 +357,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L212)*
|
||||
*Defined in [codec/Struct.ts:212](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L212)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -374,7 +374,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -391,7 +391,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -427,7 +427,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/H512.ts#L14)*
|
||||
*Defined in [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +117,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -132,7 +132,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -149,7 +149,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -729,7 +729,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -770,7 +770,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -804,7 +804,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__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/f4119bf/packages/types/src/codec/Tuple.ts#L22)*
|
||||
*Defined in [codec/Tuple.ts:22](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -62,7 +62,7 @@ getTypes(): `Array`<`string`>
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[Types](_codec_tuple_.tuple.md#types)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L75)*
|
||||
*Defined in [codec/Tuple.ts:75](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L75)*
|
||||
|
||||
*__description__*: The types definition of the tuple
|
||||
|
||||
@@ -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/f4119bf/packages/types/src/codec/Tuple.ts#L59)*
|
||||
*Defined in [codec/Tuple.ts:59](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L59)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -92,7 +92,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[isEmpty](_codec_tuple_.tuple.md#isempty)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L68)*
|
||||
*Defined in [codec/Tuple.ts:68](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L68)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[eq](_codec_tuple_.tuple.md#eq)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L84)*
|
||||
*Defined in [codec/Tuple.ts:84](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L84)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Overrides Array.filter*
|
||||
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L140)*
|
||||
*Defined in [codec/Tuple.ts:140](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L140)*
|
||||
|
||||
*__description__*: Filters the array with the callback
|
||||
|
||||
@@ -705,7 +705,7 @@ ___
|
||||
|
||||
*Overrides Array.map*
|
||||
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L149)*
|
||||
*Defined in [codec/Tuple.ts:149](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L149)*
|
||||
|
||||
*__description__*: Maps the array with the callback
|
||||
|
||||
@@ -1013,7 +1013,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toArray](_codec_tuple_.tuple.md#toarray)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L91)*
|
||||
*Defined in [codec/Tuple.ts:91](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L91)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -1030,7 +1030,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toHex](_codec_tuple_.tuple.md#tohex)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L98)*
|
||||
*Defined in [codec/Tuple.ts:98](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L98)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -1047,7 +1047,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toJSON](_codec_tuple_.tuple.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L105)*
|
||||
*Defined in [codec/Tuple.ts:105](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L105)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -1081,7 +1081,7 @@ ___
|
||||
|
||||
*Overrides Array.toString*
|
||||
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L114)*
|
||||
*Defined in [codec/Tuple.ts:114](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L114)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -1098,7 +1098,7 @@ ___
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[toU8a](_codec_tuple_.tuple.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/Tuple.ts#L123)*
|
||||
*Defined in [codec/Tuple.ts:123](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/Tuple.ts#L123)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -1155,7 +1155,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/f4119bf/packages/types/src/codec/Tuple.ts#L48)*
|
||||
*Defined in [codec/Tuple.ts:48](https://github.com/polkadot-js/api/blob/d1825c7/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 [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/H512.ts#L14)*
|
||||
*Defined in [primitive/H512.ts:14](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/H512.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -113,7 +113,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/f4119bf/packages/types/src/codec/U8a.ts#L36)*
|
||||
*Defined in [codec/U8a.ts:36](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L36)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -128,7 +128,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -145,7 +145,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[bitLength](_codec_u8afixed_.u8afixed.md#bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
*Defined in [codec/U8aFixed.ts:52](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8aFixed.ts#L52)*
|
||||
|
||||
*__description__*: Returns the number of bits in the value
|
||||
|
||||
@@ -231,7 +231,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -725,7 +725,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -749,7 +749,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -766,7 +766,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -800,7 +800,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -817,7 +817,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L102)*
|
||||
*Defined in [codec/U8a.ts:102](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L102)*
|
||||
|
||||
*__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 [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
*Defined in [primitive/Bytes.ts:18](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
*Defined in [primitive/Bytes.ts:61](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L61)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -130,7 +130,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[isEmpty](_codec_u8a_.u8a.md#isempty)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
*__description__*: Returns true if the type wraps an empty/default all-0 value
|
||||
|
||||
@@ -147,7 +147,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides Uint8Array.length*
|
||||
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L50)*
|
||||
*Defined in [codec/U8a.ts:50](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L50)*
|
||||
|
||||
*__description__*: The length of the value
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[eq](_codec_u8a_.u8a.md#eq)*
|
||||
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L58)*
|
||||
*Defined in [codec/U8a.ts:58](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L58)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -712,7 +712,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.subarray*
|
||||
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L73)*
|
||||
*Defined in [codec/U8a.ts:73](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L73)*
|
||||
|
||||
*__description__*: Create a new subarray from the actual buffer. This is needed for compat reasons since a new Uint8Array gets returned here
|
||||
|
||||
@@ -736,7 +736,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L80)*
|
||||
*Defined in [codec/U8a.ts:80](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L80)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -753,7 +753,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L87)*
|
||||
*Defined in [codec/U8a.ts:87](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L87)*
|
||||
|
||||
*__description__*: Converts the Object to JSON, typically used for RPC transfers
|
||||
|
||||
@@ -787,7 +787,7 @@ ___
|
||||
|
||||
*Overrides Uint8Array.toString*
|
||||
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/codec/U8a.ts#L94)*
|
||||
*Defined in [codec/U8a.ts:94](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/codec/U8a.ts#L94)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -806,7 +806,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/f4119bf/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
*Defined in [primitive/Bytes.ts:69](https://github.com/polkadot-js/api/blob/d1825c7/packages/types/src/primitive/Bytes.ts#L69)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user