[CI Skip] 0.31.8

This commit is contained in:
Travis CI
2018-10-11 08:25:22 +00:00
parent 27b2885722
commit e915474763
200 changed files with 4019 additions and 2364 deletions
+1 -1
View File
@@ -442,7 +442,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"GLOSSARY.md","mtime":"2018-10-11T07:35:09.491Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":".","book":{"language":""}});
gitbook.page.hasChanged({"page":{"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"GLOSSARY.md","mtime":"2018-10-11T08:21:47.276Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
+12 -12
View File
@@ -14,7 +14,7 @@
⊕ **new ApiBase**(api: *`RpcRxInterface`*): [ApiBase](_base_.apibase.md)
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
**Parameters:**
@@ -34,7 +34,7 @@ ___
**● _api**: *`RpcRxInterface`*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L28)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L28)*
___
<a id="_genesishash"></a>
@@ -43,7 +43,7 @@ ___
**● _genesisHash**: *`Hash`*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L29)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L29)*
___
<a id="whenready"></a>
@@ -52,7 +52,7 @@ ___
**● whenReady**: *`Observable`<`boolean`>*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
___
<a id="extrinsics"></a>
@@ -61,7 +61,7 @@ ___
**● extrinsics**: *`Extrinsics`* = extrinsicsStatic
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L40)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L40)*
___
<a id="storage"></a>
@@ -70,7 +70,7 @@ ___
**● storage**: *`Storage`* = storageStatic
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L41)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L41)*
___
@@ -82,7 +82,7 @@ ___
getgenesisHash(): `Hash`
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L85)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L85)*
**Returns:** `Hash`
@@ -96,7 +96,7 @@ ___
▸ **combine**<`T`,`R`>(observables: *`Array`<`Observable`<`any`>>*, mapfn?: *`MapFn`<`R`, `T`>*): `Observable`<`T`>
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L78)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L78)*
**Type parameters:**
@@ -118,7 +118,7 @@ ___
▸ **isConnected**(): `Observable`<`boolean`>
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L89)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L89)*
**Returns:** `Observable`<`boolean`>
@@ -129,7 +129,7 @@ ___
▸ **rawCall**<`T`>(__namedParameters: *`object`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L93)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L93)*
**Type parameters:**
@@ -150,7 +150,7 @@ ___
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`< `T` &#124; `undefined`>
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L106)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L106)*
**Type parameters:**
@@ -171,7 +171,7 @@ ___
▸ **rawStorageMulti**<`T`>(...keys: *`Array`< [`StorageFunction`] &#124; [`StorageFunction`, `any`]>*): `Observable`<`T`>
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L119)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L119)*
**Type parameters:**
+47 -47
View File
@@ -18,7 +18,7 @@
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_api](_base_.apibase.md#_api)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L28)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L28)*
___
<a id="_genesishash"></a>
@@ -51,7 +51,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_genesisHash](_base_.apibase.md#_genesishash)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L29)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L29)*
___
<a id="whenready"></a>
@@ -62,7 +62,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
___
<a id="extrinsics"></a>
@@ -73,7 +73,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L40)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L40)*
___
<a id="storage"></a>
@@ -84,7 +84,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L41)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L41)*
___
@@ -98,7 +98,7 @@ getgenesisHash(): `Hash`
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L85)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L85)*
**Returns:** `Hash`
@@ -114,7 +114,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L21)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L21)*
**Parameters:**
@@ -133,7 +133,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L25)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L25)*
**Parameters:**
@@ -152,7 +152,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L29)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L29)*
**Parameters:**
@@ -169,7 +169,7 @@ ___
▸ **bestNumber**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L13)*
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L13)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -182,7 +182,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L37)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L37)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -195,7 +195,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L33)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L33)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -206,7 +206,7 @@ ___
▸ **chain**(): `Observable`< `Text` &#124; `undefined`>
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L25)*
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L25)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -219,7 +219,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L78)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L78)*
**Type parameters:**
@@ -243,7 +243,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L41)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L41)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -256,7 +256,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L45)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L45)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -269,7 +269,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L115)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L115)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -282,7 +282,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L140)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L140)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -295,7 +295,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L119)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L119)*
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
@@ -306,7 +306,7 @@ ___
▸ **getBlock**(hash: *`Uint8Array`*): `Observable`< `SignedBlock` &#124; `undefined`>
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L29)*
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L29)*
**Parameters:**
@@ -325,7 +325,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L89)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L89)*
**Returns:** `Observable`<`boolean`>
@@ -336,7 +336,7 @@ ___
▸ **newHead**(): `Observable`< `Header` &#124; `undefined`>
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L33)*
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L33)*
**Returns:** `Observable`< `Header` &#124; `undefined`>
@@ -349,7 +349,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L49)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L49)*
**Parameters:**
@@ -368,7 +368,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L62)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L62)*
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
@@ -381,7 +381,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L93)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L93)*
**Type parameters:**
@@ -404,7 +404,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L106)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L106)*
**Type parameters:**
@@ -427,7 +427,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L119)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L119)*
**Type parameters:**
@@ -449,7 +449,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L81)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L81)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -462,7 +462,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L85)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L85)*
**Parameters:**
@@ -481,7 +481,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L98)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L98)*
**Parameters:**
@@ -501,7 +501,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L102)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L102)*
**Parameters:**
@@ -520,7 +520,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L152)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -533,7 +533,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L156)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L156)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -546,7 +546,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L160)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L160)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -559,7 +559,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L164)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L164)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -572,7 +572,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L144)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L144)*
**Returns:** `Observable`< `Perbill` &#124; `undefined`>
@@ -585,7 +585,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L148)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L148)*
**Returns:** `Observable`< `Balance` &#124; `undefined`>
@@ -598,7 +598,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L172)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L172)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -611,7 +611,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L168)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L168)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -624,7 +624,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L185)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L185)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -637,7 +637,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L211)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L211)*
**Parameters:**
@@ -656,7 +656,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L198)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L198)*
**Parameters:**
@@ -673,7 +673,7 @@ ___
▸ **submitExtrinsic**(extrinsic: *`Extrinsic`*): `Observable`< `Hash` &#124; `undefined`>
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L47)*
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L47)*
**Parameters:**
@@ -690,7 +690,7 @@ ___
▸ **systemName**(): `Observable`< `Text` &#124; `undefined`>
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L39)*
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L39)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -701,7 +701,7 @@ ___
▸ **systemVersion**(): `Observable`< `Text` &#124; `undefined`>
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L43)*
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L43)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -714,7 +714,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L215)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L215)*
**Returns:** `Observable`< `u32` &#124; `undefined`>
@@ -21,7 +21,7 @@
*Overrides Struct.__constructor*
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L9)*
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L9)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from Struct._Types*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from Struct._jsonMap*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,7 @@ ___
*Inherited from Base.raw*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from Struct.Type*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
getaddress(): `AccountId`
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L18)*
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L18)*
**Returns:** `AccountId`
@@ -101,7 +101,7 @@ ___
getid(): `PropIndex`
*Defined in [classes.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L22)*
*Defined in [classes.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L22)*
**Returns:** `PropIndex`
@@ -112,7 +112,7 @@ ___
getproposal(): `Proposal`
*Defined in [classes.ts:26](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L26)*
*Defined in [classes.ts:26](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L26)*
**Returns:** `Proposal`
@@ -130,7 +130,7 @@ ___
*Overrides Base.byteLength*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/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/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -145,7 +145,7 @@ ___
*Overrides Base.fromJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L118)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L118)*
**Parameters:**
@@ -166,7 +166,7 @@ ___
*Overrides Base.fromU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -185,7 +185,7 @@ ___
*Inherited from Struct.get*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -204,7 +204,7 @@ ___
*Inherited from Struct.keys*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -219,7 +219,7 @@ ___
*Overrides Base.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L152)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L152)*
**Returns:** `any`
@@ -234,7 +234,7 @@ ___
*Overrides Base.toString*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -249,7 +249,7 @@ ___
*Overrides Base.toU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -268,7 +268,7 @@ ___
*Inherited from Struct.values*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<`Base`>
@@ -281,7 +281,7 @@ ___
*Inherited from Struct.decodeStruct*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -306,7 +306,7 @@ ___
*Inherited from Struct.with*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
@@ -21,7 +21,7 @@
*Overrides Struct.__constructor*
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L31)*
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L31)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from Struct._Types*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from Struct._jsonMap*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,7 @@ ___
*Inherited from Base.raw*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from Struct.Type*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
getaddresses(): `Vector`<`AccountId`>
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L39)*
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L39)*
**Returns:** `Vector`<`AccountId`>
@@ -101,7 +101,7 @@ ___
getbalance(): `Balance`
*Defined in [classes.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L43)*
*Defined in [classes.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L43)*
**Returns:** `Balance`
@@ -119,7 +119,7 @@ ___
*Overrides Base.byteLength*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/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/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -134,7 +134,7 @@ ___
*Overrides Base.fromJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L118)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L118)*
**Parameters:**
@@ -155,7 +155,7 @@ ___
*Overrides Base.fromU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -174,7 +174,7 @@ ___
*Inherited from Struct.get*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -193,7 +193,7 @@ ___
*Inherited from Struct.keys*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -208,7 +208,7 @@ ___
*Overrides Base.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L152)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L152)*
**Returns:** `any`
@@ -223,7 +223,7 @@ ___
*Overrides Base.toString*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -238,7 +238,7 @@ ___
*Overrides Base.toU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -257,7 +257,7 @@ ___
*Inherited from Struct.values*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<`Base`>
@@ -270,7 +270,7 @@ ___
*Inherited from Struct.decodeStruct*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -295,7 +295,7 @@ ___
*Inherited from Struct.with*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
@@ -21,7 +21,7 @@
*Overrides Struct.__constructor*
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L48)*
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L48)*
**Parameters:**
@@ -44,7 +44,7 @@ ___
*Inherited from Struct._Types*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -55,7 +55,7 @@ ___
*Inherited from Struct._jsonMap*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -66,7 +66,7 @@ ___
*Inherited from Base.raw*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -80,7 +80,7 @@ getType(): `E`
*Inherited from Struct.Type*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -91,7 +91,7 @@ ___
getblockNumber(): `BlockNumber`
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L58)*
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L58)*
**Returns:** `BlockNumber`
@@ -102,7 +102,7 @@ ___
getid(): `ReferendumIndex`
*Defined in [classes.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L62)*
*Defined in [classes.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L62)*
**Returns:** `ReferendumIndex`
@@ -113,7 +113,7 @@ ___
getproposal(): `Proposal`
*Defined in [classes.ts:66](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L66)*
*Defined in [classes.ts:66](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L66)*
**Returns:** `Proposal`
@@ -124,7 +124,7 @@ ___
getvoteThreshold(): `VoteThreshold`
*Defined in [classes.ts:70](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/classes.ts#L70)*
*Defined in [classes.ts:70](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/classes.ts#L70)*
**Returns:** `VoteThreshold`
@@ -142,7 +142,7 @@ ___
*Overrides Base.byteLength*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/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/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -157,7 +157,7 @@ ___
*Overrides Base.fromJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L118)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L118)*
**Parameters:**
@@ -178,7 +178,7 @@ ___
*Overrides Base.fromU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -197,7 +197,7 @@ ___
*Inherited from Struct.get*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -216,7 +216,7 @@ ___
*Inherited from Struct.keys*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -231,7 +231,7 @@ ___
*Overrides Base.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L152)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L152)*
**Returns:** `any`
@@ -246,7 +246,7 @@ ___
*Overrides Base.toString*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -261,7 +261,7 @@ ___
*Overrides Base.toU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -280,7 +280,7 @@ ___
*Inherited from Struct.values*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<`Base`>
@@ -293,7 +293,7 @@ ___
*Inherited from Struct.decodeStruct*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -318,7 +318,7 @@ ___
*Inherited from Struct.with*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
@@ -18,7 +18,7 @@
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_api](_base_.apibase.md#_api)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L28)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L28)*
___
<a id="_genesishash"></a>
@@ -51,7 +51,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_genesisHash](_base_.apibase.md#_genesishash)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L29)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L29)*
___
<a id="whenready"></a>
@@ -62,7 +62,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
___
<a id="extrinsics"></a>
@@ -73,7 +73,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L40)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L40)*
___
<a id="storage"></a>
@@ -84,7 +84,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L41)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L41)*
___
@@ -98,7 +98,7 @@ getgenesisHash(): `Hash`
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L85)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L85)*
**Returns:** `Hash`
@@ -114,7 +114,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L21)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L21)*
**Parameters:**
@@ -133,7 +133,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L25)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L25)*
**Parameters:**
@@ -152,7 +152,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L29)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L29)*
**Parameters:**
@@ -171,7 +171,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[bestNumber](_calls_.apicalls.md#bestnumber)*
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L13)*
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L13)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -184,7 +184,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L37)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L37)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -197,7 +197,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L33)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L33)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -210,7 +210,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[chain](_calls_.apicalls.md#chain)*
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L25)*
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L25)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -223,7 +223,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L78)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L78)*
**Type parameters:**
@@ -247,7 +247,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L41)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L41)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -260,7 +260,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L45)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L45)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -271,7 +271,7 @@ ___
▸ **democracyReferendumVoters**(referendumId: * `ReferendumIndex` &#124; `BN` &#124; `number`*): `Observable`<`Array`<[RxReferendumVote](../modules/_types_d_.md#rxreferendumvote)>>
*Defined in [Combined.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L42)*
*Defined in [Combined.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L42)*
**Parameters:**
@@ -288,7 +288,7 @@ ___
▸ **democracyVotersBalancesOf**(referendumId: * `ReferendumIndex` &#124; `BN` &#124; `number`*): `Observable`<`Array`<`Balance`>>
*Defined in [Combined.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L87)*
*Defined in [Combined.ts:87](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L87)*
**Parameters:**
@@ -305,7 +305,7 @@ ___
▸ **democracyVotersVotesOf**(referendumId: * `ReferendumIndex` &#124; `BN` &#124; `number`*): `Observable`<`Array`<`Bool`>>
*Defined in [Combined.ts:103](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L103)*
*Defined in [Combined.ts:103](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L103)*
**Parameters:**
@@ -324,7 +324,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L115)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L115)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -335,7 +335,7 @@ ___
▸ **eraBlockLength**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Combined.ts:114](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L114)*
*Defined in [Combined.ts:114](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L114)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -346,7 +346,7 @@ ___
▸ **eraBlockProgress**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Combined.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L129)*
*Defined in [Combined.ts:129](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L129)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -357,7 +357,7 @@ ___
▸ **eraBlockRemaining**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Combined.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L152)*
*Defined in [Combined.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -370,7 +370,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L140)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L140)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -383,7 +383,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L119)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L119)*
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
@@ -396,7 +396,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[getBlock](_calls_.apicalls.md#getblock)*
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L29)*
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L29)*
**Parameters:**
@@ -415,7 +415,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L89)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L89)*
**Returns:** `Observable`<`boolean`>
@@ -428,7 +428,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[newHead](_calls_.apicalls.md#newhead)*
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L33)*
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L33)*
**Returns:** `Observable`< `Header` &#124; `undefined`>
@@ -441,7 +441,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L49)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L49)*
**Parameters:**
@@ -458,7 +458,7 @@ ___
▸ **publicProposalCount**(): `Observable`<`number`>
*Defined in [Combined.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L20)*
*Defined in [Combined.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L20)*
**Returns:** `Observable`<`number`>
@@ -471,7 +471,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L62)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L62)*
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
@@ -484,7 +484,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L93)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L93)*
**Type parameters:**
@@ -507,7 +507,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L106)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L106)*
**Type parameters:**
@@ -530,7 +530,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L119)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L119)*
**Type parameters:**
@@ -552,7 +552,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L81)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L81)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -565,7 +565,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L85)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L85)*
**Parameters:**
@@ -584,7 +584,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L98)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L98)*
**Parameters:**
@@ -604,7 +604,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L102)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L102)*
**Parameters:**
@@ -621,7 +621,7 @@ ___
▸ **referendumVotes**(index: * `ReferendumIndex` &#124; `BN` &#124; `number`*, addresses: *`Array`< `AccountId` &#124; `string`>*): `Observable`<`boolean`>
*Defined in [Combined.ts:79](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L79)*
*Defined in [Combined.ts:79](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L79)*
**Parameters:**
@@ -639,7 +639,7 @@ ___
▸ **referendums**(): `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
*Defined in [Combined.ts:58](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L58)*
*Defined in [Combined.ts:58](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L58)*
**Returns:** `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
@@ -650,7 +650,7 @@ ___
▸ **referendumsInfo**(referendumIds: *`Array`< `ReferendumIndex` &#124; `BN` &#124; `number`>*): `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
*Defined in [Combined.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L30)*
*Defined in [Combined.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L30)*
**Parameters:**
@@ -667,7 +667,7 @@ ___
▸ **sessionBlockProgress**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Combined.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L167)*
*Defined in [Combined.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L167)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -678,7 +678,7 @@ ___
▸ **sessionBlockRemaining**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Combined.ts:187](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L187)*
*Defined in [Combined.ts:187](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L187)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -689,7 +689,7 @@ ___
▸ **sessionBrokenValue**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Combined.ts:202](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L202)*
*Defined in [Combined.ts:202](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L202)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -702,7 +702,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L152)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -715,7 +715,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L156)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L156)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -728,7 +728,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L160)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L160)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -741,7 +741,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L164)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L164)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -754,7 +754,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L144)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L144)*
**Returns:** `Observable`< `Perbill` &#124; `undefined`>
@@ -767,7 +767,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L148)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L148)*
**Returns:** `Observable`< `Balance` &#124; `undefined`>
@@ -778,7 +778,7 @@ ___
▸ **sessionTimeExpected**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Combined.ts:221](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L221)*
*Defined in [Combined.ts:221](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L221)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -789,7 +789,7 @@ ___
▸ **sessionTimeRemaining**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Combined.ts:236](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L236)*
*Defined in [Combined.ts:236](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L236)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -802,7 +802,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L172)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L172)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -815,7 +815,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L168)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L168)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -828,7 +828,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L185)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L185)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -841,7 +841,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L211)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L211)*
**Parameters:**
@@ -860,7 +860,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L198)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L198)*
**Parameters:**
@@ -879,7 +879,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitExtrinsic](_calls_.apicalls.md#submitextrinsic)*
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L47)*
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L47)*
**Parameters:**
@@ -898,7 +898,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemName](_calls_.apicalls.md#systemname)*
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L39)*
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L39)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -911,7 +911,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemVersion](_calls_.apicalls.md#systemversion)*
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L43)*
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L43)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -922,7 +922,7 @@ ___
▸ **validatingBalance**(address: * `AccountId` &#124; `string`*): `Observable`<[RxBalance](../modules/_types_d_.md#rxbalance)>
*Defined in [Combined.ts:251](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L251)*
*Defined in [Combined.ts:251](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L251)*
**Parameters:**
@@ -939,7 +939,7 @@ ___
▸ **validatingBalances**(...addresses: *`Array`< `AccountId` &#124; `string`>*): `Observable`<[RxBalanceMap](../modules/_types_d_.md#rxbalancemap)>
*Defined in [Combined.ts:276](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L276)*
*Defined in [Combined.ts:276](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L276)*
**Parameters:**
@@ -958,7 +958,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L215)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L215)*
**Returns:** `Observable`< `u32` &#124; `undefined`>
@@ -969,7 +969,7 @@ ___
▸ **votingBalance**(_address: * `AccountId` &#124; `string`*): `Observable`<[RxBalance](../modules/_types_d_.md#rxbalance)>
*Defined in [Combined.ts:290](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L290)*
*Defined in [Combined.ts:290](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L290)*
**Parameters:**
@@ -986,7 +986,7 @@ ___
▸ **votingBalances**(...addresses: *`Array`< `AccountId` &#124; `string`>*): `Observable`<[RxBalance](../modules/_types_d_.md#rxbalance)[]>
*Defined in [Combined.ts:324](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L324)*
*Defined in [Combined.ts:324](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L324)*
**Parameters:**
@@ -1003,7 +1003,7 @@ ___
▸ **votingBalancesNominatorsFor**(address: * `AccountId` &#124; `string`*): `Observable`<`any`>
*Defined in [Combined.ts:313](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L313)*
*Defined in [Combined.ts:313](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L313)*
**Parameters:**
+67 -67
View File
@@ -16,7 +16,7 @@
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
**Parameters:**
@@ -38,7 +38,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_api](_base_.apibase.md#_api)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L28)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L28)*
___
<a id="_genesishash"></a>
@@ -49,7 +49,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_genesisHash](_base_.apibase.md#_genesishash)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L29)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L29)*
___
<a id="whenready"></a>
@@ -60,7 +60,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
___
<a id="extrinsics"></a>
@@ -71,7 +71,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L40)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L40)*
___
<a id="storage"></a>
@@ -82,7 +82,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L41)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L41)*
___
@@ -96,7 +96,7 @@ getgenesisHash(): `Hash`
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L85)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L85)*
**Returns:** `Hash`
@@ -112,7 +112,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L21)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L21)*
**Parameters:**
@@ -131,7 +131,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L25)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L25)*
**Parameters:**
@@ -150,7 +150,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L29)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L29)*
**Parameters:**
@@ -169,7 +169,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[bestNumber](_calls_.apicalls.md#bestnumber)*
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L13)*
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L13)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -182,7 +182,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L37)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L37)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -195,7 +195,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L33)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L33)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -208,7 +208,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[chain](_calls_.apicalls.md#chain)*
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L25)*
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L25)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -221,7 +221,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L78)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L78)*
**Type parameters:**
@@ -245,7 +245,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L41)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L41)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -258,7 +258,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L45)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L45)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -271,7 +271,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyReferendumVoters](_combined_.apicombined.md#democracyreferendumvoters)*
*Defined in [Combined.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L42)*
*Defined in [Combined.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L42)*
**Parameters:**
@@ -290,7 +290,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyVotersBalancesOf](_combined_.apicombined.md#democracyvotersbalancesof)*
*Defined in [Combined.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L87)*
*Defined in [Combined.ts:87](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L87)*
**Parameters:**
@@ -309,7 +309,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[democracyVotersVotesOf](_combined_.apicombined.md#democracyvotersvotesof)*
*Defined in [Combined.ts:103](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L103)*
*Defined in [Combined.ts:103](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L103)*
**Parameters:**
@@ -328,7 +328,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L115)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L115)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -341,7 +341,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockLength](_combined_.apicombined.md#erablocklength)*
*Defined in [Combined.ts:114](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L114)*
*Defined in [Combined.ts:114](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L114)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -354,7 +354,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockProgress](_combined_.apicombined.md#erablockprogress)*
*Defined in [Combined.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L129)*
*Defined in [Combined.ts:129](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L129)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -367,7 +367,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[eraBlockRemaining](_combined_.apicombined.md#erablockremaining)*
*Defined in [Combined.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L152)*
*Defined in [Combined.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -380,7 +380,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L140)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L140)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -393,7 +393,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L119)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L119)*
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
@@ -406,7 +406,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[getBlock](_calls_.apicalls.md#getblock)*
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L29)*
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L29)*
**Parameters:**
@@ -425,7 +425,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L89)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L89)*
**Returns:** `Observable`<`boolean`>
@@ -438,7 +438,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[newHead](_calls_.apicalls.md#newhead)*
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L33)*
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L33)*
**Returns:** `Observable`< `Header` &#124; `undefined`>
@@ -451,7 +451,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L49)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L49)*
**Parameters:**
@@ -470,7 +470,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[publicProposalCount](_combined_.apicombined.md#publicproposalcount)*
*Defined in [Combined.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L20)*
*Defined in [Combined.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L20)*
**Returns:** `Observable`<`number`>
@@ -483,7 +483,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L62)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L62)*
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
@@ -496,7 +496,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L93)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L93)*
**Type parameters:**
@@ -519,7 +519,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L106)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L106)*
**Type parameters:**
@@ -542,7 +542,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L119)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L119)*
**Type parameters:**
@@ -564,7 +564,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L81)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L81)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -577,7 +577,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L85)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L85)*
**Parameters:**
@@ -596,7 +596,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L98)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L98)*
**Parameters:**
@@ -616,7 +616,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L102)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L102)*
**Parameters:**
@@ -635,7 +635,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendumVotes](_combined_.apicombined.md#referendumvotes)*
*Defined in [Combined.ts:79](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L79)*
*Defined in [Combined.ts:79](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L79)*
**Parameters:**
@@ -655,7 +655,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendums](_combined_.apicombined.md#referendums)*
*Defined in [Combined.ts:58](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L58)*
*Defined in [Combined.ts:58](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L58)*
**Returns:** `Observable`<`Array`<[RxReferendum](_classes_.rxreferendum.md)>>
@@ -668,7 +668,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[referendumsInfo](_combined_.apicombined.md#referendumsinfo)*
*Defined in [Combined.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L30)*
*Defined in [Combined.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L30)*
**Parameters:**
@@ -687,7 +687,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBlockProgress](_combined_.apicombined.md#sessionblockprogress)*
*Defined in [Combined.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L167)*
*Defined in [Combined.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L167)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -700,7 +700,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBlockRemaining](_combined_.apicombined.md#sessionblockremaining)*
*Defined in [Combined.ts:187](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L187)*
*Defined in [Combined.ts:187](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L187)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -713,7 +713,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionBrokenValue](_combined_.apicombined.md#sessionbrokenvalue)*
*Defined in [Combined.ts:202](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L202)*
*Defined in [Combined.ts:202](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L202)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -726,7 +726,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L152)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -739,7 +739,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L156)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L156)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -752,7 +752,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L160)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L160)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -765,7 +765,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L164)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L164)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -778,7 +778,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L144)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L144)*
**Returns:** `Observable`< `Perbill` &#124; `undefined`>
@@ -791,7 +791,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L148)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L148)*
**Returns:** `Observable`< `Balance` &#124; `undefined`>
@@ -804,7 +804,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionTimeExpected](_combined_.apicombined.md#sessiontimeexpected)*
*Defined in [Combined.ts:221](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L221)*
*Defined in [Combined.ts:221](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L221)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -817,7 +817,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[sessionTimeRemaining](_combined_.apicombined.md#sessiontimeremaining)*
*Defined in [Combined.ts:236](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L236)*
*Defined in [Combined.ts:236](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L236)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -830,7 +830,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L172)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L172)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -843,7 +843,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L168)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L168)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -856,7 +856,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L185)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L185)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -869,7 +869,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L211)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L211)*
**Parameters:**
@@ -888,7 +888,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L198)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L198)*
**Parameters:**
@@ -907,7 +907,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[submitExtrinsic](_calls_.apicalls.md#submitextrinsic)*
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L47)*
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L47)*
**Parameters:**
@@ -926,7 +926,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemName](_calls_.apicalls.md#systemname)*
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L39)*
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L39)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -939,7 +939,7 @@ ___
*Inherited from [ApiCalls](_calls_.apicalls.md).[systemVersion](_calls_.apicalls.md#systemversion)*
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Calls.ts#L43)*
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Calls.ts#L43)*
**Returns:** `Observable`< `Text` &#124; `undefined`>
@@ -952,7 +952,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[validatingBalance](_combined_.apicombined.md#validatingbalance)*
*Defined in [Combined.ts:251](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L251)*
*Defined in [Combined.ts:251](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L251)*
**Parameters:**
@@ -971,7 +971,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[validatingBalances](_combined_.apicombined.md#validatingbalances)*
*Defined in [Combined.ts:276](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L276)*
*Defined in [Combined.ts:276](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L276)*
**Parameters:**
@@ -990,7 +990,7 @@ ___
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L215)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L215)*
**Returns:** `Observable`< `u32` &#124; `undefined`>
@@ -1003,7 +1003,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalance](_combined_.apicombined.md#votingbalance)*
*Defined in [Combined.ts:290](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L290)*
*Defined in [Combined.ts:290](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L290)*
**Parameters:**
@@ -1022,7 +1022,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalances](_combined_.apicombined.md#votingbalances)*
*Defined in [Combined.ts:324](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L324)*
*Defined in [Combined.ts:324](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L324)*
**Parameters:**
@@ -1041,7 +1041,7 @@ ___
*Inherited from [ApiCombined](_combined_.apicombined.md).[votingBalancesNominatorsFor](_combined_.apicombined.md#votingbalancesnominatorsfor)*
*Defined in [Combined.ts:313](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Combined.ts#L313)*
*Defined in [Combined.ts:313](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Combined.ts#L313)*
**Parameters:**
@@ -18,7 +18,7 @@
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_api](_base_.apibase.md#_api)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L28)*
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L28)*
___
<a id="_genesishash"></a>
@@ -51,7 +51,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[_genesisHash](_base_.apibase.md#_genesishash)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L29)*
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L29)*
___
<a id="whenready"></a>
@@ -62,7 +62,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[whenReady](_base_.apibase.md#whenready)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L32)*
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L32)*
___
<a id="extrinsics"></a>
@@ -73,7 +73,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[extrinsics](_base_.apibase.md#extrinsics)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L40)*
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L40)*
___
<a id="storage"></a>
@@ -84,7 +84,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[storage](_base_.apibase.md#storage)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L41)*
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L41)*
___
@@ -98,7 +98,7 @@ getgenesisHash(): `Hash`
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L85)*
*Defined in [Base.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L85)*
**Returns:** `Hash`
@@ -112,7 +112,7 @@ ___
▸ **accountNonce**(address: * `AccountId` &#124; `string`*): `Observable`< `Index` &#124; `undefined`>
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L21)*
*Defined in [Queries.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L21)*
**Parameters:**
@@ -129,7 +129,7 @@ ___
▸ **balanceFree**(address: * `AccountId` &#124; `string`*): `Observable`< `Balance` &#124; `undefined`>
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L25)*
*Defined in [Queries.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L25)*
**Parameters:**
@@ -146,7 +146,7 @@ ___
▸ **balanceReserved**(address: * `AccountId` &#124; `string`*): `Observable`< `Balance` &#124; `undefined`>
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L29)*
*Defined in [Queries.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L29)*
**Parameters:**
@@ -163,7 +163,7 @@ ___
▸ **blockNow**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L37)*
*Defined in [Queries.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L37)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -174,7 +174,7 @@ ___
▸ **blockPeriod**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L33)*
*Defined in [Queries.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L33)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -187,7 +187,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L78)*
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L78)*
**Type parameters:**
@@ -209,7 +209,7 @@ ___
▸ **democracyLaunchPeriod**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L41)*
*Defined in [Queries.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L41)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -220,7 +220,7 @@ ___
▸ **democracyNextTally**(): `Observable`< `ReferendumIndex` &#124; `undefined`>
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L45)*
*Defined in [Queries.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L45)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -231,7 +231,7 @@ ___
▸ **democracyVotingPeriod**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L115)*
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L115)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -242,7 +242,7 @@ ___
▸ **eraLastLengthChange**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L140)*
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L140)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -253,7 +253,7 @@ ___
▸ **fees**(): `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L119)*
*Defined in [Queries.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L119)*
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
@@ -266,7 +266,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L89)*
*Defined in [Base.ts:89](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L89)*
**Returns:** `Observable`<`boolean`>
@@ -277,7 +277,7 @@ ___
▸ **proposalDeposits**(proposalId: * `PropIndex` &#124; `BN` &#124; `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) &#124; `undefined`>
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L49)*
*Defined in [Queries.ts:49](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L49)*
**Parameters:**
@@ -294,7 +294,7 @@ ___
▸ **publicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L62)*
*Defined in [Queries.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L62)*
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
@@ -307,7 +307,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L93)*
*Defined in [Base.ts:93](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L93)*
**Type parameters:**
@@ -330,7 +330,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L106)*
*Defined in [Base.ts:106](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L106)*
**Type parameters:**
@@ -353,7 +353,7 @@ ___
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Base.ts#L119)*
*Defined in [Base.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Base.ts#L119)*
**Type parameters:**
@@ -373,7 +373,7 @@ ___
▸ **referendumCount**(): `Observable`< `ReferendumIndex` &#124; `undefined`>
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L81)*
*Defined in [Queries.ts:81](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L81)*
**Returns:** `Observable`< `ReferendumIndex` &#124; `undefined`>
@@ -384,7 +384,7 @@ ___
▸ **referendumInfo**(referendumId: * `ReferendumIndex` &#124; `BN` &#124; `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) &#124; `undefined`>
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L85)*
*Defined in [Queries.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L85)*
**Parameters:**
@@ -401,7 +401,7 @@ ___
▸ **referendumVote**(index: * `ReferendumIndex` &#124; `BN` &#124; `number`*, address: * `AccountId` &#124; `string`*): `Observable`< `Bool` &#124; `undefined`>
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L98)*
*Defined in [Queries.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L98)*
**Parameters:**
@@ -419,7 +419,7 @@ ___
▸ **referendumVoters**(index: * `ReferendumIndex` &#124; `BN` &#124; `number`*): `Observable`<`Array`<`AccountId`>>
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L102)*
*Defined in [Queries.ts:102](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L102)*
**Parameters:**
@@ -436,7 +436,7 @@ ___
▸ **sessionCurrentIndex**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L152)*
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L152)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -447,7 +447,7 @@ ___
▸ **sessionCurrentStart**(): `Observable`< `Moment` &#124; `undefined`>
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L156)*
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L156)*
**Returns:** `Observable`< `Moment` &#124; `undefined`>
@@ -458,7 +458,7 @@ ___
▸ **sessionLastLengthChange**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L160)*
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L160)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -469,7 +469,7 @@ ___
▸ **sessionLength**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L164)*
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L164)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -480,7 +480,7 @@ ___
▸ **sessionReward**(): `Observable`< `Perbill` &#124; `undefined`>
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L144)*
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L144)*
**Returns:** `Observable`< `Perbill` &#124; `undefined`>
@@ -491,7 +491,7 @@ ___
▸ **sessionRewardCurrent**(): `Observable`< `Balance` &#124; `undefined`>
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L148)*
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L148)*
**Returns:** `Observable`< `Balance` &#124; `undefined`>
@@ -502,7 +502,7 @@ ___
▸ **sessionValidators**(): `Observable`<`Array`<`AccountId`>>
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L172)*
*Defined in [Queries.ts:172](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L172)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -513,7 +513,7 @@ ___
▸ **sessionsPerEra**(): `Observable`< `BlockNumber` &#124; `undefined`>
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L168)*
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L168)*
**Returns:** `Observable`< `BlockNumber` &#124; `undefined`>
@@ -524,7 +524,7 @@ ___
▸ **stakingIntentions**(): `Observable`<`Array`<`AccountId`>>
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L185)*
*Defined in [Queries.ts:185](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L185)*
**Returns:** `Observable`<`Array`<`AccountId`>>
@@ -535,7 +535,7 @@ ___
▸ **stakingNominating**(address: * `AccountId` &#124; `string`*): `Observable`< `AccountId` &#124; `undefined`>
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L211)*
*Defined in [Queries.ts:211](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L211)*
**Parameters:**
@@ -552,7 +552,7 @@ ___
▸ **stakingNominatorsFor**(address: * `AccountId` &#124; `string`*): `Observable`<`Array`<`AccountId`>>
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L198)*
*Defined in [Queries.ts:198](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L198)*
**Parameters:**
@@ -569,7 +569,7 @@ ___
▸ **validatorCount**(): `Observable`< `u32` &#124; `undefined`>
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/Queries.ts#L215)*
*Defined in [Queries.ts:215](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/Queries.ts#L215)*
**Returns:** `Observable`< `u32` &#124; `undefined`>
+5 -5
View File
@@ -9,7 +9,7 @@
**Ƭ ApiFunctions**: * `keyof ApiBase` &#124; `keyof ApiCalls` &#124; `keyof ApiCombined` &#124; `keyof ApiQueries`
*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/types.d.ts#L14)*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/types.d.ts#L14)*
___
<a id="rxbalance"></a>
@@ -18,7 +18,7 @@ ___
**Ƭ RxBalance**: *`object`*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/types.d.ts#L16)*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/types.d.ts#L16)*
#### Type declaration
@@ -29,7 +29,7 @@ ___
**Ƭ RxBalanceMap**: *`object`*
*Defined in [types.d.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/types.d.ts#L40)*
*Defined in [types.d.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/types.d.ts#L40)*
#### Type declaration
@@ -42,7 +42,7 @@ ___
**Ƭ RxFees**: *`object`*
*Defined in [types.d.ts:26](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/types.d.ts#L26)*
*Defined in [types.d.ts:26](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/types.d.ts#L26)*
#### Type declaration
@@ -53,7 +53,7 @@ ___
**Ƭ RxReferendumVote**: *`object`*
*Defined in [types.d.ts:34](https://github.com/polkadot-js/api/blob/82baafb/packages/api-observable/src/types.d.ts#L34)*
*Defined in [types.d.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/api-observable/src/types.d.ts#L34)*
#### Type declaration
+5 -1
View File
@@ -1,13 +1,17 @@
* [&quot;Base&quot;](modules/_base_.md)
* [ApiBase](classes/_base_.apibase.md)
* [&quot;index&quot;](modules/_index_.md)
* [&quot;rx/SubmittableExtrinsic&quot;](modules/_rx_submittableextrinsic_.md)
* [SubmittableExtrinsic](classes/_rx_submittableextrinsic_.submittableextrinsic.md)
* [&quot;rx/index&quot;](modules/_rx_index_.md)
* [ApiRx](classes/_rx_index_.apirx.md)
* [&quot;rx/types.d&quot;](modules/_rx_types_d_.md)
* [ApiRxInterface](interfaces/_rx_types_d_.apirxinterface.md)
* [QueryableModuleStorage](interfaces/_rx_types_d_.queryablemodulestorage.md)
* [QueryableStorage](interfaces/_rx_types_d_.queryablestorage.md)
* [QueryableStorageFunction](interfaces/_rx_types_d_.queryablestoragefunction.md)
* [RxApiInterface](interfaces/_rx_types_d_.rxapiinterface.md)
* [SubmittableExtrinsicFunction](interfaces/_rx_types_d_.submittableextrinsicfunction.md)
* [SubmittableExtrinsics](interfaces/_rx_types_d_.submittableextrinsics.md)
* [SubmittableModuleExtrinsics](interfaces/_rx_types_d_.submittablemoduleextrinsics.md)
* [&quot;types.d&quot;](modules/_types_d_.md)
* [ApiBaseInterface](interfaces/_types_d_.apibaseinterface.md)
+524
View File
@@ -0,0 +1,524 @@
# Type parameters
#### R
#### S
#### E
#### EventTypes : `string` &#124; `symbol`
# Hierarchy
`EventEmitter`
**↳ ApiBase**
↳ [ApiRx](_rx_index_.apirx.md)
# Implements
* [ApiBaseInterface](../interfaces/_types_d_.apibaseinterface.md)<`R`, `S`, `E`>
# Constructors
<a id="constructor"></a>
## constructor
⊕ **new ApiBase**(wsProvider?: *`WsProvider`*): [ApiBase](_base_.apibase.md)
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L39)*
*__example__*:
```javascript
import Api from '@polkadot/api/rx';
new Api().isReady.subscribe((api) => {
api.rpc.newHead().subscribe((header) => {
console.log(`new block #${header.blockNumber.toNumber()}`);
});
});
```
**Parameters:**
| Param | Type | Description |
| ------ | ------ | ------ |
| `Optional` wsProvider | `WsProvider` | An optional WebSocket provider from rpc-provider/ws. If not specified, it will default to connecting to the localhost with the default port |
**Returns:** [ApiBase](_base_.apibase.md)
___
# Properties
<a id="_extrinsics"></a>
## `<Protected>``<Optional>` _extrinsics
**● _extrinsics**: *[E]()*
*Defined in [Base.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L33)*
___
<a id="_genesishash"></a>
## `<Protected>``<Optional>` _genesisHash
**● _genesisHash**: *`Hash`*
*Defined in [Base.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L34)*
___
<a id="_rpc"></a>
## `<Protected>` _rpc
**● _rpc**: *`R`*
*Defined in [Base.ts:36](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L36)*
___
<a id="_rpcbase"></a>
## `<Protected>` _rpcBase
**● _rpcBase**: *`Rpc`*
*Defined in [Base.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L37)*
___
<a id="_runtimemetadata"></a>
## `<Protected>``<Optional>` _runtimeMetadata
**● _runtimeMetadata**: *`RuntimeMetadata`*
*Defined in [Base.ts:38](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L38)*
___
<a id="_runtimeversion"></a>
## `<Protected>``<Optional>` _runtimeVersion
**● _runtimeVersion**: *`RuntimeVersion`*
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L39)*
___
<a id="_storage"></a>
## `<Protected>``<Optional>` _storage
**● _storage**: *[S]()*
*Defined in [Base.ts:35](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L35)*
___
<a id="prefixed"></a>
## `<Static>` prefixed
**● prefixed**: * `string` &#124; `boolean`
*
*Inherited from EventEmitter.prefixed*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:6*
___
# Accessors
<a id="genesishash"></a>
## genesisHash
getgenesisHash(): `Hash`
*Defined in [Base.ts:68](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L68)*
*__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.
**Returns:** `Hash`
___
<a id="rpc"></a>
## rpc
getrpc(): `R`
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L105)*
*__description__*: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions.
*__example__*:
```javascript
api.rpc.chain
.newHead()
.subscribe((header) => {
console.log('new header', header);
});
```
**Returns:** `R`
___
<a id="runtimemetadata"></a>
## runtimeMetadata
getruntimeMetadata(): `RuntimeMetadata`
*Defined in [Base.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L77)*
*__description__*: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.
**Returns:** `RuntimeMetadata`
___
<a id="runtimeversion"></a>
## runtimeVersion
getruntimeVersion(): `RuntimeVersion`
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L86)*
*__description__*: Contains the version information for the current runtime.
**Returns:** `RuntimeVersion`
___
<a id="st"></a>
## st
getst(): `S`
*Defined in [Base.ts:122](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L122)*
*__description__*: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.
*__example__*:
```javascript
api.st.balances
.freeBalance(<accountId>)
.subscribe((balance) => {
console.log('new balance', balance);
});
```
**Returns:** `S`
___
<a id="tx"></a>
## tx
gettx(): `E`
*Defined in [Base.ts:143](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L143)*
*__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.
*__example__*:
```javascript
api.tx.balances
.transfer(<recipientId>, <balance>)
.sign(<keyPair>, <accountNonce>, <blockHash (optional)>)
.send()
.subscribe((status) => {
console.log('tx status', status);
});
```
**Returns:** `E`
___
# Methods
<a id="addlistener"></a>
## addListener
▸ **addListener**(event: *`EventTypes`*, fn: *`ListenerFn`*, context?: *`any`*): `this`
*Inherited from EventEmitter.addListener*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:33*
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| fn | `ListenerFn` |
| `Optional` context | `any` |
**Returns:** `this`
___
<a id="decorateextrinsics"></a>
## `<Protected>``<Abstract>` decorateExtrinsics
▸ **decorateExtrinsics**(extrinsics: *`Extrinsics`*): `E`
*Defined in [Base.ts:214](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L214)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| extrinsics | `Extrinsics` |
**Returns:** `E`
___
<a id="decoratefunctionmeta"></a>
## `<Protected>` decorateFunctionMeta
▸ **decorateFunctionMeta**(input: *`MetaDecoration`*, output: *`MetaDecoration`*): `MetaDecoration`
*Defined in [Base.ts:200](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L200)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `MetaDecoration` |
| output | `MetaDecoration` |
**Returns:** `MetaDecoration`
___
<a id="decoraterpc"></a>
## `<Protected>``<Abstract>` decorateRpc
▸ **decorateRpc**(rpc: *`Rpc`*): `R`
*Defined in [Base.ts:213](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L213)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| rpc | `Rpc` |
**Returns:** `R`
___
<a id="decoratestorage"></a>
## `<Protected>``<Abstract>` decorateStorage
▸ **decorateStorage**(storage: *`Storage`*): `S`
*Defined in [Base.ts:215](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L215)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| storage | `Storage` |
**Returns:** `S`
___
<a id="emit"></a>
## emit
▸ **emit**(event: *`EventTypes`*, ...args: *`Array`<`any`>*): `boolean`
*Inherited from EventEmitter.emit*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:27*
Calls each of the listeners registered for a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| `Rest` args | `Array`<`any`> |
**Returns:** `boolean`
___
<a id="eventnames"></a>
## eventNames
▸ **eventNames**(): `Array`<`EventTypes`>
*Inherited from EventEmitter.eventNames*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:12*
Return an array listing the events for which the emitter has registered listeners.
**Returns:** `Array`<`EventTypes`>
___
<a id="listenercount"></a>
## listenerCount
▸ **listenerCount**(event: *`EventTypes`*): `number`
*Inherited from EventEmitter.listenerCount*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:22*
Return the number of listeners listening to a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
**Returns:** `number`
___
<a id="listeners"></a>
## listeners
▸ **listeners**(event: *`EventTypes`*): `Array`<`ListenerFn`>
*Inherited from EventEmitter.listeners*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:17*
Return the listeners registered for a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
**Returns:** `Array`<`ListenerFn`>
___
<a id="off"></a>
## off
▸ **off**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
*Inherited from EventEmitter.off*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:44*
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| `Optional` fn | [ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md) |
| `Optional` context | `any` |
| `Optional` once | `undefined` &#124; `false` &#124; `true`|
**Returns:** `this`
___
<a id="on"></a>
## on
▸ **on**(event: *`EventTypes`*, fn: *`ListenerFn`*, context?: *`any`*): `this`
*Inherited from EventEmitter.on*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:32*
Add a listener for a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| fn | `ListenerFn` |
| `Optional` context | `any` |
**Returns:** `this`
___
<a id="once"></a>
## once
▸ **once**(event: *`EventTypes`*, fn: *`ListenerFn`*, context?: *`any`*): `this`
*Inherited from EventEmitter.once*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:38*
Add a one-time listener for a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| fn | `ListenerFn` |
| `Optional` context | `any` |
**Returns:** `this`
___
<a id="removealllisteners"></a>
## removeAllListeners
▸ **removeAllListeners**(event?: *[EventTypes]()*): `this`
*Inherited from EventEmitter.removeAllListeners*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:49*
Remove all listeners, or those of the specified event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| `Optional` event | [EventTypes]() |
**Returns:** `this`
___
<a id="removelistener"></a>
## removeListener
▸ **removeListener**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
*Inherited from EventEmitter.removeListener*
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:43*
Remove the listeners of a given event.
**Parameters:**
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| `Optional` fn | [ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md) |
| `Optional` context | `any` |
| `Optional` once | `undefined` &#124; `false` &#124; `true`|
**Returns:** `this`
___
+164 -21
View File
@@ -412,17 +412,19 @@
<h1 id="type-parameters">Type parameters</h1>
<h4 id="eventtypes----string--symbol">EventTypes : <code>string</code> | <code>symbol</code></h4>
<h1 id="hierarchy">Hierarchy</h1>
<p> <code>EventEmitter</code></p>
<p>&#x21B3; <a href="_base_.apibase.md">ApiBase</a>&lt;<code>RpcRx</code>, <a href="../interfaces/_rx_types_d_.queryablestorage.md">QueryableStorage</a>, <a href="../interfaces/_rx_types_d_.submittableextrinsics.md">SubmittableExtrinsics</a>&gt;</p>
<p><strong>&#x21B3; ApiRx</strong></p>
<h1 id="implements">Implements</h1>
<ul>
<li><a href="../interfaces/_rx_types_d_.rxapiinterface.md">RxApiInterface</a></li>
<li><a href="../interfaces/_types_d_.apibaseinterface.md">ApiBaseInterface</a>&lt;<code>RpcRx</code>, <a href="../interfaces/_rx_types_d_.queryablestorage.md">QueryableStorage</a>, <a href="../interfaces/_rx_types_d_.submittableextrinsics.md">SubmittableExtrinsics</a>&gt;</li>
<li><a href="../interfaces/_rx_types_d_.apirxinterface.md">ApiRxInterface</a></li>
</ul>
<h1 id="constructors">Constructors</h1>
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <strong>new ApiRx</strong>(wsProvider?: <em><code>WsProvider</code></em>): <a href="_rx_index_.apirx.html">ApiRx</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L59" target="_blank">rx/index.ts:59</a></em></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/27b2885/packages/api/src/rx/index.ts#L44" target="_blank">rx/index.ts:44</a></em></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>&#xA0;<span class="sunlight-ident">Api</span>&#xA0;<span class="sunlight-ident">from</span>&#xA0;<span class="sunlight-string">&apos;@polkadot/api/rx&apos;</span><span class="sunlight-punctuation">;</span>
@@ -452,11 +454,47 @@
<p><strong>Returns:</strong> <a href="_rx_index_.apirx.html">ApiRx</a></p>
<hr>
<h1 id="properties">Properties</h1>
<p><a id="isready"></a></p>
<h2 id="isready">isReady</h2>
<p><strong>&#x25CF; isReady</strong>: <em><code>Observable</code>&lt;<a href="_rx_index_.apirx.html">ApiRx</a>&gt;</em></p>
<p><em>Implementation of <a href="../interfaces/_rx_types_d_.rxapiinterface.md">RxApiInterface</a>.<a href="../interfaces/_rx_types_d_.rxapiinterface.md#isready">isReady</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L39" target="_blank">rx/index.ts:39</a></em></p>
<p><a id="_extrinsics"></a></p>
<h2 id="protectedoptional-extrinsics"><code>&lt;Protected&gt;``&lt;Optional&gt;</code> _extrinsics</h2>
<p><strong>&#x25CF; _extrinsics</strong>: <em><a href="">E</a></em></p>
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#_extrinsics">_extrinsics</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L33" target="_blank">Base.ts:33</a></em></p>
<hr>
<p><a id="_genesishash"></a></p>
<h2 id="protectedoptional-genesishash"><code>&lt;Protected&gt;``&lt;Optional&gt;</code> _genesisHash</h2>
<p><strong>&#x25CF; _genesisHash</strong>: <em><code>Hash</code></em></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/27b2885/packages/api/src/Base.ts#L34" target="_blank">Base.ts:34</a></em></p>
<hr>
<p><a id="_rpc"></a></p>
<h2 id="protected-rpc"><code>&lt;Protected&gt;</code> _rpc</h2>
<p><strong>&#x25CF; _rpc</strong>: <em><code>RpcRx</code></em></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/27b2885/packages/api/src/Base.ts#L36" target="_blank">Base.ts:36</a></em></p>
<hr>
<p><a id="_rpcbase"></a></p>
<h2 id="protected-rpcbase"><code>&lt;Protected&gt;</code> _rpcBase</h2>
<p><strong>&#x25CF; _rpcBase</strong>: <em><code>Rpc</code></em></p>
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#_rpcbase">_rpcBase</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L37" target="_blank">Base.ts:37</a></em></p>
<hr>
<p><a id="_runtimemetadata"></a></p>
<h2 id="protectedoptional-runtimemetadata"><code>&lt;Protected&gt;``&lt;Optional&gt;</code> _runtimeMetadata</h2>
<p><strong>&#x25CF; _runtimeMetadata</strong>: <em><code>RuntimeMetadata</code></em></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/27b2885/packages/api/src/Base.ts#L38" target="_blank">Base.ts:38</a></em></p>
<hr>
<p><a id="_runtimeversion"></a></p>
<h2 id="protectedoptional-runtimeversion"><code>&lt;Protected&gt;``&lt;Optional&gt;</code> _runtimeVersion</h2>
<p><strong>&#x25CF; _runtimeVersion</strong>: <em><code>RuntimeVersion</code></em></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/27b2885/packages/api/src/Base.ts#L39" target="_blank">Base.ts:39</a></em></p>
<hr>
<p><a id="_storage"></a></p>
<h2 id="protectedoptional-storage"><code>&lt;Protected&gt;``&lt;Optional&gt;</code> _storage</h2>
<p><strong>&#x25CF; _storage</strong>: <em><a href="">S</a></em></p>
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#_storage">_storage</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L35" target="_blank">Base.ts:35</a></em></p>
<hr>
<p><a id="prefixed"></a></p>
<h2 id="static-prefixed"><code>&lt;Static&gt;</code> prefixed</h2>
@@ -469,21 +507,30 @@
<p><a id="genesishash"></a></p>
<h2 id="genesishash">genesisHash</h2>
<p>getgenesisHash(): <code>Hash</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L94" target="_blank">rx/index.ts:94</a></em></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/27b2885/packages/api/src/Base.ts#L68" target="_blank">Base.ts:68</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>&lt;<code>boolean</code>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L87" target="_blank">rx/index.ts:87</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L77" target="_blank">rx/index.ts:77</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>&lt;<code>boolean</code>&gt;</p>
<hr>
<p><a id="isready"></a></p>
<h2 id="isready">isReady</h2>
<p>getisReady(): <code>Observable</code>&lt;<a href="_rx_index_.apirx.html">ApiRx</a>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L84" target="_blank">rx/index.ts:84</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>&lt;<a href="_rx_index_.apirx.html">ApiRx</a>&gt;</p>
<hr>
<p><a id="rpc"></a></p>
<h2 id="rpc">rpc</h2>
<p>getrpc(): <code>RpcRx</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L113" target="_blank">rx/index.ts:113</a></em></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/27b2885/packages/api/src/Base.ts#L105" target="_blank">Base.ts:105</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.</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">rpc</span><span class="sunlight-operator">.</span><span class="sunlight-ident">chain</span>
@@ -497,21 +544,24 @@
<p><a id="runtimemetadata"></a></p>
<h2 id="runtimemetadata">runtimeMetadata</h2>
<p>getruntimeMetadata(): <code>RuntimeMetadata</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L120" target="_blank">rx/index.ts:120</a></em></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/27b2885/packages/api/src/Base.ts#L77" target="_blank">Base.ts:77</a></em></p>
<p><em><strong>description</strong></em>: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics &amp; storage, but is useful for current runtime inspection.</p>
<p><strong>Returns:</strong> <code>RuntimeMetadata</code></p>
<hr>
<p><a id="runtimeversion"></a></p>
<h2 id="runtimeversion">runtimeVersion</h2>
<p>getruntimeVersion(): <code>RuntimeVersion</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L129" target="_blank">rx/index.ts:129</a></em></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/27b2885/packages/api/src/Base.ts#L86" target="_blank">Base.ts:86</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>
<p><a id="st"></a></p>
<h2 id="st">st</h2>
<p>getst(): <a href="../interfaces/_rx_types_d_.queryablestorage.md">QueryableStorage</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L148" target="_blank">rx/index.ts:148</a></em></p>
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#st">st</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L122" target="_blank">Base.ts:122</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><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">st</span><span class="sunlight-operator">.</span><span class="sunlight-ident">balances</span>
@@ -525,7 +575,8 @@
<p><a id="tx"></a></p>
<h2 id="tx">tx</h2>
<p>gettx(): <a href="../interfaces/_rx_types_d_.submittableextrinsics.md">SubmittableExtrinsics</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L169" target="_blank">rx/index.ts:169</a></em></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/27b2885/packages/api/src/Base.ts#L143" target="_blank">Base.ts:143</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>
@@ -569,6 +620,98 @@
</table>
<p><strong>Returns:</strong> <code>this</code></p>
<hr>
<p><a id="decorateextrinsics"></a></p>
<h2 id="protected-decorateextrinsics"><code>&lt;Protected&gt;</code> decorateExtrinsics</h2>
<p>&#x25B8; <strong>decorateExtrinsics</strong>(extrinsics: <em><code>Extrinsics</code></em>): <a href="../interfaces/_rx_types_d_.submittableextrinsics.md">SubmittableExtrinsics</a></p>
<p><em>Overrides <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#decorateextrinsics">decorateExtrinsics</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L92" target="_blank">rx/index.ts:92</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Param</th>
<th>Type</th>
</tr>
</thead>
<tbody>
<tr>
<td>extrinsics</td>
<td><code>Extrinsics</code></td>
</tr>
</tbody>
</table>
<p><strong>Returns:</strong> <a href="../interfaces/_rx_types_d_.submittableextrinsics.md">SubmittableExtrinsics</a></p>
<hr>
<p><a id="decoratefunctionmeta"></a></p>
<h2 id="protected-decoratefunctionmeta"><code>&lt;Protected&gt;</code> decorateFunctionMeta</h2>
<p>&#x25B8; <strong>decorateFunctionMeta</strong>(input: <em><code>MetaDecoration</code></em>, output: <em><code>MetaDecoration</code></em>): <code>MetaDecoration</code></p>
<p><em>Inherited from <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#decoratefunctionmeta">decorateFunctionMeta</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L200" target="_blank">Base.ts:200</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Param</th>
<th>Type</th>
</tr>
</thead>
<tbody>
<tr>
<td>input</td>
<td><code>MetaDecoration</code></td>
</tr>
<tr>
<td>output</td>
<td><code>MetaDecoration</code></td>
</tr>
</tbody>
</table>
<p><strong>Returns:</strong> <code>MetaDecoration</code></p>
<hr>
<p><a id="decoraterpc"></a></p>
<h2 id="protected-decoraterpc"><code>&lt;Protected&gt;</code> decorateRpc</h2>
<p>&#x25B8; <strong>decorateRpc</strong>(rpc: <em><code>Rpc</code></em>): <code>RpcRx</code></p>
<p><em>Overrides <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#decoraterpc">decorateRpc</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L88" target="_blank">rx/index.ts:88</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Param</th>
<th>Type</th>
</tr>
</thead>
<tbody>
<tr>
<td>rpc</td>
<td><code>Rpc</code></td>
</tr>
</tbody>
</table>
<p><strong>Returns:</strong> <code>RpcRx</code></p>
<hr>
<p><a id="decoratestorage"></a></p>
<h2 id="protected-decoratestorage"><code>&lt;Protected&gt;</code> decorateStorage</h2>
<p>&#x25B8; <strong>decorateStorage</strong>(storage: <em><code>Storage</code></em>): <a href="../interfaces/_rx_types_d_.queryablestorage.md">QueryableStorage</a></p>
<p><em>Overrides <a href="_base_.apibase.md">ApiBase</a>.<a href="_base_.apibase.md#decoratestorage">decorateStorage</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L113" target="_blank">rx/index.ts:113</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Param</th>
<th>Type</th>
</tr>
</thead>
<tbody>
<tr>
<td>storage</td>
<td><code>Storage</code></td>
</tr>
</tbody>
</table>
<p><strong>Returns:</strong> <a href="../interfaces/_rx_types_d_.queryablestorage.md">QueryableStorage</a></p>
<hr>
<p><a id="emit"></a></p>
<h2 id="emit">emit</h2>
<p>&#x25B8; <strong>emit</strong>(event: <em><code>EventTypes</code></em>, ...args: <em><code>Array</code>&lt;<code>any</code>&gt;</em>): <code>boolean</code></p>
@@ -652,7 +795,7 @@
<hr>
<p><a id="off"></a></p>
<h2 id="off">off</h2>
<p>&#x25B8; <strong>off</strong>(event: <em><code>EventTypes</code></em>, fn?: <em><a href="../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md">ListenerFn</a></em>, context?: <em><code>any</code></em>, once?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>this</code></p>
<p>&#x25B8; <strong>off</strong>(event: <em><code>EventTypes</code></em>, fn?: <em><a href="../interfaces/_base_.apibase.eventemitter.listenerfn.md">ListenerFn</a></em>, context?: <em><code>any</code></em>, once?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>this</code></p>
<p><em>Inherited from EventEmitter.off</em></p>
<p><em>Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:44</em></p>
<p><strong>Parameters:</strong></p>
@@ -670,7 +813,7 @@
</tr>
<tr>
<td><code>Optional</code> fn</td>
<td><a href="../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md">ListenerFn</a></td>
<td><a href="../interfaces/_base_.apibase.eventemitter.listenerfn.md">ListenerFn</a></td>
</tr>
<tr>
<td><code>Optional</code> context</td>
@@ -771,7 +914,7 @@
<hr>
<p><a id="removelistener"></a></p>
<h2 id="removelistener">removeListener</h2>
<p>&#x25B8; <strong>removeListener</strong>(event: <em><code>EventTypes</code></em>, fn?: <em><a href="../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md">ListenerFn</a></em>, context?: <em><code>any</code></em>, once?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>this</code></p>
<p>&#x25B8; <strong>removeListener</strong>(event: <em><code>EventTypes</code></em>, fn?: <em><a href="../interfaces/_base_.apibase.eventemitter.listenerfn.md">ListenerFn</a></em>, context?: <em><code>any</code></em>, once?: <em> <code>undefined</code> | <code>false</code> | <code>true</code></em>): <code>this</code></p>
<p><em>Inherited from EventEmitter.removeListener</em></p>
<p><em>Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:43</em></p>
<p>Remove the listeners of a given event.</p>
@@ -790,7 +933,7 @@
</tr>
<tr>
<td><code>Optional</code> fn</td>
<td><a href="../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md">ListenerFn</a></td>
<td><a href="../interfaces/_base_.apibase.eventemitter.listenerfn.md">ListenerFn</a></td>
</tr>
<tr>
<td><code>Optional</code> context</td>
@@ -807,7 +950,7 @@
<p><a id="create"></a></p>
<h2 id="static-create"><code>&lt;Static&gt;</code> create</h2>
<p>&#x25B8; <strong>create</strong>(wsProvider?: <em><code>WsProvider</code></em>): <code>Observable</code>&lt;<a href="_rx_index_.apirx.html">ApiRx</a>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L57" target="_blank">rx/index.ts:57</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L42" target="_blank">rx/index.ts:42</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>&#xA0;<span class="sunlight-ident">Api</span>&#xA0;<span class="sunlight-ident">from</span>&#xA0;<span class="sunlight-string">&apos;@polkadot/api/rx&apos;</span><span class="sunlight-punctuation">;</span>
@@ -880,7 +1023,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"ApiRx","level":"1.2.1","depth":2,"next":{"title":"rpc-core","level":"1.3","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"previous":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/classes/_rx_index_.apirx.md","mtime":"2018-10-11T07:37:01.304Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"ApiRx","level":"1.2.1","depth":2,"next":{"title":"rpc-core","level":"1.3","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"previous":{"title":"api","level":"1.2","depth":1,"path":"api/README.md","ref":"api/README.md","articles":[{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/classes/_rx_index_.apirx.md","mtime":"2018-10-11T08:23:43.503Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+191 -20
View File
@@ -5,13 +5,14 @@
# Hierarchy
`EventEmitter`
↳ [ApiBase](_base_.apibase.md)<`RpcRx`, [QueryableStorage](../interfaces/_rx_types_d_.queryablestorage.md), [SubmittableExtrinsics](../interfaces/_rx_types_d_.submittableextrinsics.md)>
**↳ ApiRx**
# Implements
* [RxApiInterface](../interfaces/_rx_types_d_.rxapiinterface.md)
* [ApiBaseInterface](../interfaces/_types_d_.apibaseinterface.md)<`RpcRx`, [QueryableStorage](../interfaces/_rx_types_d_.queryablestorage.md), [SubmittableExtrinsics](../interfaces/_rx_types_d_.submittableextrinsics.md)>
* [ApiRxInterface](../interfaces/_rx_types_d_.apirxinterface.md)
# Constructors
@@ -21,7 +22,9 @@
⊕ **new ApiRx**(wsProvider?: *`WsProvider`*): [ApiRx](_rx_index_.apirx.md)
*Defined in [rx/index.ts:59](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L59)*
*Overrides [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
*Defined in [rx/index.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L44)*
*__example__*:
```javascript
@@ -46,15 +49,81 @@ ___
# Properties
<a id="isready"></a>
<a id="_extrinsics"></a>
## isReady
## `<Protected>``<Optional>` _extrinsics
**● isReady**: *`Observable`<[ApiRx](_rx_index_.apirx.md)>*
**● _extrinsics**: *[E]()*
*Implementation of [RxApiInterface](../interfaces/_rx_types_d_.rxapiinterface.md).[isReady](../interfaces/_rx_types_d_.rxapiinterface.md#isready)*
*Inherited from [ApiBase](_base_.apibase.md).[_extrinsics](_base_.apibase.md#_extrinsics)*
*Defined in [rx/index.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L39)*
*Defined in [Base.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L33)*
___
<a id="_genesishash"></a>
## `<Protected>``<Optional>` _genesisHash
**● _genesisHash**: *`Hash`*
*Inherited from [ApiBase](_base_.apibase.md).[_genesisHash](_base_.apibase.md#_genesishash)*
*Defined in [Base.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L34)*
___
<a id="_rpc"></a>
## `<Protected>` _rpc
**● _rpc**: *`RpcRx`*
*Inherited from [ApiBase](_base_.apibase.md).[_rpc](_base_.apibase.md#_rpc)*
*Defined in [Base.ts:36](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L36)*
___
<a id="_rpcbase"></a>
## `<Protected>` _rpcBase
**● _rpcBase**: *`Rpc`*
*Inherited from [ApiBase](_base_.apibase.md).[_rpcBase](_base_.apibase.md#_rpcbase)*
*Defined in [Base.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L37)*
___
<a id="_runtimemetadata"></a>
## `<Protected>``<Optional>` _runtimeMetadata
**● _runtimeMetadata**: *`RuntimeMetadata`*
*Inherited from [ApiBase](_base_.apibase.md).[_runtimeMetadata](_base_.apibase.md#_runtimemetadata)*
*Defined in [Base.ts:38](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L38)*
___
<a id="_runtimeversion"></a>
## `<Protected>``<Optional>` _runtimeVersion
**● _runtimeVersion**: *`RuntimeVersion`*
*Inherited from [ApiBase](_base_.apibase.md).[_runtimeVersion](_base_.apibase.md#_runtimeversion)*
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L39)*
___
<a id="_storage"></a>
## `<Protected>``<Optional>` _storage
**● _storage**: *[S]()*
*Inherited from [ApiBase](_base_.apibase.md).[_storage](_base_.apibase.md#_storage)*
*Defined in [Base.ts:35](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L35)*
___
<a id="prefixed"></a>
@@ -78,7 +147,9 @@ ___
getgenesisHash(): `Hash`
*Defined in [rx/index.ts:94](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L94)*
*Inherited from [ApiBase](_base_.apibase.md).[genesisHash](_base_.apibase.md#genesishash)*
*Defined in [Base.ts:68](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L68)*
*__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.
@@ -91,12 +162,25 @@ ___
getisConnected(): `Observable`<`boolean`>
*Defined in [rx/index.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L87)*
*Defined in [rx/index.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L77)*
*__description__*: Observable that carries the connected state for the provider. Results in a boolean flag that is true/false based on the connectivity.
**Returns:** `Observable`<`boolean`>
___
<a id="isready"></a>
## isReady
getisReady(): `Observable`<[ApiRx](_rx_index_.apirx.md)>
*Defined in [rx/index.ts:84](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L84)*
*__description__*: Observable that returns the first time we are connected and loaded
**Returns:** `Observable`<[ApiRx](_rx_index_.apirx.md)>
___
<a id="rpc"></a>
@@ -104,7 +188,9 @@ ___
getrpc(): `RpcRx`
*Defined in [rx/index.ts:113](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L113)*
*Inherited from [ApiBase](_base_.apibase.md).[rpc](_base_.apibase.md#rpc)*
*Defined in [Base.ts:105](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L105)*
*__description__*: Contains all the raw rpc sections and their subsequent methods in the API as defined by the jsonrpc interface definitions.
@@ -126,7 +212,9 @@ ___
getruntimeMetadata(): `RuntimeMetadata`
*Defined in [rx/index.ts:120](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L120)*
*Inherited from [ApiBase](_base_.apibase.md).[runtimeMetadata](_base_.apibase.md#runtimemetadata)*
*Defined in [Base.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L77)*
*__description__*: Yields the current attached runtime metadata. Generally this is only used to construct extrinsics & storage, but is useful for current runtime inspection.
@@ -139,7 +227,9 @@ ___
getruntimeVersion(): `RuntimeVersion`
*Defined in [rx/index.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L129)*
*Inherited from [ApiBase](_base_.apibase.md).[runtimeVersion](_base_.apibase.md#runtimeversion)*
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L86)*
*__description__*: Contains the version information for the current runtime.
@@ -152,7 +242,9 @@ ___
getst(): [QueryableStorage](../interfaces/_rx_types_d_.queryablestorage.md)
*Defined in [rx/index.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L148)*
*Inherited from [ApiBase](_base_.apibase.md).[st](_base_.apibase.md#st)*
*Defined in [Base.ts:122](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L122)*
*__description__*: Contains all the chain state modules and their subsequent methods in the API. These are attached dynamically from the runtime metadata.
@@ -174,7 +266,9 @@ ___
gettx(): [SubmittableExtrinsics](../interfaces/_rx_types_d_.submittableextrinsics.md)
*Defined in [rx/index.ts:169](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L169)*
*Inherited from [ApiBase](_base_.apibase.md).[tx](_base_.apibase.md#tx)*
*Defined in [Base.ts:143](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L143)*
*__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.
@@ -215,6 +309,83 @@ ___
**Returns:** `this`
___
<a id="decorateextrinsics"></a>
## `<Protected>` decorateExtrinsics
▸ **decorateExtrinsics**(extrinsics: *`Extrinsics`*): [SubmittableExtrinsics](../interfaces/_rx_types_d_.submittableextrinsics.md)
*Overrides [ApiBase](_base_.apibase.md).[decorateExtrinsics](_base_.apibase.md#decorateextrinsics)*
*Defined in [rx/index.ts:92](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L92)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| extrinsics | `Extrinsics` |
**Returns:** [SubmittableExtrinsics](../interfaces/_rx_types_d_.submittableextrinsics.md)
___
<a id="decoratefunctionmeta"></a>
## `<Protected>` decorateFunctionMeta
▸ **decorateFunctionMeta**(input: *`MetaDecoration`*, output: *`MetaDecoration`*): `MetaDecoration`
*Inherited from [ApiBase](_base_.apibase.md).[decorateFunctionMeta](_base_.apibase.md#decoratefunctionmeta)*
*Defined in [Base.ts:200](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/Base.ts#L200)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| input | `MetaDecoration` |
| output | `MetaDecoration` |
**Returns:** `MetaDecoration`
___
<a id="decoraterpc"></a>
## `<Protected>` decorateRpc
▸ **decorateRpc**(rpc: *`Rpc`*): `RpcRx`
*Overrides [ApiBase](_base_.apibase.md).[decorateRpc](_base_.apibase.md#decoraterpc)*
*Defined in [rx/index.ts:88](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L88)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| rpc | `Rpc` |
**Returns:** `RpcRx`
___
<a id="decoratestorage"></a>
## `<Protected>` decorateStorage
▸ **decorateStorage**(storage: *`Storage`*): [QueryableStorage](../interfaces/_rx_types_d_.queryablestorage.md)
*Overrides [ApiBase](_base_.apibase.md).[decorateStorage](_base_.apibase.md#decoratestorage)*
*Defined in [rx/index.ts:113](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L113)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| storage | `Storage` |
**Returns:** [QueryableStorage](../interfaces/_rx_types_d_.queryablestorage.md)
___
<a id="emit"></a>
@@ -299,7 +470,7 @@ ___
## off
▸ **off**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
▸ **off**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
*Inherited from EventEmitter.off*
@@ -310,7 +481,7 @@ ___
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| `Optional` fn | [ListenerFn](../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md) |
| `Optional` fn | [ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md) |
| `Optional` context | `any` |
| `Optional` once | `undefined` &#124; `false` &#124; `true`|
@@ -388,7 +559,7 @@ ___
## removeListener
▸ **removeListener**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
▸ **removeListener**(event: *`EventTypes`*, fn?: *[ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md)*, context?: *`any`*, once?: * `undefined` &#124; `false` &#124; `true`*): `this`
*Inherited from EventEmitter.removeListener*
@@ -401,7 +572,7 @@ Remove the listeners of a given event.
| Param | Type |
| ------ | ------ |
| event | `EventTypes` |
| `Optional` fn | [ListenerFn](../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md) |
| `Optional` fn | [ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md) |
| `Optional` context | `any` |
| `Optional` once | `undefined` &#124; `false` &#124; `true`|
@@ -414,7 +585,7 @@ ___
▸ **create**(wsProvider?: *`WsProvider`*): `Observable`<[ApiRx](_rx_index_.apirx.md)>
*Defined in [rx/index.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/index.ts#L57)*
*Defined in [rx/index.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/index.ts#L42)*
*__description__*: Creates an ApiRx instance using the supplied provider. Returns an Observable containing the actual Api instance.
@@ -17,17 +17,17 @@
## constructor
⊕ **new SubmittableExtrinsic**(api: *[RxApiInterface](../interfaces/_rx_types_d_.rxapiinterface.md)*, extrinsic: *`Extrinsic`*): [SubmittableExtrinsic](_rx_submittableextrinsic_.submittableextrinsic.md)
⊕ **new SubmittableExtrinsic**(api: *[ApiRxInterface](../interfaces/_rx_types_d_.apirxinterface.md)*, extrinsic: *`Extrinsic`*): [SubmittableExtrinsic](_rx_submittableextrinsic_.submittableextrinsic.md)
*Overrides Extrinsic.__constructor*
*Defined in [rx/SubmittableExtrinsic.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/SubmittableExtrinsic.ts#L13)*
*Defined in [rx/SubmittableExtrinsic.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/SubmittableExtrinsic.ts#L13)*
**Parameters:**
| Param | Type |
| ------ | ------ |
| api | [RxApiInterface](../interfaces/_rx_types_d_.rxapiinterface.md) |
| api | [ApiRxInterface](../interfaces/_rx_types_d_.apirxinterface.md) |
| extrinsic | `Extrinsic` |
**Returns:** [SubmittableExtrinsic](_rx_submittableextrinsic_.submittableextrinsic.md)
@@ -44,7 +44,7 @@ ___
*Inherited from Struct._Types*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -55,7 +55,7 @@ ___
*Inherited from Struct._jsonMap*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -66,7 +66,7 @@ ___
*Inherited from Base.raw*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -80,7 +80,7 @@ getType(): `E`
*Inherited from Struct.Type*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -93,7 +93,7 @@ getcallIndex(): `Uint8Array`
*Inherited from Extrinsic.callIndex*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L44)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L44)*
**Returns:** `Uint8Array`
@@ -106,7 +106,7 @@ getdata(): `Uint8Array`
*Inherited from Extrinsic.data*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L48)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L48)*
**Returns:** `Uint8Array`
@@ -119,7 +119,7 @@ gethash(): `Hash`
*Inherited from Extrinsic.hash*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L53)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L53)*
**Returns:** `Hash`
@@ -132,7 +132,7 @@ getisSigned(): `boolean`
*Inherited from Extrinsic.isSigned*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:59](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L59)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:59](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L59)*
**Returns:** `boolean`
@@ -145,7 +145,7 @@ getlength(): `number`
*Inherited from Extrinsic.length*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:63](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L63)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:63](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L63)*
**Returns:** `number`
@@ -158,7 +158,7 @@ getmeta(): `FunctionMetadata`
*Inherited from Extrinsic.meta*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:67](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L67)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:67](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L67)*
**Returns:** `FunctionMetadata`
@@ -171,7 +171,7 @@ getmethod(): `Method`
*Inherited from Extrinsic.method*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:71](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L71)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:71](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L71)*
**Returns:** `Method`
@@ -184,7 +184,7 @@ getsignature(): `ExtrinsicSignature`
*Inherited from Extrinsic.signature*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:75](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L75)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:75](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L75)*
**Returns:** `ExtrinsicSignature`
@@ -202,7 +202,7 @@ ___
*Overrides Struct.byteLength*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L79)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L79)*
**Returns:** `number`
@@ -217,7 +217,7 @@ ___
*Overrides Struct.fromJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L85)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L85)*
**Parameters:**
@@ -238,7 +238,7 @@ ___
*Overrides Struct.fromU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:91](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L91)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:91](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L91)*
**Parameters:**
@@ -257,7 +257,7 @@ ___
*Inherited from Struct.get*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -276,7 +276,7 @@ ___
*Inherited from Struct.keys*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -287,7 +287,7 @@ ___
▸ **send**(): `Observable`<`any`>
*Defined in [rx/SubmittableExtrinsic.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/SubmittableExtrinsic.ts#L25)*
*Defined in [rx/SubmittableExtrinsic.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/SubmittableExtrinsic.ts#L25)*
**Returns:** `Observable`<`any`>
@@ -300,7 +300,7 @@ ___
*Overrides Extrinsic.sign*
*Defined in [rx/SubmittableExtrinsic.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/SubmittableExtrinsic.ts#L29)*
*Defined in [rx/SubmittableExtrinsic.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/SubmittableExtrinsic.ts#L29)*
**Parameters:**
@@ -321,7 +321,7 @@ ___
*Inherited from Extrinsic.toHex*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L116)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:116](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L116)*
**Returns:** `string`
@@ -336,7 +336,7 @@ ___
*Overrides Struct.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:120](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L120)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:120](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L120)*
**Returns:** `any`
@@ -351,7 +351,7 @@ ___
*Overrides Base.toString*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -366,7 +366,7 @@ ___
*Overrides Struct.toU8a*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:105](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Extrinsic.ts#L105)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/Extrinsic.ts:105](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Extrinsic.ts#L105)*
**Parameters:**
@@ -385,7 +385,7 @@ ___
*Inherited from Struct.values*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<`Base`>
@@ -398,7 +398,7 @@ ___
*Inherited from Struct.decodeStruct*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -423,7 +423,7 @@ ___
*Inherited from Struct.with*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
+1 -1
View File
@@ -482,7 +482,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"api","level":"1.2","depth":1,"next":{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/README.md","mtime":"2018-10-11T07:37:01.088Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"api","level":"1.2","depth":1,"next":{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"previous":{"title":"Introduction","level":"1.1","depth":1,"path":"README.md","ref":"README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"api/README.md","mtime":"2018-10-11T08:23:43.235Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
@@ -0,0 +1,122 @@
# Hierarchy
[ApiBaseInterface](_types_d_.apibaseinterface.md)<`RpcRx`, [QueryableStorage](_rx_types_d_.queryablestorage.md), [SubmittableExtrinsics](_rx_types_d_.submittableextrinsics.md)>
**↳ ApiRxInterface**
# Implemented by
* [ApiRx](../classes/_rx_index_.apirx.md)
# Properties
<a id="genesishash"></a>
## genesisHash
**● genesisHash**: *`Hash`*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[genesisHash](_types_d_.apibaseinterface.md#genesishash)*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L16)*
___
<a id="isconnected"></a>
## isConnected
**● isConnected**: *`Observable`<`boolean`>*
*Defined in [rx/types.d.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/types.d.ts#L42)*
___
<a id="isready"></a>
## isReady
**● isReady**: *`Observable`<[ApiRxInterface](_rx_types_d_.apirxinterface.md)>*
*Defined in [rx/types.d.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/types.d.ts#L43)*
___
<a id="on"></a>
## on
**● on**: *`function`*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[on](_types_d_.apibaseinterface.md#on)*
*Defined in [types.d.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L23)*
#### Type declaration
▸(type: *[ApiInterface$Events](../modules/_types_d_.md#apiinterface_events)*, handler: *`function`*): `void`
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | [ApiInterface$Events](../modules/_types_d_.md#apiinterface_events) |
| handler | `function` |
**Returns:** `void`
___
<a id="rpc"></a>
## rpc
**● rpc**: *`RpcRx`*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[rpc](_types_d_.apibaseinterface.md#rpc)*
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L19)*
___
<a id="runtimemetadata"></a>
## runtimeMetadata
**● runtimeMetadata**: *`RuntimeMetadata`*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[runtimeMetadata](_types_d_.apibaseinterface.md#runtimemetadata)*
*Defined in [types.d.ts:17](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L17)*
___
<a id="runtimeversion"></a>
## runtimeVersion
**● runtimeVersion**: *`RuntimeVersion`*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[runtimeVersion](_types_d_.apibaseinterface.md#runtimeversion)*
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L18)*
___
<a id="st"></a>
## st
**● st**: *[QueryableStorage](_rx_types_d_.queryablestorage.md)*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[st](_types_d_.apibaseinterface.md#st)*
*Defined in [types.d.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L20)*
___
<a id="tx"></a>
## tx
**● tx**: *[SubmittableExtrinsics](_rx_types_d_.submittableextrinsics.md)*
*Inherited from [ApiBaseInterface](_types_d_.apibaseinterface.md).[tx](_types_d_.apibaseinterface.md#tx)*
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L21)*
___
@@ -11,7 +11,7 @@
▸ **__call**(arg?: *`any`*): `Uint8Array`
*Defined in [rx/types.d.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L16)*
*Defined in [rx/types.d.ts:17](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/types.d.ts#L17)*
**Parameters:**
@@ -21,7 +21,7 @@
**Returns:** `Observable`< `Base` &#124; `null` &#124; `undefined`>
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/StorageKey.ts#L14)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/StorageKey.ts#L14)*
**Parameters:**
@@ -41,7 +41,7 @@
*Inherited from StorageFunction.meta*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/StorageKey.ts#L16)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/StorageKey.ts#L16)*
___
<a id="method"></a>
@@ -52,7 +52,7 @@ ___
*Inherited from StorageFunction.method*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:17](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/StorageKey.ts#L17)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:17](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/StorageKey.ts#L17)*
___
<a id="section"></a>
@@ -63,7 +63,7 @@ ___
*Inherited from StorageFunction.section*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:18](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/StorageKey.ts#L18)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/StorageKey.ts#L18)*
___
<a id="tojson"></a>
@@ -74,7 +74,7 @@ ___
*Inherited from StorageFunction.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/StorageKey.ts#L19)*
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/StorageKey.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/StorageKey.ts#L19)*
#### Type declaration
▸(): `any`
@@ -1,106 +0,0 @@
# Hierarchy
**RxApiInterface**
# Implemented by
* [ApiRx](../classes/_rx_index_.apirx.md)
# Properties
<a id="genesishash"></a>
## genesisHash
**● genesisHash**: *`Hash`*
*Defined in [rx/types.d.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L43)*
___
<a id="isconnected"></a>
## isConnected
**● isConnected**: *`Observable`<`boolean`>*
*Defined in [rx/types.d.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L44)*
___
<a id="isready"></a>
## isReady
**● isReady**: *`Observable`<[RxApiInterface](_rx_types_d_.rxapiinterface.md)>*
*Defined in [rx/types.d.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L45)*
___
<a id="on"></a>
## on
**● on**: *`function`*
*Defined in [rx/types.d.ts:52](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L52)*
#### Type declaration
▸(type: *[RxApiInterface$Events](../modules/_rx_types_d_.md#rxapiinterface_events)*, handler: *`function`*): `void`
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | [RxApiInterface$Events](../modules/_rx_types_d_.md#rxapiinterface_events) |
| handler | `function` |
**Returns:** `void`
___
<a id="rpc"></a>
## rpc
**● rpc**: *`RpcRx`*
*Defined in [rx/types.d.ts:46](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L46)*
___
<a id="runtimemetadata"></a>
## runtimeMetadata
**● runtimeMetadata**: *`RuntimeMetadata`*
*Defined in [rx/types.d.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L47)*
___
<a id="runtimeversion"></a>
## runtimeVersion
**● runtimeVersion**: *`RuntimeVersion`*
*Defined in [rx/types.d.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L48)*
___
<a id="st"></a>
## st
**● st**: *[QueryableStorage](_rx_types_d_.queryablestorage.md)*
*Defined in [rx/types.d.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L49)*
___
<a id="tx"></a>
## tx
**● tx**: *[SubmittableExtrinsics](_rx_types_d_.submittableextrinsics.md)*
*Defined in [rx/types.d.ts:50](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L50)*
___
@@ -11,7 +11,7 @@
▸ **__call**(...args: *`any`[]*): `Extrinsic`
*Defined in [rx/types.d.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L28)*
*Defined in [rx/types.d.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/rx/types.d.ts#L29)*
**Parameters:**
@@ -21,7 +21,7 @@
**Returns:** [SubmittableExtrinsic](../classes/_rx_submittableextrinsic_.submittableextrinsic.md)
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L8)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L8)*
**Parameters:**
@@ -41,7 +41,7 @@
*Inherited from ExtrinsicFunction.callIndex*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L10)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L10)*
___
<a id="meta"></a>
@@ -52,7 +52,7 @@ ___
*Inherited from ExtrinsicFunction.meta*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:11](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L11)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:11](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L11)*
___
<a id="method"></a>
@@ -63,7 +63,7 @@ ___
*Inherited from ExtrinsicFunction.method*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:12](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L12)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:12](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L12)*
___
<a id="section"></a>
@@ -74,7 +74,7 @@ ___
*Inherited from ExtrinsicFunction.section*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L13)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L13)*
___
<a id="tojson"></a>
@@ -85,7 +85,7 @@ ___
*Inherited from ExtrinsicFunction.toJSON*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L14)*
*Defined in [/home/travis/build/polkadot-js/api/packages/type-extrinsics/src/types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L14)*
#### Type declaration
▸(): `any`
@@ -0,0 +1,95 @@
# Type parameters
#### R
#### S
#### E
# Hierarchy
**ApiBaseInterface**
↳ [ApiRxInterface](_rx_types_d_.apirxinterface.md)
# Implemented by
* [ApiBase](../classes/_base_.apibase.md)
* [ApiRx](../classes/_rx_index_.apirx.md)
# Properties
<a id="genesishash"></a>
## genesisHash
**● genesisHash**: *`Hash`*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L16)*
___
<a id="on"></a>
## on
**● on**: *`function`*
*Defined in [types.d.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L23)*
#### Type declaration
▸(type: *[ApiInterface$Events](../modules/_types_d_.md#apiinterface_events)*, handler: *`function`*): `void`
**Parameters:**
| Param | Type |
| ------ | ------ |
| type | [ApiInterface$Events](../modules/_types_d_.md#apiinterface_events) |
| handler | `function` |
**Returns:** `void`
___
<a id="rpc"></a>
## rpc
**● rpc**: *`R`*
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L19)*
___
<a id="runtimemetadata"></a>
## runtimeMetadata
**● runtimeMetadata**: *`RuntimeMetadata`*
*Defined in [types.d.ts:17](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L17)*
___
<a id="runtimeversion"></a>
## runtimeVersion
**● runtimeVersion**: *`RuntimeVersion`*
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L18)*
___
<a id="st"></a>
## st
**● st**: *`S`*
*Defined in [types.d.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L20)*
___
<a id="tx"></a>
## tx
**● tx**: *`E`*
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L21)*
___
@@ -4,12 +4,12 @@
### Interfaces
* [EventEmitterStatic](../interfaces/_rx_index_.apirx.eventemitter.eventemitterstatic.md)
* [ListenerFn](../interfaces/_rx_index_.apirx.eventemitter.listenerfn.md)
* [EventEmitterStatic](../interfaces/_base_.apibase.eventemitter.eventemitterstatic.md)
* [ListenerFn](../interfaces/_base_.apibase.eventemitter.listenerfn.md)
### Variables
* [EventEmitter](_rx_index_.apirx.eventemitter.md#eventemitter)
* [EventEmitter](_base_.apibase.eventemitter.md#eventemitter)
---
+10
View File
@@ -0,0 +1,10 @@
# Index
### Classes
* [ApiBase](../classes/_base_.apibase.md)
---
-13
View File
@@ -1,15 +1,2 @@
# Type aliases
<a id="rxapiinterface_events"></a>
## RxApiInterface$Events
**Ƭ RxApiInterface$Events**: * `RpcRxInterface$Events` &#124; "ready"
*
*Defined in [rx/types.d.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/api/src/rx/types.d.ts#L40)*
___
+15
View File
@@ -0,0 +1,15 @@
# Type aliases
<a id="apiinterface_events"></a>
## ApiInterface$Events
**Ƭ ApiInterface$Events**: * `RpcRxInterface$Events` &#124; "ready"
*
*Defined in [types.d.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/api/src/types.d.ts#L13)*
___
+1 -1
View File
@@ -471,7 +471,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Simple connect","level":"2.2","depth":1,"next":{"title":"Listen to blocks","level":"2.3","depth":1,"path":"examples/02_listen_to_blocks/README.md","ref":"examples/02_listen_to_blocks/README.md","articles":[]},"previous":{"title":"Overview","level":"2.1","depth":1,"path":"examples/README.md","ref":"examples/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/01_simple_connect/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Simple connect","level":"2.2","depth":1,"next":{"title":"Listen to blocks","level":"2.3","depth":1,"path":"examples/02_listen_to_blocks/README.md","ref":"examples/02_listen_to_blocks/README.md","articles":[]},"previous":{"title":"Overview","level":"2.1","depth":1,"path":"examples/README.md","ref":"examples/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/01_simple_connect/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -478,7 +478,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Listen to blocks","level":"2.3","depth":1,"next":{"title":"Listen to balance change","level":"2.4","depth":1,"path":"examples/03_listen_to_balance_change/README.md","ref":"examples/03_listen_to_balance_change/README.md","articles":[]},"previous":{"title":"Simple connect","level":"2.2","depth":1,"path":"examples/01_simple_connect/README.md","ref":"examples/01_simple_connect/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/02_listen_to_blocks/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Listen to blocks","level":"2.3","depth":1,"next":{"title":"Listen to balance change","level":"2.4","depth":1,"path":"examples/03_listen_to_balance_change/README.md","ref":"examples/03_listen_to_balance_change/README.md","articles":[]},"previous":{"title":"Simple connect","level":"2.2","depth":1,"path":"examples/01_simple_connect/README.md","ref":"examples/01_simple_connect/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/02_listen_to_blocks/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
@@ -473,7 +473,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Listen to balance change","level":"2.4","depth":1,"next":{"title":"Generate Accounts","level":"2.5","depth":1,"path":"examples/04_generate_account/README.md","ref":"examples/04_generate_account/README.md","articles":[]},"previous":{"title":"Listen to blocks","level":"2.3","depth":1,"path":"examples/02_listen_to_blocks/README.md","ref":"examples/02_listen_to_blocks/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/03_listen_to_balance_change/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Listen to balance change","level":"2.4","depth":1,"next":{"title":"Generate Accounts","level":"2.5","depth":1,"path":"examples/04_generate_account/README.md","ref":"examples/04_generate_account/README.md","articles":[]},"previous":{"title":"Listen to blocks","level":"2.3","depth":1,"path":"examples/02_listen_to_blocks/README.md","ref":"examples/02_listen_to_blocks/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/03_listen_to_balance_change/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -487,7 +487,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Generate Accounts","level":"2.5","depth":1,"next":{"title":"Read Storage","level":"2.6","depth":1,"path":"examples/05_read_storage/README.md","ref":"examples/05_read_storage/README.md","articles":[]},"previous":{"title":"Listen to balance change","level":"2.4","depth":1,"path":"examples/03_listen_to_balance_change/README.md","ref":"examples/03_listen_to_balance_change/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/04_generate_account/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Generate Accounts","level":"2.5","depth":1,"next":{"title":"Read Storage","level":"2.6","depth":1,"path":"examples/05_read_storage/README.md","ref":"examples/05_read_storage/README.md","articles":[]},"previous":{"title":"Listen to balance change","level":"2.4","depth":1,"path":"examples/03_listen_to_balance_change/README.md","ref":"examples/03_listen_to_balance_change/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/04_generate_account/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -487,7 +487,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Read Storage","level":"2.6","depth":1,"next":{"title":"Craft Extrinsic","level":"2.7","depth":1,"path":"examples/06_craft_extrinsic/README.md","ref":"examples/06_craft_extrinsic/README.md","articles":[]},"previous":{"title":"Generate Accounts","level":"2.5","depth":1,"path":"examples/04_generate_account/README.md","ref":"examples/04_generate_account/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/05_read_storage/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Read Storage","level":"2.6","depth":1,"next":{"title":"Craft Extrinsic","level":"2.7","depth":1,"path":"examples/06_craft_extrinsic/README.md","ref":"examples/06_craft_extrinsic/README.md","articles":[]},"previous":{"title":"Generate Accounts","level":"2.5","depth":1,"path":"examples/04_generate_account/README.md","ref":"examples/04_generate_account/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/05_read_storage/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -511,7 +511,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Craft Extrinsic","level":"2.7","depth":1,"next":{"title":"Transfer DOTs","level":"2.8","depth":1,"path":"examples/07_transfer_dots/README.md","ref":"examples/07_transfer_dots/README.md","articles":[]},"previous":{"title":"Read Storage","level":"2.6","depth":1,"path":"examples/05_read_storage/README.md","ref":"examples/05_read_storage/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/06_craft_extrinsic/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Craft Extrinsic","level":"2.7","depth":1,"next":{"title":"Transfer DOTs","level":"2.8","depth":1,"path":"examples/07_transfer_dots/README.md","ref":"examples/07_transfer_dots/README.md","articles":[]},"previous":{"title":"Read Storage","level":"2.6","depth":1,"path":"examples/05_read_storage/README.md","ref":"examples/05_read_storage/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/06_craft_extrinsic/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -491,7 +491,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Transfer DOTs","level":"2.8","depth":1,"previous":{"title":"Craft Extrinsic","level":"2.7","depth":1,"path":"examples/06_craft_extrinsic/README.md","ref":"examples/06_craft_extrinsic/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/07_transfer_dots/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Transfer DOTs","level":"2.8","depth":1,"previous":{"title":"Craft Extrinsic","level":"2.7","depth":1,"path":"examples/06_craft_extrinsic/README.md","ref":"examples/06_craft_extrinsic/README.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/07_transfer_dots/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -467,7 +467,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Overview","level":"2.1","depth":1,"next":{"title":"Simple connect","level":"2.2","depth":1,"path":"examples/01_simple_connect/README.md","ref":"examples/01_simple_connect/README.md","articles":[]},"previous":{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/README.md","mtime":"2018-10-11T07:35:09.495Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Overview","level":"2.1","depth":1,"next":{"title":"Simple connect","level":"2.2","depth":1,"path":"examples/01_simple_connect/README.md","ref":"examples/01_simple_connect/README.md","articles":[]},"previous":{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"examples/README.md","mtime":"2018-10-11T08:21:47.280Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
+1 -1
View File
@@ -491,7 +491,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":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"README.md","mtime":"2018-10-11T07:35:09.491Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"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":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"README.md","mtime":"2018-10-11T08:21:47.276Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":".","book":{"language":""}});
});
</script>
</div>
+1
View File
@@ -1,3 +1,4 @@
* [&quot;defaults&quot;](modules/_defaults_.md)
* [&quot;index&quot;](modules/_index_.md)
* [Rpc](classes/_index_.rpc.md)
* [&quot;types.d&quot;](modules/_types_d_.md)
+16 -9
View File
@@ -434,8 +434,8 @@ graph LR;
<h1 id="constructors">Constructors</h1>
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <strong>new Rpc</strong>(provider: <em><code>ProviderInterface</code></em>): <a href="_index_.rpc.html">Rpc</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<p>&#x2295; <strong>new Rpc</strong>(provider?: <em><code>ProviderInterface</code></em>): <a href="_index_.rpc.html">Rpc</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p><em><strong>constructor</strong></em>: Default constructor for the Api Object</p>
<p><strong>Parameters:</strong></p>
<table>
@@ -443,13 +443,15 @@ graph LR;
<tr>
<th>Param</th>
<th>Type</th>
<th>Default value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>provider</td>
<td><code>Default value</code> provider</td>
<td><code>ProviderInterface</code></td>
<td>new WsProvider(defaults.WS_URL)</td>
<td>An API provider using HTTP or WebSocket</td>
</tr>
</tbody>
@@ -457,35 +459,40 @@ graph LR;
<p><strong>Returns:</strong> <a href="_index_.rpc.html">Rpc</a></p>
<hr>
<h1 id="properties">Properties</h1>
<p><a id="_provider"></a></p>
<h2 id="provider">_provider</h2>
<p><strong>&#x25CF; _provider</strong>: <em><code>ProviderInterface</code></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L43" target="_blank">index.ts:43</a></em></p>
<hr>
<p><a id="author"></a></p>
<h2 id="author">author</h2>
<p><strong>&#x25CF; author</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#author">author</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L41" target="_blank">index.ts:41</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<hr>
<p><a id="chain"></a></p>
<h2 id="chain">chain</h2>
<p><strong>&#x25CF; chain</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#chain">chain</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L42" target="_blank">index.ts:42</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L45" target="_blank">index.ts:45</a></em></p>
<hr>
<p><a id="state"></a></p>
<h2 id="state">state</h2>
<p><strong>&#x25CF; state</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#state">state</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L43" target="_blank">index.ts:43</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L46" target="_blank">index.ts:46</a></em></p>
<hr>
<p><a id="system"></a></p>
<h2 id="system">system</h2>
<p><strong>&#x25CF; system</strong>: <em><a href="../modules/_types_d_.md#rpcinterface_section">RpcInterface$Section</a></em></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.rpcinterface.md">RpcInterface</a>.<a href="../interfaces/_types_d_.rpcinterface.md#system">system</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<hr>
<h1 id="methods">Methods</h1>
<p><a id="signature"></a></p>
<h2 id="static-signature"><code>&lt;Static&gt;</code> signature</h2>
<p>&#x25B8; <strong>signature</strong>(__namedParameters: <em><code>object</code></em>): <code>string</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L77" target="_blank">index.ts:77</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L80" target="_blank">index.ts:80</a></em></p>
<p><em><strong>name</strong></em>: signature</p>
<p><em><strong>summary</strong></em>: Returns a string representation of the method with inputs and outputs.</p>
<p><em><strong>description</strong></em>: Formats the name, inputs and outputs into a human-readable string. This contains the input parameter names input types and output type.</p>
@@ -554,7 +561,7 @@ graph LR;
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Rpc","level":"1.3.1","depth":2,"next":{"title":"rpc-provider","level":"1.4","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.4.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]}]},"previous":{"title":"rpc-core","level":"1.3","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/classes/_index_.rpc.md","mtime":"2018-10-11T07:37:16.788Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"Rpc","level":"1.3.1","depth":2,"next":{"title":"rpc-provider","level":"1.4","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.4.2","depth":2,"path":"rpc-provider/classes/_ws_index_.wsprovider.md","ref":"rpc-provider/classes/_ws_index_.wsprovider.md","articles":[]}]},"previous":{"title":"rpc-core","level":"1.3","depth":1,"path":"rpc-core/README.md","ref":"rpc-core/README.md","articles":[{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/classes/_index_.rpc.md","mtime":"2018-10-11T08:23:59.575Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+19 -10
View File
@@ -35,17 +35,17 @@ const api = new Api(provider);
## constructor
⊕ **new Rpc**(provider: *`ProviderInterface`*): [Rpc](_index_.rpc.md)
⊕ **new Rpc**(provider?: *`ProviderInterface`*): [Rpc](_index_.rpc.md)
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L44)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L47)*
*__constructor__*: Default constructor for the Api Object
**Parameters:**
| Param | Type | Description |
| ------ | ------ | ------ |
| provider | `ProviderInterface` | An API provider using HTTP or WebSocket |
| Param | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| `Default value` provider | `ProviderInterface` | new WsProvider(defaults.WS_URL) | An API provider using HTTP or WebSocket |
**Returns:** [Rpc](_index_.rpc.md)
@@ -53,6 +53,15 @@ ___
# Properties
<a id="_provider"></a>
## _provider
**● _provider**: *`ProviderInterface`*
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L43)*
___
<a id="author"></a>
## author
@@ -61,7 +70,7 @@ ___
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[author](../interfaces/_types_d_.rpcinterface.md#author)*
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L41)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L44)*
___
<a id="chain"></a>
@@ -72,7 +81,7 @@ ___
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[chain](../interfaces/_types_d_.rpcinterface.md#chain)*
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L42)*
*Defined in [index.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L45)*
___
<a id="state"></a>
@@ -83,7 +92,7 @@ ___
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[state](../interfaces/_types_d_.rpcinterface.md#state)*
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L43)*
*Defined in [index.ts:46](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L46)*
___
<a id="system"></a>
@@ -94,7 +103,7 @@ ___
*Implementation of [RpcInterface](../interfaces/_types_d_.rpcinterface.md).[system](../interfaces/_types_d_.rpcinterface.md#system)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L44)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L47)*
___
@@ -106,7 +115,7 @@ ___
▸ **signature**(__namedParameters: *`object`*): `string`
*Defined in [index.ts:77](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/index.ts#L77)*
*Defined in [index.ts:80](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/index.ts#L80)*
*__name__*: signature
+1 -1
View File
@@ -506,7 +506,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"rpc-core","level":"1.3","depth":1,"next":{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]},"previous":{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/README.md","mtime":"2018-10-11T07:37:16.652Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"rpc-core","level":"1.3","depth":1,"next":{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]},"previous":{"title":"ApiRx","level":"1.2.1","depth":2,"path":"api/classes/_rx_index_.apirx.md","ref":"api/classes/_rx_index_.apirx.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-core/README.md","mtime":"2018-10-11T08:23:59.411Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
@@ -16,7 +16,7 @@
**● author**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L19)*
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L19)*
___
<a id="chain"></a>
@@ -25,7 +25,7 @@ ___
**● chain**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
*Defined in [types.d.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L20)*
*Defined in [types.d.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L20)*
___
<a id="state"></a>
@@ -34,7 +34,7 @@ ___
**● state**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L21)*
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L21)*
___
<a id="system"></a>
@@ -43,7 +43,7 @@ ___
**● system**: *[RpcInterface$Section](../modules/_types_d_.md#rpcinterface_section)*
*Defined in [types.d.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L22)*
*Defined in [types.d.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L22)*
___
@@ -7,7 +7,7 @@
# Callable
▸ **__call**(...params: *`Array`<`any`>*): `Promise`<`any`>
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L7)*
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L7)*
**Parameters:**
@@ -25,7 +25,7 @@
**● subscription**: *`string`*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L10)*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L10)*
___
<a id="unsubscribe"></a>
@@ -34,7 +34,7 @@ ___
**● unsubscribe**: *`function`*
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L11)*
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L11)*
#### Type declaration
▸(id: *`number`*): `Promise`<`any`>
+1 -1
View File
@@ -8,7 +8,7 @@
**Ƭ RpcInterface$Section**: *`object`*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-core/src/types.d.ts#L14)*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-core/src/types.d.ts#L14)*
#### Type declaration
@@ -430,7 +430,7 @@
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <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/82baafb/packages/rpc-provider/src/http/index.ts#L40" target="_blank">http/index.ts:40</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L40" target="_blank">http/index.ts:40</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -455,7 +455,7 @@
<h2 id="isconnected">isConnected</h2>
<p>&#x25B8; <strong>isConnected</strong>(): <code>boolean</code></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.providerinterface.md">ProviderInterface</a>.<a href="../interfaces/_types_d_.providerinterface.md#isconnected">isConnected</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L57" target="_blank">http/index.ts:57</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L57" target="_blank">http/index.ts:57</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>
@@ -464,7 +464,7 @@ true if connected</p>
<h2 id="on">on</h2>
<p>&#x25B8; <strong>on</strong>(type: <em><a href="../modules/_types_d_.md#providerinterface_emitted">ProviderInterface$Emitted</a></em>, sub: <em><a href="../modules/_types_d_.md#providerinterface_emitcb">ProviderInterface$EmitCb</a></em>): <code>void</code></p>
<p><em>Implementation of <a href="../interfaces/_types_d_.providerinterface.md">ProviderInterface</a>.<a href="../interfaces/_types_d_.providerinterface.md#on">on</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L65" target="_blank">http/index.ts:65</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L65" target="_blank">http/index.ts:65</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 &apos;on&apos; emitters. WebSockets should be used instead.</p>
<p><strong>Parameters:</strong></p>
@@ -492,7 +492,7 @@ true if connected</p>
<h2 id="send">send</h2>
<p>&#x25B8; <strong>send</strong>(method: <em><code>string</code></em>, params: <em><code>Array</code>&lt;<code>any</code>&gt;</em>): <code>Promise</code>&lt;<code>any</code>&gt;</p>
<p><em>Implementation of <a href="../interfaces/_types_d_.providerinterface.md">ProviderInterface</a>.<a href="../interfaces/_types_d_.providerinterface.md#send">send</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L72" target="_blank">http/index.ts:72</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L72" target="_blank">http/index.ts:72</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>
@@ -519,7 +519,7 @@ true if connected</p>
<h2 id="subscribe">subscribe</h2>
<p>&#x25B8; <strong>subscribe</strong>(types: <em><code>string</code></em>, method: <em><code>string</code></em>, params: <em><code>Array</code>&lt;<code>any</code>&gt;</em>, cb: <em><a href="../modules/_types_d_.md#providerinterface_callback">ProviderInterface$Callback</a></em>): <code>Promise</code>&lt;<code>number</code>&gt;</p>
<p><em>Implementation of <a href="../interfaces/_types_d_.providerinterface.md">ProviderInterface</a>.<a href="../interfaces/_types_d_.providerinterface.md#subscribe">subscribe</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L94" target="_blank">http/index.ts:94</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L94" target="_blank">http/index.ts:94</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>
@@ -554,7 +554,7 @@ true if connected</p>
<h2 id="unsubscribe">unsubscribe</h2>
<p>&#x25B8; <strong>unsubscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, id: <em><code>number</code></em>): <code>Promise</code>&lt;<code>boolean</code>&gt;</p>
<p><em>Implementation of <a href="../interfaces/_types_d_.providerinterface.md">ProviderInterface</a>.<a href="../interfaces/_types_d_.providerinterface.md#unsubscribe">unsubscribe</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L103" target="_blank">http/index.ts:103</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L103" target="_blank">http/index.ts:103</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>
@@ -624,7 +624,7 @@ true if connected</p>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"HttpProvider","level":"1.4.1","depth":2,"next":{"title":"WsProvider","level":"1.4.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.4","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/classes/_http_index_.httpprovider.md","mtime":"2018-10-11T07:37:24.560Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"HttpProvider","level":"1.4.1","depth":2,"next":{"title":"WsProvider","level":"1.4.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.4","depth":1,"path":"rpc-provider/README.md","ref":"rpc-provider/README.md","articles":[{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},{"title":"WsProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/classes/_http_index_.httpprovider.md","mtime":"2018-10-11T08:24:07.591Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
@@ -33,7 +33,7 @@ const api = new Rpc(provider);
⊕ **new HttpProvider**(endpoint: *`string`*): [HttpProvider](_http_index_.httpprovider.md)
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L40)*
*Defined in [http/index.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L40)*
**Parameters:**
@@ -55,7 +55,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[isConnected](../interfaces/_types_d_.providerinterface.md#isconnected)*
*Defined in [http/index.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L57)*
*Defined in [http/index.ts:57](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L57)*
*__summary__*: Whether the node is connected or not.
@@ -71,7 +71,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[on](../interfaces/_types_d_.providerinterface.md#on)*
*Defined in [http/index.ts:65](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L65)*
*Defined in [http/index.ts:65](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L65)*
*__summary__*: Events are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -95,7 +95,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[send](../interfaces/_types_d_.providerinterface.md#send)*
*Defined in [http/index.ts:72](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L72)*
*Defined in [http/index.ts:72](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L72)*
*__summary__*: Send HTTP POST Request with Body to configured HTTP Endpoint.
@@ -117,7 +117,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[subscribe](../interfaces/_types_d_.providerinterface.md#subscribe)*
*Defined in [http/index.ts:94](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L94)*
*Defined in [http/index.ts:94](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L94)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -141,7 +141,7 @@ ___
*Implementation of [ProviderInterface](../interfaces/_types_d_.providerinterface.md).[unsubscribe](../interfaces/_types_d_.providerinterface.md#unsubscribe)*
*Defined in [http/index.ts:103](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/index.ts#L103)*
*Defined in [http/index.ts:103](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/index.ts#L103)*
*__summary__*: Subscriptions are not supported with the HttpProvider, see [WsProvider](_ws_index_.wsprovider.md).
@@ -433,7 +433,7 @@
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <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/82baafb/packages/rpc-provider/src/ws/index.ts#L73" target="_blank">ws/index.ts:73</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L73" target="_blank">ws/index.ts:73</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
@@ -503,7 +503,7 @@
<p><a id="connect"></a></p>
<h2 id="connect">connect</h2>
<p>&#x25B8; <strong>connect</strong>(): <code>void</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L104" target="_blank">ws/index.ts:104</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L104" target="_blank">ws/index.ts:104</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>
@@ -546,7 +546,7 @@
<p><a id="isconnected"></a></p>
<h2 id="isconnected">isConnected</h2>
<p>&#x25B8; <strong>isConnected</strong>(): <code>boolean</code></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L121" target="_blank">ws/index.ts:121</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L121" target="_blank">ws/index.ts:121</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>
@@ -635,7 +635,7 @@ true if connected</p>
<h2 id="on">on</h2>
<p>&#x25B8; <strong>on</strong>(type: <em><a href="../modules/_types_d_.md#providerinterface_emitted">ProviderInterface$Emitted</a></em>, sub: <em><a href="../modules/_types_d_.md#providerinterface_emitcb">ProviderInterface$EmitCb</a></em>): <code>this</code></p>
<p><em>Overrides EventEmitter.on</em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L131" target="_blank">ws/index.ts:131</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L131" target="_blank">ws/index.ts:131</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>
@@ -754,7 +754,7 @@ true if connected</p>
<p><a id="send"></a></p>
<h2 id="send">send</h2>
<p>&#x25B8; <strong>send</strong>(method: <em><code>string</code></em>, params: <em><code>Array</code>&lt;<code>any</code>&gt;</em>, subscription?: <em><code>SubscriptionHandler</code></em>): <code>Promise</code>&lt;<code>any</code>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L138" target="_blank">ws/index.ts:138</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L138" target="_blank">ws/index.ts:138</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>
@@ -784,7 +784,7 @@ true if connected</p>
<p><a id="subscribe"></a></p>
<h2 id="subscribe">subscribe</h2>
<p>&#x25B8; <strong>subscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, params: <em><code>Array</code>&lt;<code>any</code>&gt;</em>, callback: <em><a href="../modules/_types_d_.md#providerinterface_callback">ProviderInterface$Callback</a></em>): <code>Promise</code>&lt;<code>number</code>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L194" target="_blank">ws/index.ts:194</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L194" target="_blank">ws/index.ts:194</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>
@@ -835,7 +835,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>&#x25B8; <strong>unsubscribe</strong>(type: <em><code>string</code></em>, method: <em><code>string</code></em>, id: <em><code>number</code></em>): <code>Promise</code>&lt;<code>boolean</code>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L203" target="_blank">ws/index.ts:203</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L203" target="_blank">ws/index.ts:203</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>
@@ -905,7 +905,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.4.2","depth":2,"next":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"previous":{"title":"HttpProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/classes/_ws_index_.wsprovider.md","mtime":"2018-10-11T07:37:24.656Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"WsProvider","level":"1.4.2","depth":2,"next":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"previous":{"title":"HttpProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/classes/_ws_index_.wsprovider.md","mtime":"2018-10-11T08:24:07.691Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
@@ -38,7 +38,7 @@ const api = new Rpc(provider);
⊕ **new WsProvider**(endpoint: *`string`*, autoConnect?: *`boolean`*): [WsProvider](_ws_index_.wsprovider.md)
*Defined in [ws/index.ts:73](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L73)*
*Defined in [ws/index.ts:73](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L73)*
**Parameters:**
@@ -95,7 +95,7 @@ ___
▸ **connect**(): `void`
*Defined in [ws/index.ts:104](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L104)*
*Defined in [ws/index.ts:104](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L104)*
*__summary__*: Manually connect
@@ -147,7 +147,7 @@ ___
▸ **isConnected**(): `boolean`
*Defined in [ws/index.ts:121](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L121)*
*Defined in [ws/index.ts:121](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L121)*
*__summary__*: Whether the node is connected or not.
@@ -227,7 +227,7 @@ ___
*Overrides EventEmitter.on*
*Defined in [ws/index.ts:131](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L131)*
*Defined in [ws/index.ts:131](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L131)*
*__summary__*: Listens on events after having subscribed using the [subscribe](_ws_index_.wsprovider.md#subscribe) function.
@@ -316,7 +316,7 @@ ___
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
*Defined in [ws/index.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L138)*
*Defined in [ws/index.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L138)*
*__summary__*: Send JSON data using WebSockets to configured HTTP Endpoint or queue.
@@ -337,7 +337,7 @@ ___
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *[ProviderInterface$Callback](../modules/_types_d_.md#providerinterface_callback)*): `Promise`<`number`>
*Defined in [ws/index.ts:194](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L194)*
*Defined in [ws/index.ts:194](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L194)*
*__name__*: subscribe
@@ -374,7 +374,7 @@ ___
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
*Defined in [ws/index.ts:203](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/ws/index.ts#L203)*
*Defined in [ws/index.ts:203](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/ws/index.ts#L203)*
*__summary__*: Allows unsubscribing to subscriptions made with [subscribe](_ws_index_.wsprovider.md#subscribe).
+1 -1
View File
@@ -466,7 +466,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"rpc-provider","level":"1.4","depth":1,"next":{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},"previous":{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/README.md","mtime":"2018-10-11T07:37:24.400Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"rpc-provider","level":"1.4","depth":1,"next":{"title":"HttpProvider","level":"1.4.1","depth":2,"path":"rpc-provider/classes/_http_index_.httpprovider.md","ref":"rpc-provider/classes/_http_index_.httpprovider.md","articles":[]},"previous":{"title":"Rpc","level":"1.3.1","depth":2,"path":"rpc-core/classes/_index_.rpc.md","ref":"rpc-core/classes/_index_.rpc.md","articles":[]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-provider/README.md","mtime":"2018-10-11T08:24:07.423Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
@@ -16,7 +16,7 @@
▸ **isConnected**(): `boolean`
*Defined in [types.d.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L45)*
*Defined in [types.d.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L45)*
**Returns:** `boolean`
@@ -27,7 +27,7 @@ ___
▸ **on**(type: *[ProviderInterface$Emitted](../modules/_types_d_.md#providerinterface_emitted)*, sub: *[ProviderInterface$EmitCb](../modules/_types_d_.md#providerinterface_emitcb)*): `void`
*Defined in [types.d.ts:46](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L46)*
*Defined in [types.d.ts:46](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L46)*
**Parameters:**
@@ -45,7 +45,7 @@ ___
▸ **send**(method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
*Defined in [types.d.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L47)*
*Defined in [types.d.ts:47](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L47)*
**Parameters:**
@@ -63,7 +63,7 @@ ___
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, cb: *[ProviderInterface$Callback](../modules/_types_d_.md#providerinterface_callback)*): `Promise`<`number`>
*Defined in [types.d.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L48)*
*Defined in [types.d.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L48)*
**Parameters:**
@@ -83,7 +83,7 @@ ___
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
*Defined in [types.d.ts:49](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L49)*
*Defined in [types.d.ts:49](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L49)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **decodeResponse**(self: *[RpcCoderState](_coder_json_types_d_.md#rpccoderstate)*, response: *[JsonRpcResponse](_types_d_.md#jsonrpcresponse)*): `any`
*Defined in [coder/json/decodeResponse.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/decodeResponse.ts#L22)*
*Defined in [coder/json/decodeResponse.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/decodeResponse.ts#L22)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **encodeJson**(self: *[RpcCoderState](_coder_json_types_d_.md#rpccoderstate)*, method: *`string`*, params: *`Array`<`any`>*): `string`
*Defined in [coder/json/encodeJson.ts:9](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/encodeJson.ts#L9)*
*Defined in [coder/json/encodeJson.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/encodeJson.ts#L9)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **encodeObject**(self: *[RpcCoderState](_coder_json_types_d_.md#rpccoderstate)*, method: *`string`*, params: *`Array`<`any`>*): [JsonRpcRequest](_types_d_.md#jsonrpcrequest)
*Defined in [coder/json/encodeObject.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/encodeObject.ts#L8)*
*Defined in [coder/json/encodeObject.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/encodeObject.ts#L8)*
**Parameters:**
@@ -8,7 +8,7 @@
▸ **rpcCoder**(): [RpcCoder](_coder_json_types_d_.md#rpccoder)
*Defined in [coder/json/index.ts:12](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/index.ts#L12)*
*Defined in [coder/json/index.ts:12](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/index.ts#L12)*
**Returns:** [RpcCoder](_coder_json_types_d_.md#rpccoder)
@@ -8,7 +8,7 @@
**Ƭ RpcCoder**: *`object`*
*Defined in [coder/json/types.d.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/types.d.ts#L7)*
*Defined in [coder/json/types.d.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/types.d.ts#L7)*
#### Type declaration
@@ -19,7 +19,7 @@ ___
**Ƭ RpcCoderState**: *`object`*
*Defined in [coder/json/types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/coder/json/types.d.ts#L14)*
*Defined in [coder/json/types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/coder/json/types.d.ts#L14)*
#### Type declaration
+1 -1
View File
@@ -8,7 +8,7 @@
**Ƭ HttpState**: *`object`*
*Defined in [http/types.d.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/http/types.d.ts#L8)*
*Defined in [http/types.d.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/http/types.d.ts#L8)*
#### Type declaration
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **mockProvider**(): [ProviderInterface](../interfaces/_types_d_.providerinterface.md)
*Defined in [mock/index.ts:18](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/index.ts#L18)*
*Defined in [mock/index.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/index.ts#L18)*
A mock provider mainly used for testing.
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **mocks**(__namedParameters: *`object`*): `void`
*Defined in [mock/mocks.ts:63](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/mocks.ts#L63)*
*Defined in [mock/mocks.ts:63](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/mocks.ts#L63)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **on**(self: *[MockState](_mock_types_d_.md#mockstate)*, type: *[ProviderInterface$Emitted](_types_d_.md#providerinterface_emitted)*, sub: *[ProviderInterface$EmitCb](_types_d_.md#providerinterface_emitcb)*): `void`
*Defined in [mock/on.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/on.ts#L8)*
*Defined in [mock/on.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/on.ts#L8)*
**Parameters:**
+1 -1
View File
@@ -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/82baafb/packages/rpc-provider/src/mock/send.ts#L7)*
*Defined in [mock/send.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/send.ts#L7)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **state**(): [MockState](_mock_types_d_.md#mockstate)
*Defined in [mock/state.ts:38](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/state.ts#L38)*
*Defined in [mock/state.ts:38](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/state.ts#L38)*
**Returns:** [MockState](_mock_types_d_.md#mockstate)
@@ -8,7 +8,7 @@
▸ **subscribe**(self: *[MockState](_mock_types_d_.md#mockstate)*, type: *`string`*, method: *`string`*, params: *`Array`<`any`>*): `Promise`<`number`>
*Defined in [mock/subscribe.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/subscribe.ts#L7)*
*Defined in [mock/subscribe.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/subscribe.ts#L7)*
**Parameters:**
+5 -5
View File
@@ -8,7 +8,7 @@
**Ƭ MockState**: *`object`*
*Defined in [mock/types.d.ts:27](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/types.d.ts#L27)*
*Defined in [mock/types.d.ts:27](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/types.d.ts#L27)*
#### Type declaration
@@ -19,7 +19,7 @@ ___
**Ƭ MockState$Db**: *`object`*
*Defined in [mock/types.d.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/types.d.ts#L19)*
*Defined in [mock/types.d.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/types.d.ts#L19)*
#### Type declaration
@@ -32,7 +32,7 @@ ___
**Ƭ MockState$Requests**: *`object`*
*Defined in [mock/types.d.ts:23](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/types.d.ts#L23)*
*Defined in [mock/types.d.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/types.d.ts#L23)*
#### Type declaration
@@ -56,7 +56,7 @@ ___
**Ƭ MockState$Subscription$Callback**: *`function`*
*Defined in [mock/types.d.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/types.d.ts#L8)*
*Defined in [mock/types.d.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/types.d.ts#L8)*
#### Type declaration
▸(error: * `Error` &#124; `null`*, value: *`any`*): `void`
@@ -77,7 +77,7 @@ ___
**Ƭ MockState$Subscriptions**: *`object`*
*Defined in [mock/types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/types.d.ts#L10)*
*Defined in [mock/types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/types.d.ts#L10)*
#### Type declaration
@@ -8,7 +8,7 @@
▸ **unsubscribe**(self: *[MockState](_mock_types_d_.md#mockstate)*, type: *`string`*, name: *`string`*, id: *`number`*): `Promise`<`boolean`>
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/mock/unsubscribe.ts#L7)*
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/mock/unsubscribe.ts#L7)*
**Parameters:**
+8 -8
View File
@@ -8,7 +8,7 @@
**Ƭ JsonRpcObject**: *`object`*
*Defined in [types.d.ts:5](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L5)*
*Defined in [types.d.ts:5](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L5)*
#### Type declaration
@@ -20,7 +20,7 @@ ___
**Ƭ JsonRpcRequest**: * [JsonRpcObject](_types_d_.md#jsonrpcobject) & `object`
*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L10)*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L10)*
___
<a id="jsonrpcresponse"></a>
@@ -30,7 +30,7 @@ ___
**Ƭ JsonRpcResponse**: * [JsonRpcObject](_types_d_.md#jsonrpcobject) & [JsonRpcResponseBase](_types_d_.md#jsonrpcresponsebase)
*
*Defined in [types.d.ts:36](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L36)*
*Defined in [types.d.ts:36](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L36)*
___
<a id="jsonrpcresponsebase"></a>
@@ -40,7 +40,7 @@ ___
**Ƭ JsonRpcResponseBase**: * `JsonRpcResponse$Single` & `JsonRpcResponse$Subscription`
*
*Defined in [types.d.ts:34](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L34)*
*Defined in [types.d.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L34)*
___
<a id="jsonrpcresponsebase_error"></a>
@@ -49,7 +49,7 @@ ___
**Ƭ JsonRpcResponseBase$Error**: *`object`*
*Defined in [types.d.ts:15](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L15)*
*Defined in [types.d.ts:15](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L15)*
#### Type declaration
@@ -60,7 +60,7 @@ ___
**Ƭ ProviderInterface$Callback**: *`function`*
*Defined in [types.d.ts:38](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L38)*
*Defined in [types.d.ts:38](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L38)*
#### Type declaration
▸(error: * `Error` &#124; `null`*, result: *`any`*): `void`
@@ -81,7 +81,7 @@ ___
**Ƭ ProviderInterface$EmitCb**: *`function`*
*Defined in [types.d.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L42)*
*Defined in [types.d.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L42)*
#### Type declaration
▸(value?: *`any`*): `any`
@@ -102,7 +102,7 @@ ___
**Ƭ ProviderInterface$Emitted**: * "connected" &#124; "disconnected"
*
*Defined in [types.d.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-provider/src/types.d.ts#L40)*
*Defined in [types.d.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-provider/src/types.d.ts#L40)*
___
-1
View File
@@ -1,4 +1,3 @@
* [&quot;defaults&quot;](modules/_defaults_.md)
* [&quot;index&quot;](modules/_index_.md)
* [RpcRx](classes/_index_.rpcrx.md)
* [&quot;types.d&quot;](modules/_types_d_.md)
+10 -14
View File
@@ -431,24 +431,20 @@
<h1 id="constructors">Constructors</h1>
<p><a id="constructor"></a></p>
<h2 id="constructor">constructor</h2>
<p>&#x2295; <strong>new RpcRx</strong>(provider?: <em><code>ProviderInterface</code></em>): <a href="_index_.rpcrx.html">RpcRx</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p>&#x2295; <strong>new RpcRx</strong>(providerOrRpc?: <em> <code>Rpc</code> | <code>ProviderInterface</code></em>): <a href="_index_.rpcrx.html">RpcRx</a></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<p><strong>Parameters:</strong></p>
<table>
<thead>
<tr>
<th>Param</th>
<th>Type</th>
<th>Default value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>Default value</code> provider</td>
<td><code>ProviderInterface</code></td>
<td>new Ws(defaults.WS_URL)</td>
<td>An API provider using HTTP or WebSocket</td>
<td><code>Optional</code> providerOrRpc</td>
<td><code>Rpc</code> | <code>ProviderInterface</code></td>
</tr>
</tbody>
</table>
@@ -458,22 +454,22 @@
<p><a id="author"></a></p>
<h2 id="author">author</h2>
<p><strong>&#x25CF; author</strong>: <em><a href="../modules/_types_d_.md#rpcrxinterface_section">RpcRxInterface$Section</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L41" target="_blank">index.ts:41</a></em></p>
<hr>
<p><a id="chain"></a></p>
<h2 id="chain">chain</h2>
<p><strong>&#x25CF; chain</strong>: <em><a href="../modules/_types_d_.md#rpcrxinterface_section">RpcRxInterface$Section</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L45" target="_blank">index.ts:45</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L42" target="_blank">index.ts:42</a></em></p>
<hr>
<p><a id="state"></a></p>
<h2 id="state">state</h2>
<p><strong>&#x25CF; state</strong>: <em><a href="../modules/_types_d_.md#rpcrxinterface_section">RpcRxInterface$Section</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L46" target="_blank">index.ts:46</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L43" target="_blank">index.ts:43</a></em></p>
<hr>
<p><a id="system"></a></p>
<h2 id="system">system</h2>
<p><strong>&#x25CF; system</strong>: <em><a href="../modules/_types_d_.md#rpcrxinterface_section">RpcRxInterface$Section</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L47" target="_blank">index.ts:47</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L44" target="_blank">index.ts:44</a></em></p>
<hr>
<p><a id="prefixed"></a></p>
<h2 id="static-prefixed"><code>&lt;Static&gt;</code> prefixed</h2>
@@ -551,7 +547,7 @@
<p><a id="isconnected"></a></p>
<h2 id="isconnected">isConnected</h2>
<p>&#x25B8; <strong>isConnected</strong>(): <code>BehaviorSubject</code>&lt;<code>boolean</code>&gt;</p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L67" target="_blank">index.ts:67</a></em></p>
<p><em>Defined in <a href="https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L66" target="_blank">index.ts:66</a></em></p>
<p><strong>Returns:</strong> <code>BehaviorSubject</code>&lt;<code>boolean</code>&gt;</p>
<hr>
<p><a id="listenercount"></a></p>
@@ -797,7 +793,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"RpcRx","level":"1.5.1","depth":2,"next":{"title":"Overview","level":"2.1","depth":1,"path":"examples/README.md","ref":"examples/README.md","articles":[]},"previous":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-rx/classes/_index_.rpcrx.md","mtime":"2018-10-11T07:37:32.316Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"../..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"RpcRx","level":"1.5.1","depth":2,"next":{"title":"Overview","level":"2.1","depth":1,"path":"examples/README.md","ref":"examples/README.md","articles":[]},"previous":{"title":"rpc-rx","level":"1.5","depth":1,"path":"rpc-rx/README.md","ref":"rpc-rx/README.md","articles":[{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["include-codeblock","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-rx/classes/_index_.rpcrx.md","mtime":"2018-10-11T08:24:16.035Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"../..","book":{"language":""}});
});
</script>
</div>
+10 -10
View File
@@ -34,15 +34,15 @@ const api = new RpcRx(provider);
## constructor
⊕ **new RpcRx**(provider?: *`ProviderInterface`*): [RpcRx](_index_.rpcrx.md)
⊕ **new RpcRx**(providerOrRpc?: * `Rpc` &#124; `ProviderInterface`*): [RpcRx](_index_.rpcrx.md)
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L47)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L44)*
**Parameters:**
| Param | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| `Default value` provider | `ProviderInterface` | new Ws(defaults.WS_URL) | An API provider using HTTP or WebSocket |
| Param | Type |
| ------ | ------ |
| `Optional` providerOrRpc | `Rpc` &#124; `ProviderInterface`|
**Returns:** [RpcRx](_index_.rpcrx.md)
@@ -56,7 +56,7 @@ ___
**● author**: *[RpcRxInterface$Section](../modules/_types_d_.md#rpcrxinterface_section)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L44)*
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L41)*
___
<a id="chain"></a>
@@ -65,7 +65,7 @@ ___
**● chain**: *[RpcRxInterface$Section](../modules/_types_d_.md#rpcrxinterface_section)*
*Defined in [index.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L45)*
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L42)*
___
<a id="state"></a>
@@ -74,7 +74,7 @@ ___
**● state**: *[RpcRxInterface$Section](../modules/_types_d_.md#rpcrxinterface_section)*
*Defined in [index.ts:46](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L46)*
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L43)*
___
<a id="system"></a>
@@ -83,7 +83,7 @@ ___
**● system**: *[RpcRxInterface$Section](../modules/_types_d_.md#rpcrxinterface_section)*
*Defined in [index.ts:47](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L47)*
*Defined in [index.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L44)*
___
<a id="prefixed"></a>
@@ -165,7 +165,7 @@ ___
▸ **isConnected**(): `BehaviorSubject`<`boolean`>
*Defined in [index.ts:67](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/index.ts#L67)*
*Defined in [index.ts:66](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/index.ts#L66)*
**Returns:** `BehaviorSubject`<`boolean`>
+1 -1
View File
@@ -455,7 +455,7 @@
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"rpc-rx","level":"1.5","depth":1,"next":{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]},"previous":{"title":"WsProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-rx/README.md","mtime":"2018-10-11T07:37:32.164Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T07:38:28.407Z"},"basePath":"..","book":{"language":""}});
gitbook.page.hasChanged({"page":{"title":"rpc-rx","level":"1.5","depth":1,"next":{"title":"RpcRx","level":"1.5.1","depth":2,"path":"rpc-rx/classes/_index_.rpcrx.md","ref":"rpc-rx/classes/_index_.rpcrx.md","articles":[]},"previous":{"title":"WsProvider","level":"1.4.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","mermaid-gb3","-highlight","sunlight-highlighter"],"root":"docs","styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"sunlight-highlighter":{"theme":"gitbook","lineNumbers":false},"include-codeblock":{"check":false,"edit":false,"lang":"","fixlang":false,"template":"default","theme":"chrome","unindent":false},"mermaid-gb3":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Polkadot API Book","gitbook":">=2.4.0"},"file":{"path":"rpc-rx/README.md","mtime":"2018-10-11T08:24:15.871Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-11T08:25:14.878Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
+4 -4
View File
@@ -8,7 +8,7 @@
**Ƭ RpcRxInterface**: *`object`*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/types.d.ts#L16)*
*Defined in [types.d.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/types.d.ts#L16)*
#### Type declaration
@@ -20,7 +20,7 @@ ___
**Ƭ RpcRxInterface$Events**: * "connected" &#124; "disconnected"
*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/types.d.ts#L14)*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/types.d.ts#L14)*
___
<a id="rpcrxinterface_method"></a>
@@ -29,7 +29,7 @@ ___
**Ƭ RpcRxInterface$Method**: *`function`*
*Defined in [types.d.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/types.d.ts#L8)*
*Defined in [types.d.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/types.d.ts#L8)*
#### Type declaration
▸(...params: *`Array`<`any`>*): `Observable`<`any`> &#124; `ReplaySubject`<`any`>
@@ -49,7 +49,7 @@ ___
**Ƭ RpcRxInterface$Section**: *`object`*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/rpc-rx/src/types.d.ts#L10)*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/rpc-rx/src/types.d.ts#L10)*
#### Type declaration
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@
# Callable
▸ **__call**(...args: *`any`[]*): `Extrinsic`
*Defined in [types.d.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L8)*
*Defined in [types.d.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L8)*
**Parameters:**
@@ -25,7 +25,7 @@
**● callIndex**: *`Uint8Array`*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L10)*
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L10)*
___
<a id="meta"></a>
@@ -34,7 +34,7 @@ ___
**● meta**: *`FunctionMetadata`*
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L11)*
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L11)*
___
<a id="method"></a>
@@ -43,7 +43,7 @@ ___
**● method**: *`string`*
*Defined in [types.d.ts:12](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L12)*
*Defined in [types.d.ts:12](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L12)*
___
<a id="section"></a>
@@ -52,7 +52,7 @@ ___
**● section**: *`string`*
*Defined in [types.d.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L13)*
*Defined in [types.d.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L13)*
___
<a id="tojson"></a>
@@ -61,7 +61,7 @@ ___
**● toJSON**: *`function`*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/types.d.ts#L14)*
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/types.d.ts#L14)*
#### Type declaration
▸(): `any`
@@ -8,7 +8,7 @@
▸ **fromMetadata**(metadata: *`Metadata`*): [Extrinsics](../interfaces/_types_d_.extrinsics.md)
*Defined in [fromMetadata.ts:19](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/fromMetadata.ts#L19)*
*Defined in [fromMetadata.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/type-extrinsics/src/fromMetadata.ts#L19)*
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](../interfaces/_types_d_.extrinsicfunction.md)
*Defined in [utils/createUnchecked.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/type-extrinsics/src/utils/createUnchecked.ts#L16)*
*Defined in [utils/createUnchecked.ts:16](https://github.com/polkadot-js/api/blob/27b2885/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.
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **createMethod**(section: *`string`*, method: *`string`*, __namedParameters: *`object`*): [RpcMethod](_types_d_.md#rpcmethod)
*Defined in [create/method.ts:9](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/create/method.ts#L9)*
*Defined in [create/method.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/create/method.ts#L9)*
**Parameters:**
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **createParam**(name: *`string`*, type: *`CodecTypes`*, __namedParameters?: *`object`*): [RpcParam](_types_d_.md#rpcparam)
*Defined in [create/param.ts:12](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/create/param.ts#L12)*
*Defined in [create/param.ts:12](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/create/param.ts#L12)*
**Parameters:**
+4 -4
View File
@@ -8,7 +8,7 @@
**Ƭ RpcMethod**: *`object`*
*Defined in [types.d.ts:24](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/types.d.ts#L24)*
*Defined in [types.d.ts:24](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/types.d.ts#L24)*
#### Type declaration
@@ -19,7 +19,7 @@ ___
**Ƭ RpcMethodOpt**: *`object`*
*Defined in [types.d.ts:13](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/types.d.ts#L13)*
*Defined in [types.d.ts:13](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/types.d.ts#L13)*
#### Type declaration
@@ -30,7 +30,7 @@ ___
**Ƭ RpcParam**: *`object`*
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/types.d.ts#L7)*
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/types.d.ts#L7)*
#### Type declaration
@@ -41,7 +41,7 @@ ___
**Ƭ RpcSection**: *`object`*
*Defined in [types.d.ts:38](https://github.com/polkadot-js/api/blob/82baafb/packages/type-jsonrpc/src/types.d.ts#L38)*
*Defined in [types.d.ts:38](https://github.com/polkadot-js/api/blob/27b2885/packages/type-jsonrpc/src/types.d.ts#L38)*
#### Type declaration
@@ -15,7 +15,7 @@
**● substrate**: *`object`*
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/types.d.ts#L18)*
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/types.d.ts#L18)*
#### Type declaration
@@ -13,7 +13,7 @@
**● isUnhashed**: * `undefined` &#124; `false` &#124; `true`
*
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/utils/createFunction.ts#L15)*
*Defined in [utils/createFunction.ts:15](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/utils/createFunction.ts#L15)*
___
<a id="method"></a>
@@ -23,7 +23,7 @@ ___
**● method**: * `undefined` &#124; `string`
*
*Defined in [utils/createFunction.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/utils/createFunction.ts#L16)*
*Defined in [utils/createFunction.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/utils/createFunction.ts#L16)*
___
+1 -1
View File
@@ -8,7 +8,7 @@
▸ **fromMetadata**(metadata: *`Metadata`*): [Storage](../interfaces/_types_d_.storage.md)
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/fromMetadata.ts#L20)*
*Defined in [fromMetadata.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/fromMetadata.ts#L20)*
Extend a storage object with the storage modules & module functions present in the metadata.
+2 -2
View File
@@ -8,7 +8,7 @@
**storage**: *`object`*
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/storage.ts#L8)*
*Defined in [storage.ts:8](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/storage.ts#L8)*
<a id="storage.substrate"></a>
@@ -16,7 +16,7 @@
**● substrate**: *[&quot;substrate&quot;](_substrate_.md)*
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/storage.ts#L9)*
*Defined in [storage.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/storage.ts#L9)*
___
+6 -6
View File
@@ -11,7 +11,7 @@
type: 'u32'
})
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/substrate.ts#L44)*
*Defined in [substrate.ts:44](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/type-storage/src/substrate.ts#L49)*
*Defined in [substrate.ts:49](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/type-storage/src/substrate.ts#L59)*
*Defined in [substrate.ts:59](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/type-storage/src/substrate.ts#L34)*
*Defined in [substrate.ts:34](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/type-storage/src/substrate.ts#L54)*
*Defined in [substrate.ts:54](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/type-storage/src/substrate.ts#L39)*
*Defined in [substrate.ts:39](https://github.com/polkadot-js/api/blob/27b2885/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:29](https://github.com/polkadot-js/api/blob/82baafb/packages/type-storage/src/utils/createFunction.ts#L29)*
*Defined in [utils/createFunction.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/type-storage/src/utils/createFunction.ts#L29)*
From the schema of a function in the module's storage, generate the function that will return the correct storage key.
+2
View File
@@ -58,6 +58,8 @@
* [FunctionArgumentMetadata](classes/_metadata_.functionargumentmetadata.md)
* [FunctionMetadata](classes/_metadata_.functionmetadata.md)
* [ModuleMetadata](classes/_metadata_.modulemetadata.md)
* [OuterDispatchCall](classes/_metadata_.outerdispatchcall.md)
* [OuterDispatchMetadata](classes/_metadata_.outerdispatchmetadata.md)
* [OuterEventMetadata](classes/_metadata_.outereventmetadata.md)
* [OuterEventMetadataEvent](classes/_metadata_.outereventmetadataevent.md)
* [RuntimeMetadata](classes/_metadata_.runtimemetadata.md)
+14 -14
View File
@@ -18,7 +18,7 @@
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L20)*
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L20)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8aFixed.ts#L14)*
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
@@ -51,7 +51,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -65,7 +65,7 @@ getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L33)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L33)*
**Returns:** `number`
@@ -83,7 +83,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8aFixed.ts#L32)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8aFixed.ts#L32)*
**Returns:** `number`
@@ -96,7 +96,7 @@ ___
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L44)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L44)*
**Parameters:**
@@ -115,7 +115,7 @@ ___
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L50)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L50)*
**Parameters:**
@@ -134,7 +134,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L53)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L53)*
**Returns:** `string`
@@ -147,7 +147,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L56)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L56)*
**Returns:** `any`
@@ -160,7 +160,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L60)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L60)*
**Returns:** `string`
@@ -175,7 +175,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L61)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L61)*
**Parameters:**
@@ -192,7 +192,7 @@ ___
▸ **decode**(value: * `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): `Uint8Array`
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L34)*
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L34)*
**Parameters:**
@@ -211,7 +211,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L23)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L23)*
**Parameters:**
@@ -228,7 +228,7 @@ ___
▸ **encode**(value: *`Uint8Array`*): `string`
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L30)*
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L30)*
**Parameters:**
@@ -16,7 +16,7 @@
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
*Defined in [AccountIndex.ts:15](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L15)*
*Defined in [AccountIndex.ts:15](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L15)*
**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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -52,7 +52,7 @@ getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L33)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L33)*
**Returns:** `number`
@@ -70,7 +70,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L37)*
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L37)*
**Returns:** `number`
@@ -83,7 +83,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
*Defined in [AccountIndex.ts:51](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L51)*
*Defined in [AccountIndex.ts:51](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L51)*
**Parameters:**
@@ -102,7 +102,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [AccountIndex.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L57)*
*Defined in [AccountIndex.ts:57](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L57)*
**Parameters:**
@@ -121,7 +121,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L53)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L53)*
**Returns:** `string`
@@ -134,7 +134,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountIndex.ts:65](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L65)*
*Defined in [AccountIndex.ts:65](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L65)*
**Returns:** `any`
@@ -147,7 +147,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountIndex.ts:69](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L69)*
*Defined in [AccountIndex.ts:69](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L69)*
**Returns:** `string`
@@ -162,7 +162,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L61)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L61)*
**Parameters:**
@@ -179,7 +179,7 @@ ___
▸ **decode**(value: * `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): `Uint8Array`
*Defined in [AccountIndex.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L30)*
*Defined in [AccountIndex.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L30)*
**Parameters:**
@@ -198,7 +198,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L23)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L23)*
**Parameters:**
@@ -215,7 +215,7 @@ ___
▸ **encode**(value: *`Uint8Array`*): `string`
*Defined in [AccountIndex.ts:26](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L26)*
*Defined in [AccountIndex.ts:26](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L26)*
**Parameters:**
@@ -232,7 +232,7 @@ ___
▸ **readLength**(input: *`Uint8Array`*): `number`
*Defined in [AccountIndex.ts:35](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountIndex.ts#L35)*
*Defined in [AccountIndex.ts:35](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountIndex.ts#L35)*
**Parameters:**
+9 -9
View File
@@ -16,7 +16,7 @@
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Address.ts:21](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L21)*
*Defined in [Address.ts:21](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L21)*
**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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -53,7 +53,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Address.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L48)*
*Defined in [Address.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L48)*
**Returns:** `number`
@@ -66,7 +66,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Address.ts:56](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L56)*
*Defined in [Address.ts:56](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L56)*
**Parameters:**
@@ -85,7 +85,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Address.ts:62](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L62)*
*Defined in [Address.ts:62](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L62)*
**Parameters:**
@@ -104,7 +104,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Address.ts:70](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L70)*
*Defined in [Address.ts:70](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L70)*
**Returns:** `any`
@@ -117,7 +117,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Address.ts:74](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L74)*
*Defined in [Address.ts:74](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L74)*
**Returns:** `string`
@@ -130,7 +130,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Address.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L78)*
*Defined in [Address.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L78)*
**Parameters:**
@@ -147,7 +147,7 @@ ___
▸ **decode**(value: * [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md) &#124; `string` &#124; `Uint8Array` &#124; `Array`<`number`>*): [AccountId](_accountid_.accountid.md) &#124; [AccountIndex](_accountindex_.accountindex.md)
*Defined in [Address.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Address.ts#L30)*
*Defined in [Address.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Address.ts#L30)*
**Parameters:**
+14 -14
View File
@@ -18,7 +18,7 @@
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L20)*
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L20)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8aFixed.ts#L14)*
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8aFixed.ts#L14)*
___
<a id="raw"></a>
@@ -51,7 +51,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -65,7 +65,7 @@ getlength(): `number`
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L33)*
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L33)*
**Returns:** `number`
@@ -83,7 +83,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8aFixed.ts#L32)*
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8aFixed.ts#L32)*
**Returns:** `number`
@@ -98,7 +98,7 @@ ___
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L44)*
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L44)*
**Parameters:**
@@ -119,7 +119,7 @@ ___
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L50)*
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L50)*
**Parameters:**
@@ -138,7 +138,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L53)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L53)*
**Returns:** `string`
@@ -153,7 +153,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L56)*
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L56)*
**Returns:** `any`
@@ -168,7 +168,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L60)*
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L60)*
**Returns:** `string`
@@ -183,7 +183,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L61)*
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L61)*
**Parameters:**
@@ -202,7 +202,7 @@ ___
*Inherited from [AccountId](_accountid_.accountid.md).[decode](_accountid_.accountid.md#decode)*
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L34)*
*Defined in [AccountId.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L34)*
**Parameters:**
@@ -221,7 +221,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L23)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L23)*
**Parameters:**
@@ -240,7 +240,7 @@ ___
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/AccountId.ts#L30)*
*Defined in [AccountId.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/AccountId.ts#L30)*
**Parameters:**
+23 -23
View File
@@ -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/82baafb/packages/types/src/U128.ts#L9)*
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/U128.ts#L9)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L30)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L30)*
___
<a id="raw"></a>
@@ -51,7 +51,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -65,7 +65,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L101)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
@@ -86,7 +86,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L57)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L57)*
**Returns:** `number`
@@ -99,7 +99,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L107)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
@@ -118,7 +118,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L113)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L113)*
**Parameters:**
@@ -139,7 +139,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L61)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L61)*
**Parameters:**
@@ -160,7 +160,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L67)*
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L67)*
**Parameters:**
@@ -179,7 +179,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L135)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
@@ -198,7 +198,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L141)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
@@ -217,7 +217,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L119)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L119)*
**Returns:** `boolean`
@@ -230,7 +230,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L123)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
@@ -249,7 +249,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L129)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
@@ -268,7 +268,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L147)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
@@ -287,7 +287,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L153)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L153)*
**Parameters:**
@@ -306,7 +306,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L91)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L91)*
**Returns:** `BN`
@@ -319,7 +319,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L73)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `string`
@@ -334,7 +334,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L77)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L77)*
**Returns:** `any`
@@ -347,7 +347,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L95)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L95)*
**Returns:** `number`
@@ -362,7 +362,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L87)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L87)*
**Returns:** `string`
@@ -377,7 +377,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L83)*
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L83)*
**Parameters:**
@@ -396,7 +396,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L42)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L42)*
**Parameters:**
@@ -21,7 +21,7 @@
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L22)*
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L22)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L30)*
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L30)*
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
@@ -101,7 +101,7 @@ ___
getsignature(): [Signature](_signature_.signature.md)
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L34)*
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L34)*
**Returns:** [Signature](_signature_.signature.md)
@@ -119,7 +119,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L112)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -134,7 +134,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L60)*
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L60)*
**Parameters:**
@@ -155,7 +155,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -174,7 +174,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -193,7 +193,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -208,7 +208,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L72)*
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L72)*
**Returns:** `any`
@@ -223,7 +223,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -238,7 +238,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -257,7 +257,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
@@ -270,7 +270,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -295,7 +295,7 @@ ___
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeU8a](_codec_tuple_.tuple.md#decodeu8a)*
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L29)*
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L29)*
**Type parameters:**
@@ -321,7 +321,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L50)*
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L50)*
**Type parameters:**
+19 -19
View File
@@ -21,7 +21,7 @@
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L46)*
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L46)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
gethash(): [Hash](_hash_.hash.md)
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L54)*
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L54)*
**Returns:** [Hash](_hash_.hash.md)
@@ -101,7 +101,7 @@ ___
getsignature(): [Signature](_signature_.signature.md)
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L58)*
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L58)*
**Returns:** [Signature](_signature_.signature.md)
@@ -119,7 +119,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L112)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -134,7 +134,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L60)*
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L60)*
**Parameters:**
@@ -155,7 +155,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -174,7 +174,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -193,7 +193,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -208,7 +208,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L72)*
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L72)*
**Returns:** `any`
@@ -223,7 +223,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -238,7 +238,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -257,7 +257,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
@@ -270,7 +270,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -295,7 +295,7 @@ ___
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeU8a](_codec_tuple_.tuple.md#decodeu8a)*
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L29)*
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L29)*
**Type parameters:**
@@ -321,7 +321,7 @@ ___
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Tuple.ts#L50)*
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Tuple.ts#L50)*
**Type parameters:**
+19 -19
View File
@@ -21,7 +21,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/82baafb/packages/types/src/Bft.ts#L69)*
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L69)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
gethash(): [Hash](_hash_.hash.md)
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L80)*
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L80)*
**Returns:** [Hash](_hash_.hash.md)
@@ -101,7 +101,7 @@ ___
getround(): [U32](_u32_.u32.md)
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L84)*
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L84)*
**Returns:** [U32](_u32_.u32.md)
@@ -112,7 +112,7 @@ ___
getsignatures(): [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bft.ts#L88)*
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bft.ts#L88)*
**Returns:** [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
@@ -130,7 +130,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L112)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -145,7 +145,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L118)*
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L118)*
**Parameters:**
@@ -166,7 +166,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -185,7 +185,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -204,7 +204,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -219,7 +219,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L152)*
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L152)*
**Returns:** `any`
@@ -234,7 +234,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -249,7 +249,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -268,7 +268,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
@@ -281,7 +281,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -306,7 +306,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
+19 -19
View File
@@ -21,7 +21,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/82baafb/packages/types/src/Block.ts#L20)*
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Block.ts#L20)*
**Parameters:**
@@ -43,7 +43,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L30)*
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L30)*
___
<a id="_jsonmap"></a>
@@ -54,7 +54,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L29)*
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L29)*
___
<a id="raw"></a>
@@ -65,7 +65,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -79,7 +79,7 @@ getType(): `E`
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L108)*
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L108)*
**Returns:** `E`
@@ -90,7 +90,7 @@ ___
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Block.ts#L28)*
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Block.ts#L28)*
**Returns:** [Extrinsics](_extrinsics_.extrinsics.md)
@@ -101,7 +101,7 @@ ___
gethash(): [Hash](_hash_.hash.md)
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Block.ts#L33)*
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Block.ts#L33)*
**Returns:** [Hash](_hash_.hash.md)
@@ -112,7 +112,7 @@ ___
getheader(): [Header](_header_.header.md)
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Block.ts#L39)*
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Block.ts#L39)*
**Returns:** [Header](_header_.header.md)
@@ -130,7 +130,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L112)*
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L112)*
**Returns:** `number`
@@ -145,7 +145,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L118)*
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L118)*
**Parameters:**
@@ -166,7 +166,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L138)*
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L138)*
**Parameters:**
@@ -185,7 +185,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L148)*
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L148)*
**Parameters:**
@@ -204,7 +204,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L163)*
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L163)*
**Returns:** `Array`<`string`>
@@ -219,7 +219,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L152)*
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L152)*
**Returns:** `any`
@@ -234,7 +234,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L175)*
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L175)*
**Returns:** `string`
@@ -249,7 +249,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L167)*
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L167)*
**Parameters:**
@@ -268,7 +268,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L184)*
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L184)*
**Returns:** `Array`<[Base](_codec_base_.base.md)>
@@ -281,7 +281,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L48)*
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L48)*
**Type parameters:**
@@ -306,7 +306,7 @@ ___
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Struct.ts#L98)*
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Struct.ts#L98)*
**Type parameters:**
+23 -23
View File
@@ -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/82baafb/packages/types/src/U64.ts#L9)*
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/U64.ts#L9)*
**Parameters:**
@@ -40,7 +40,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L30)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L30)*
___
<a id="raw"></a>
@@ -51,7 +51,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -65,7 +65,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L101)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
@@ -86,7 +86,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L57)*
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L57)*
**Returns:** `number`
@@ -99,7 +99,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L107)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
@@ -118,7 +118,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L113)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L113)*
**Parameters:**
@@ -139,7 +139,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L61)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L61)*
**Parameters:**
@@ -160,7 +160,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L67)*
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L67)*
**Parameters:**
@@ -179,7 +179,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L135)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
@@ -198,7 +198,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L141)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
@@ -217,7 +217,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L119)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L119)*
**Returns:** `boolean`
@@ -230,7 +230,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L123)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
@@ -249,7 +249,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L129)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
@@ -268,7 +268,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L147)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
@@ -287,7 +287,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L153)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L153)*
**Parameters:**
@@ -306,7 +306,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L91)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L91)*
**Returns:** `BN`
@@ -319,7 +319,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L73)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `string`
@@ -334,7 +334,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L77)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L77)*
**Returns:** `any`
@@ -347,7 +347,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L95)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L95)*
**Returns:** `number`
@@ -362,7 +362,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L87)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L87)*
**Returns:** `string`
@@ -377,7 +377,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L83)*
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L83)*
**Parameters:**
@@ -396,7 +396,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L42)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L42)*
**Parameters:**
+8 -8
View File
@@ -16,7 +16,7 @@
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [Bool.ts:7](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L7)*
*Defined in [Bool.ts:7](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L7)*
**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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -52,7 +52,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L16)*
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L16)*
**Returns:** `number`
@@ -65,7 +65,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [Bool.ts:20](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L20)*
*Defined in [Bool.ts:20](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L20)*
**Parameters:**
@@ -84,7 +84,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [Bool.ts:26](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L26)*
*Defined in [Bool.ts:26](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L26)*
**Parameters:**
@@ -103,7 +103,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [Bool.ts:32](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L32)*
*Defined in [Bool.ts:32](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L32)*
**Returns:** `any`
@@ -116,7 +116,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [Bool.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L40)*
*Defined in [Bool.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L40)*
**Returns:** `string`
@@ -129,7 +129,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [Bool.ts:36](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bool.ts#L36)*
*Defined in [Bool.ts:36](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bool.ts#L36)*
**Parameters:**
+11 -11
View File
@@ -22,7 +22,7 @@
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/U8a.ts:16](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L16)*
*Defined in [codec/U8a.ts:16](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L16)*
**Parameters:**
@@ -44,7 +44,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -58,7 +58,7 @@ getlength(): `number`
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
*Defined in [Bytes.ts:14](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bytes.ts#L14)*
*Defined in [Bytes.ts:14](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bytes.ts#L14)*
**Returns:** `number`
@@ -74,7 +74,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bytes.ts#L18)*
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bytes.ts#L18)*
**Returns:** `number`
@@ -89,7 +89,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L41)*
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L41)*
**Parameters:**
@@ -108,7 +108,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
*Defined in [Bytes.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bytes.ts#L22)*
*Defined in [Bytes.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bytes.ts#L22)*
**Parameters:**
@@ -127,7 +127,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L53)*
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L53)*
**Returns:** `string`
@@ -142,7 +142,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L57)*
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L57)*
**Returns:** `any`
@@ -157,7 +157,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L65)*
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L65)*
**Returns:** `string`
@@ -170,7 +170,7 @@ ___
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
*Defined in [Bytes.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/Bytes.ts#L30)*
*Defined in [Bytes.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/Bytes.ts#L30)*
**Parameters:**
@@ -189,7 +189,7 @@ ___
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/U8a.ts#L23)*
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/U8a.ts#L23)*
**Parameters:**
+8 -8
View File
@@ -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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -70,7 +70,7 @@ ___
▸ **byteLength**(): `number`
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L25)*
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L25)*
**Returns:** `number`
@@ -81,7 +81,7 @@ ___
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<`T`>
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L29)*
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
@@ -98,7 +98,7 @@ ___
▸ **fromU8a**(input: *`Uint8Array`*): [Base](_codec_base_.base.md)<`T`>
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L33)*
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L33)*
**Parameters:**
@@ -115,7 +115,7 @@ ___
▸ **toJSON**(): `any`
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L37)*
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L37)*
**Returns:** `any`
@@ -126,7 +126,7 @@ ___
▸ **toString**(): `string`
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L41)*
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L41)*
**Returns:** `string`
@@ -137,7 +137,7 @@ ___
▸ **toU8a**(isBare?: * `undefined` &#124; `false` &#124; `true`*): `Uint8Array`
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L45)*
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L45)*
**Parameters:**
+25 -25
View File
@@ -28,7 +28,7 @@
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L31)*
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L31)*
**Parameters:**
@@ -52,7 +52,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L30)*
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L30)*
___
<a id="raw"></a>
@@ -63,7 +63,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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -77,7 +77,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L101)*
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L101)*
**Parameters:**
@@ -96,7 +96,7 @@ ___
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Compact.ts#L74)*
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Compact.ts#L74)*
**Returns:** `number`
@@ -109,7 +109,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L107)*
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L107)*
**Parameters:**
@@ -128,7 +128,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L113)*
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L113)*
**Parameters:**
@@ -149,7 +149,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L61)*
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L61)*
**Parameters:**
@@ -168,7 +168,7 @@ ___
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Compact.ts#L78)*
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Compact.ts#L78)*
**Parameters:**
@@ -187,7 +187,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L135)*
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L135)*
**Parameters:**
@@ -206,7 +206,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L141)*
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L141)*
**Parameters:**
@@ -225,7 +225,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L119)*
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L119)*
**Returns:** `boolean`
@@ -238,7 +238,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L123)*
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L123)*
**Parameters:**
@@ -257,7 +257,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L129)*
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L129)*
**Parameters:**
@@ -276,7 +276,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L147)*
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L147)*
**Parameters:**
@@ -295,7 +295,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L153)*
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L153)*
**Parameters:**
@@ -314,7 +314,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L91)*
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L91)*
**Returns:** `BN`
@@ -327,7 +327,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L73)*
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L73)*
**Returns:** `string`
@@ -342,7 +342,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L77)*
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L77)*
**Returns:** `any`
@@ -355,7 +355,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L95)*
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L95)*
**Returns:** `number`
@@ -370,7 +370,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L87)*
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L87)*
**Returns:** `string`
@@ -383,7 +383,7 @@ ___
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Compact.ts#L86)*
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Compact.ts#L86)*
**Parameters:**
@@ -400,7 +400,7 @@ ___
▸ **decodeU8a**(_input: * `Uint8Array` &#124; `string`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): [`number`, `BN`]
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Compact.ts#L36)*
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Compact.ts#L36)*
**Parameters:**
@@ -420,7 +420,7 @@ ___
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/UInt.ts#L42)*
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/UInt.ts#L42)*
**Parameters:**
@@ -437,7 +437,7 @@ ___
▸ **encodeU8a**(_value: * [UInt](_codec_uint_.uint.md) &#124; `BN` &#124; `number`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `Uint8Array`
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Compact.ts#L53)*
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Compact.ts#L53)*
**Parameters:**
+10 -10
View File
@@ -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/82baafb/packages/types/src/codec/Enum.ts#L21)*
*Defined in [codec/Enum.ts:21](https://github.com/polkadot-js/api/blob/27b2885/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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -59,7 +59,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L41)*
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L41)*
**Returns:** `number`
@@ -72,7 +72,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L45)*
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L45)*
**Parameters:**
@@ -91,7 +91,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L52)*
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L52)*
**Parameters:**
@@ -110,7 +110,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L59)*
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L59)*
**Returns:** `any`
@@ -121,7 +121,7 @@ ___
▸ **toNumber**(): `number`
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L67)*
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L67)*
**Returns:** `number`
@@ -134,7 +134,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L71)*
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L71)*
**Returns:** `string`
@@ -147,7 +147,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L63)*
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L63)*
**Parameters:**
@@ -164,7 +164,7 @@ ___
▸ **decodeEnum**(value?: * [Enum](_codec_enum_.enum.md) &#124; `number`*): `number`
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Enum.ts#L31)*
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Enum.ts#L31)*
**Parameters:**
+11 -11
View File
@@ -22,7 +22,7 @@
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
*Defined in [codec/EnumType.ts:22](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L22)*
*Defined in [codec/EnumType.ts:22](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L22)*
**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/82baafb/packages/types/src/codec/Base.ts#L19)*
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L19)*
___
@@ -58,7 +58,7 @@ ___
getType(): `string`
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L40)*
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L40)*
**Returns:** `string`
@@ -74,7 +74,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L44)*
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L44)*
**Returns:** `number`
@@ -87,7 +87,7 @@ ___
*Inherited from [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L29)*
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L29)*
**Parameters:**
@@ -106,7 +106,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L48)*
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L48)*
**Parameters:**
@@ -123,7 +123,7 @@ ___
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)<`T`> &#124; `number`*, value?: *`any`*): `void`
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L55)*
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L55)*
**Parameters:**
@@ -143,7 +143,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L72)*
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L72)*
**Returns:** `any`
@@ -154,7 +154,7 @@ ___
▸ **toNumber**(): `number`
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L76)*
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L76)*
**Returns:** `number`
@@ -167,7 +167,7 @@ ___
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/EnumType.ts#L80)*
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/EnumType.ts#L80)*
**Returns:** `string`
@@ -180,7 +180,7 @@ ___
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/82baafb/packages/types/src/codec/Base.ts#L45)*
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/27b2885/packages/types/src/codec/Base.ts#L45)*
**Parameters:**

Some files were not shown because too many files have changed in this diff Show More