[CI Skip] 0.30.22
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
⊕ **new ApiBase**(api: *`RxApiInterface`*): [ApiBase](_base_.apibase.md)
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -34,7 +34,7 @@ ___
|
||||
|
||||
**● _api**: *`RxApiInterface`*
|
||||
|
||||
*Defined in [Base.ts:27](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L27)*
|
||||
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="_genesishash"></a>
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
**● _genesisHash**: *`Hash`*
|
||||
|
||||
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L28)*
|
||||
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="whenready"></a>
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
**● whenReady**: *`Observable`<`boolean`>*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L32)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
**● extrinsics**: *`Extrinsics`* = extrinsicsStatic
|
||||
|
||||
*Defined in [Base.ts:39](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L40)*
|
||||
|
||||
___
|
||||
<a id="storage"></a>
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
**● storage**: *`Storage`* = storageStatic
|
||||
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L41)*
|
||||
|
||||
___
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
getgenesisHash(): `Hash`
|
||||
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L78)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
▸ **combine**<`T`,`R`>(observables: *`Array`<`Observable`<`any`>>*, mapfn?: *`MapFn`<`R`, `T`>*): `Observable`<`T`>
|
||||
|
||||
*Defined in [Base.ts:70](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L70)*
|
||||
*Defined in [Base.ts:71](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L71)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `Observable`<`boolean`>
|
||||
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L82)*
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L82)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
▸ **rawCall**<`T`>(__namedParameters: *`object`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
|
||||
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L86)*
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L86)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -148,9 +148,9 @@ ___
|
||||
|
||||
## rawStorage
|
||||
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`< `T` | `undefined`>
|
||||
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L98)*
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
| key | `StorageFunction` |
|
||||
| `Rest` params | `Array`<`any`> |
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
**Returns:** `Observable`< `T` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="rawstoragemulti"></a>
|
||||
@@ -171,11 +171,11 @@ ___
|
||||
|
||||
▸ **rawStorageMulti**<`T`>(...keys: *`Array`< [`StorageFunction`] | [`StorageFunction`, `any`]>*): `Observable`<`T`>
|
||||
|
||||
*Defined in [Base.ts:109](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L109)*
|
||||
*Defined in [Base.ts:110](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L110)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
#### T
|
||||
#### T : `[]`
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/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:27](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L27)*
|
||||
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/605f11d/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:28](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L28)*
|
||||
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/605f11d/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:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/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:39](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/605f11d/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:40](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/605f11d/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:78](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L78)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -106,43 +106,109 @@ ___
|
||||
|
||||
# Methods
|
||||
|
||||
<a id="accountnonce"></a>
|
||||
|
||||
## accountNonce
|
||||
|
||||
▸ **accountNonce**(address: * `AccountId` | `string`*): `Observable`< `Index` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[accountNonce](_queries_.apiqueries.md#accountnonce)*
|
||||
|
||||
*Defined in [Queries.ts:19](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Index` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="balancefree"></a>
|
||||
|
||||
## balanceFree
|
||||
|
||||
▸ **balanceFree**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceFree](_queries_.apiqueries.md#balancefree)*
|
||||
|
||||
*Defined in [Queries.ts:23](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="balancereserved"></a>
|
||||
|
||||
## balanceReserved
|
||||
|
||||
▸ **balanceReserved**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[balanceReserved](_queries_.apiqueries.md#balancereserved)*
|
||||
|
||||
*Defined in [Queries.ts:27](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="bestnumber"></a>
|
||||
|
||||
## bestNumber
|
||||
|
||||
▸ **bestNumber**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Calls.ts#L13)*
|
||||
*Defined in [Calls.ts:13](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L13)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="chaingetblock"></a>
|
||||
<a id="blocknow"></a>
|
||||
|
||||
## chainGetBlock
|
||||
## blockNow
|
||||
|
||||
▸ **chainGetBlock**(hash: *`Uint8Array`*): `Observable`< `SignedBlock` | `undefined`>
|
||||
▸ **blockNow**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Calls.ts#L25)*
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockNow](_queries_.apiqueries.md#blocknow)*
|
||||
|
||||
**Parameters:**
|
||||
*Defined in [Queries.ts:35](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L35)*
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| hash | `Uint8Array` |
|
||||
|
||||
**Returns:** `Observable`< `SignedBlock` | `undefined`>
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="chainnewhead"></a>
|
||||
<a id="blockperiod"></a>
|
||||
|
||||
## chainNewHead
|
||||
## blockPeriod
|
||||
|
||||
▸ **chainNewHead**(): `Observable`< `Header` | `undefined`>
|
||||
▸ **blockPeriod**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Calls.ts#L29)*
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[blockPeriod](_queries_.apiqueries.md#blockperiod)*
|
||||
|
||||
**Returns:** `Observable`< `Header` | `undefined`>
|
||||
*Defined in [Queries.ts:31](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L31)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
|
||||
## chain
|
||||
|
||||
▸ **chain**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:25](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L25)*
|
||||
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="combine"></a>
|
||||
@@ -153,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
|
||||
|
||||
*Defined in [Base.ts:70](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L70)*
|
||||
*Defined in [Base.ts:71](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L71)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -168,45 +234,6 @@ ___
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
|
||||
___
|
||||
<a id="democacyvoteof"></a>
|
||||
|
||||
## democacyVoteOf
|
||||
|
||||
▸ **democacyVoteOf**(index: * `ReferendumIndex` | `BN` | `number`*, address: * `AccountId` | `string`*): `Observable`<`Bool`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democacyVoteOf](_queries_.apiqueries.md#democacyvoteof)*
|
||||
|
||||
*Defined in [Queries.ts:76](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L76)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`<`Bool`>
|
||||
|
||||
___
|
||||
<a id="democacyvotersfor"></a>
|
||||
|
||||
## democacyVotersFor
|
||||
|
||||
▸ **democacyVotersFor**(index: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democacyVotersFor](_queries_.apiqueries.md#democacyvotersfor)*
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="democracylaunchperiod"></a>
|
||||
|
||||
@@ -216,7 +243,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyLaunchPeriod](_queries_.apiqueries.md#democracylaunchperiod)*
|
||||
|
||||
*Defined in [Queries.ts:19](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L19)*
|
||||
*Defined in [Queries.ts:39](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L39)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -229,74 +256,10 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyNextTally](_queries_.apiqueries.md#democracynexttally)*
|
||||
|
||||
*Defined in [Queries.ts:23](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L23)*
|
||||
*Defined in [Queries.ts:43](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L43)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyproposaldeposits"></a>
|
||||
|
||||
## democracyProposalDeposits
|
||||
|
||||
▸ **democracyProposalDeposits**(proposalId: * `PropIndex` | `BN` | `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyProposalDeposits](_queries_.apiqueries.md#democracyproposaldeposits)*
|
||||
|
||||
*Defined in [Queries.ts:27](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| proposalId | `PropIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracypublicproposals"></a>
|
||||
|
||||
## democracyPublicProposals
|
||||
|
||||
▸ **democracyPublicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyPublicProposals](_queries_.apiqueries.md#democracypublicproposals)*
|
||||
|
||||
*Defined in [Queries.ts:40](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L40)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
___
|
||||
<a id="democracyreferendumcount"></a>
|
||||
|
||||
## democracyReferendumCount
|
||||
|
||||
▸ **democracyReferendumCount**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyReferendumCount](_queries_.apiqueries.md#democracyreferendumcount)*
|
||||
|
||||
*Defined in [Queries.ts:59](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L59)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyreferenduminfoof"></a>
|
||||
|
||||
## democracyReferendumInfoOf
|
||||
|
||||
▸ **democracyReferendumInfoOf**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyReferendumInfoOf](_queries_.apiqueries.md#democracyreferenduminfoof)*
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| referendumId | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyvotingperiod"></a>
|
||||
|
||||
@@ -306,7 +269,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[democracyVotingPeriod](_queries_.apiqueries.md#democracyvotingperiod)*
|
||||
|
||||
*Defined in [Queries.ts:91](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L91)*
|
||||
*Defined in [Queries.ts:111](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L111)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -319,7 +282,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[eraLastLengthChange](_queries_.apiqueries.md#eralastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:116](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L116)*
|
||||
*Defined in [Queries.ts:136](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L136)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -332,10 +295,27 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[fees](_queries_.apiqueries.md#fees)*
|
||||
|
||||
*Defined in [Queries.ts:95](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L95)*
|
||||
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L115)*
|
||||
|
||||
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
|
||||
|
||||
___
|
||||
<a id="getblock"></a>
|
||||
|
||||
## getBlock
|
||||
|
||||
▸ **getBlock**(hash: *`Uint8Array`*): `Observable`< `SignedBlock` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:29](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| hash | `Uint8Array` |
|
||||
|
||||
**Returns:** `Observable`< `SignedBlock` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="isconnected"></a>
|
||||
|
||||
@@ -345,10 +325,53 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L82)*
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L82)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
___
|
||||
<a id="newhead"></a>
|
||||
|
||||
## newHead
|
||||
|
||||
▸ **newHead**(): `Observable`< `Header` | `undefined`>
|
||||
|
||||
*Defined in [Calls.ts:33](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L33)*
|
||||
|
||||
**Returns:** `Observable`< `Header` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="proposaldeposits"></a>
|
||||
|
||||
## proposalDeposits
|
||||
|
||||
▸ **proposalDeposits**(proposalId: * `PropIndex` | `BN` | `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[proposalDeposits](_queries_.apiqueries.md#proposaldeposits)*
|
||||
|
||||
*Defined in [Queries.ts:47](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| proposalId | `PropIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="publicproposals"></a>
|
||||
|
||||
## publicProposals
|
||||
|
||||
▸ **publicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[publicProposals](_queries_.apiqueries.md#publicproposals)*
|
||||
|
||||
*Defined in [Queries.ts:60](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L60)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
___
|
||||
<a id="rawcall"></a>
|
||||
|
||||
@@ -358,7 +381,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L86)*
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L86)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -377,11 +400,11 @@ ___
|
||||
|
||||
## rawStorage
|
||||
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`< `T` | `undefined`>
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L98)*
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -393,7 +416,7 @@ ___
|
||||
| key | `StorageFunction` |
|
||||
| `Rest` params | `Array`<`any`> |
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
**Returns:** `Observable`< `T` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="rawstoragemulti"></a>
|
||||
@@ -404,11 +427,11 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:109](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L109)*
|
||||
*Defined in [Base.ts:110](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L110)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
#### T
|
||||
#### T : `[]`
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
@@ -417,6 +440,77 @@ ___
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
|
||||
___
|
||||
<a id="referendumcount"></a>
|
||||
|
||||
## referendumCount
|
||||
|
||||
▸ **referendumCount**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumCount](_queries_.apiqueries.md#referendumcount)*
|
||||
|
||||
*Defined in [Queries.ts:79](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L79)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referenduminfo"></a>
|
||||
|
||||
## referendumInfo
|
||||
|
||||
▸ **referendumInfo**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumInfo](_queries_.apiqueries.md#referenduminfo)*
|
||||
|
||||
*Defined in [Queries.ts:83](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| referendumId | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referendumvote"></a>
|
||||
|
||||
## referendumVote
|
||||
|
||||
▸ **referendumVote**(index: * `ReferendumIndex` | `BN` | `number`*, address: * `AccountId` | `string`*): `Observable`< `Bool` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVote](_queries_.apiqueries.md#referendumvote)*
|
||||
|
||||
*Defined in [Queries.ts:96](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L96)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Bool` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referendumvoters"></a>
|
||||
|
||||
## referendumVoters
|
||||
|
||||
▸ **referendumVoters**(index: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[referendumVoters](_queries_.apiqueries.md#referendumvoters)*
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="sessioncurrentindex"></a>
|
||||
|
||||
@@ -426,7 +520,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentIndex](_queries_.apiqueries.md#sessioncurrentindex)*
|
||||
|
||||
*Defined in [Queries.ts:128](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L128)*
|
||||
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L148)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -439,7 +533,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionCurrentStart](_queries_.apiqueries.md#sessioncurrentstart)*
|
||||
|
||||
*Defined in [Queries.ts:132](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L132)*
|
||||
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L152)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -452,7 +546,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLastLengthChange](_queries_.apiqueries.md#sessionlastlengthchange)*
|
||||
|
||||
*Defined in [Queries.ts:136](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L136)*
|
||||
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L156)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -465,7 +559,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionLength](_queries_.apiqueries.md#sessionlength)*
|
||||
|
||||
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L140)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -478,7 +572,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionReward](_queries_.apiqueries.md#sessionreward)*
|
||||
|
||||
*Defined in [Queries.ts:120](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L120)*
|
||||
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L140)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -491,7 +585,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionRewardCurrent](_queries_.apiqueries.md#sessionrewardcurrent)*
|
||||
|
||||
*Defined in [Queries.ts:124](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L124)*
|
||||
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L144)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -504,7 +598,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionValidators](_queries_.apiqueries.md#sessionvalidators)*
|
||||
|
||||
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L148)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -517,29 +611,10 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[sessionsPerEra](_queries_.apiqueries.md#sessionsperera)*
|
||||
|
||||
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L144)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="stakingfreebalanceof"></a>
|
||||
|
||||
## stakingFreeBalanceOf
|
||||
|
||||
▸ **stakingFreeBalanceOf**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingFreeBalanceOf](_queries_.apiqueries.md#stakingfreebalanceof)*
|
||||
|
||||
*Defined in [Queries.ts:171](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L171)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="stakingintentions"></a>
|
||||
|
||||
@@ -549,7 +624,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingIntentions](_queries_.apiqueries.md#stakingintentions)*
|
||||
|
||||
*Defined in [Queries.ts:159](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L159)*
|
||||
*Defined in [Queries.ts:179](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L179)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -562,7 +637,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominating](_queries_.apiqueries.md#stakingnominating)*
|
||||
|
||||
*Defined in [Queries.ts:186](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L186)*
|
||||
*Defined in [Queries.ts:201](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L201)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -581,7 +656,7 @@ ___
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingNominatorsFor](_queries_.apiqueries.md#stakingnominatorsfor)*
|
||||
|
||||
*Defined in [Queries.ts:175](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L175)*
|
||||
*Defined in [Queries.ts:190](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L190)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -592,81 +667,56 @@ ___
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="stakingreservedbalanceof"></a>
|
||||
<a id="submitextrinsic"></a>
|
||||
|
||||
## stakingReservedBalanceOf
|
||||
## submitExtrinsic
|
||||
|
||||
▸ **stakingReservedBalanceOf**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
▸ **submitExtrinsic**(extrinsic: *`UncheckedMortalExtrinsic`*): `Observable`< `Hash` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[stakingReservedBalanceOf](_queries_.apiqueries.md#stakingreservedbalanceof)*
|
||||
|
||||
*Defined in [Queries.ts:191](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L191)*
|
||||
*Defined in [Calls.ts:47](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
| extrinsic | `UncheckedMortalExtrinsic` |
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
**Returns:** `Observable`< `Hash` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="systemaccountindexof"></a>
|
||||
<a id="systemname"></a>
|
||||
|
||||
## systemAccountIndexOf
|
||||
## systemName
|
||||
|
||||
▸ **systemAccountIndexOf**(address: * `AccountId` | `string`*): `Observable`< `Index` | `undefined`>
|
||||
▸ **systemName**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[systemAccountIndexOf](_queries_.apiqueries.md#systemaccountindexof)*
|
||||
*Defined in [Calls.ts:39](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L39)*
|
||||
|
||||
*Defined in [Queries.ts:203](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L203)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Index` | `undefined`>
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="timestampblockperiod"></a>
|
||||
<a id="systemversion"></a>
|
||||
|
||||
## timestampBlockPeriod
|
||||
## systemVersion
|
||||
|
||||
▸ **timestampBlockPeriod**(): `Observable`< `Moment` | `undefined`>
|
||||
▸ **systemVersion**(): `Observable`< `Text` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[timestampBlockPeriod](_queries_.apiqueries.md#timestampblockperiod)*
|
||||
*Defined in [Calls.ts:43](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Calls.ts#L43)*
|
||||
|
||||
*Defined in [Queries.ts:195](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L195)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="timestampnow"></a>
|
||||
|
||||
## timestampNow
|
||||
|
||||
▸ **timestampNow**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[timestampNow](_queries_.apiqueries.md#timestampnow)*
|
||||
|
||||
*Defined in [Queries.ts:199](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L199)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
**Returns:** `Observable`< `Text` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="validatorcount"></a>
|
||||
|
||||
## validatorCount
|
||||
|
||||
▸ **validatorCount**(): `Observable`<`u32`>
|
||||
▸ **validatorCount**(): `Observable`< `u32` | `undefined`>
|
||||
|
||||
*Inherited from [ApiQueries](_queries_.apiqueries.md).[validatorCount](_queries_.apiqueries.md#validatorcount)*
|
||||
|
||||
*Defined in [Queries.ts:207](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L207)*
|
||||
*Defined in [Queries.ts:205](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L205)*
|
||||
|
||||
**Returns:** `Observable`<`u32`>
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L9)*
|
||||
*Defined in [classes.ts:9](https://github.com/polkadot-js/api/blob/605f11d/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:27](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L27)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L27)*
|
||||
|
||||
___
|
||||
<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:26](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L26)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:26](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L26)*
|
||||
|
||||
___
|
||||
<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/81348c6/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/605f11d/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:76](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L76)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L76)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getaddress(): `AccountId`
|
||||
|
||||
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L18)*
|
||||
*Defined in [classes.ts:18](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L22)*
|
||||
*Defined in [classes.ts:22](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L26)*
|
||||
*Defined in [classes.ts:26](https://github.com/polkadot-js/api/blob/605f11d/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:80](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L80)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L80)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
*Overrides Base.fromJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L86)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +166,7 @@ ___
|
||||
|
||||
*Overrides Base.fromU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L101)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from Struct.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L111)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from Struct.keys*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Overrides Base.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L115)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L115)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +234,7 @@ ___
|
||||
|
||||
*Overrides Base.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/81348c6/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/605f11d/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +249,7 @@ ___
|
||||
|
||||
*Overrides Base.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L130)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L130)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +268,7 @@ ___
|
||||
|
||||
*Inherited from Struct.values*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L147)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L147)*
|
||||
|
||||
**Returns:** `Array`<`Base`>
|
||||
|
||||
@@ -281,7 +281,7 @@ ___
|
||||
|
||||
*Inherited from Struct.decode*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L45)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L45)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -307,7 +307,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L66)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L66)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L31)*
|
||||
*Defined in [classes.ts:31](https://github.com/polkadot-js/api/blob/605f11d/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:27](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L27)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L27)*
|
||||
|
||||
___
|
||||
<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:26](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L26)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:26](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L26)*
|
||||
|
||||
___
|
||||
<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/81348c6/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/605f11d/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:76](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L76)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L76)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
getaddresses(): `Vector`<`AccountId`>
|
||||
|
||||
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L39)*
|
||||
*Defined in [classes.ts:39](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L43)*
|
||||
*Defined in [classes.ts:43](https://github.com/polkadot-js/api/blob/605f11d/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:80](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L80)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L80)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides Base.fromJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L86)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +155,7 @@ ___
|
||||
|
||||
*Overrides Base.fromU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L101)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
*Inherited from Struct.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L111)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from Struct.keys*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +208,7 @@ ___
|
||||
|
||||
*Overrides Base.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L115)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L115)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
*Overrides Base.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/81348c6/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/605f11d/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +238,7 @@ ___
|
||||
|
||||
*Overrides Base.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L130)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L130)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from Struct.values*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L147)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L147)*
|
||||
|
||||
**Returns:** `Array`<`Base`>
|
||||
|
||||
@@ -270,7 +270,7 @@ ___
|
||||
|
||||
*Inherited from Struct.decode*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L45)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L45)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -296,7 +296,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L66)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L66)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides Struct.__constructor*
|
||||
|
||||
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L48)*
|
||||
*Defined in [classes.ts:48](https://github.com/polkadot-js/api/blob/605f11d/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:27](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L27)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:27](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L27)*
|
||||
|
||||
___
|
||||
<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:26](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L26)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:26](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L26)*
|
||||
|
||||
___
|
||||
<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/81348c6/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/605f11d/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:76](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L76)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:76](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L76)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -91,7 +91,7 @@ ___
|
||||
|
||||
getblockNumber(): `BlockNumber`
|
||||
|
||||
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/classes.ts#L58)*
|
||||
*Defined in [classes.ts:58](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L62)*
|
||||
*Defined in [classes.ts:62](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L66)*
|
||||
*Defined in [classes.ts:66](https://github.com/polkadot-js/api/blob/605f11d/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/81348c6/packages/api-observable/src/classes.ts#L70)*
|
||||
*Defined in [classes.ts:70](https://github.com/polkadot-js/api/blob/605f11d/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:80](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L80)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:80](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L80)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
*Overrides Base.fromJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L86)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
*Overrides Base.fromU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L101)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:101](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from Struct.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L111)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:111](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from Struct.keys*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L126)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:126](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L126)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -231,7 +231,7 @@ ___
|
||||
|
||||
*Overrides Base.toJSON*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L115)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:115](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L115)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
*Overrides Base.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/81348c6/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/605f11d/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -261,7 +261,7 @@ ___
|
||||
|
||||
*Overrides Base.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L130)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:130](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L130)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -280,7 +280,7 @@ ___
|
||||
|
||||
*Inherited from Struct.values*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L147)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:147](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L147)*
|
||||
|
||||
**Returns:** `Array`<`Base`>
|
||||
|
||||
@@ -293,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from Struct.decode*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L45)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:45](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L45)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/81348c6/packages/types/src/codec/Struct.ts#L66)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:66](https://github.com/polkadot-js/api/blob/605f11d/packages/types/src/codec/Struct.ts#L66)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -18,7 +18,7 @@
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[constructor](_base_.apibase.md#constructor)*
|
||||
|
||||
*Defined in [Base.ts:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/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:27](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L27)*
|
||||
*Defined in [Base.ts:28](https://github.com/polkadot-js/api/blob/605f11d/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:28](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L28)*
|
||||
*Defined in [Base.ts:29](https://github.com/polkadot-js/api/blob/605f11d/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:31](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L31)*
|
||||
*Defined in [Base.ts:32](https://github.com/polkadot-js/api/blob/605f11d/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:39](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L39)*
|
||||
*Defined in [Base.ts:40](https://github.com/polkadot-js/api/blob/605f11d/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:40](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L40)*
|
||||
*Defined in [Base.ts:41](https://github.com/polkadot-js/api/blob/605f11d/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:78](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L78)*
|
||||
*Defined in [Base.ts:78](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L78)*
|
||||
|
||||
**Returns:** `Hash`
|
||||
|
||||
@@ -106,6 +106,79 @@ ___
|
||||
|
||||
# Methods
|
||||
|
||||
<a id="accountnonce"></a>
|
||||
|
||||
## accountNonce
|
||||
|
||||
▸ **accountNonce**(address: * `AccountId` | `string`*): `Observable`< `Index` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:19](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Index` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="balancefree"></a>
|
||||
|
||||
## balanceFree
|
||||
|
||||
▸ **balanceFree**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:23](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="balancereserved"></a>
|
||||
|
||||
## balanceReserved
|
||||
|
||||
▸ **balanceReserved**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:27](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="blocknow"></a>
|
||||
|
||||
## blockNow
|
||||
|
||||
▸ **blockNow**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:35](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L35)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="blockperiod"></a>
|
||||
|
||||
## blockPeriod
|
||||
|
||||
▸ **blockPeriod**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:31](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L31)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="combine"></a>
|
||||
|
||||
## `<Protected>` combine
|
||||
@@ -114,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[combine](_base_.apibase.md#combine)*
|
||||
|
||||
*Defined in [Base.ts:70](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L70)*
|
||||
*Defined in [Base.ts:71](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L71)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -129,41 +202,6 @@ ___
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
|
||||
___
|
||||
<a id="democacyvoteof"></a>
|
||||
|
||||
## democacyVoteOf
|
||||
|
||||
▸ **democacyVoteOf**(index: * `ReferendumIndex` | `BN` | `number`*, address: * `AccountId` | `string`*): `Observable`<`Bool`>
|
||||
|
||||
*Defined in [Queries.ts:76](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L76)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`<`Bool`>
|
||||
|
||||
___
|
||||
<a id="democacyvotersfor"></a>
|
||||
|
||||
## democacyVotersFor
|
||||
|
||||
▸ **democacyVotersFor**(index: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:80](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="democracylaunchperiod"></a>
|
||||
|
||||
@@ -171,7 +209,7 @@ ___
|
||||
|
||||
▸ **democracyLaunchPeriod**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:19](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L19)*
|
||||
*Defined in [Queries.ts:39](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L39)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -182,66 +220,10 @@ ___
|
||||
|
||||
▸ **democracyNextTally**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:23](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L23)*
|
||||
*Defined in [Queries.ts:43](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L43)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyproposaldeposits"></a>
|
||||
|
||||
## democracyProposalDeposits
|
||||
|
||||
▸ **democracyProposalDeposits**(proposalId: * `PropIndex` | `BN` | `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:27](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| proposalId | `PropIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracypublicproposals"></a>
|
||||
|
||||
## democracyPublicProposals
|
||||
|
||||
▸ **democracyPublicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
*Defined in [Queries.ts:40](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L40)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
___
|
||||
<a id="democracyreferendumcount"></a>
|
||||
|
||||
## democracyReferendumCount
|
||||
|
||||
▸ **democracyReferendumCount**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:59](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L59)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyreferenduminfoof"></a>
|
||||
|
||||
## democracyReferendumInfoOf
|
||||
|
||||
▸ **democracyReferendumInfoOf**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:63](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| referendumId | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="democracyvotingperiod"></a>
|
||||
|
||||
@@ -249,7 +231,7 @@ ___
|
||||
|
||||
▸ **democracyVotingPeriod**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:91](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L91)*
|
||||
*Defined in [Queries.ts:111](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L111)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -260,7 +242,7 @@ ___
|
||||
|
||||
▸ **eraLastLengthChange**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:116](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L116)*
|
||||
*Defined in [Queries.ts:136](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L136)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -271,7 +253,7 @@ ___
|
||||
|
||||
▸ **fees**(): `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
|
||||
|
||||
*Defined in [Queries.ts:95](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L95)*
|
||||
*Defined in [Queries.ts:115](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L115)*
|
||||
|
||||
**Returns:** `Observable`<[RxFees](../modules/_types_d_.md#rxfees)>
|
||||
|
||||
@@ -284,10 +266,38 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[isConnected](_base_.apibase.md#isconnected)*
|
||||
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L82)*
|
||||
*Defined in [Base.ts:82](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L82)*
|
||||
|
||||
**Returns:** `Observable`<`boolean`>
|
||||
|
||||
___
|
||||
<a id="proposaldeposits"></a>
|
||||
|
||||
## proposalDeposits
|
||||
|
||||
▸ **proposalDeposits**(proposalId: * `PropIndex` | `BN` | `number`*): `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:47](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| proposalId | `PropIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxProposalDeposits](_classes_.rxproposaldeposits.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="publicproposals"></a>
|
||||
|
||||
## publicProposals
|
||||
|
||||
▸ **publicProposals**(): `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
*Defined in [Queries.ts:60](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L60)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<[RxProposal](_classes_.rxproposal.md)>>
|
||||
|
||||
___
|
||||
<a id="rawcall"></a>
|
||||
|
||||
@@ -297,7 +307,7 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawCall](_base_.apibase.md#rawcall)*
|
||||
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L86)*
|
||||
*Defined in [Base.ts:86](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L86)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -316,11 +326,11 @@ ___
|
||||
|
||||
## rawStorage
|
||||
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`<`T`>
|
||||
▸ **rawStorage**<`T`>(key: *`StorageFunction`*, ...params: *`Array`<`any`>*): `Observable`< `T` | `undefined`>
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorage](_base_.apibase.md#rawstorage)*
|
||||
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L98)*
|
||||
*Defined in [Base.ts:98](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -332,7 +342,7 @@ ___
|
||||
| key | `StorageFunction` |
|
||||
| `Rest` params | `Array`<`any`> |
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
**Returns:** `Observable`< `T` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="rawstoragemulti"></a>
|
||||
@@ -343,11 +353,11 @@ ___
|
||||
|
||||
*Inherited from [ApiBase](_base_.apibase.md).[rawStorageMulti](_base_.apibase.md#rawstoragemulti)*
|
||||
|
||||
*Defined in [Base.ts:109](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Base.ts#L109)*
|
||||
*Defined in [Base.ts:110](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Base.ts#L110)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
#### T
|
||||
#### T : `[]`
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
@@ -356,6 +366,69 @@ ___
|
||||
|
||||
**Returns:** `Observable`<`T`>
|
||||
|
||||
___
|
||||
<a id="referendumcount"></a>
|
||||
|
||||
## referendumCount
|
||||
|
||||
▸ **referendumCount**(): `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:79](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L79)*
|
||||
|
||||
**Returns:** `Observable`< `ReferendumIndex` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referenduminfo"></a>
|
||||
|
||||
## referendumInfo
|
||||
|
||||
▸ **referendumInfo**(referendumId: * `ReferendumIndex` | `BN` | `number`*): `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:83](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| referendumId | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`< [RxReferendum](_classes_.rxreferendum.md) | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referendumvote"></a>
|
||||
|
||||
## referendumVote
|
||||
|
||||
▸ **referendumVote**(index: * `ReferendumIndex` | `BN` | `number`*, address: * `AccountId` | `string`*): `Observable`< `Bool` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:96](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L96)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Bool` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="referendumvoters"></a>
|
||||
|
||||
## referendumVoters
|
||||
|
||||
▸ **referendumVoters**(index: * `ReferendumIndex` | `BN` | `number`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:100](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L100)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | `ReferendumIndex` | `BN` | `number`|
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="sessioncurrentindex"></a>
|
||||
|
||||
@@ -363,7 +436,7 @@ ___
|
||||
|
||||
▸ **sessionCurrentIndex**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:128](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L128)*
|
||||
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L148)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -374,7 +447,7 @@ ___
|
||||
|
||||
▸ **sessionCurrentStart**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:132](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L132)*
|
||||
*Defined in [Queries.ts:152](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L152)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
@@ -385,7 +458,7 @@ ___
|
||||
|
||||
▸ **sessionLastLengthChange**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:136](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L136)*
|
||||
*Defined in [Queries.ts:156](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L156)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -396,7 +469,7 @@ ___
|
||||
|
||||
▸ **sessionLength**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L140)*
|
||||
*Defined in [Queries.ts:160](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L160)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
@@ -407,7 +480,7 @@ ___
|
||||
|
||||
▸ **sessionReward**(): `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:120](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L120)*
|
||||
*Defined in [Queries.ts:140](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L140)*
|
||||
|
||||
**Returns:** `Observable`< `Perbill` | `undefined`>
|
||||
|
||||
@@ -418,7 +491,7 @@ ___
|
||||
|
||||
▸ **sessionRewardCurrent**(): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:124](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L124)*
|
||||
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L144)*
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
@@ -429,7 +502,7 @@ ___
|
||||
|
||||
▸ **sessionValidators**(): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:148](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L148)*
|
||||
*Defined in [Queries.ts:168](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L168)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -440,27 +513,10 @@ ___
|
||||
|
||||
▸ **sessionsPerEra**(): `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:144](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L144)*
|
||||
*Defined in [Queries.ts:164](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L164)*
|
||||
|
||||
**Returns:** `Observable`< `BlockNumber` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="stakingfreebalanceof"></a>
|
||||
|
||||
## stakingFreeBalanceOf
|
||||
|
||||
▸ **stakingFreeBalanceOf**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:171](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L171)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="stakingintentions"></a>
|
||||
|
||||
@@ -468,7 +524,7 @@ ___
|
||||
|
||||
▸ **stakingIntentions**(): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:159](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L159)*
|
||||
*Defined in [Queries.ts:179](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L179)*
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
@@ -479,7 +535,7 @@ ___
|
||||
|
||||
▸ **stakingNominating**(address: * `AccountId` | `string`*): `Observable`< `AccountId` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:186](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L186)*
|
||||
*Defined in [Queries.ts:201](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L201)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -496,7 +552,7 @@ ___
|
||||
|
||||
▸ **stakingNominatorsFor**(address: * `AccountId` | `string`*): `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
*Defined in [Queries.ts:175](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L175)*
|
||||
*Defined in [Queries.ts:190](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L190)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -506,72 +562,16 @@ ___
|
||||
|
||||
**Returns:** `Observable`<`Array`<`AccountId`>>
|
||||
|
||||
___
|
||||
<a id="stakingreservedbalanceof"></a>
|
||||
|
||||
## stakingReservedBalanceOf
|
||||
|
||||
▸ **stakingReservedBalanceOf**(address: * `AccountId` | `string`*): `Observable`< `Balance` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:191](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L191)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Balance` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="systemaccountindexof"></a>
|
||||
|
||||
## systemAccountIndexOf
|
||||
|
||||
▸ **systemAccountIndexOf**(address: * `AccountId` | `string`*): `Observable`< `Index` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:203](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L203)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| address | `AccountId` | `string`|
|
||||
|
||||
**Returns:** `Observable`< `Index` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="timestampblockperiod"></a>
|
||||
|
||||
## timestampBlockPeriod
|
||||
|
||||
▸ **timestampBlockPeriod**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:195](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L195)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="timestampnow"></a>
|
||||
|
||||
## timestampNow
|
||||
|
||||
▸ **timestampNow**(): `Observable`< `Moment` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:199](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L199)*
|
||||
|
||||
**Returns:** `Observable`< `Moment` | `undefined`>
|
||||
|
||||
___
|
||||
<a id="validatorcount"></a>
|
||||
|
||||
## validatorCount
|
||||
|
||||
▸ **validatorCount**(): `Observable`<`u32`>
|
||||
▸ **validatorCount**(): `Observable`< `u32` | `undefined`>
|
||||
|
||||
*Defined in [Queries.ts:207](https://github.com/polkadot-js/api/blob/81348c6/packages/api-observable/src/Queries.ts#L207)*
|
||||
*Defined in [Queries.ts:205](https://github.com/polkadot-js/api/blob/605f11d/packages/api-observable/src/Queries.ts#L205)*
|
||||
|
||||
**Returns:** `Observable`<`u32`>
|
||||
**Returns:** `Observable`< `u32` | `undefined`>
|
||||
|
||||
___
|
||||
|
||||
|
||||
Reference in New Issue
Block a user