[CI Skip] 0.45.12
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
|
||||
*Overrides ReferendumInfo.__constructor*
|
||||
|
||||
*Defined in [democracy/referendumInfo.ts:20](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumInfo.ts#L20)*
|
||||
*Defined in [democracy/referendumInfo.ts:20](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumInfo.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from Struct.Type*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L160)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:160](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L160)*
|
||||
|
||||
*__description__*: Returns the Type description to sthe structure
|
||||
|
||||
@@ -92,7 +92,7 @@ getdelay(): `BlockNumber`
|
||||
|
||||
*Inherited from ReferendumInfo.delay*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:58](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/type/ReferendumInfo.ts#L58)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:58](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/type/ReferendumInfo.ts#L58)*
|
||||
|
||||
*__description__*: The delay (in blocks) to wait after a successful referendum before deploying
|
||||
|
||||
@@ -107,7 +107,7 @@ getencodedLength(): `number`
|
||||
|
||||
*Inherited from Struct.encodedLength*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f8bd74e/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/8a946ae/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
*__description__*: The length of the value when encoded as a Uint8Array
|
||||
|
||||
@@ -122,7 +122,7 @@ getend(): `BlockNumber`
|
||||
|
||||
*Inherited from ReferendumInfo.end*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:37](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/type/ReferendumInfo.ts#L37)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:37](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/type/ReferendumInfo.ts#L37)*
|
||||
|
||||
*__description__*: When voting on this referendum will end
|
||||
|
||||
@@ -135,7 +135,7 @@ ___
|
||||
|
||||
getindex(): `ReferendumIndex`
|
||||
|
||||
*Defined in [democracy/referendumInfo.ts:33](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumInfo.ts#L33)*
|
||||
*Defined in [democracy/referendumInfo.ts:33](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumInfo.ts#L33)*
|
||||
|
||||
*__description__*: Convenience getter, returns the referendumIndex
|
||||
|
||||
@@ -150,7 +150,7 @@ getisEmpty(): `boolean`
|
||||
|
||||
*Inherited from Struct.isEmpty*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L145)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:145](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L145)*
|
||||
|
||||
*__description__*: Checks if the value is an empty value
|
||||
|
||||
@@ -165,7 +165,7 @@ getproposal(): `Proposal`
|
||||
|
||||
*Inherited from ReferendumInfo.proposal*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:44](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/type/ReferendumInfo.ts#L44)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:44](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/type/ReferendumInfo.ts#L44)*
|
||||
|
||||
*__description__*: The proposal being voted on
|
||||
|
||||
@@ -180,7 +180,7 @@ getthreshold(): `VoteThreshold`
|
||||
|
||||
*Inherited from ReferendumInfo.threshold*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:51](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/type/ReferendumInfo.ts#L51)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/type/ReferendumInfo.ts:51](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/type/ReferendumInfo.ts#L51)*
|
||||
|
||||
*__description__*: The thresholding mechanism to determine whether it passed
|
||||
|
||||
@@ -260,7 +260,7 @@ ___
|
||||
|
||||
*Inherited from Struct.eq*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L176)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:176](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L176)*
|
||||
|
||||
*__description__*: Compares the value of the input to see if there is a match
|
||||
|
||||
@@ -303,7 +303,7 @@ ___
|
||||
|
||||
*Overrides Map.get*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f8bd74e/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/8a946ae/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
*__description__*: Returns a specific names entry in the structure
|
||||
|
||||
@@ -324,7 +324,7 @@ ___
|
||||
|
||||
*Inherited from Struct.getAtIndex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L191)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:191](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L191)*
|
||||
|
||||
*__description__*: Returns the values of a member at a specific index (Rather use get(name) for performance)
|
||||
|
||||
@@ -399,7 +399,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toArray*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L198)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:198](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L198)*
|
||||
|
||||
*__description__*: Converts the Object to an standard JavaScript Array
|
||||
|
||||
@@ -414,7 +414,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toHex*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L205)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:205](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L205)*
|
||||
|
||||
*__description__*: Returns a hex string representation of the value
|
||||
|
||||
@@ -429,7 +429,7 @@ ___
|
||||
|
||||
*Overrides Struct.toJSON*
|
||||
|
||||
*Defined in [democracy/referendumInfo.ts:40](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumInfo.ts#L40)*
|
||||
*Defined in [democracy/referendumInfo.ts:40](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumInfo.ts#L40)*
|
||||
|
||||
*__description__*: Creates the JSON representation
|
||||
|
||||
@@ -444,7 +444,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toString*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L226)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:226](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L226)*
|
||||
|
||||
*__description__*: Returns the string representation of the value
|
||||
|
||||
@@ -459,7 +459,7 @@ ___
|
||||
|
||||
*Inherited from Struct.toU8a*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L234)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:234](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L234)*
|
||||
|
||||
*__description__*: Encodes the value as a Uint8Array as per the parity-codec specifications
|
||||
|
||||
@@ -495,7 +495,7 @@ ___
|
||||
|
||||
*Inherited from Struct.with*
|
||||
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/f8bd74e/packages/types/src/codec/Struct.ts#L125)*
|
||||
*Defined in [/home/travis/build/polkadot-js/api/packages/types/src/codec/Struct.ts:125](https://github.com/polkadot-js/api/blob/8a946ae/packages/types/src/codec/Struct.ts#L125)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
**● accounts**: *`ReturnTypes`<["accounts/index"](../modules/_accounts_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:38](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L38)*
|
||||
*Defined in [index.ts:38](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L38)*
|
||||
|
||||
___
|
||||
<a id="balances"></a>
|
||||
@@ -21,7 +21,7 @@ ___
|
||||
|
||||
**● balances**: *`ReturnTypes`<["balances/index"](../modules/_balances_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:39](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L39)*
|
||||
*Defined in [index.ts:39](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L39)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -30,7 +30,7 @@ ___
|
||||
|
||||
**● chain**: *`ReturnTypes`<["chain/index"](../modules/_chain_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:40](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L40)*
|
||||
*Defined in [index.ts:40](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L40)*
|
||||
|
||||
___
|
||||
<a id="democracy"></a>
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
**● democracy**: *`ReturnTypes`<["democracy/index"](../modules/_democracy_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L41)*
|
||||
*Defined in [index.ts:41](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L41)*
|
||||
|
||||
___
|
||||
<a id="session"></a>
|
||||
@@ -48,7 +48,7 @@ ___
|
||||
|
||||
**● session**: *`ReturnTypes`<["session/index"](../modules/_session_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L42)*
|
||||
*Defined in [index.ts:42](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L42)*
|
||||
|
||||
___
|
||||
<a id="staking"></a>
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
**● staking**: *`ReturnTypes`<["staking/index"](../modules/_staking_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L43)*
|
||||
*Defined in [index.ts:43](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L43)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# Callable
|
||||
▸ **__call**(api: *`ApiInterface$Rx`*): `function`
|
||||
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L27)*
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ AccountIdAndIndex**: *[`undefined` \| `AccountId`, `undefined` \| `AccountIndex`]*
|
||||
|
||||
*Defined in [accounts/idAndIndex.ts:16](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/idAndIndex.ts#L16)*
|
||||
*Defined in [accounts/idAndIndex.ts:16](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/idAndIndex.ts#L16)*
|
||||
|
||||
___
|
||||
|
||||
@@ -20,7 +20,7 @@ ___
|
||||
|
||||
▸ **idAndIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/idAndIndex.ts:18](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/idAndIndex.ts#L18)*
|
||||
*Defined in [accounts/idAndIndex.ts:18](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/idAndIndex.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **idToIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/idToIndex.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/idToIndex.ts#L13)*
|
||||
*Defined in [accounts/idToIndex.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/idToIndex.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ AccountIndexes**: *`object`*
|
||||
|
||||
*Defined in [accounts/indexes.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/indexes.ts#L13)*
|
||||
*Defined in [accounts/indexes.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/indexes.ts#L13)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -24,7 +24,7 @@ ___
|
||||
|
||||
▸ **indexes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/indexes.ts:15](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/indexes.ts#L15)*
|
||||
*Defined in [accounts/indexes.ts:15](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/indexes.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **indexToId**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/indexToId.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/accounts/indexToId.ts#L13)*
|
||||
*Defined in [accounts/indexToId.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/accounts/indexToId.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **fees**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/fees.ts#L13)*
|
||||
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/fees.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **validatingBalance**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/validatingBalance.ts#L16)*
|
||||
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/validatingBalance.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **validatingBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/validatingBalances.ts#L14)*
|
||||
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/validatingBalances.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **votingBalance**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/votingBalance.ts#L16)*
|
||||
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/votingBalance.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **votingBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/votingBalances.ts#L13)*
|
||||
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/votingBalances.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **votingBalancesNominatorsFor**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/votingBalancesNominatorsFor.ts:15](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
|
||||
*Defined in [balances/votingBalancesNominatorsFor.ts:15](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bestNumber**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumber.ts:23](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/bestNumber.ts#L23)*
|
||||
*Defined in [chain/bestNumber.ts:23](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/bestNumber.ts#L23)*
|
||||
|
||||
*__description__*: Get the latest block number.
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bestNumberFinalised**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumberFinalised.ts:23](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/bestNumberFinalised.ts#L23)*
|
||||
*Defined in [chain/bestNumberFinalised.ts:23](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/bestNumberFinalised.ts#L23)*
|
||||
|
||||
*__description__*: Get the latest finalised block number. example
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **bestNumberLag**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumberLag.ts:25](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/bestNumberLag.ts#L25)*
|
||||
*Defined in [chain/bestNumberLag.ts:25](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/bestNumberLag.ts#L25)*
|
||||
|
||||
*__description__*: Calculates the lag between finalised head and best head
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **getHeader**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/getHeader.ts:25](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/getHeader.ts#L25)*
|
||||
*Defined in [chain/getHeader.ts:25](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/getHeader.ts#L25)*
|
||||
|
||||
*__description__*: Get the a specific block header and extend it with the author
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ HeaderAndValidators**: *[`Header`, `Array`<`AccountId`>]*
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:12](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/subscribeNewHead.ts#L12)*
|
||||
*Defined in [chain/subscribeNewHead.ts:12](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/subscribeNewHead.ts#L12)*
|
||||
|
||||
___
|
||||
|
||||
@@ -20,7 +20,7 @@ ___
|
||||
|
||||
▸ **subscribeNewHead**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:25](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/chain/subscribeNewHead.ts#L25)*
|
||||
*Defined in [chain/subscribeNewHead.ts:25](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/chain/subscribeNewHead.ts#L25)*
|
||||
|
||||
*__description__*: Subscribe to block headers and extend it with the author
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
▸ **referendumInfo**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendumInfo.ts:48](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumInfo.ts#L48)*
|
||||
*Defined in [democracy/referendumInfo.ts:48](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumInfo.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendumInfos**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
|
||||
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendums**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendums.ts:14](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendums.ts#L14)*
|
||||
*Defined in [democracy/referendums.ts:14](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendums.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendumVotesFor**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendumVotesFor.ts:16](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/referendumVotesFor.ts#L16)*
|
||||
*Defined in [democracy/referendumVotesFor.ts:16](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/referendumVotesFor.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **votes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/democracy/votes.ts#L12)*
|
||||
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/democracy/votes.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
▸ **decorateDerive**(api: *`ApiInterface$Rx`*, custom?: *[DeriveCustom](../interfaces/_index_.derivecustom.md)*): [Derive](../interfaces/_index_.derive.md)
|
||||
|
||||
*Defined in [index.ts:65](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/index.ts#L65)*
|
||||
*Defined in [index.ts:65](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/index.ts#L65)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **eraLength**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/session/eraLength.ts#L13)*
|
||||
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/session/eraLength.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **eraProgress**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/session/eraProgress.ts#L14)*
|
||||
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/session/eraProgress.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **sessionProgress**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/session/sessionProgress.ts#L14)*
|
||||
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/session/sessionProgress.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **intentionsBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [staking/intentionsBalances.ts:17](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/staking/intentionsBalances.ts#L17)*
|
||||
*Defined in [staking/intentionsBalances.ts:17](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/staking/intentionsBalances.ts#L17)*
|
||||
|
||||
Get the balances for all intentions and their nominators
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ DerivedBalances**: *`object`*
|
||||
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/types.ts#L8)*
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/types.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -19,7 +19,7 @@ ___
|
||||
|
||||
**Ƭ DerivedBalancesMap**: *`object`*
|
||||
|
||||
*Defined in [types.ts:26](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/types.ts#L26)*
|
||||
*Defined in [types.ts:26](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/types.ts#L26)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -32,7 +32,7 @@ ___
|
||||
|
||||
**Ƭ DerivedFees**: *`object`*
|
||||
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/types.ts#L18)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
**Ƭ DerivedReferendumVote**: *`object`*
|
||||
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/types.ts#L30)*
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/types.ts#L30)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **cache**(fn: *`Function`*, map?: *`WeakMap`<`object`, `any`>*): `(Anonymous function)`
|
||||
|
||||
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/f8bd74e/packages/api-derive/src/util/cache.ts#L23)*
|
||||
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/8a946ae/packages/api-derive/src/util/cache.ts#L23)*
|
||||
|
||||
Create memoization for a 2-currified function.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user