[CI Skip] 0.40.22
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
* ["balances/votingBalancesNominatorsFor"](modules/_balances_votingbalancesnominatorsfor_.md)
|
||||
* ["chain/bestNumber"](modules/_chain_bestnumber_.md)
|
||||
* ["chain/bestNumberFinalised"](modules/_chain_bestnumberfinalised_.md)
|
||||
* ["chain/bestNumberLag"](modules/_chain_bestnumberlag_.md)
|
||||
* ["chain/getHeader"](modules/_chain_getheader_.md)
|
||||
* ["chain/index"](modules/_chain_index_.md)
|
||||
* ["chain/subscribeNewHead"](modules/_chain_subscribenewhead_.md)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
**● accounts**: *`ReturnTypes`<["accounts/index"](../modules/_accounts_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L27)*
|
||||
*Defined in [index.ts:27](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L27)*
|
||||
|
||||
___
|
||||
<a id="balances"></a>
|
||||
@@ -21,7 +21,7 @@ ___
|
||||
|
||||
**● balances**: *`ReturnTypes`<["balances/index"](../modules/_balances_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:28](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L28)*
|
||||
*Defined in [index.ts:28](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L28)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -30,7 +30,7 @@ ___
|
||||
|
||||
**● chain**: *`ReturnTypes`<["chain/index"](../modules/_chain_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:29](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L29)*
|
||||
*Defined in [index.ts:29](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="democracy"></a>
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
**● democracy**: *`ReturnTypes`<["democracy/index"](../modules/_democracy_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:30](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L30)*
|
||||
*Defined in [index.ts:30](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="session"></a>
|
||||
@@ -48,7 +48,7 @@ ___
|
||||
|
||||
**● session**: *`ReturnTypes`<["session/index"](../modules/_session_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L31)*
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="staking"></a>
|
||||
@@ -57,7 +57,7 @@ ___
|
||||
|
||||
**● staking**: *`ReturnTypes`<["staking/index"](../modules/_staking_index_.md)>*
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L32)*
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L32)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ AccountIdAndIndex**: *[`undefined` | `AccountId`, `undefined` | `AccountIndex`]*
|
||||
|
||||
*Defined in [accounts/idAndIndex.ts:15](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/accounts/idAndIndex.ts#L15)*
|
||||
*Defined in [accounts/idAndIndex.ts:15](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/accounts/idAndIndex.ts#L15)*
|
||||
|
||||
___
|
||||
|
||||
@@ -20,7 +20,7 @@ ___
|
||||
|
||||
▸ **idAndIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/idAndIndex.ts:17](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/accounts/idAndIndex.ts#L17)*
|
||||
*Defined in [accounts/idAndIndex.ts:17](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/accounts/idAndIndex.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **idToIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/idToIndex.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/accounts/idToIndex.ts#L13)*
|
||||
*Defined in [accounts/idToIndex.ts:13](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/accounts/indexes.ts#L13)*
|
||||
*Defined in [accounts/indexes.ts:13](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/accounts/indexes.ts#L15)*
|
||||
*Defined in [accounts/indexes.ts:15](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/accounts/indexes.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **indexToId**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [accounts/indexToId.ts:14](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/accounts/indexToId.ts#L14)*
|
||||
*Defined in [accounts/indexToId.ts:14](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/accounts/indexToId.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **fees**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/balances/fees.ts#L13)*
|
||||
*Defined in [balances/fees.ts:13](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/balances/validatingBalance.ts#L16)*
|
||||
*Defined in [balances/validatingBalance.ts:16](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/balances/validatingBalances.ts#L14)*
|
||||
*Defined in [balances/validatingBalances.ts:14](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/balances/votingBalance.ts#L16)*
|
||||
*Defined in [balances/votingBalance.ts:16](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/balances/votingBalances.ts#L13)*
|
||||
*Defined in [balances/votingBalances.ts:13](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
|
||||
*Defined in [balances/votingBalancesNominatorsFor.ts:15](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/balances/votingBalancesNominatorsFor.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,9 +8,17 @@
|
||||
|
||||
▸ **bestNumber**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumber.ts:15](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/chain/bestNumber.ts#L15)*
|
||||
*Defined in [chain/bestNumber.ts:23](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/bestNumber.ts#L23)*
|
||||
|
||||
Get the latest block number.
|
||||
*__description__*: Get the latest block number.
|
||||
|
||||
*__example__*:
|
||||
|
||||
```javascript
|
||||
api.derive.chain.bestNumber((blockNumber) => {
|
||||
console.log(`the current best block is #${blockNumber}`);
|
||||
});
|
||||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,9 +8,15 @@
|
||||
|
||||
▸ **bestNumberFinalised**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumberFinalised.ts:15](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/chain/bestNumberFinalised.ts#L15)*
|
||||
*Defined in [chain/bestNumberFinalised.ts:23](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/bestNumberFinalised.ts#L23)*
|
||||
|
||||
Get the latest finalised block number.
|
||||
*__description__*: Get the latest finalised block number. example
|
||||
|
||||
```javascript
|
||||
api.derive.chain.bestNumberFinalised((blockNumber) => {
|
||||
console.log(`the current finalised block is #${blockNumber}`);
|
||||
});
|
||||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
|
||||
# Functions
|
||||
|
||||
<a id="bestnumberlag"></a>
|
||||
|
||||
## bestNumberLag
|
||||
|
||||
▸ **bestNumberLag**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/bestNumberLag.ts:25](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/bestNumberLag.ts#L25)*
|
||||
|
||||
*__description__*: Calculates the lag between finalised head and best head
|
||||
|
||||
*__example__*:
|
||||
|
||||
```javascript
|
||||
api.derive.chain.bestNumberLag((lag) => {
|
||||
console.log(`finalised is ${lag} blocks behind head`);
|
||||
});
|
||||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Name | Type |
|
||||
| ------ | ------ |
|
||||
| api | `ApiInterface$Rx` |
|
||||
|
||||
**Returns:** `(Anonymous function)`
|
||||
|
||||
___
|
||||
|
||||
@@ -8,9 +8,17 @@
|
||||
|
||||
▸ **getHeader**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/getHeader.ts:17](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/chain/getHeader.ts#L17)*
|
||||
*Defined in [chain/getHeader.ts:26](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/getHeader.ts#L26)*
|
||||
|
||||
Get the a specific block header and extend it with the author
|
||||
*__description__*: Get the a specific block header and extend it with the author
|
||||
|
||||
*__example__*:
|
||||
|
||||
```javascript
|
||||
const { author, blockNumber } = await api.derive.chain.getHeader('0x123...456');
|
||||
|
||||
console.log(`block #${blockNumber} was authored by ${author}`);
|
||||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
**Ƭ HeaderAndValidators**: *[`Header`, `Array`<`AccountId`>]*
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/chain/subscribeNewHead.ts#L13)*
|
||||
*Defined in [chain/subscribeNewHead.ts:13](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/subscribeNewHead.ts#L13)*
|
||||
|
||||
___
|
||||
|
||||
@@ -20,9 +20,17 @@ ___
|
||||
|
||||
▸ **subscribeNewHead**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [chain/subscribeNewHead.ts:18](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/chain/subscribeNewHead.ts#L18)*
|
||||
*Defined in [chain/subscribeNewHead.ts:26](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/chain/subscribeNewHead.ts#L26)*
|
||||
|
||||
Subscribe to block headers and extend it with the author
|
||||
*__description__*: Subscribe to block headers and extend it with the author
|
||||
|
||||
*__example__*:
|
||||
|
||||
```javascript
|
||||
api.derive.chain.subscribeNewHead(({ author, blockNumber }) => {
|
||||
console.log(`block #${blockNumber} was authored by ${author}`);
|
||||
});
|
||||
```
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendumInfos**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
|
||||
*Defined in [democracy/referendumInfos.ts:13](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/democracy/referendumInfos.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendums**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendums.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/democracy/referendums.ts#L13)*
|
||||
*Defined in [democracy/referendums.ts:13](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/democracy/referendums.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **referendumVotesFor**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/referendumVotesFor.ts:17](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/democracy/referendumVotesFor.ts#L17)*
|
||||
*Defined in [democracy/referendumVotesFor.ts:17](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/democracy/referendumVotesFor.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **votes**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/democracy/votes.ts#L12)*
|
||||
*Defined in [democracy/votes.ts:12](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/democracy/votes.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
▸ **decorateDerive**(api: *`ApiInterface$Rx`*): [Derive](../interfaces/_index_.derive.md)
|
||||
|
||||
*Defined in [index.ts:35](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/index.ts#L35)*
|
||||
*Defined in [index.ts:35](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/index.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **eraLength**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/session/eraLength.ts#L13)*
|
||||
*Defined in [session/eraLength.ts:13](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/session/eraProgress.ts#L14)*
|
||||
*Defined in [session/eraProgress.ts:14](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/session/sessionProgress.ts#L14)*
|
||||
*Defined in [session/sessionProgress.ts:14](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/session/sessionProgress.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
▸ **intentionsBalances**(api: *`ApiInterface$Rx`*): `(Anonymous function)`
|
||||
|
||||
*Defined in [staking/intentionsBalances.ts:18](https://github.com/polkadot-js/api/blob/767a197/packages/api-derive/src/staking/intentionsBalances.ts#L18)*
|
||||
*Defined in [staking/intentionsBalances.ts:18](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/staking/intentionsBalances.ts#L18)*
|
||||
|
||||
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/767a197/packages/api-derive/src/types.ts#L8)*
|
||||
*Defined in [types.ts:8](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/types.ts#L26)*
|
||||
*Defined in [types.ts:26](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/types.ts#L18)*
|
||||
*Defined in [types.ts:18](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/types.ts#L30)*
|
||||
*Defined in [types.ts:30](https://github.com/polkadot-js/api/blob/843f374/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/767a197/packages/api-derive/src/util/cache.ts#L23)*
|
||||
*Defined in [util/cache.ts:23](https://github.com/polkadot-js/api/blob/843f374/packages/api-derive/src/util/cache.ts#L23)*
|
||||
|
||||
Create memoization for a 2-currified function.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user