[CI Skip] 0.31.73
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"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":"GLOSSARY.md","mtime":"2018-10-21T11:22:32.274Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"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":"GLOSSARY.md","mtime":"2018-10-22T10:28:37.840Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -600,7 +600,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Events (runtime)","level":"2.4","depth":1,"next":{"title":"ApiPromise","level":"3.1","depth":1,"path":"examples/promise/README.md","ref":"examples/promise/README.md","articles":[{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]}]},"previous":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"path":"METHODS_EXTRINSICS.md","ref":"METHODS_EXTRINSICS.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"METHODS_EVENTS.md","mtime":"2018-10-21T11:24:11.137Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Events (runtime)","level":"2.4","depth":1,"next":{"title":"ApiPromise","level":"3.1","depth":1,"path":"examples/promise/README.md","ref":"examples/promise/README.md","articles":[{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]}]},"previous":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"path":"METHODS_EXTRINSICS.md","ref":"METHODS_EXTRINSICS.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"METHODS_EVENTS.md","mtime":"2018-10-22T10:30:21.333Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -546,7 +546,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"next":{"title":"Events (runtime)","level":"2.4","depth":1,"path":"METHODS_EVENTS.md","ref":"METHODS_EVENTS.md","articles":[]},"previous":{"title":"Chain state (runtime)","level":"2.2","depth":1,"path":"METHODS_STORAGE.md","ref":"METHODS_STORAGE.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":"METHODS_EXTRINSICS.md","mtime":"2018-10-21T11:24:11.137Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"next":{"title":"Events (runtime)","level":"2.4","depth":1,"path":"METHODS_EVENTS.md","ref":"METHODS_EVENTS.md","articles":[]},"previous":{"title":"Chain state (runtime)","level":"2.2","depth":1,"path":"METHODS_STORAGE.md","ref":"METHODS_STORAGE.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":"METHODS_EXTRINSICS.md","mtime":"2018-10-22T10:30:21.333Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -556,7 +556,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"RPC","level":"2.1","depth":1,"next":{"title":"Chain state (runtime)","level":"2.2","depth":1,"path":"METHODS_STORAGE.md","ref":"METHODS_STORAGE.md","articles":[]},"previous":{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.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":"METHODS_RPC.md","mtime":"2018-10-21T11:24:11.137Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"RPC","level":"2.1","depth":1,"next":{"title":"Chain state (runtime)","level":"2.2","depth":1,"path":"METHODS_STORAGE.md","ref":"METHODS_STORAGE.md","articles":[]},"previous":{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.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":"METHODS_RPC.md","mtime":"2018-10-22T10:30:21.333Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -887,7 +887,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Chain state (runtime)","level":"2.2","depth":1,"next":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"path":"METHODS_EXTRINSICS.md","ref":"METHODS_EXTRINSICS.md","articles":[]},"previous":{"title":"RPC","level":"2.1","depth":1,"path":"METHODS_RPC.md","ref":"METHODS_RPC.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":"METHODS_STORAGE.md","mtime":"2018-10-21T11:24:11.153Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Chain state (runtime)","level":"2.2","depth":1,"next":{"title":"Extrinsics (runtime)","level":"2.3","depth":1,"path":"METHODS_EXTRINSICS.md","ref":"METHODS_EXTRINSICS.md","articles":[]},"previous":{"title":"RPC","level":"2.1","depth":1,"path":"METHODS_RPC.md","ref":"METHODS_RPC.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":"METHODS_STORAGE.md","mtime":"2018-10-22T10:30:21.349Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
⊕ **new ApiBase**(api: *`RpcRxInterface`*): [ApiBase](_base_.apibase.md)
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -34,7 +34,7 @@ ___
|
||||
|
||||
**● whenReady**: *`Observable`<`boolean`>*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
**● extrinsics**: *`Extrinsics`* = extrinsicsStatic
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
**● storage**: *`Storage`* = storageStatic
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getgenesisHash(): `Hash`
|
||||
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L84)*
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `Observable`<`boolean`>
|
||||
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L88)*
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L88)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
▸ **rawCall**<`T`>(__namedParameters: *`object`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
|
||||
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L92)*
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L92)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`< `T` | `undefined`>
|
||||
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L105)*
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L105)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **rawStorageMulti**<`T`>(...keys: *`Array`< [`StorageFunction`] | [`StorageFunction`, `any`]>*): `Observable`<`T`>
|
||||
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L118)*
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L118)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
|
||||
@@ -76,7 +76,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L84)*
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
|
||||
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L21)*
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
|
||||
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L25)*
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
|
||||
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L29)*
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
▸ **bestNumber**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L13)*
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L13)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
|
||||
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L37)*
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L37)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
|
||||
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L33)*
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
▸ **chain**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L25)*
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L25)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
|
||||
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L41)*
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L41)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -210,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
|
||||
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L45)*
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L45)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
|
||||
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L135)*
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L135)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L160)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -249,7 +249,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
|
||||
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L139)*
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L139)*
|
||||
|
||||
**Returns:** `Observable`<`RxFees`>
|
||||
|
||||
@@ -262,7 +262,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[getAccountEnumSet](_queries_.apiqueries.md#getaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L49)*
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -279,7 +279,7 @@ ___
|
||||
|
||||
▸ **getBlock**(hash: *`Uint8Array`*): `Observable`< `SignedBlock` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L29)*
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -298,7 +298,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L88)*
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L88)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -311,7 +311,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[nextAccountEnumSet](_queries_.apiqueries.md#nextaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L63)*
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Returns:** `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
@@ -324,7 +324,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
|
||||
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L67)*
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -343,7 +343,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L80)*
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
@@ -356,7 +356,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L92)*
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L92)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -379,7 +379,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L105)*
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L105)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -402,7 +402,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L118)*
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L118)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -424,7 +424,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L100)*
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -437,7 +437,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
|
||||
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L104)*
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L104)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -456,7 +456,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
|
||||
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L117)*
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L117)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -476,7 +476,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
|
||||
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L121)*
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -495,7 +495,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
|
||||
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L172)*
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L172)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -508,7 +508,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
|
||||
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L176)*
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L176)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -521,7 +521,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L180)*
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L180)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -534,7 +534,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
|
||||
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L184)*
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L184)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -547,7 +547,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
|
||||
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L164)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -560,7 +560,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
|
||||
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L168)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -573,7 +573,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
|
||||
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L192)*
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L192)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -586,7 +586,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
|
||||
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L188)*
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L188)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -599,7 +599,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
|
||||
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L206)*
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L206)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -612,7 +612,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
|
||||
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L234)*
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L234)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -631,7 +631,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
|
||||
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L220)*
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L220)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -648,7 +648,7 @@ ___
|
||||
|
||||
▸ **submitAndWatchExtrinsic**(extrinsic: *`Extrinsic`*): `Observable`< `ExtrinsicStatus` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L51)*
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -665,7 +665,7 @@ ___
|
||||
|
||||
▸ **submitExtrinsic**(extrinsic: *`Extrinsic`*): `Observable`< `Hash` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L47)*
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -682,7 +682,7 @@ ___
|
||||
|
||||
▸ **subscribeNewHead**(): `Observable`< `Header` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L33)*
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Header` | `undefined`>
|
||||
|
||||
@@ -693,7 +693,7 @@ ___
|
||||
|
||||
▸ **systemName**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L39)*
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L39)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -704,7 +704,7 @@ ___
|
||||
|
||||
▸ **systemVersion**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L43)*
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L43)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -717,7 +717,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
|
||||
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L238)*
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L238)*
|
||||
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L9)*
|
||||
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from Struct.raw*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
getaddress(): `AccountId`
|
||||
|
||||
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L18)*
|
||||
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L18)*
|
||||
|
||||
**Returns:** `AccountId`
|
||||
|
||||
@@ -107,7 +107,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getid(): `PropIndex`
|
||||
|
||||
*Defined in [classes.ts:22](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L22)*
|
||||
*Defined in [classes.ts:22](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L22)*
|
||||
|
||||
**Returns:** `PropIndex`
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
getproposal(): `Proposal`
|
||||
|
||||
*Defined in [classes.ts:26](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L26)*
|
||||
*Defined in [classes.ts:26](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L26)*
|
||||
|
||||
**Returns:** `Proposal`
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +332,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +345,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -358,7 +358,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L31)*
|
||||
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from Struct.raw*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
getaddresses(): `Vector`<`AccountId`>
|
||||
|
||||
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L39)*
|
||||
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L39)*
|
||||
|
||||
**Returns:** `Vector`<`AccountId`>
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
getbalance(): `Balance`
|
||||
|
||||
*Defined in [classes.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L43)*
|
||||
*Defined in [classes.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L43)*
|
||||
|
||||
**Returns:** `Balance`
|
||||
|
||||
@@ -118,7 +118,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -308,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -321,7 +321,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -334,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -347,7 +347,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -381,7 +381,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L48)*
|
||||
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
*Inherited from Struct.raw*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -84,7 +84,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
getblockNumber(): `BlockNumber`
|
||||
|
||||
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L58)*
|
||||
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L58)*
|
||||
|
||||
**Returns:** `BlockNumber`
|
||||
|
||||
@@ -108,7 +108,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
getid(): `ReferendumIndex`
|
||||
|
||||
*Defined in [classes.ts:62](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L62)*
|
||||
*Defined in [classes.ts:62](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L62)*
|
||||
|
||||
**Returns:** `ReferendumIndex`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
getproposal(): `Proposal`
|
||||
|
||||
*Defined in [classes.ts:66](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L66)*
|
||||
*Defined in [classes.ts:66](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L66)*
|
||||
|
||||
**Returns:** `Proposal`
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
getvoteThreshold(): `VoteThreshold`
|
||||
|
||||
*Defined in [classes.ts:70](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/classes.ts#L70)*
|
||||
*Defined in [classes.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/classes.ts#L70)*
|
||||
|
||||
**Returns:** `VoteThreshold`
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -331,7 +331,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -357,7 +357,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -370,7 +370,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -404,7 +404,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
|
||||
@@ -76,7 +76,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L84)*
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
▸ **accountIdAndIndex**(address?: * `AccountId` | `AccountIndex` | `string` | `null`*): `Observable`<[`AccountId` | `undefined`, `AccountIndex` | `undefined`]>
|
||||
|
||||
*Defined in [Combined.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L81)*
|
||||
*Defined in [Combined.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **accountIdFromIndex**(_accountIndex: * `AccountIndex` | `string`*): `Observable`< `AccountId` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L55)*
|
||||
*Defined in [Combined.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L55)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
▸ **accountIndexFromId**(accountId: * `AccountId` | `string`*): `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:70](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L70)*
|
||||
*Defined in [Combined.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
▸ **accountIndexes**(): `Observable`<`object`>
|
||||
|
||||
*Defined in [Combined.ts:23](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L23)*
|
||||
*Defined in [Combined.ts:23](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L23)*
|
||||
|
||||
**Returns:** `Observable`<`object`>
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
|
||||
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L21)*
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
|
||||
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L25)*
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
|
||||
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L29)*
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -211,7 +211,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[bestNumber](_calls_.apicalls.md#bestnumber)*
|
||||
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L13)*
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L13)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
|
||||
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L37)*
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L37)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
|
||||
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L33)*
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -250,7 +250,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[chain](_calls_.apicalls.md#chain)*
|
||||
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L25)*
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L25)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -263,7 +263,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
|
||||
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L41)*
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L41)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -276,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
|
||||
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L45)*
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L45)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
▸ **democracyReferendumVoters**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`RxReferendumVote`>>
|
||||
|
||||
*Defined in [Combined.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L139)*
|
||||
*Defined in [Combined.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L139)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +304,7 @@ ___
|
||||
|
||||
▸ **democracyVotersBalancesOf**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`Balance`>>
|
||||
|
||||
*Defined in [Combined.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L184)*
|
||||
*Defined in [Combined.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L184)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -321,7 +321,7 @@ ___
|
||||
|
||||
▸ **democracyVotersVotesOf**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`Bool`>>
|
||||
|
||||
*Defined in [Combined.ts:200](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L200)*
|
||||
*Defined in [Combined.ts:200](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L200)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -340,7 +340,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
|
||||
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L135)*
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L135)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -351,7 +351,7 @@ ___
|
||||
|
||||
▸ **eraBlockLength**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:211](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L211)*
|
||||
*Defined in [Combined.ts:211](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L211)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -362,7 +362,7 @@ ___
|
||||
|
||||
▸ **eraBlockProgress**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:226](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L226)*
|
||||
*Defined in [Combined.ts:226](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L226)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -373,7 +373,7 @@ ___
|
||||
|
||||
▸ **eraBlockRemaining**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:249](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L249)*
|
||||
*Defined in [Combined.ts:249](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L249)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -386,7 +386,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L160)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -399,7 +399,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
|
||||
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L139)*
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L139)*
|
||||
|
||||
**Returns:** `Observable`<`RxFees`>
|
||||
|
||||
@@ -412,7 +412,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[getAccountEnumSet](_queries_.apiqueries.md#getaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L49)*
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -431,7 +431,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[getBlock](_calls_.apicalls.md#getblock)*
|
||||
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L29)*
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -450,7 +450,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L88)*
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L88)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -463,7 +463,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[nextAccountEnumSet](_queries_.apiqueries.md#nextaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L63)*
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Returns:** `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
@@ -476,7 +476,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
|
||||
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L67)*
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -493,7 +493,7 @@ ___
|
||||
|
||||
▸ **publicProposalCount**(): `Observable`<`number`>
|
||||
|
||||
*Defined in [Combined.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L117)*
|
||||
*Defined in [Combined.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L117)*
|
||||
|
||||
**Returns:** `Observable`<`number`>
|
||||
|
||||
@@ -506,7 +506,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L80)*
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
@@ -519,7 +519,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L92)*
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L92)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -542,7 +542,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L105)*
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L105)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -565,7 +565,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L118)*
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L118)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -587,7 +587,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L100)*
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -600,7 +600,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
|
||||
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L104)*
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L104)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -619,7 +619,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
|
||||
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L117)*
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L117)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -639,7 +639,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
|
||||
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L121)*
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -656,7 +656,7 @@ ___
|
||||
|
||||
▸ **referendumVotes**(index: * `ReferendumIndex` | `BN` | `number`*, addresses: *`Array`< `AccountId` | `string`>*): `Observable`<`boolean`>
|
||||
|
||||
*Defined in [Combined.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L176)*
|
||||
*Defined in [Combined.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L176)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -674,7 +674,7 @@ ___
|
||||
|
||||
▸ **referendums**(): `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
|
||||
|
||||
*Defined in [Combined.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L155)*
|
||||
*Defined in [Combined.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L155)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
|
||||
|
||||
@@ -685,7 +685,7 @@ ___
|
||||
|
||||
▸ **referendumsInfo**(referendumIds: *`Array`< `ReferendumIndex` | `BN` | `number`>*): `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
|
||||
|
||||
*Defined in [Combined.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L127)*
|
||||
*Defined in [Combined.ts:127](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L127)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -702,7 +702,7 @@ ___
|
||||
|
||||
▸ **sessionBlockProgress**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:264](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L264)*
|
||||
*Defined in [Combined.ts:264](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L264)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -713,7 +713,7 @@ ___
|
||||
|
||||
▸ **sessionBlockRemaining**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:284](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L284)*
|
||||
*Defined in [Combined.ts:284](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L284)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -724,7 +724,7 @@ ___
|
||||
|
||||
▸ **sessionBrokenValue**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:299](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L299)*
|
||||
*Defined in [Combined.ts:299](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L299)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -737,7 +737,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
|
||||
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L172)*
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L172)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -750,7 +750,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
|
||||
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L176)*
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L176)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -763,7 +763,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L180)*
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L180)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -776,7 +776,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
|
||||
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L184)*
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L184)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -789,7 +789,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
|
||||
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L164)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -802,7 +802,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
|
||||
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L168)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -813,7 +813,7 @@ ___
|
||||
|
||||
▸ **sessionTimeExpected**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:318](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L318)*
|
||||
*Defined in [Combined.ts:318](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L318)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -824,7 +824,7 @@ ___
|
||||
|
||||
▸ **sessionTimeRemaining**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Combined.ts:333](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L333)*
|
||||
*Defined in [Combined.ts:333](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L333)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -837,7 +837,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
|
||||
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L192)*
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L192)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -850,7 +850,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
|
||||
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L188)*
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L188)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -863,7 +863,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
|
||||
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L206)*
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L206)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -876,7 +876,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
|
||||
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L234)*
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L234)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -895,7 +895,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
|
||||
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L220)*
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L220)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -914,7 +914,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitAndWatchExtrinsic](_calls_.apicalls.md#submitandwatchextrinsic)*
|
||||
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L51)*
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -933,7 +933,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitExtrinsic](_calls_.apicalls.md#submitextrinsic)*
|
||||
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L47)*
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -952,7 +952,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[subscribeNewHead](_calls_.apicalls.md#subscribenewhead)*
|
||||
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L33)*
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Header` | `undefined`>
|
||||
|
||||
@@ -965,7 +965,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemName](_calls_.apicalls.md#systemname)*
|
||||
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L39)*
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L39)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -978,7 +978,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemVersion](_calls_.apicalls.md#systemversion)*
|
||||
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L43)*
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L43)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -989,7 +989,7 @@ ___
|
||||
|
||||
▸ **validatingBalance**(address: * `AccountId` | `string`*): `Observable`<`RxBalance`>
|
||||
|
||||
*Defined in [Combined.ts:348](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L348)*
|
||||
*Defined in [Combined.ts:348](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L348)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1006,7 +1006,7 @@ ___
|
||||
|
||||
▸ **validatingBalances**(...addresses: *`Array`< `AccountId` | `string`>*): `Observable`<`RxBalanceMap`>
|
||||
|
||||
*Defined in [Combined.ts:373](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L373)*
|
||||
*Defined in [Combined.ts:373](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L373)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1025,7 +1025,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
|
||||
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L238)*
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L238)*
|
||||
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
@@ -1036,7 +1036,7 @@ ___
|
||||
|
||||
▸ **votingBalance**(address: * `AccountIndex` | `AccountId` | `string`*): `Observable`<`RxBalance`>
|
||||
|
||||
*Defined in [Combined.ts:387](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L387)*
|
||||
*Defined in [Combined.ts:387](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L387)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1053,7 +1053,7 @@ ___
|
||||
|
||||
▸ **votingBalances**(...addresses: *`Array`< `AccountId` | `string`>*): `Observable`<`RxBalance`[]>
|
||||
|
||||
*Defined in [Combined.ts:427](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L427)*
|
||||
*Defined in [Combined.ts:427](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L427)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1070,7 +1070,7 @@ ___
|
||||
|
||||
▸ **votingBalancesNominatorsFor**(address: * `AccountId` | `string`*): `Observable`<`any`>
|
||||
|
||||
*Defined in [Combined.ts:416](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L416)*
|
||||
*Defined in [Combined.ts:416](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L416)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -49,7 +49,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
|
||||
@@ -74,7 +74,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L84)*
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[accountIdAndIndex](_combined_.apicombined.md#accountidandindex)*
|
||||
|
||||
*Defined in [Combined.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L81)*
|
||||
*Defined in [Combined.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[accountIdFromIndex](_combined_.apicombined.md#accountidfromindex)*
|
||||
|
||||
*Defined in [Combined.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L55)*
|
||||
*Defined in [Combined.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L55)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[accountIndexFromId](_combined_.apicombined.md#accountindexfromid)*
|
||||
|
||||
*Defined in [Combined.ts:70](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L70)*
|
||||
*Defined in [Combined.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L70)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[accountIndexes](_combined_.apicombined.md#accountindexes)*
|
||||
|
||||
*Defined in [Combined.ts:23](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L23)*
|
||||
*Defined in [Combined.ts:23](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L23)*
|
||||
|
||||
**Returns:** `Observable`<`object`>
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
|
||||
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L21)*
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
|
||||
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L25)*
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
|
||||
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L29)*
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[bestNumber](_calls_.apicalls.md#bestnumber)*
|
||||
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L13)*
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L13)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -230,7 +230,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
|
||||
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L37)*
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L37)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
|
||||
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L33)*
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -256,7 +256,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[chain](_calls_.apicalls.md#chain)*
|
||||
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L25)*
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L25)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -269,7 +269,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
|
||||
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L41)*
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L41)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -282,7 +282,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
|
||||
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L45)*
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L45)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -295,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyReferendumVoters](_combined_.apicombined.md#democracyreferendumvoters)*
|
||||
|
||||
*Defined in [Combined.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L139)*
|
||||
*Defined in [Combined.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L139)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyVotersBalancesOf](_combined_.apicombined.md#democracyvotersbalancesof)*
|
||||
|
||||
*Defined in [Combined.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L184)*
|
||||
*Defined in [Combined.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L184)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -333,7 +333,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyVotersVotesOf](_combined_.apicombined.md#democracyvotersvotesof)*
|
||||
|
||||
*Defined in [Combined.ts:200](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L200)*
|
||||
*Defined in [Combined.ts:200](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L200)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -352,7 +352,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
|
||||
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L135)*
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L135)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -365,7 +365,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockLength](_combined_.apicombined.md#erablocklength)*
|
||||
|
||||
*Defined in [Combined.ts:211](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L211)*
|
||||
*Defined in [Combined.ts:211](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L211)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -378,7 +378,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockProgress](_combined_.apicombined.md#erablockprogress)*
|
||||
|
||||
*Defined in [Combined.ts:226](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L226)*
|
||||
*Defined in [Combined.ts:226](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L226)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -391,7 +391,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockRemaining](_combined_.apicombined.md#erablockremaining)*
|
||||
|
||||
*Defined in [Combined.ts:249](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L249)*
|
||||
*Defined in [Combined.ts:249](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L249)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -404,7 +404,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L160)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -417,7 +417,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
|
||||
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L139)*
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L139)*
|
||||
|
||||
**Returns:** `Observable`<`RxFees`>
|
||||
|
||||
@@ -430,7 +430,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[getAccountEnumSet](_queries_.apiqueries.md#getaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L49)*
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -449,7 +449,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[getBlock](_calls_.apicalls.md#getblock)*
|
||||
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L29)*
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -468,7 +468,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L88)*
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L88)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -481,7 +481,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[nextAccountEnumSet](_queries_.apiqueries.md#nextaccountenumset)*
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L63)*
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Returns:** `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
@@ -494,7 +494,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
|
||||
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L67)*
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -513,7 +513,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[publicProposalCount](_combined_.apicombined.md#publicproposalcount)*
|
||||
|
||||
*Defined in [Combined.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L117)*
|
||||
*Defined in [Combined.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L117)*
|
||||
|
||||
**Returns:** `Observable`<`number`>
|
||||
|
||||
@@ -526,7 +526,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L80)*
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
@@ -539,7 +539,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L92)*
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L92)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -562,7 +562,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L105)*
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L105)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -585,7 +585,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L118)*
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L118)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -607,7 +607,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L100)*
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -620,7 +620,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
|
||||
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L104)*
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L104)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -639,7 +639,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
|
||||
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L117)*
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L117)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -659,7 +659,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
|
||||
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L121)*
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -678,7 +678,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendumVotes](_combined_.apicombined.md#referendumvotes)*
|
||||
|
||||
*Defined in [Combined.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L176)*
|
||||
*Defined in [Combined.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L176)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -698,7 +698,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendums](_combined_.apicombined.md#referendums)*
|
||||
|
||||
*Defined in [Combined.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L155)*
|
||||
*Defined in [Combined.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L155)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
|
||||
|
||||
@@ -711,7 +711,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendumsInfo](_combined_.apicombined.md#referendumsinfo)*
|
||||
|
||||
*Defined in [Combined.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L127)*
|
||||
*Defined in [Combined.ts:127](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L127)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -730,7 +730,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBlockProgress](_combined_.apicombined.md#sessionblockprogress)*
|
||||
|
||||
*Defined in [Combined.ts:264](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L264)*
|
||||
*Defined in [Combined.ts:264](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L264)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -743,7 +743,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBlockRemaining](_combined_.apicombined.md#sessionblockremaining)*
|
||||
|
||||
*Defined in [Combined.ts:284](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L284)*
|
||||
*Defined in [Combined.ts:284](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L284)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -756,7 +756,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBrokenValue](_combined_.apicombined.md#sessionbrokenvalue)*
|
||||
|
||||
*Defined in [Combined.ts:299](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L299)*
|
||||
*Defined in [Combined.ts:299](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L299)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -769,7 +769,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
|
||||
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L172)*
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L172)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -782,7 +782,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
|
||||
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L176)*
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L176)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -795,7 +795,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L180)*
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L180)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -808,7 +808,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
|
||||
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L184)*
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L184)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
|
||||
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L164)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -834,7 +834,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
|
||||
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L168)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -847,7 +847,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionTimeExpected](_combined_.apicombined.md#sessiontimeexpected)*
|
||||
|
||||
*Defined in [Combined.ts:318](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L318)*
|
||||
*Defined in [Combined.ts:318](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L318)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -860,7 +860,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionTimeRemaining](_combined_.apicombined.md#sessiontimeremaining)*
|
||||
|
||||
*Defined in [Combined.ts:333](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L333)*
|
||||
*Defined in [Combined.ts:333](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L333)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -873,7 +873,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
|
||||
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L192)*
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L192)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -886,7 +886,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
|
||||
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L188)*
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L188)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -899,7 +899,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
|
||||
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L206)*
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L206)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -912,7 +912,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
|
||||
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L234)*
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L234)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -931,7 +931,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
|
||||
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L220)*
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L220)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -950,7 +950,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitAndWatchExtrinsic](_calls_.apicalls.md#submitandwatchextrinsic)*
|
||||
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L51)*
|
||||
*Defined in [Calls.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -969,7 +969,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitExtrinsic](_calls_.apicalls.md#submitextrinsic)*
|
||||
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L47)*
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -988,7 +988,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[subscribeNewHead](_calls_.apicalls.md#subscribenewhead)*
|
||||
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L33)*
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Header` | `undefined`>
|
||||
|
||||
@@ -1001,7 +1001,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemName](_calls_.apicalls.md#systemname)*
|
||||
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L39)*
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L39)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -1014,7 +1014,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemVersion](_calls_.apicalls.md#systemversion)*
|
||||
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Calls.ts#L43)*
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Calls.ts#L43)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
@@ -1027,7 +1027,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[validatingBalance](_combined_.apicombined.md#validatingbalance)*
|
||||
|
||||
*Defined in [Combined.ts:348](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L348)*
|
||||
*Defined in [Combined.ts:348](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L348)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1046,7 +1046,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[validatingBalances](_combined_.apicombined.md#validatingbalances)*
|
||||
|
||||
*Defined in [Combined.ts:373](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L373)*
|
||||
*Defined in [Combined.ts:373](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L373)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1065,7 +1065,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
|
||||
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L238)*
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L238)*
|
||||
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
@@ -1078,7 +1078,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalance](_combined_.apicombined.md#votingbalance)*
|
||||
|
||||
*Defined in [Combined.ts:387](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L387)*
|
||||
*Defined in [Combined.ts:387](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L387)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1097,7 +1097,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalances](_combined_.apicombined.md#votingbalances)*
|
||||
|
||||
*Defined in [Combined.ts:427](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L427)*
|
||||
*Defined in [Combined.ts:427](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L427)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1116,7 +1116,7 @@ ___
|
||||
|
||||
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalancesNominatorsFor](_combined_.apicombined.md#votingbalancesnominatorsfor)*
|
||||
|
||||
*Defined in [Combined.ts:416](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Combined.ts#L416)*
|
||||
*Defined in [Combined.ts:416](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Combined.ts#L416)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
|
||||
@@ -76,7 +76,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L84)*
|
||||
*Defined in [Base.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
▸ **accountNonce**(address: * `AccountId` | `string`*): `Observable`< `Index` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L21)*
|
||||
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **balanceFree**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L25)*
|
||||
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
▸ **balanceReserved**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L29)*
|
||||
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
▸ **blockNow**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L37)*
|
||||
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L37)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
▸ **blockPeriod**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L33)*
|
||||
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
▸ **democracyLaunchPeriod**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L41)*
|
||||
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L41)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
▸ **democracyNextTally**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L45)*
|
||||
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L45)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
▸ **democracyVotingPeriod**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L135)*
|
||||
*Defined in [Queries.ts:135](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L135)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -196,7 +196,7 @@ ___
|
||||
|
||||
▸ **eraLastLengthChange**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L160)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
▸ **fees**(): `Observable`<`RxFees`>
|
||||
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L139)*
|
||||
*Defined in [Queries.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L139)*
|
||||
|
||||
**Returns:** `Observable`<`RxFees`>
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
▸ **getAccountEnumSet**(index: * `AccountIndex` | `BN` | `number`*): `Observable`< `Array`<`AccountId`> | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L49)*
|
||||
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L88)*
|
||||
*Defined in [Base.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L88)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -248,7 +248,7 @@ ___
|
||||
|
||||
▸ **nextAccountEnumSet**(): `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L63)*
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Returns:** `Observable`< `AccountIndex` | `undefined`>
|
||||
|
||||
@@ -259,7 +259,7 @@ ___
|
||||
|
||||
▸ **proposalDeposits**(proposalId: * `PropIndex` | `BN` | `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L67)*
|
||||
*Defined in [Queries.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -276,7 +276,7 @@ ___
|
||||
|
||||
▸ **publicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L80)*
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
@@ -289,7 +289,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L92)*
|
||||
*Defined in [Base.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L92)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -312,7 +312,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L105)*
|
||||
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L105)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -335,7 +335,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Base.ts#L118)*
|
||||
*Defined in [Base.ts:118](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Base.ts#L118)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -355,7 +355,7 @@ ___
|
||||
|
||||
▸ **referendumCount**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L100)*
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
@@ -366,7 +366,7 @@ ___
|
||||
|
||||
▸ **referendumInfo**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L104)*
|
||||
*Defined in [Queries.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L104)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -383,7 +383,7 @@ ___
|
||||
|
||||
▸ **referendumVote**(index: * `ReferendumIndex` | `BN` | `number`*, address: * `AccountId` | `string`*): `Observable`< `Bool` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L117)*
|
||||
*Defined in [Queries.ts:117](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L117)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -401,7 +401,7 @@ ___
|
||||
|
||||
▸ **referendumVoters**(index: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L121)*
|
||||
*Defined in [Queries.ts:121](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -418,7 +418,7 @@ ___
|
||||
|
||||
▸ **sessionCurrentIndex**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L172)*
|
||||
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L172)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -429,7 +429,7 @@ ___
|
||||
|
||||
▸ **sessionCurrentStart**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L176)*
|
||||
*Defined in [Queries.ts:176](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L176)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -440,7 +440,7 @@ ___
|
||||
|
||||
▸ **sessionLastLengthChange**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L180)*
|
||||
*Defined in [Queries.ts:180](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L180)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -451,7 +451,7 @@ ___
|
||||
|
||||
▸ **sessionLength**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L184)*
|
||||
*Defined in [Queries.ts:184](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L184)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -462,7 +462,7 @@ ___
|
||||
|
||||
▸ **sessionReward**(): `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L164)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -473,7 +473,7 @@ ___
|
||||
|
||||
▸ **sessionRewardCurrent**(): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L168)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -484,7 +484,7 @@ ___
|
||||
|
||||
▸ **sessionValidators**(): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L192)*
|
||||
*Defined in [Queries.ts:192](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L192)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -495,7 +495,7 @@ ___
|
||||
|
||||
▸ **sessionsPerEra**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L188)*
|
||||
*Defined in [Queries.ts:188](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L188)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -506,7 +506,7 @@ ___
|
||||
|
||||
▸ **stakingIntentions**(): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L206)*
|
||||
*Defined in [Queries.ts:206](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L206)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -517,7 +517,7 @@ ___
|
||||
|
||||
▸ **stakingNominating**(address: * `AccountId` | `string`*): `Observable`< `AccountId` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L234)*
|
||||
*Defined in [Queries.ts:234](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L234)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -534,7 +534,7 @@ ___
|
||||
|
||||
▸ **stakingNominatorsFor**(address: * `AccountId` | `string`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L220)*
|
||||
*Defined in [Queries.ts:220](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L220)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -551,7 +551,7 @@ ___
|
||||
|
||||
▸ **validatorCount**(): `Observable`< `u32` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api-observable/src/Queries.ts#L238)*
|
||||
*Defined in [Queries.ts:238](https://github.com/polkadot-js/api/blob/7566c31/packages/api-observable/src/Queries.ts#L238)*
|
||||
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
⊕ **new ApiBase**(wsProvider?: *`WsProvider`*): [ApiBase](_base_.apibase.md)
|
||||
|
||||
*Defined in [Base.ts:38](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L38)*
|
||||
*Defined in [Base.ts:38](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L38)*
|
||||
|
||||
*__description__*: Create an instance of the class
|
||||
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
getgenesisHash(): `Hash`
|
||||
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L69)*
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L69)*
|
||||
|
||||
*__description__*: Contains the genesis Hash of the attached chain. Apart from being useful to determine the actual chain, it can also be used to sign immortal transactions.
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
getquery(): `S`
|
||||
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L107)*
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L107)*
|
||||
|
||||
*__description__*: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
getrpc(): `R`
|
||||
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L127)*
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L127)*
|
||||
|
||||
*__description__*: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions. Unlike the dynamic `api.query` and `api.tx` sections, these methods are fixed (although extensible with node upgrades) and not determined by the runtime.
|
||||
|
||||
@@ -114,7 +114,7 @@ ___
|
||||
|
||||
getruntimeMetadata(): `RuntimeMetadata`
|
||||
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L78)*
|
||||
|
||||
*__description__*: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
getruntimeVersion(): `RuntimeVersion`
|
||||
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L87)*
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L87)*
|
||||
|
||||
*__description__*: Contains the version information for the current runtime.
|
||||
|
||||
@@ -140,7 +140,7 @@ ___
|
||||
|
||||
gettx(): `E`
|
||||
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L146)*
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L146)*
|
||||
|
||||
*__description__*: Contains all the extrinsic modules and their subsequent methods in the API. It allows for the construction of transactions and the submission thereof. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -166,7 +166,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`ApiInterface$Events`*, handler: *`function`*): `void`
|
||||
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L171)*
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L171)*
|
||||
|
||||
*__description__*: Attach an eventemitter handler to listen to a specific event
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
⊕ **new Combinator**(fns: *`Array`<[CombinatorFunction](../modules/_promise_combinator_.md#combinatorfunction)>*, callback: *[CombinatorCallback](../modules/_promise_combinator_.md#combinatorcallback)*): [Combinator](_promise_combinator_.combinator.md)
|
||||
|
||||
*Defined in [promise/Combinator.ts:14](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/Combinator.ts#L14)*
|
||||
*Defined in [promise/Combinator.ts:14](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/Combinator.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -469,7 +469,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ApiPromise</strong>(wsProvider?: <em><code>WsProvider</code></em>): <a href="_promise_index_.apipromise.html">ApiPromise</a></p>
|
||||
<p><em>Overrides <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L128" target="_blank">promise/index.ts:128</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L128" target="_blank">promise/index.ts:128</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Creates an instance of the ApiPromise class</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-reservedWord">import</span> <span class="sunlight-ident">Api</span> <span class="sunlight-ident">from</span> <span class="sunlight-string">'@polkadot/api/promise'</span><span class="sunlight-punctuation">;</span>
|
||||
@@ -504,14 +504,14 @@
|
||||
<h2 id="genesishash">genesisHash</h2>
|
||||
<p>getgenesisHash(): <code>Hash</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#genesishash">genesisHash</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L69" target="_blank">Base.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L69" target="_blank">Base.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains the genesis Hash of the attached chain. Apart from being useful to determine the actual chain, it can also be used to sign immortal transactions.</p>
|
||||
<p><strong>Returns:</strong> <code>Hash</code></p>
|
||||
<hr>
|
||||
<p><a id="isready"></a></p>
|
||||
<h2 id="isready">isReady</h2>
|
||||
<p>getisReady(): <code>Promise</code><<a href="_promise_index_.apipromise.html">ApiPromise</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L161" target="_blank">promise/index.ts:161</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L161" target="_blank">promise/index.ts:161</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Promise that returns the first time we are connected and loaded</p>
|
||||
<p><strong>Returns:</strong> <code>Promise</code><<a href="_promise_index_.apipromise.html">ApiPromise</a>></p>
|
||||
<hr>
|
||||
@@ -519,7 +519,7 @@
|
||||
<h2 id="query">query</h2>
|
||||
<p>getquery(): <code>QueryableStorage</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#query">query</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L107" target="_blank">Base.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L107" target="_blank">Base.ts:107</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.</p>
|
||||
<p>All calls inside the namespace, is denoted by <code>section</code>.<code>method</code> and may take an optional query parameter. As an example, <code>api.query.timestamp.now()</code> (current block timestamp) does not take parameters, while <code>api.query.system.accountNonce(<accountId>)</code> (retrieving the associated nonce for an account), takes the <code>AccountId</code> as a parameter.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
@@ -533,7 +533,7 @@
|
||||
<h2 id="rpc">rpc</h2>
|
||||
<p>getrpc(): <code>Rpc</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#rpc">rpc</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L127" target="_blank">Base.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L127" target="_blank">Base.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions. Unlike the dynamic <code>api.query</code> and <code>api.tx</code> sections, these methods are fixed (although extensible with node upgrades) and not determined by the runtime.</p>
|
||||
<p>RPC endpoints available here allow for the query of chain, node and system information, in addition to providing interfaces for the raw queries of state (usine known keys) and the submission of transactions.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
@@ -547,7 +547,7 @@
|
||||
<h2 id="runtimemetadata">runtimeMetadata</h2>
|
||||
<p>getruntimeMetadata(): <code>RuntimeMetadata</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#runtimemetadata">runtimeMetadata</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L78" target="_blank">Base.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L78" target="_blank">Base.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.</p>
|
||||
<p><strong>Returns:</strong> <code>RuntimeMetadata</code></p>
|
||||
<hr>
|
||||
@@ -555,7 +555,7 @@
|
||||
<h2 id="runtimeversion">runtimeVersion</h2>
|
||||
<p>getruntimeVersion(): <code>RuntimeVersion</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#runtimeversion">runtimeVersion</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L87" target="_blank">Base.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L87" target="_blank">Base.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains the version information for the current runtime.</p>
|
||||
<p><strong>Returns:</strong> <code>RuntimeVersion</code></p>
|
||||
<hr>
|
||||
@@ -563,7 +563,7 @@
|
||||
<h2 id="tx">tx</h2>
|
||||
<p>gettx(): <code>SubmittableExtrinsics</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#tx">tx</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L146" target="_blank">Base.ts:146</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L146" target="_blank">Base.ts:146</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the extrinsic modules and their subsequent methods in the API. It allows for the construction of transactions and the submission thereof. These are attached dynamically from the runtime metadata.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-ident">api</span><span class="sunlight-operator">.</span><span class="sunlight-ident">tx</span><span class="sunlight-operator">.</span><span class="sunlight-ident">balances</span>
|
||||
@@ -579,7 +579,7 @@
|
||||
<p><a id="combinelatest"></a></p>
|
||||
<h2 id="combinelatest">combineLatest</h2>
|
||||
<p>▸ <strong>combineLatest</strong>(fns: <em><code>Array</code><<a href="../modules/_promise_combinator_.md#combinatorfunction">CombinatorFunction</a>></em>, callback: <em><a href="../modules/_promise_combinator_.md#combinatorcallback">CombinatorCallback</a></em>): <a href="_promise_combinator_.combinator.md">Combinator</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L189" target="_blank">promise/index.ts:189</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L189" target="_blank">promise/index.ts:189</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Creates a combinator that can be used to combine the latest results from multiple subscriptions</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-reservedWord">const</span> <span class="sunlight-ident">address</span> <span class="sunlight-operator">=</span> <span class="sunlight-string">'5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFacT7'</span><span class="sunlight-punctuation">;</span>
|
||||
@@ -621,7 +621,7 @@
|
||||
<h2 id="on">on</h2>
|
||||
<p>▸ <strong>on</strong>(type: <em><code>ApiInterface$Events</code></em>, handler: <em><code>function</code></em>): <code>void</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#on">on</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L171" target="_blank">Base.ts:171</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L171" target="_blank">Base.ts:171</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Attach an eventemitter handler to listen to a specific event</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-ident">api</span><span class="sunlight-operator">.</span><span class="sunlight-ident">on</span><span class="sunlight-punctuation">(</span><span class="sunlight-string">'disconnected'</span><span class="sunlight-punctuation">,</span> <span class="sunlight-punctuation">(</span><span class="sunlight-punctuation">)</span> <span class="sunlight-operator">=</span><span class="sunlight-operator">></span> <span class="sunlight-punctuation">{</span>
|
||||
@@ -659,7 +659,7 @@
|
||||
<p><a id="create"></a></p>
|
||||
<h2 id="static-create"><code><Static></code> create</h2>
|
||||
<p>▸ <strong>create</strong>(wsProvider?: <em><code>WsProvider</code></em>): <code>Promise</code><<a href="_promise_index_.apipromise.html">ApiPromise</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L126" target="_blank">promise/index.ts:126</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L126" target="_blank">promise/index.ts:126</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Creates an ApiPromise instance using the supplied provider. Returns an Promise containing the actual Api instance.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-reservedWord">import</span> <span class="sunlight-ident">Api</span> <span class="sunlight-ident">from</span> <span class="sunlight-string">'@polkadot/api/promise'</span><span class="sunlight-punctuation">;</span>
|
||||
@@ -732,7 +732,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiPromise","level":"1.2.1","depth":2,"next":{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"previous":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"api/classes/_promise_index_.apipromise.md","mtime":"2018-10-21T11:24:38.687Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiPromise","level":"1.2.1","depth":2,"next":{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"previous":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"api/classes/_promise_index_.apipromise.md","mtime":"2018-10-22T10:30:49.339Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -104,7 +104,7 @@ ApiPromise.create().then((api) => {
|
||||
|
||||
*Overrides [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [promise/index.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L128)*
|
||||
*Defined in [promise/index.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L128)*
|
||||
|
||||
*__description__*: Creates an instance of the ApiPromise class
|
||||
|
||||
@@ -139,7 +139,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L69)*
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L69)*
|
||||
|
||||
*__description__*: Contains the genesis Hash of the attached chain. Apart from being useful to determine the actual chain, it can also be used to sign immortal transactions.
|
||||
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
getisReady(): `Promise`<[ApiPromise](_promise_index_.apipromise.md)>
|
||||
|
||||
*Defined in [promise/index.ts:161](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L161)*
|
||||
*Defined in [promise/index.ts:161](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L161)*
|
||||
|
||||
*__description__*: Promise that returns the first time we are connected and loaded
|
||||
|
||||
@@ -167,7 +167,7 @@ getquery(): `QueryableStorage`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[query](_base_.apibase.md#query)*
|
||||
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L107)*
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L107)*
|
||||
|
||||
*__description__*: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -191,7 +191,7 @@ getrpc(): `Rpc`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rpc](_base_.apibase.md#rpc)*
|
||||
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L127)*
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L127)*
|
||||
|
||||
*__description__*: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions. Unlike the dynamic `api.query` and `api.tx` sections, these methods are fixed (although extensible with node upgrades) and not determined by the runtime.
|
||||
|
||||
@@ -215,7 +215,7 @@ getruntimeMetadata(): `RuntimeMetadata`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[runtimeMetadata](_base_.apibase.md#runtimemetadata)*
|
||||
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L78)*
|
||||
|
||||
*__description__*: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.
|
||||
|
||||
@@ -230,7 +230,7 @@ getruntimeVersion(): `RuntimeVersion`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[runtimeVersion](_base_.apibase.md#runtimeversion)*
|
||||
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L87)*
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L87)*
|
||||
|
||||
*__description__*: Contains the version information for the current runtime.
|
||||
|
||||
@@ -245,7 +245,7 @@ gettx(): `SubmittableExtrinsics`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[tx](_base_.apibase.md#tx)*
|
||||
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L146)*
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L146)*
|
||||
|
||||
*__description__*: Contains all the extrinsic modules and their subsequent methods in the API. It allows for the construction of transactions and the submission thereof. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -271,7 +271,7 @@ ___
|
||||
|
||||
▸ **combineLatest**(fns: *`Array`<[CombinatorFunction](../modules/_promise_combinator_.md#combinatorfunction)>*, callback: *[CombinatorCallback](../modules/_promise_combinator_.md#combinatorcallback)*): [Combinator](_promise_combinator_.combinator.md)
|
||||
|
||||
*Defined in [promise/index.ts:189](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L189)*
|
||||
*Defined in [promise/index.ts:189](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L189)*
|
||||
|
||||
*__description__*: Creates a combinator that can be used to combine the latest results from multiple subscriptions
|
||||
|
||||
@@ -307,7 +307,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[on](_base_.apibase.md#on)*
|
||||
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L171)*
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L171)*
|
||||
|
||||
*__description__*: Attach an eventemitter handler to listen to a specific event
|
||||
|
||||
@@ -338,7 +338,7 @@ ___
|
||||
|
||||
▸ **create**(wsProvider?: *`WsProvider`*): `Promise`<[ApiPromise](_promise_index_.apipromise.md)>
|
||||
|
||||
*Defined in [promise/index.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/index.ts#L126)*
|
||||
*Defined in [promise/index.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/index.ts#L126)*
|
||||
|
||||
*__description__*: Creates an ApiPromise instance using the supplied provider. Returns an Promise containing the actual Api instance.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides Extrinsic.__constructor*
|
||||
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:12](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/SubmittableExtrinsic.ts#L12)*
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:12](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/SubmittableExtrinsic.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
*Inherited from Struct.raw*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -84,10 +84,23 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
___
|
||||
<a id="args"></a>
|
||||
|
||||
## args
|
||||
|
||||
getargs(): `Array`<`Base`>
|
||||
|
||||
*Inherited from Extrinsic.args*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L70)*
|
||||
|
||||
**Returns:** `Array`<`Base`>
|
||||
|
||||
___
|
||||
<a id="callindex"></a>
|
||||
|
||||
@@ -97,7 +110,7 @@ getcallIndex(): `Uint8Array`
|
||||
|
||||
*Inherited from Extrinsic.callIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L69)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L75)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -110,7 +123,7 @@ getdata(): `Uint8Array`
|
||||
|
||||
*Inherited from Extrinsic.data*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:73](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L73)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L79)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -125,7 +138,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L104)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L110)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -138,7 +151,7 @@ gethash(): `Hash`
|
||||
|
||||
*Inherited from Extrinsic.hash*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L78)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -151,7 +164,7 @@ getisSigned(): `boolean`
|
||||
|
||||
*Inherited from Extrinsic.isSigned*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L84)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L90)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -164,7 +177,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from Extrinsic.length*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L88)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L94)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -177,7 +190,7 @@ getmeta(): `FunctionMetadata`
|
||||
|
||||
*Inherited from Extrinsic.meta*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L92)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:98](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L98)*
|
||||
|
||||
**Returns:** `FunctionMetadata`
|
||||
|
||||
@@ -190,7 +203,7 @@ getmethod(): `Method`
|
||||
|
||||
*Inherited from Extrinsic.method*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L96)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:102](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L102)*
|
||||
|
||||
**Returns:** `Method`
|
||||
|
||||
@@ -203,7 +216,7 @@ getsignature(): `ExtrinsicSignature`
|
||||
|
||||
*Inherited from Extrinsic.signature*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L100)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L106)*
|
||||
|
||||
**Returns:** `ExtrinsicSignature`
|
||||
|
||||
@@ -320,7 +333,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -371,7 +384,7 @@ ___
|
||||
|
||||
▸ **send**(statusCb?: * `undefined` | `function`*): `Promise`<`Hash`>
|
||||
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:20](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/SubmittableExtrinsic.ts#L20)*
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:20](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/SubmittableExtrinsic.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,7 +423,7 @@ ___
|
||||
|
||||
*Overrides Extrinsic.sign*
|
||||
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/SubmittableExtrinsic.ts#L28)*
|
||||
*Defined in [promise/SubmittableExtrinsic.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/SubmittableExtrinsic.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -433,7 +446,7 @@ ___
|
||||
|
||||
*Overrides Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L127)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:133](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L133)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -448,7 +461,7 @@ ___
|
||||
|
||||
*Overrides Struct.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L131)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:137](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L137)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -461,7 +474,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -476,7 +489,7 @@ ___
|
||||
|
||||
*Overrides Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L116)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -510,7 +523,7 @@ ___
|
||||
|
||||
*Inherited from Extrinsic.decodeExtrinsic*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L41)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -529,7 +542,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -480,7 +480,7 @@
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new ApiRx</strong>(wsProvider?: <em><code>WsProvider</code></em>): <a href="_rx_index_.apirx.html">ApiRx</a></p>
|
||||
<p><em>Overrides <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#constructor">constructor</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L143" target="_blank">rx/index.ts:143</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L143" target="_blank">rx/index.ts:143</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Create an instance of the ApiRx class</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-reservedWord">import</span> <span class="sunlight-ident">Api</span> <span class="sunlight-ident">from</span> <span class="sunlight-string">'@polkadot/api/rx'</span><span class="sunlight-punctuation">;</span>
|
||||
@@ -515,21 +515,21 @@
|
||||
<h2 id="genesishash">genesisHash</h2>
|
||||
<p>getgenesisHash(): <code>Hash</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#genesishash">genesisHash</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L69" target="_blank">Base.ts:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L69" target="_blank">Base.ts:69</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains the genesis Hash of the attached chain. Apart from being useful to determine the actual chain, it can also be used to sign immortal transactions.</p>
|
||||
<p><strong>Returns:</strong> <code>Hash</code></p>
|
||||
<hr>
|
||||
<p><a id="isconnected"></a></p>
|
||||
<h2 id="isconnected">isConnected</h2>
|
||||
<p>getisConnected(): <code>Observable</code><<code>boolean</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L179" target="_blank">rx/index.ts:179</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L179" target="_blank">rx/index.ts:179</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Observable that carries the connected state for the provider. Results in a boolean flag that is true/false based on the connectivity.</p>
|
||||
<p><strong>Returns:</strong> <code>Observable</code><<code>boolean</code>></p>
|
||||
<hr>
|
||||
<p><a id="isready"></a></p>
|
||||
<h2 id="isready">isReady</h2>
|
||||
<p>getisReady(): <code>Observable</code><<a href="_rx_index_.apirx.html">ApiRx</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L186" target="_blank">rx/index.ts:186</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L186" target="_blank">rx/index.ts:186</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Observable that returns the first time we are connected and loaded</p>
|
||||
<p><strong>Returns:</strong> <code>Observable</code><<a href="_rx_index_.apirx.html">ApiRx</a>></p>
|
||||
<hr>
|
||||
@@ -537,7 +537,7 @@
|
||||
<h2 id="query">query</h2>
|
||||
<p>getquery(): <code>QueryableStorage</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#query">query</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L107" target="_blank">Base.ts:107</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L107" target="_blank">Base.ts:107</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.</p>
|
||||
<p>All calls inside the namespace, is denoted by <code>section</code>.<code>method</code> and may take an optional query parameter. As an example, <code>api.query.timestamp.now()</code> (current block timestamp) does not take parameters, while <code>api.query.system.accountNonce(<accountId>)</code> (retrieving the associated nonce for an account), takes the <code>AccountId</code> as a parameter.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
@@ -551,7 +551,7 @@
|
||||
<h2 id="rpc">rpc</h2>
|
||||
<p>getrpc(): <code>RpcRx</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#rpc">rpc</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L127" target="_blank">Base.ts:127</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L127" target="_blank">Base.ts:127</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions. Unlike the dynamic <code>api.query</code> and <code>api.tx</code> sections, these methods are fixed (although extensible with node upgrades) and not determined by the runtime.</p>
|
||||
<p>RPC endpoints available here allow for the query of chain, node and system information, in addition to providing interfaces for the raw queries of state (usine known keys) and the submission of transactions.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
@@ -565,7 +565,7 @@
|
||||
<h2 id="runtimemetadata">runtimeMetadata</h2>
|
||||
<p>getruntimeMetadata(): <code>RuntimeMetadata</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#runtimemetadata">runtimeMetadata</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L78" target="_blank">Base.ts:78</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L78" target="_blank">Base.ts:78</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.</p>
|
||||
<p><strong>Returns:</strong> <code>RuntimeMetadata</code></p>
|
||||
<hr>
|
||||
@@ -573,7 +573,7 @@
|
||||
<h2 id="runtimeversion">runtimeVersion</h2>
|
||||
<p>getruntimeVersion(): <code>RuntimeVersion</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#runtimeversion">runtimeVersion</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L87" target="_blank">Base.ts:87</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L87" target="_blank">Base.ts:87</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains the version information for the current runtime.</p>
|
||||
<p><strong>Returns:</strong> <code>RuntimeVersion</code></p>
|
||||
<hr>
|
||||
@@ -581,7 +581,7 @@
|
||||
<h2 id="tx">tx</h2>
|
||||
<p>gettx(): <code>SubmittableExtrinsics</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#tx">tx</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L146" target="_blank">Base.ts:146</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L146" target="_blank">Base.ts:146</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Contains all the extrinsic modules and their subsequent methods in the API. It allows for the construction of transactions and the submission thereof. These are attached dynamically from the runtime metadata.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-ident">api</span><span class="sunlight-operator">.</span><span class="sunlight-ident">tx</span><span class="sunlight-operator">.</span><span class="sunlight-ident">balances</span>
|
||||
@@ -598,7 +598,7 @@
|
||||
<h2 id="on">on</h2>
|
||||
<p>▸ <strong>on</strong>(type: <em><code>ApiInterface$Events</code></em>, handler: <em><code>function</code></em>): <code>void</code></p>
|
||||
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#on">on</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L171" target="_blank">Base.ts:171</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L171" target="_blank">Base.ts:171</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Attach an eventemitter handler to listen to a specific event</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-ident">api</span><span class="sunlight-operator">.</span><span class="sunlight-ident">on</span><span class="sunlight-punctuation">(</span><span class="sunlight-string">'disconnected'</span><span class="sunlight-punctuation">,</span> <span class="sunlight-punctuation">(</span><span class="sunlight-punctuation">)</span> <span class="sunlight-operator">=</span><span class="sunlight-operator">></span> <span class="sunlight-punctuation">{</span>
|
||||
@@ -636,7 +636,7 @@
|
||||
<p><a id="create"></a></p>
|
||||
<h2 id="static-create"><code><Static></code> create</h2>
|
||||
<p>▸ <strong>create</strong>(wsProvider?: <em><code>WsProvider</code></em>): <code>Observable</code><<a href="_rx_index_.apirx.html">ApiRx</a>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L141" target="_blank">rx/index.ts:141</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L141" target="_blank">rx/index.ts:141</a></em></p>
|
||||
<p><em><strong>description</strong></em>: Creates an ApiRx instance using the supplied provider. Returns an Observable containing the actual Api instance.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
<pre><code class="lang-javascript"><div class="sunlight-container sunlight-theme-gitbook"><div class="sunlight-code-container"><pre class="sunlight-highlight-javascript sunlight-highlighted"><span class="sunlight-javascript"><span class="sunlight-reservedWord">import</span> <span class="sunlight-ident">Api</span> <span class="sunlight-ident">from</span> <span class="sunlight-string">'@polkadot/api/rx'</span><span class="sunlight-punctuation">;</span>
|
||||
@@ -709,7 +709,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiRx","level":"1.2.2","depth":2,"next":{"title":"rpc-provider","level":"1.3","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]}]},"previous":{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.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":"api/classes/_rx_index_.apirx.md","mtime":"2018-10-21T11:24:38.811Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiRx","level":"1.2.2","depth":2,"next":{"title":"rpc-provider","level":"1.3","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]}]},"previous":{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.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":"api/classes/_rx_index_.apirx.md","mtime":"2018-10-22T10:30:49.475Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -115,7 +115,7 @@ api.query.system
|
||||
|
||||
*Overrides [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [rx/index.ts:143](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L143)*
|
||||
*Defined in [rx/index.ts:143](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L143)*
|
||||
|
||||
*__description__*: Create an instance of the ApiRx class
|
||||
|
||||
@@ -150,7 +150,7 @@ getgenesisHash(): `Hash`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
|
||||
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L69)*
|
||||
*Defined in [Base.ts:69](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L69)*
|
||||
|
||||
*__description__*: Contains the genesis Hash of the attached chain. Apart from being useful to determine the actual chain, it can also be used to sign immortal transactions.
|
||||
|
||||
@@ -163,7 +163,7 @@ ___
|
||||
|
||||
getisConnected(): `Observable`<`boolean`>
|
||||
|
||||
*Defined in [rx/index.ts:179](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L179)*
|
||||
*Defined in [rx/index.ts:179](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L179)*
|
||||
|
||||
*__description__*: Observable that carries the connected state for the provider. Results in a boolean flag that is true/false based on the connectivity.
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
getisReady(): `Observable`<[ApiRx](_rx_index_.apirx.md)>
|
||||
|
||||
*Defined in [rx/index.ts:186](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L186)*
|
||||
*Defined in [rx/index.ts:186](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L186)*
|
||||
|
||||
*__description__*: Observable that returns the first time we are connected and loaded
|
||||
|
||||
@@ -191,7 +191,7 @@ getquery(): `QueryableStorage`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[query](_base_.apibase.md#query)*
|
||||
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L107)*
|
||||
*Defined in [Base.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L107)*
|
||||
|
||||
*__description__*: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -215,7 +215,7 @@ getrpc(): `RpcRx`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rpc](_base_.apibase.md#rpc)*
|
||||
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L127)*
|
||||
*Defined in [Base.ts:127](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L127)*
|
||||
|
||||
*__description__*: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions. Unlike the dynamic `api.query` and `api.tx` sections, these methods are fixed (although extensible with node upgrades) and not determined by the runtime.
|
||||
|
||||
@@ -239,7 +239,7 @@ getruntimeMetadata(): `RuntimeMetadata`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[runtimeMetadata](_base_.apibase.md#runtimemetadata)*
|
||||
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L78)*
|
||||
|
||||
*__description__*: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.
|
||||
|
||||
@@ -254,7 +254,7 @@ getruntimeVersion(): `RuntimeVersion`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[runtimeVersion](_base_.apibase.md#runtimeversion)*
|
||||
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L87)*
|
||||
*Defined in [Base.ts:87](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L87)*
|
||||
|
||||
*__description__*: Contains the version information for the current runtime.
|
||||
|
||||
@@ -269,7 +269,7 @@ gettx(): `SubmittableExtrinsics`
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[tx](_base_.apibase.md#tx)*
|
||||
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L146)*
|
||||
*Defined in [Base.ts:146](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L146)*
|
||||
|
||||
*__description__*: Contains all the extrinsic modules and their subsequent methods in the API. It allows for the construction of transactions and the submission thereof. These are attached dynamically from the runtime metadata.
|
||||
|
||||
@@ -297,7 +297,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[on](_base_.apibase.md#on)*
|
||||
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/Base.ts#L171)*
|
||||
*Defined in [Base.ts:171](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/Base.ts#L171)*
|
||||
|
||||
*__description__*: Attach an eventemitter handler to listen to a specific event
|
||||
|
||||
@@ -328,7 +328,7 @@ ___
|
||||
|
||||
▸ **create**(wsProvider?: *`WsProvider`*): `Observable`<[ApiRx](_rx_index_.apirx.md)>
|
||||
|
||||
*Defined in [rx/index.ts:141](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/index.ts#L141)*
|
||||
*Defined in [rx/index.ts:141](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/index.ts#L141)*
|
||||
|
||||
*__description__*: Creates an ApiRx instance using the supplied provider. Returns an Observable containing the actual Api instance.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides Extrinsic.__constructor*
|
||||
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/SubmittableExtrinsic.ts#L13)*
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/SubmittableExtrinsic.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
*Inherited from Struct.raw*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -84,10 +84,23 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
___
|
||||
<a id="args"></a>
|
||||
|
||||
## args
|
||||
|
||||
getargs(): `Array`<`Base`>
|
||||
|
||||
*Inherited from Extrinsic.args*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L70)*
|
||||
|
||||
**Returns:** `Array`<`Base`>
|
||||
|
||||
___
|
||||
<a id="callindex"></a>
|
||||
|
||||
@@ -97,7 +110,7 @@ getcallIndex(): `Uint8Array`
|
||||
|
||||
*Inherited from Extrinsic.callIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L69)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L75)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -110,7 +123,7 @@ getdata(): `Uint8Array`
|
||||
|
||||
*Inherited from Extrinsic.data*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:73](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L73)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L79)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -125,7 +138,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L104)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L110)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -138,7 +151,7 @@ gethash(): `Hash`
|
||||
|
||||
*Inherited from Extrinsic.hash*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L78)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L84)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -151,7 +164,7 @@ getisSigned(): `boolean`
|
||||
|
||||
*Inherited from Extrinsic.isSigned*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L84)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L90)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -164,7 +177,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from Extrinsic.length*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L88)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L94)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -177,7 +190,7 @@ getmeta(): `FunctionMetadata`
|
||||
|
||||
*Inherited from Extrinsic.meta*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L92)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:98](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L98)*
|
||||
|
||||
**Returns:** `FunctionMetadata`
|
||||
|
||||
@@ -190,7 +203,7 @@ getmethod(): `Method`
|
||||
|
||||
*Inherited from Extrinsic.method*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L96)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:102](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L102)*
|
||||
|
||||
**Returns:** `Method`
|
||||
|
||||
@@ -203,7 +216,7 @@ getsignature(): `ExtrinsicSignature`
|
||||
|
||||
*Inherited from Extrinsic.signature*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L100)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L106)*
|
||||
|
||||
**Returns:** `ExtrinsicSignature`
|
||||
|
||||
@@ -320,7 +333,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -371,7 +384,7 @@ ___
|
||||
|
||||
▸ **send**(): `Observable`<`ExtrinsicStatus`>
|
||||
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/SubmittableExtrinsic.ts#L21)*
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/SubmittableExtrinsic.ts#L21)*
|
||||
|
||||
**Returns:** `Observable`<`ExtrinsicStatus`>
|
||||
|
||||
@@ -404,7 +417,7 @@ ___
|
||||
|
||||
*Overrides Extrinsic.sign*
|
||||
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/rx/SubmittableExtrinsic.ts#L25)*
|
||||
*Defined in [rx/SubmittableExtrinsic.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/rx/SubmittableExtrinsic.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -427,7 +440,7 @@ ___
|
||||
|
||||
*Overrides Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L127)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:133](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L133)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -442,7 +455,7 @@ ___
|
||||
|
||||
*Overrides Struct.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L131)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:137](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L137)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -455,7 +468,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -470,7 +483,7 @@ ___
|
||||
|
||||
*Overrides Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L116)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -504,7 +517,7 @@ ___
|
||||
|
||||
*Inherited from Extrinsic.decodeExtrinsic*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L41)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -523,7 +536,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
+1
-1
@@ -495,7 +495,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"api","level":"1.2","depth":1,"next":{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/README.md","mtime":"2018-10-21T11:24:38.367Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"api","level":"1.2","depth":1,"next":{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/README.md","mtime":"2018-10-22T10:30:49.008Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
**Ƭ CombinatorCallback**: *`function`*
|
||||
|
||||
*Defined in [promise/Combinator.ts:7](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/Combinator.ts#L7)*
|
||||
*Defined in [promise/Combinator.ts:7](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/Combinator.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
▸(value: *`Array`<`any`>*): `any`
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
**Ƭ CombinatorFunction**: *`function`*
|
||||
|
||||
*Defined in [promise/Combinator.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/api/src/promise/Combinator.ts#L8)*
|
||||
*Defined in [promise/Combinator.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/api/src/promise/Combinator.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
▸(cb: *`function`*): `any`
|
||||
|
||||
@@ -461,7 +461,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Simple connect","level":"3.1.1","depth":2,"next":{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},"previous":{"title":"ApiPromise","level":"3.1","depth":1,"path":"examples/promise/README.md","ref":"examples/promise/README.md","articles":[{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/01_simple_connect/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Simple connect","level":"3.1.1","depth":2,"next":{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},"previous":{"title":"ApiPromise","level":"3.1","depth":1,"path":"examples/promise/README.md","ref":"examples/promise/README.md","articles":[{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/01_simple_connect/README.md","mtime":"2018-10-22T10:28:37.844Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -463,7 +463,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Listen to blocks","level":"3.1.2","depth":2,"next":{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},"previous":{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/02_listen_to_blocks/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Listen to blocks","level":"3.1.2","depth":2,"next":{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},"previous":{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/02_listen_to_blocks/README.md","mtime":"2018-10-22T10:28:37.844Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -474,7 +474,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Listen to balance change","level":"3.1.3","depth":2,"next":{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},"previous":{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/03_listen_to_balance_change/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Listen to balance change","level":"3.1.3","depth":2,"next":{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},"previous":{"title":"Listen to blocks","level":"3.1.2","depth":2,"path":"examples/promise/02_listen_to_blocks/README.md","ref":"examples/promise/02_listen_to_blocks/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/03_listen_to_balance_change/README.md","mtime":"2018-10-22T10:28:37.848Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -473,7 +473,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Read chain state","level":"3.1.4","depth":2,"next":{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]},"previous":{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/05_read_storage/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Read chain state","level":"3.1.4","depth":2,"next":{"title":"Make a transfer","level":"3.1.5","depth":2,"path":"examples/promise/07_transfer_dots/README.md","ref":"examples/promise/07_transfer_dots/README.md","articles":[]},"previous":{"title":"Listen to balance change","level":"3.1.3","depth":2,"path":"examples/promise/03_listen_to_balance_change/README.md","ref":"examples/promise/03_listen_to_balance_change/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/05_read_storage/README.md","mtime":"2018-10-22T10:28:37.848Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -469,7 +469,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Make a transfer","level":"3.1.5","depth":2,"previous":{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/07_transfer_dots/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Make a transfer","level":"3.1.5","depth":2,"previous":{"title":"Read chain state","level":"3.1.4","depth":2,"path":"examples/promise/05_read_storage/README.md","ref":"examples/promise/05_read_storage/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","insert-logo-link","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css"},"pluginsConfig":{"insert-logo-link":{"src":"/api/logo.png","url":"https://polkadot.js.org"},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"fontsettings":{"theme":"white","family":"sans","size":2},"mermaid-gb3":{},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/promise/07_transfer_dots/README.md","mtime":"2018-10-22T10:28:37.848Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -451,7 +451,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiPromise","level":"3.1","depth":1,"next":{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},"previous":{"title":"Events (runtime)","level":"2.4","depth":1,"path":"METHODS_EVENTS.md","ref":"METHODS_EVENTS.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":"examples/promise/README.md","mtime":"2018-10-21T11:22:32.282Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"ApiPromise","level":"3.1","depth":1,"next":{"title":"Simple connect","level":"3.1.1","depth":2,"path":"examples/promise/01_simple_connect/README.md","ref":"examples/promise/01_simple_connect/README.md","articles":[]},"previous":{"title":"Events (runtime)","level":"2.4","depth":1,"path":"METHODS_EVENTS.md","ref":"METHODS_EVENTS.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":"examples/promise/README.md","mtime":"2018-10-22T10:28:37.848Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -475,7 +475,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"Introduction","level":"1.1","depth":1,"next":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"README.md","mtime":"2018-10-21T11:22:32.278Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":".","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"Introduction","level":"1.1","depth":1,"next":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiPromise","level":"1.2.1","depth":2,"path":"api/classes/_promise_index_.apipromise.md","ref":"api/classes/_promise_index_.apipromise.md","articles":[]},{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"README.md","mtime":"2018-10-22T10:28:37.840Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":".","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -37,7 +37,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new Rpc**(provider?: *`ProviderInterface`*): [Rpc](_index_.rpc.md)
|
||||
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L43)*
|
||||
|
||||
*__constructor__*: Default constructor for the Api Object
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
**● _provider**: *`ProviderInterface`*
|
||||
|
||||
*Defined in [index.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L39)*
|
||||
*Defined in [index.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="author"></a>
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
**● author**: *`RpcInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L40)*
|
||||
*Defined in [index.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L40)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
**● chain**: *`RpcInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L41)*
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L41)*
|
||||
|
||||
___
|
||||
<a id="state"></a>
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
**● state**: *`RpcInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L42)*
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="system"></a>
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
**● system**: *`RpcInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L43)*
|
||||
|
||||
___
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
▸ **signature**(__namedParameters: *`object`*): `string`
|
||||
|
||||
*Defined in [index.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-core/src/index.ts#L76)*
|
||||
*Defined in [index.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-core/src/index.ts#L76)*
|
||||
|
||||
*__name__*: signature
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new HttpProvider</strong>(endpoint?: <em><code>string</code></em>): <a href="_http_index_.httpprovider.html">HttpProvider</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L41" target="_blank">http/index.ts:41</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L41" target="_blank">http/index.ts:41</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -440,7 +440,7 @@
|
||||
<p><a id="isconnected"></a></p>
|
||||
<h2 id="isconnected">isConnected</h2>
|
||||
<p>▸ <strong>isConnected</strong>(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L58" target="_blank">http/index.ts:58</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L58" target="_blank">http/index.ts:58</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Whether the node is connected or not.</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code>
|
||||
true if connected</p>
|
||||
@@ -448,7 +448,7 @@ true if connected</p>
|
||||
<p><a id="on"></a></p>
|
||||
<h2 id="on">on</h2>
|
||||
<p>▸ <strong>on</strong>(type: <em><code>ProviderInterface$Emitted</code></em>, sub: <em><code>ProviderInterface$EmitCb</code></em>): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L66" target="_blank">http/index.ts:66</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L66" target="_blank">http/index.ts:66</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Events are not supported with the HttpProvider, see <a href="_ws_index_.wsprovider.html">WsProvider</a>.</p>
|
||||
<p><em><strong>description</strong></em>: HTTP Provider does not have 'on' emitters. WebSockets should be used instead.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -475,7 +475,7 @@ true if connected</p>
|
||||
<p><a id="send"></a></p>
|
||||
<h2 id="send">send</h2>
|
||||
<p>▸ <strong>send</strong>(method: <em><code>string</code></em>, params: <em><code>Array</code><<code>any</code>></em>): <code>Promise</code><<code>any</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L73" target="_blank">http/index.ts:73</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L73" target="_blank">http/index.ts:73</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Send HTTP POST Request with Body to configured HTTP Endpoint.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -501,7 +501,7 @@ true if connected</p>
|
||||
<p><a id="subscribe"></a></p>
|
||||
<h2 id="subscribe">subscribe</h2>
|
||||
<p>▸ <strong>subscribe</strong>(types: <em><code>string</code></em>, method: <em><code>string</code></em>, params: <em><code>Array</code><<code>any</code>></em>, cb: <em><code>ProviderInterface$Callback</code></em>): <code>Promise</code><<code>number</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L95" target="_blank">http/index.ts:95</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L95" target="_blank">http/index.ts:95</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Subscriptions are not supported with the HttpProvider, see <a href="_ws_index_.wsprovider.html">WsProvider</a>.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -535,7 +535,7 @@ true if connected</p>
|
||||
<p><a id="unsubscribe"></a></p>
|
||||
<h2 id="unsubscribe">unsubscribe</h2>
|
||||
<p>▸ <strong>unsubscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, id: <em><code>number</code></em>): <code>Promise</code><<code>boolean</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L104" target="_blank">http/index.ts:104</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L104" target="_blank">http/index.ts:104</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Subscriptions are not supported with the HttpProvider, see <a href="_ws_index_.wsprovider.html">WsProvider</a>.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -605,7 +605,7 @@ true if connected</p>
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"HttpProvider","level":"1.3.1","depth":2,"next":{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]},"previous":{"title":"rpc-provider","level":"1.3","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.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":"rpc-provider/classes/_http_index_.httpprovider.md","mtime":"2018-10-21T11:25:03.888Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"HttpProvider","level":"1.3.1","depth":2,"next":{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]},"previous":{"title":"rpc-provider","level":"1.3","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.3.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.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":"rpc-provider/classes/_http_index_.httpprovider.md","mtime":"2018-10-22T10:31:14.164Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new HttpProvider**(endpoint?: *`string`*): [HttpProvider](_http_index_.httpprovider.md)
|
||||
|
||||
*Defined in [http/index.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L41)*
|
||||
*Defined in [http/index.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [http/index.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L58)*
|
||||
*Defined in [http/index.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L58)*
|
||||
|
||||
*__summary__*: Whether the node is connected or not.
|
||||
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
|
||||
|
||||
*Defined in [http/index.ts:66](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L66)*
|
||||
*Defined in [http/index.ts:66](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L66)*
|
||||
|
||||
*__summary__*: Events are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [http/index.ts:73](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L73)*
|
||||
*Defined in [http/index.ts:73](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L73)*
|
||||
|
||||
*__summary__*: Send HTTP POST Request with Body to configured HTTP Endpoint.
|
||||
|
||||
@@ -109,7 +109,7 @@ ___
|
||||
|
||||
▸ **subscribe**(types: *`string`*, method: *`string`*, params: *`Array`<`any`>*, cb: *`ProviderInterface$Callback`*): `Promise`<`number`>
|
||||
|
||||
*Defined in [http/index.ts:95](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L95)*
|
||||
*Defined in [http/index.ts:95](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L95)*
|
||||
|
||||
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [http/index.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/http/index.ts#L104)*
|
||||
*Defined in [http/index.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/http/index.ts#L104)*
|
||||
|
||||
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
|
||||
|
||||
|
||||
@@ -414,7 +414,7 @@
|
||||
<p><a id="constructor"></a></p>
|
||||
<h2 id="constructor">constructor</h2>
|
||||
<p>⊕ <strong>new WsProvider</strong>(endpoint?: <em><code>string</code></em>, autoConnect?: <em><code>boolean</code></em>): <a href="_ws_index_.wsprovider.html">WsProvider</a></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L76" target="_blank">ws/index.ts:76</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L76" target="_blank">ws/index.ts:76</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -446,7 +446,7 @@
|
||||
<p><a id="connect"></a></p>
|
||||
<h2 id="connect">connect</h2>
|
||||
<p>▸ <strong>connect</strong>(): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L106" target="_blank">ws/index.ts:106</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L106" target="_blank">ws/index.ts:106</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Manually connect</p>
|
||||
<p><em><strong>description</strong></em>: The <a href="_ws_index_.wsprovider.html">WsProvider</a> connects automatically by default, however if you decided otherwise, you may connect manually using this method.</p>
|
||||
<p><strong>Returns:</strong> <code>void</code></p>
|
||||
@@ -454,7 +454,7 @@
|
||||
<p><a id="isconnected"></a></p>
|
||||
<h2 id="isconnected">isConnected</h2>
|
||||
<p>▸ <strong>isConnected</strong>(): <code>boolean</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L123" target="_blank">ws/index.ts:123</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L123" target="_blank">ws/index.ts:123</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Whether the node is connected or not.</p>
|
||||
<p><strong>Returns:</strong> <code>boolean</code>
|
||||
true if connected</p>
|
||||
@@ -462,7 +462,7 @@ true if connected</p>
|
||||
<p><a id="on"></a></p>
|
||||
<h2 id="on">on</h2>
|
||||
<p>▸ <strong>on</strong>(type: <em><code>ProviderInterface$Emitted</code></em>, sub: <em><code>ProviderInterface$EmitCb</code></em>): <code>void</code></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L132" target="_blank">ws/index.ts:132</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L132" target="_blank">ws/index.ts:132</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Listens on events after having subscribed using the <a href="_ws_index_.wsprovider.html#subscribe">subscribe</a> function.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -491,7 +491,7 @@ true if connected</p>
|
||||
<p><a id="send"></a></p>
|
||||
<h2 id="send">send</h2>
|
||||
<p>▸ <strong>send</strong>(method: <em><code>string</code></em>, params: <em><code>Array</code><<code>any</code>></em>, subscription?: <em><code>SubscriptionHandler</code></em>): <code>Promise</code><<code>any</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L139" target="_blank">ws/index.ts:139</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L139" target="_blank">ws/index.ts:139</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Send JSON data using WebSockets to configured HTTP Endpoint or queue.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -521,7 +521,7 @@ true if connected</p>
|
||||
<p><a id="subscribe"></a></p>
|
||||
<h2 id="subscribe">subscribe</h2>
|
||||
<p>▸ <strong>subscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, params: <em><code>Array</code><<code>any</code>></em>, callback: <em><code>ProviderInterface$Callback</code></em>): <code>Promise</code><<code>number</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L195" target="_blank">ws/index.ts:195</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L195" target="_blank">ws/index.ts:195</a></em></p>
|
||||
<p><em><strong>name</strong></em>: subscribe</p>
|
||||
<p><em><strong>summary</strong></em>: Allows subscribing to a specific event.</p>
|
||||
<p><em><strong>example</strong></em>: </p>
|
||||
@@ -572,7 +572,7 @@ Promise resolving to the dd of the subscription you can use with [[unsubscribe]]
|
||||
<p><a id="unsubscribe"></a></p>
|
||||
<h2 id="unsubscribe">unsubscribe</h2>
|
||||
<p>▸ <strong>unsubscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, id: <em><code>number</code></em>): <code>Promise</code><<code>boolean</code>></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L204" target="_blank">ws/index.ts:204</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L204" target="_blank">ws/index.ts:204</a></em></p>
|
||||
<p><em><strong>summary</strong></em>: Allows unsubscribing to subscriptions made with <a href="_ws_index_.wsprovider.html#subscribe">subscribe</a>.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -642,7 +642,7 @@ Promise resolving to the dd of the subscription you can use with [[unsubscribe]]
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"WsProvider","level":"1.3.2","depth":2,"next":{"title":"RPC","level":"2.1","depth":1,"path":"METHODS_RPC.md","ref":"METHODS_RPC.md","articles":[]},"previous":{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.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":"rpc-provider/classes/_ws_index_.wsprovider.md","mtime":"2018-10-21T11:25:03.960Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"../..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"WsProvider","level":"1.3.2","depth":2,"next":{"title":"RPC","level":"2.1","depth":1,"path":"METHODS_RPC.md","ref":"METHODS_RPC.md","articles":[]},"previous":{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.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":"rpc-provider/classes/_ws_index_.wsprovider.md","mtime":"2018-10-22T10:31:14.228Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"../..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -33,7 +33,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new WsProvider**(endpoint?: *`string`*, autoConnect?: *`boolean`*): [WsProvider](_ws_index_.wsprovider.md)
|
||||
|
||||
*Defined in [ws/index.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L76)*
|
||||
*Defined in [ws/index.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L76)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
▸ **connect**(): `void`
|
||||
|
||||
*Defined in [ws/index.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L106)*
|
||||
*Defined in [ws/index.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L106)*
|
||||
|
||||
*__summary__*: Manually connect
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [ws/index.ts:123](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L123)*
|
||||
*Defined in [ws/index.ts:123](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L123)*
|
||||
|
||||
*__summary__*: Whether the node is connected or not.
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
|
||||
|
||||
*Defined in [ws/index.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L132)*
|
||||
*Defined in [ws/index.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L132)*
|
||||
|
||||
*__summary__*: Listens on events after having subscribed using the [subscribe](_ws_index_.wsprovider.md#subscribe) function.
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
|
||||
|
||||
*Defined in [ws/index.ts:139](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L139)*
|
||||
*Defined in [ws/index.ts:139](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L139)*
|
||||
|
||||
*__summary__*: Send JSON data using WebSockets to configured HTTP Endpoint or queue.
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *`ProviderInterface$Callback`*): `Promise`<`number`>
|
||||
|
||||
*Defined in [ws/index.ts:195](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L195)*
|
||||
*Defined in [ws/index.ts:195](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L195)*
|
||||
|
||||
*__name__*: subscribe
|
||||
|
||||
@@ -161,7 +161,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [ws/index.ts:204](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/ws/index.ts#L204)*
|
||||
*Defined in [ws/index.ts:204](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/ws/index.ts#L204)*
|
||||
|
||||
*__summary__*: Allows unsubscribing to subscriptions made with [subscribe](_ws_index_.wsprovider.md#subscribe).
|
||||
|
||||
|
||||
@@ -462,7 +462,7 @@
|
||||
<script>
|
||||
var gitbook = gitbook || [];
|
||||
gitbook.push(function() {
|
||||
gitbook.page.hasChanged({"page":{"title":"rpc-provider","level":"1.3","depth":1,"next":{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},"previous":{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"rpc-provider/README.md","mtime":"2018-10-21T11:25:03.728Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-21T11:26:12.857Z"},"basePath":"..","book":{"language":""}});
|
||||
gitbook.page.hasChanged({"page":{"title":"rpc-provider","level":"1.3","depth":1,"next":{"title":"HttpProvider","level":"1.3.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},"previous":{"title":"ApiRx","level":"1.2.2","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.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":"rpc-provider/README.md","mtime":"2018-10-22T10:31:14.012Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-22T10:32:23.497Z"},"basePath":"..","book":{"language":""}});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **decodeResponse**(self: *`RpcCoderState`*, response: *`JsonRpcResponse`*): `any`
|
||||
|
||||
*Defined in [coder/json/decodeResponse.ts:20](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/coder/json/decodeResponse.ts#L20)*
|
||||
*Defined in [coder/json/decodeResponse.ts:20](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/coder/json/decodeResponse.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **encodeJson**(self: *`RpcCoderState`*, method: *`string`*, params: *`Array`<`any`>*): `string`
|
||||
|
||||
*Defined in [coder/json/encodeJson.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/coder/json/encodeJson.ts#L9)*
|
||||
*Defined in [coder/json/encodeJson.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/coder/json/encodeJson.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **encodeObject**(self: *`RpcCoderState`*, method: *`string`*, params: *`Array`<`any`>*): `JsonRpcRequest`
|
||||
|
||||
*Defined in [coder/json/encodeObject.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/coder/json/encodeObject.ts#L8)*
|
||||
*Defined in [coder/json/encodeObject.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/coder/json/encodeObject.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **rpcCoder**(): `RpcCoder`
|
||||
|
||||
*Defined in [coder/json/index.ts:12](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/coder/json/index.ts#L12)*
|
||||
*Defined in [coder/json/index.ts:12](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/coder/json/index.ts#L12)*
|
||||
|
||||
**Returns:** `RpcCoder`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **mockProvider**(): `ProviderInterface`
|
||||
|
||||
*Defined in [mock/index.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/index.ts#L18)*
|
||||
*Defined in [mock/index.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/index.ts#L18)*
|
||||
|
||||
A mock provider mainly used for testing.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **mocks**(__namedParameters: *`object`*): `void`
|
||||
|
||||
*Defined in [mock/mocks.ts:62](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/mocks.ts#L62)*
|
||||
*Defined in [mock/mocks.ts:62](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/mocks.ts#L62)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **on**(self: *`MockState`*, type: *`ProviderInterface$Emitted`*, sub: *`ProviderInterface$EmitCb`*): `void`
|
||||
|
||||
*Defined in [mock/on.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/on.ts#L8)*
|
||||
*Defined in [mock/on.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/on.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **send**(__namedParameters: *`object`*, method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [mock/send.ts:7](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/send.ts#L7)*
|
||||
*Defined in [mock/send.ts:7](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/send.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **state**(): `MockState`
|
||||
|
||||
*Defined in [mock/state.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/state.ts#L37)*
|
||||
*Defined in [mock/state.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/state.ts#L37)*
|
||||
|
||||
**Returns:** `MockState`
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **subscribe**(self: *`MockState`*, type: *`string`*, method: *`string`*, params: *`Array`<`any`>*): `Promise`<`number`>
|
||||
|
||||
*Defined in [mock/subscribe.ts:7](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/subscribe.ts#L7)*
|
||||
*Defined in [mock/subscribe.ts:7](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/subscribe.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **unsubscribe**(self: *`MockState`*, type: *`string`*, name: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-provider/src/mock/unsubscribe.ts#L7)*
|
||||
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-provider/src/mock/unsubscribe.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const api = new RpcRx(provider);
|
||||
|
||||
⊕ **new RpcRx**(providerOrRpc?: * `Rpc` | `ProviderInterface`*): [RpcRx](_index_.rpcrx.md)
|
||||
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L44)*
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
|
||||
**● author**: *`RpcRxInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L41)*
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L41)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**● chain**: *`RpcRxInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L42)*
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="state"></a>
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
**● state**: *`RpcRxInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L43)*
|
||||
|
||||
___
|
||||
<a id="system"></a>
|
||||
@@ -78,7 +78,7 @@ ___
|
||||
|
||||
**● system**: *`RpcRxInterface$Section`*
|
||||
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L44)*
|
||||
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L44)*
|
||||
|
||||
___
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `BehaviorSubject`<`boolean`>
|
||||
|
||||
*Defined in [index.ts:65](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L65)*
|
||||
*Defined in [index.ts:65](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L65)*
|
||||
|
||||
**Returns:** `BehaviorSubject`<`boolean`>
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
▸ **on**(type: *`RpcRxInterface$Events`*, handler: *`function`*): `void`
|
||||
|
||||
*Defined in [index.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/rpc-rx/src/index.ts#L69)*
|
||||
*Defined in [index.ts:69](https://github.com/polkadot-js/api/blob/7566c31/packages/rpc-rx/src/index.ts#L69)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **fromMetadata**(metadata: *`Metadata`*): `Extrinsics`
|
||||
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-extrinsics/src/fromMetadata.ts#L20)*
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/7566c31/packages/type-extrinsics/src/fromMetadata.ts#L20)*
|
||||
|
||||
Extend a storage object with the storage modules & module functions present in the metadata.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **createDescriptor**(section: *`string`*, method: *`string`*, index: *`number`*, meta: *`FunctionMetadata`*): `ExtrinsicFunction`
|
||||
|
||||
*Defined in [utils/createUnchecked.ts:16](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-extrinsics/src/utils/createUnchecked.ts#L16)*
|
||||
*Defined in [utils/createUnchecked.ts:16](https://github.com/polkadot-js/api/blob/7566c31/packages/type-extrinsics/src/utils/createUnchecked.ts#L16)*
|
||||
|
||||
From the metadata of a function in the module's storage, generate the function that will return the an UncheckExtrinsic.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **createMethod**(section: *`string`*, method: *`string`*, __namedParameters: *`object`*): `RpcMethod`
|
||||
|
||||
*Defined in [create/method.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-jsonrpc/src/create/method.ts#L9)*
|
||||
*Defined in [create/method.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/type-jsonrpc/src/create/method.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **createParam**(name: *`string`*, type: *`CodecTypes`*, __namedParameters?: *`object`*): `RpcParam`
|
||||
|
||||
*Defined in [create/param.ts:12](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-jsonrpc/src/create/param.ts#L12)*
|
||||
*Defined in [create/param.ts:12](https://github.com/polkadot-js/api/blob/7566c31/packages/type-jsonrpc/src/create/param.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
**● isUnhashed**: * `undefined` | `false` | `true`
|
||||
*
|
||||
|
||||
*Defined in [utils/createFunction.ts:14](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/utils/createFunction.ts#L14)*
|
||||
*Defined in [utils/createFunction.ts:14](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/utils/createFunction.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="method"></a>
|
||||
@@ -23,7 +23,7 @@ ___
|
||||
**● method**: * `undefined` | `string`
|
||||
*
|
||||
|
||||
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/utils/createFunction.ts#L15)*
|
||||
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/utils/createFunction.ts#L15)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **fromMetadata**(metadata: *`Metadata`*): `Storage`
|
||||
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/fromMetadata.ts#L20)*
|
||||
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/fromMetadata.ts#L20)*
|
||||
|
||||
Extend a storage object with the storage modules & module functions present in the metadata.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**storage**: *`object`*
|
||||
|
||||
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/storage.ts#L8)*
|
||||
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/storage.ts#L8)*
|
||||
|
||||
<a id="storage.substrate"></a>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
**● substrate**: *["substrate"](_substrate_.md)*
|
||||
|
||||
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/storage.ts#L9)*
|
||||
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/storage.ts#L9)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L44)*
|
||||
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L44)*
|
||||
|
||||
___
|
||||
<a id="authorityprefix"></a>
|
||||
@@ -23,7 +23,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L49)*
|
||||
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L49)*
|
||||
|
||||
___
|
||||
<a id="changestrieconfig"></a>
|
||||
@@ -35,7 +35,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L59)*
|
||||
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L59)*
|
||||
|
||||
___
|
||||
<a id="code"></a>
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
type: 'Bytes'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L34)*
|
||||
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="extrinsicindex"></a>
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
type: 'u32'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L54)*
|
||||
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L54)*
|
||||
|
||||
___
|
||||
<a id="heappages"></a>
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
type: 'u64'
|
||||
})
|
||||
|
||||
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/substrate.ts#L39)*
|
||||
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/substrate.ts#L39)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **createFunction**(section: *`Text`*, method: *`Text`*, meta: *`StorageFunctionMetadata`*, options?: *[CreateItemOptions](../interfaces/_utils_createfunction_.createitemoptions.md)*): `StorageFunction`
|
||||
|
||||
*Defined in [utils/createFunction.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/type-storage/src/utils/createFunction.ts#L28)*
|
||||
*Defined in [utils/createFunction.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/type-storage/src/utils/createFunction.ts#L28)*
|
||||
|
||||
From the schema of a function in the module's storage, generate the function that will return the correct storage key.
|
||||
|
||||
|
||||
@@ -83,8 +83,10 @@
|
||||
* ["Metadata.rpc"](modules/_metadata_rpc_.md)
|
||||
* ["Method"](modules/_method_.md)
|
||||
* [Method](classes/_method_.method.md)
|
||||
* ["Method.spec"](modules/_method_spec_.md)
|
||||
* ["MethodIndex"](modules/_methodindex_.md)
|
||||
* [MethodIndex](classes/_methodindex_.methodindex.md)
|
||||
* ["MethodIndex.spec"](modules/_methodindex_spec_.md)
|
||||
* ["MisbehaviorReport"](modules/_misbehaviorreport_.md)
|
||||
* [BftAtReport](classes/_misbehaviorreport_.bftatreport.md)
|
||||
* [BftDoubleCommit](classes/_misbehaviorreport_.bftdoublecommit.md)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:16](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L16)*
|
||||
*Defined in [AccountId.ts:16](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L40)*
|
||||
*Defined in [AccountId.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L40)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L44)*
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L44)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
▸ **decodeAccountId**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L28)*
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [AccountId.ts:24](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L24)*
|
||||
*Defined in [AccountId.ts:24](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [AccountIndex.ts:17](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L17)*
|
||||
*Defined in [AccountIndex.ts:17](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L35)*
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L35)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -67,7 +67,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [AccountIndex.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L88)*
|
||||
*Defined in [AccountIndex.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L88)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountIndex.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L84)*
|
||||
*Defined in [AccountIndex.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L84)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountIndex.ts:109](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L109)*
|
||||
*Defined in [AccountIndex.ts:109](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L109)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -133,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [AccountIndex.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L96)*
|
||||
*Defined in [AccountIndex.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L96)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
▸ **decodeAccountIndex**(value: * `BN` | `number` | `AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountIndex.ts:24](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L24)*
|
||||
*Defined in [AccountIndex.ts:24](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -169,7 +169,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
▸ **readLength**(input: *`Uint8Array`*): [`number`, `number`]
|
||||
|
||||
*Defined in [AccountIndex.ts:59](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L59)*
|
||||
*Defined in [AccountIndex.ts:59](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L59)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -203,7 +203,7 @@ ___
|
||||
|
||||
▸ **writeLength**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountIndex.ts#L75)*
|
||||
*Defined in [AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountIndex.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Address.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L19)*
|
||||
*Defined in [Address.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -53,7 +53,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [Address.ts:60](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L60)*
|
||||
*Defined in [Address.ts:60](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L60)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [Address.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L68)*
|
||||
*Defined in [Address.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Address.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L72)*
|
||||
*Defined in [Address.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Address.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L76)*
|
||||
*Defined in [Address.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L76)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Address.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L80)*
|
||||
*Defined in [Address.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
|
||||
▸ **decodeAddress**(value: * [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | `Uint8Array` | `string`*): [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
*Defined in [Address.ts:26](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Address.ts#L26)*
|
||||
*Defined in [Address.ts:26](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Address.ts#L26)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:16](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L16)*
|
||||
*Defined in [AccountId.ts:16](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:40](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L40)*
|
||||
*Defined in [AccountId.ts:40](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L40)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L44)*
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L44)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[decodeAccountId](_accountid_.accountid.md#decodeaccountid)*
|
||||
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L28)*
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
|
||||
|
||||
*Defined in [AccountId.ts:24](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/AccountId.ts#L24)*
|
||||
*Defined in [AccountId.ts:24](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/AccountId.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/U128.ts#L9)*
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/U128.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L50)*
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L50)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -91,7 +91,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -148,7 +148,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -256,7 +256,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -288,7 +288,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -303,7 +303,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -316,7 +316,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -331,7 +331,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -346,7 +346,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -365,7 +365,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L22)*
|
||||
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L30)*
|
||||
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L30)*
|
||||
|
||||
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
@@ -107,7 +107,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L34)*
|
||||
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L34)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -308,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -323,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L28)*
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L28)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -336,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L18)*
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L18)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L46)*
|
||||
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -96,7 +96,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L54)*
|
||||
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L54)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L58)*
|
||||
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L58)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -308,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -323,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L28)*
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L28)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -336,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -349,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L18)*
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L18)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L69)*
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L69)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -96,7 +96,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L80)*
|
||||
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L80)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getround(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L84)*
|
||||
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L84)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
getsignatures(): [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
|
||||
|
||||
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bft.ts#L88)*
|
||||
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bft.ts#L88)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +332,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +345,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -358,7 +358,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Block.ts#L20)*
|
||||
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Block.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -96,7 +96,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Block.ts#L28)*
|
||||
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Block.ts#L28)*
|
||||
|
||||
**Returns:** [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Block.ts#L33)*
|
||||
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Block.ts#L33)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
getheader(): [Header](_header_.header.md)
|
||||
|
||||
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Block.ts#L39)*
|
||||
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Block.ts#L39)*
|
||||
|
||||
**Returns:** [Header](_header_.header.md)
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +332,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +345,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -358,7 +358,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,7 +392,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L50)*
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L50)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -91,7 +91,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -148,7 +148,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -186,7 +186,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +237,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -256,7 +256,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -288,7 +288,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -303,7 +303,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -316,7 +316,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -331,7 +331,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -346,7 +346,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -365,7 +365,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Bool.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L9)*
|
||||
*Defined in [Bool.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [Bool.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L25)*
|
||||
*Defined in [Bool.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L25)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Bool.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L29)*
|
||||
*Defined in [Bool.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L29)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Bool.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L37)*
|
||||
*Defined in [Bool.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L37)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -94,7 +94,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Bool.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L33)*
|
||||
*Defined in [Bool.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
▸ **decodeBool**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bool.ts#L16)*
|
||||
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bool.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [Bytes.ts:14](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bytes.ts#L14)*
|
||||
*Defined in [Bytes.ts:14](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bytes.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [Bytes.ts:48](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bytes.ts#L48)*
|
||||
*Defined in [Bytes.ts:48](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bytes.ts#L48)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [Bytes.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bytes.ts#L44)*
|
||||
*Defined in [Bytes.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bytes.ts#L44)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:52](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bytes.ts#L52)*
|
||||
*Defined in [Bytes.ts:52](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bytes.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
▸ **decodeBytes**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [Bytes.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Bytes.ts#L19)*
|
||||
*Defined in [Bytes.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Bytes.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
⊕ **new Base**(value?: *`any`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
**● raw**: *`T`*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L25)*
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L25)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
▸ **toJSON**(): `any`
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -95,7 +95,7 @@ ___
|
||||
|
||||
▸ **toString**(): `string`
|
||||
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L33)*
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L33)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: * `undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [codec/Compact.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L32)*
|
||||
*Defined in [codec/Compact.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -64,7 +64,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +137,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -156,7 +156,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -175,7 +175,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -194,7 +194,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -226,7 +226,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -245,7 +245,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -264,7 +264,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -283,7 +283,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -311,7 +311,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -324,7 +324,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -339,7 +339,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -352,7 +352,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -369,7 +369,7 @@ ___
|
||||
|
||||
▸ **addLengthPrefix**(u8a: *`Uint8Array`*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -389,7 +389,7 @@ ___
|
||||
|
||||
▸ **decodeCompact**(value: * `AnyU8a` | `AnyNumber` | `undefined`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `any`
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -407,7 +407,7 @@ ___
|
||||
|
||||
▸ **decodeU8a**(_input: * `Uint8Array` | `string`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): [`number`, `BN`]
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -427,7 +427,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
▸ **encodeU8a**(_value: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Enum.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L21)*
|
||||
*Defined in [codec/Enum.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -59,7 +59,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L41)*
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L41)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -75,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L45)*
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L45)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L53)*
|
||||
*Defined in [codec/Enum.ts:53](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L53)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L57)*
|
||||
*Defined in [codec/Enum.ts:57](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L57)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L49)*
|
||||
*Defined in [codec/Enum.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
▸ **decodeEnum**(value?: * [Enum](_codec_enum_.enum.md) | `number`*): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Enum.ts#L31)*
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Enum.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L25)*
|
||||
*Defined in [codec/EnumType.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -64,7 +64,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L86)*
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L86)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -75,7 +75,7 @@ ___
|
||||
|
||||
gettype(): `string`
|
||||
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L78)*
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L78)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
getvalue(): [Base](_codec_base_.base.md)<`T`>
|
||||
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L82)*
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L82)*
|
||||
|
||||
**Returns:** [Base](_codec_base_.base.md)<`T`>
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)<`T`> | `number`*, value?: *`any`*): `void`
|
||||
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L90)*
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L90)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L107)*
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L107)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
▸ **decodeEnumType**<`T`>(def: *`TypesDef`*, value?: *`any`*, index?: * `number` | [EnumType](_codec_enumtype_.enumtype.md)<`T`>*): `object`
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Option.ts:16](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L16)*
|
||||
*Defined in [codec/Option.ts:16](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -55,7 +55,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L60)*
|
||||
*Defined in [codec/Option.ts:60](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L60)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:50](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L50)*
|
||||
*Defined in [codec/Option.ts:50](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L50)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
getvalue(): `T` | `undefined`
|
||||
|
||||
*Defined in [codec/Option.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L54)*
|
||||
*Defined in [codec/Option.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L54)*
|
||||
|
||||
**Returns:** `T` | `undefined`
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Option.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L68)*
|
||||
*Defined in [codec/Option.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L68)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Option.ts:89](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L89)*
|
||||
*Defined in [codec/Option.ts:89](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L89)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L74)*
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
▸ **decodeOption**<`O`>(Type: *`Constructor`<[Base](_codec_base_.base.md)<`O`>>*, value?: *`any`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L26)*
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L26)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *`Constructor`<[Base](_codec_base_.base.md)<`O`>>*): `Constructor`<[Option](_codec_option_.option.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Option.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Option.ts#L42)*
|
||||
*Defined in [codec/Option.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Option.ts#L42)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
⊕ **new Struct**(Types: *`S`*, value?: * `V` | `Array`<`any`>*, jsonMap?: *`Map`<`keyof S`, `string`>*): [Struct](_codec_struct_.struct.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L27)*
|
||||
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -114,7 +114,7 @@ ___
|
||||
|
||||
**● raw**: *`Map`<`keyof S`, [Base](_codec_base_.base.md)>*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
getType(): `E`
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
getencodedLength(): `number`
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -272,7 +272,7 @@ ___
|
||||
|
||||
▸ **getAtIndex**(index: *`number`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -343,7 +343,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -354,7 +354,7 @@ ___
|
||||
|
||||
▸ **toJSON**(): `any`
|
||||
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -365,7 +365,7 @@ ___
|
||||
|
||||
▸ **toString**(): `string`
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -376,7 +376,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: * `undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -408,7 +408,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): `Constructor`<[Struct](_codec_struct_.struct.md)<`S`>>
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L27)*
|
||||
*Defined in [codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -93,7 +93,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -106,7 +106,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -309,7 +309,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L28)*
|
||||
*Defined in [codec/Tuple.ts:28](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L28)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -322,7 +322,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -335,7 +335,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -369,7 +369,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Tuple.ts#L18)*
|
||||
*Defined in [codec/Tuple.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Tuple.ts#L18)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8a.ts:14](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L14)*
|
||||
*Defined in [codec/U8a.ts:14](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -60,7 +60,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L35)*
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L35)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
▸ **decodeU8a**(value: *`any`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -61,7 +61,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -74,7 +74,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -135,7 +135,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/UInt.ts:24](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L24)*
|
||||
*Defined in [codec/UInt.ts:24](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -68,7 +68,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L50)*
|
||||
*Defined in [codec/UInt.ts:50](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L50)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
▸ **add**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `number`
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
▸ **div**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -133,7 +133,7 @@ ___
|
||||
|
||||
▸ **eq**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
▸ **isZero**(): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -195,7 +195,7 @@ ___
|
||||
|
||||
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -229,7 +229,7 @@ ___
|
||||
|
||||
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -263,7 +263,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -274,7 +274,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -298,7 +298,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -311,7 +311,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -324,7 +324,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L64)*
|
||||
*Defined in [codec/UInt.ts:64](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -341,7 +341,7 @@ ___
|
||||
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -47,7 +47,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L63)*
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L63)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -72,7 +72,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L71)*
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L71)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L67)*
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
▸ **filter**(fn: *`function`*): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L77)*
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L77)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -114,7 +114,7 @@ ___
|
||||
|
||||
▸ **find**(fn: *`function`*): `T` | `undefined`
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **forEach**(fn: *`function`*): `any`
|
||||
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L85)*
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L85)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -148,7 +148,7 @@ ___
|
||||
|
||||
▸ **get**(index: *`number`*): `T`
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
▸ **map**<`O`>(fn: *`function`*): `Array`<`O`>
|
||||
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L93)*
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L93)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
▸ **push**(item: *`T`*): `void`
|
||||
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L97)*
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
▸ **reduce**<`O`>(fn: *`function`*, initial: *`O`*): `O`
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -225,7 +225,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L105)*
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L105)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -238,7 +238,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L124)*
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L124)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -251,7 +251,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +268,7 @@ ___
|
||||
|
||||
▸ **decode**<`T`>(Type: *`Constructor`<`T`>*, value: * `Uint8Array` | `string` | `Array`<`any`>*): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -289,7 +289,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *`Constructor`<`O`>*): `Constructor`<[Vector](_codec_vector_.vector.md)<`O`>>
|
||||
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L55)*
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L55)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Compact](_codec_compact_.compact.md).[constructor](_codec_compact_.compact.md#constructor)*
|
||||
|
||||
*Defined in [Compact128.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Compact128.ts#L9)*
|
||||
*Defined in [Compact128.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Compact128.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -329,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -363,7 +363,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[addLengthPrefix](_codec_compact_.compact.md#addlengthprefix)*
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeCompact](_codec_compact_.compact.md#decodecompact)*
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Compact](_codec_compact_.compact.md).[constructor](_codec_compact_.compact.md#constructor)*
|
||||
|
||||
*Defined in [Compact16.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Compact16.ts#L9)*
|
||||
*Defined in [Compact16.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Compact16.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -329,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -363,7 +363,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[addLengthPrefix](_codec_compact_.compact.md#addlengthprefix)*
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeCompact](_codec_compact_.compact.md#decodecompact)*
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Compact](_codec_compact_.compact.md).[constructor](_codec_compact_.compact.md#constructor)*
|
||||
|
||||
*Defined in [Compact256.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Compact256.ts#L9)*
|
||||
*Defined in [Compact256.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Compact256.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -329,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -363,7 +363,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[addLengthPrefix](_codec_compact_.compact.md#addlengthprefix)*
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeCompact](_codec_compact_.compact.md#decodecompact)*
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Compact](_codec_compact_.compact.md).[constructor](_codec_compact_.compact.md#constructor)*
|
||||
|
||||
*Defined in [Compact32.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Compact32.ts#L9)*
|
||||
*Defined in [Compact32.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Compact32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -329,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -363,7 +363,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[addLengthPrefix](_codec_compact_.compact.md#addlengthprefix)*
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeCompact](_codec_compact_.compact.md#decodecompact)*
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Compact](_codec_compact_.compact.md).[constructor](_codec_compact_.compact.md#constructor)*
|
||||
|
||||
*Defined in [Compact64.ts:9](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Compact64.ts#L9)*
|
||||
*Defined in [Compact64.ts:9](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Compact64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[encodedLength](_codec_uint_.uint.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L96)*
|
||||
*Defined in [codec/Compact.ts:96](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L96)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L82)*
|
||||
*Defined in [codec/UInt.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L82)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L88)*
|
||||
*Defined in [codec/UInt.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -108,7 +108,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L94)*
|
||||
*Defined in [codec/UInt.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L94)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[eq](_codec_uint_.uint.md#eq)*
|
||||
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L100)*
|
||||
*Defined in [codec/UInt.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L122)*
|
||||
*Defined in [codec/UInt.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L128)*
|
||||
*Defined in [codec/UInt.ts:128](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L128)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -184,7 +184,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L106)*
|
||||
*Defined in [codec/UInt.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L106)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L110)*
|
||||
*Defined in [codec/UInt.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L110)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L116)*
|
||||
*Defined in [codec/UInt.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L134)*
|
||||
*Defined in [codec/UInt.ts:134](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L134)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L140)*
|
||||
*Defined in [codec/UInt.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L140)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L72)*
|
||||
*Defined in [codec/UInt.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L72)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -286,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L54)*
|
||||
*Defined in [codec/UInt.ts:54](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L54)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L58)*
|
||||
*Defined in [codec/UInt.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L58)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -314,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L76)*
|
||||
*Defined in [codec/UInt.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -329,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L68)*
|
||||
*Defined in [codec/UInt.ts:68](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L68)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +344,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L100)*
|
||||
*Defined in [codec/Compact.ts:100](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -363,7 +363,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[addLengthPrefix](_codec_compact_.compact.md#addlengthprefix)*
|
||||
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L42)*
|
||||
*Defined in [codec/Compact.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L42)*
|
||||
|
||||
Prepend a Uint8Array with its compact length.
|
||||
|
||||
@@ -385,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeCompact](_codec_compact_.compact.md#decodecompact)*
|
||||
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L49)*
|
||||
*Defined in [codec/Compact.ts:49](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -405,7 +405,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L58)*
|
||||
*Defined in [codec/Compact.ts:58](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L58)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -425,7 +425,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/UInt.ts#L35)*
|
||||
*Defined in [codec/UInt.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/UInt.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -445,7 +445,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Compact.ts#L75)*
|
||||
*Defined in [codec/Compact.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Compact.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -57,7 +57,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L63)*
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L63)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -72,7 +72,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L71)*
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L71)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
|
||||
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L67)*
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
|
||||
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L77)*
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L77)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
|
||||
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L85)*
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L85)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +177,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
|
||||
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L93)*
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L93)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
|
||||
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L97)*
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L105)*
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L105)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L124)*
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L124)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decode](_codec_vector_.vector.md#decode)*
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -315,7 +315,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L55)*
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L55)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/H256.ts#L11)*
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/H256.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Digest.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Digest.ts#L32)*
|
||||
*Defined in [Digest.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Digest.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -96,7 +96,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
getlogs(): [Vector](_codec_vector_.vector.md)<[DigestItem](_digest_.digestitem.md)>
|
||||
|
||||
*Defined in [Digest.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Digest.ts#L39)*
|
||||
*Defined in [Digest.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Digest.ts#L39)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[DigestItem](_digest_.digestitem.md)>
|
||||
|
||||
@@ -224,7 +224,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -297,7 +297,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -310,7 +310,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -323,7 +323,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -336,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L155)*
|
||||
*Defined in [codec/Struct.ts:155](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L155)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -370,7 +370,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Digest.ts:22](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Digest.ts#L22)*
|
||||
*Defined in [Digest.ts:22](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Digest.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L86)*
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L86)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -67,7 +67,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L78)*
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L78)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -80,7 +80,7 @@ getvalue(): [Base](_codec_base_.base.md)< [AuthoritiesChange](_digest_.authoriti
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[value](_codec_enumtype_.enumtype.md#value)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L82)*
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L82)*
|
||||
|
||||
**Returns:** [Base](_codec_base_.base.md)< [AuthoritiesChange](_digest_.authoritieschange.md) | [ChangesTrieRoot](_digest_.changestrieroot.md) | [Other](_digest_.other.md)>
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[setValue](_codec_enumtype_.enumtype.md#setvalue)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L90)*
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L90)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L107)*
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L107)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[decodeEnumType](_codec_enumtype_.enumtype.md#decodeenumtype)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Null.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L8)*
|
||||
*Defined in [Null.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L8)*
|
||||
|
||||
**Returns:** [Other](_digest_.other.md)
|
||||
|
||||
@@ -34,7 +34,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -50,7 +50,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [Null.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L13)*
|
||||
*Defined in [Null.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L13)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Null.ts:17](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L17)*
|
||||
*Defined in [Null.ts:17](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L17)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Null.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L25)*
|
||||
*Defined in [Null.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L25)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Null.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L21)*
|
||||
*Defined in [Null.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ Can be:
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Extrinsic.ts:33](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L33)*
|
||||
*Defined in [Extrinsic.ts:34](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L34)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -67,7 +67,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -92,10 +92,21 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
___
|
||||
<a id="args"></a>
|
||||
|
||||
## args
|
||||
|
||||
getargs(): `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
*Defined in [Extrinsic.ts:70](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L70)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
___
|
||||
<a id="callindex"></a>
|
||||
|
||||
@@ -103,7 +114,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:69](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L69)*
|
||||
*Defined in [Extrinsic.ts:75](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L75)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -114,7 +125,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:73](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L73)*
|
||||
*Defined in [Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L79)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -127,7 +138,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [Extrinsic.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L104)*
|
||||
*Defined in [Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L110)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -138,7 +149,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L78)*
|
||||
*Defined in [Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L84)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -149,7 +160,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [Extrinsic.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L84)*
|
||||
*Defined in [Extrinsic.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L90)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -160,7 +171,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [Extrinsic.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L88)*
|
||||
*Defined in [Extrinsic.ts:94](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L94)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -171,7 +182,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L92)*
|
||||
*Defined in [Extrinsic.ts:98](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L98)*
|
||||
|
||||
**Returns:** [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
@@ -182,7 +193,7 @@ ___
|
||||
|
||||
getmethod(): [Method](_method_.method.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:96](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L96)*
|
||||
*Defined in [Extrinsic.ts:102](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L102)*
|
||||
|
||||
**Returns:** [Method](_method_.method.md)
|
||||
|
||||
@@ -193,7 +204,7 @@ ___
|
||||
|
||||
getsignature(): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:100](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L100)*
|
||||
*Defined in [Extrinsic.ts:106](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L106)*
|
||||
|
||||
**Returns:** [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
@@ -310,7 +321,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -381,7 +392,7 @@ ___
|
||||
|
||||
▸ **sign**(signerPair: *`KeyringPair`*, nonce: *`AnyNumber`*, blockHash: *`AnyU8a`*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:110](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L110)*
|
||||
*Defined in [Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L116)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -402,7 +413,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [Extrinsic.ts:127](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L127)*
|
||||
*Defined in [Extrinsic.ts:133](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L133)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -415,7 +426,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L131)*
|
||||
*Defined in [Extrinsic.ts:137](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L137)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -428,7 +439,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -441,7 +452,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L116)*
|
||||
*Defined in [Extrinsic.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L122)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -473,7 +484,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsic**(value?: * `ExtrinsicValue` | `AnyU8a`*): `any` | `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:41](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Extrinsic.ts#L41)*
|
||||
*Defined in [Extrinsic.ts:42](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Extrinsic.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -492,7 +503,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:11](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicEra.ts#L11)*
|
||||
*Defined in [ExtrinsicEra.ts:11](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicEra.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L35)*
|
||||
*Defined in [codec/U8a.ts:35](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L35)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -67,7 +67,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -113,7 +113,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -128,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsicEra**(value?: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:18](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicEra.ts#L18)*
|
||||
*Defined in [ExtrinsicEra.ts:18](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicEra.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -59,7 +59,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L63)*
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L63)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -74,7 +74,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L71)*
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L71)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -87,7 +87,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
|
||||
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L67)*
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
|
||||
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L77)*
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L77)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
|
||||
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L85)*
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L85)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
|
||||
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L93)*
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L93)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
|
||||
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L97)*
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -220,7 +220,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -245,7 +245,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L105)*
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L105)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -260,7 +260,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L124)*
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L124)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -275,7 +275,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -294,7 +294,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decode](_codec_vector_.vector.md#decode)*
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -317,7 +317,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L55)*
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L55)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:36](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L36)*
|
||||
*Defined in [ExtrinsicSignature.ts:36](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[raw](_codec_struct_.struct.md#raw)*
|
||||
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L25)*
|
||||
*Defined in [codec/Struct.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="size"></a>
|
||||
@@ -83,7 +83,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L122)*
|
||||
*Defined in [codec/Struct.ts:122](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L122)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -96,7 +96,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[encodedLength](_codec_struct_.struct.md#encodedlength)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L63)*
|
||||
*Defined in [ExtrinsicSignature.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L63)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
getera(): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:76](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L76)*
|
||||
*Defined in [ExtrinsicSignature.ts:76](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L76)*
|
||||
|
||||
**Returns:** [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:72](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L72)*
|
||||
*Defined in [ExtrinsicSignature.ts:72](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L72)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
getnonce(): `Nonce`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:80](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L80)*
|
||||
*Defined in [ExtrinsicSignature.ts:80](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L80)*
|
||||
|
||||
**Returns:** `Nonce`
|
||||
|
||||
@@ -140,7 +140,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:84](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L84)*
|
||||
*Defined in [ExtrinsicSignature.ts:84](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L84)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
getsigner(): [Address](_address_.address.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:88](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L88)*
|
||||
*Defined in [ExtrinsicSignature.ts:88](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L88)*
|
||||
|
||||
**Returns:** [Address](_address_.address.md)
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
getversion(): `number`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:92](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L92)*
|
||||
*Defined in [ExtrinsicSignature.ts:92](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L92)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -191,7 +191,7 @@ ___
|
||||
|
||||
▸ **addSignature**(method: *[Method](_method_.method.md)*, signerPair: *`KeyringPair`*, nonce: *`AnyNumber`*, blockHash: *`AnyU8a`*, era?: *`Uint8Array`*): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
*Defined in [ExtrinsicSignature.ts:104](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L104)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -300,7 +300,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[getAtIndex](_codec_struct_.struct.md#getatindex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L132)*
|
||||
*Defined in [codec/Struct.ts:132](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L132)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -373,7 +373,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toHex](_codec_struct_.struct.md#tohex)*
|
||||
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L136)*
|
||||
*Defined in [codec/Struct.ts:136](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L136)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -386,7 +386,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L140)*
|
||||
*Defined in [codec/Struct.ts:140](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L140)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -399,7 +399,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[toString](_codec_struct_.struct.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L151)*
|
||||
*Defined in [codec/Struct.ts:151](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L151)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -412,7 +412,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:123](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L123)*
|
||||
*Defined in [ExtrinsicSignature.ts:123](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -444,7 +444,7 @@ ___
|
||||
|
||||
▸ **decodeExtrinsicSignature**(value: * [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | `AnyU8a` | `undefined`*): `any` | `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:46](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicSignature.ts#L46)*
|
||||
*Defined in [ExtrinsicSignature.ts:46](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicSignature.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -463,7 +463,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -57,7 +57,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L63)*
|
||||
*Defined in [codec/Vector.ts:63](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L63)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -72,7 +72,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L71)*
|
||||
*Defined in [codec/Vector.ts:71](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L71)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
|
||||
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L67)*
|
||||
*Defined in [codec/Vector.ts:67](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
|
||||
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L77)*
|
||||
*Defined in [codec/Vector.ts:77](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L77)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
|
||||
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L81)*
|
||||
*Defined in [codec/Vector.ts:81](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L81)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
|
||||
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L85)*
|
||||
*Defined in [codec/Vector.ts:85](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L85)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +158,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
|
||||
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L89)*
|
||||
*Defined in [codec/Vector.ts:89](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L89)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +177,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
|
||||
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L93)*
|
||||
*Defined in [codec/Vector.ts:93](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L93)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
|
||||
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L97)*
|
||||
*Defined in [codec/Vector.ts:97](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L105)*
|
||||
*Defined in [codec/Vector.ts:105](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L105)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -258,7 +258,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L124)*
|
||||
*Defined in [codec/Vector.ts:124](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L124)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -273,7 +273,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -292,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decode](_codec_vector_.vector.md#decode)*
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -315,7 +315,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Vector.ts#L55)*
|
||||
*Defined in [codec/Vector.ts:55](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Vector.ts#L55)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Null.ts:8](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L8)*
|
||||
*Defined in [Null.ts:8](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L8)*
|
||||
|
||||
**Returns:** [Dropped](_extrinsicstatus_.dropped.md)
|
||||
|
||||
@@ -34,7 +34,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -50,7 +50,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [Null.ts:13](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L13)*
|
||||
*Defined in [Null.ts:13](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L13)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Null.ts:17](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L17)*
|
||||
*Defined in [Null.ts:17](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L17)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Null.ts:25](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L25)*
|
||||
*Defined in [Null.ts:25](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L25)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Null.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/Null.ts#L21)*
|
||||
*Defined in [Null.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/Null.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicStatus.ts:23](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/ExtrinsicStatus.ts#L23)*
|
||||
*Defined in [ExtrinsicStatus.ts:23](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/ExtrinsicStatus.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -55,7 +55,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[encodedLength](_codec_base_.base.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L86)*
|
||||
*Defined in [codec/EnumType.ts:86](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L86)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -68,7 +68,7 @@ gettype(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L78)*
|
||||
*Defined in [codec/EnumType.ts:78](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L78)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -81,7 +81,7 @@ getvalue(): [Base](_codec_base_.base.md)< [Finalised](_extrinsicstatus_.finalise
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[value](_codec_enumtype_.enumtype.md#value)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L82)*
|
||||
*Defined in [codec/EnumType.ts:82](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L82)*
|
||||
|
||||
**Returns:** [Base](_codec_base_.base.md)< [Finalised](_extrinsicstatus_.finalised.md) | [Usurped](_extrinsicstatus_.usurped.md) | [Broadcast](_extrinsicstatus_.broadcast.md) | [Dropped](_extrinsicstatus_.dropped.md)>
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[setValue](_codec_enumtype_.enumtype.md#setvalue)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L90)*
|
||||
*Defined in [codec/EnumType.ts:90](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L90)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L107)*
|
||||
*Defined in [codec/EnumType.ts:107](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L107)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L111)*
|
||||
*Defined in [codec/EnumType.ts:111](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L111)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L115)*
|
||||
*Defined in [codec/EnumType.ts:115](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L115)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[decodeEnumType](_codec_enumtype_.enumtype.md#decodeenumtype)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/H256.ts#L11)*
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/H256.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/H256.ts#L11)*
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/H256.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[encodedLength](_codec_u8a_.u8a.md#encodedlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L31)*
|
||||
*Defined in [codec/U8a.ts:31](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L31)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L39)*
|
||||
*Defined in [codec/U8a.ts:39](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L39)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L43)*
|
||||
*Defined in [codec/U8a.ts:43](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L43)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L51)*
|
||||
*Defined in [codec/U8a.ts:51](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L51)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/16bb9bb/packages/types/src/codec/U8a.ts#L21)*
|
||||
*Defined in [codec/U8a.ts:21](https://github.com/polkadot-js/api/blob/7566c31/packages/types/src/codec/U8a.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user