[CI Skip] 0.29.2
This commit is contained in:
@@ -38,7 +38,7 @@ npm install --save @polkadot/api-format
|
||||
|
||||
**Ƭ FormatterFunction**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-format/src/types.d.ts#L7)*
|
||||
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api-format/src/types.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
▸(value: *`any`*): `any`
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
▸ **echo**(value: *`any`*): `any`
|
||||
|
||||
*Defined in [echo.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-format/src/echo.ts#L10)*
|
||||
*Defined in [echo.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api-format/src/echo.ts#L10)*
|
||||
|
||||
A function returning any value passed to it
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
▸ **format**(formatters: *`FormattersFunctionMap`*, types: *`Array`<`Param$Types`>*, values: *`Array`<`any`>*): `Array`<`any`>
|
||||
|
||||
*Defined in [format.ts:49](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-format/src/format.ts#L49)*
|
||||
*Defined in [format.ts:49](https://github.com/polkadot-js/api/blob/0981a30/packages/api-format/src/format.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
▸ **formatInputs**(params: *`Params`*, values: *`Array`<`any`>*): `Array`<`any`>
|
||||
|
||||
*Defined in [input.ts:22](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-format/src/input.ts#L22)*
|
||||
*Defined in [input.ts:22](https://github.com/polkadot-js/api/blob/0981a30/packages/api-format/src/input.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
▸ **formatOutput**(type: *`Param$Types`*, value?: *`any`*): `any` | `null`
|
||||
|
||||
*Defined in [output.ts:30](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-format/src/output.ts#L30)*
|
||||
*Defined in [output.ts:30](https://github.com/polkadot-js/api/blob/0981a30/packages/api-format/src/output.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
+27
-27
@@ -80,7 +80,7 @@ console.log('clientVersion', version);
|
||||
|
||||
**Ƭ HttpState**: *`object`*
|
||||
|
||||
*Defined in [http/types.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/types.d.ts#L8)*
|
||||
*Defined in [http/types.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/types.d.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -91,7 +91,7 @@ ___
|
||||
|
||||
**Ƭ JsonRpcObject**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L5)*
|
||||
*Defined in [types.d.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L5)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
**Ƭ JsonRpcRequest**: * [JsonRpcObject](#jsonrpcobject) & `object`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L10)*
|
||||
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L10)*
|
||||
|
||||
___
|
||||
<a id="jsonrpcresponse"></a>
|
||||
@@ -113,7 +113,7 @@ ___
|
||||
**Ƭ JsonRpcResponse**: * [JsonRpcObject](#jsonrpcobject) & [JsonRpcResponseBase](#jsonrpcresponsebase)
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:36](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L36)*
|
||||
*Defined in [types.d.ts:36](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L36)*
|
||||
|
||||
___
|
||||
<a id="jsonrpcresponsebase"></a>
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
**Ƭ JsonRpcResponseBase**: * `JsonRpcResponse$Single` & `JsonRpcResponse$Subscription`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:34](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L34)*
|
||||
*Defined in [types.d.ts:34](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L34)*
|
||||
|
||||
___
|
||||
<a id="jsonrpcresponsebase_error"></a>
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
**Ƭ JsonRpcResponseBase$Error**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L15)*
|
||||
*Defined in [types.d.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L15)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
**Ƭ MockState**: *`object`*
|
||||
|
||||
*Defined in [mock/types.d.ts:27](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/types.d.ts#L27)*
|
||||
*Defined in [mock/types.d.ts:27](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/types.d.ts#L27)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
**Ƭ MockState$Requests**: *`object`*
|
||||
|
||||
*Defined in [mock/types.d.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/types.d.ts#L23)*
|
||||
*Defined in [mock/types.d.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/types.d.ts#L23)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -178,7 +178,7 @@ ___
|
||||
|
||||
**Ƭ MockState$Storage**: *`object`*
|
||||
|
||||
*Defined in [mock/types.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/types.d.ts#L19)*
|
||||
*Defined in [mock/types.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/types.d.ts#L19)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -191,7 +191,7 @@ ___
|
||||
|
||||
**Ƭ MockState$Subscription$Callback**: *`function`*
|
||||
|
||||
*Defined in [mock/types.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/types.d.ts#L8)*
|
||||
*Defined in [mock/types.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/types.d.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
▸(error: * `Error` | `null`*, value: *`any`*): `void`
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
**Ƭ MockState$Subscriptions**: *`object`*
|
||||
|
||||
*Defined in [mock/types.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/types.d.ts#L10)*
|
||||
*Defined in [mock/types.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/types.d.ts#L10)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -225,7 +225,7 @@ ___
|
||||
|
||||
**Ƭ ProviderInterface$Callback**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:38](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L38)*
|
||||
*Defined in [types.d.ts:38](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L38)*
|
||||
|
||||
#### Type declaration
|
||||
▸(error: * `Error` | `null`*, result: *`any`*): `void`
|
||||
@@ -246,7 +246,7 @@ ___
|
||||
|
||||
**Ƭ ProviderInterface$EmitCb**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:42](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L42)*
|
||||
*Defined in [types.d.ts:42](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L42)*
|
||||
|
||||
#### Type declaration
|
||||
▸(value?: *`any`*): `any`
|
||||
@@ -267,7 +267,7 @@ ___
|
||||
**Ƭ ProviderInterface$Emitted**: * "connected" | "disconnected"
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:40](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L40)*
|
||||
*Defined in [types.d.ts:40](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L40)*
|
||||
|
||||
___
|
||||
<a id="rpccoder"></a>
|
||||
@@ -276,7 +276,7 @@ ___
|
||||
|
||||
**Ƭ RpcCoder**: *`object`*
|
||||
|
||||
*Defined in [coder/json/types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/types.d.ts#L7)*
|
||||
*Defined in [coder/json/types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/types.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
**Ƭ RpcCoderState**: *`object`*
|
||||
|
||||
*Defined in [coder/json/types.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/types.d.ts#L14)*
|
||||
*Defined in [coder/json/types.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/types.d.ts#L14)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -301,7 +301,7 @@ ___
|
||||
|
||||
▸ **decodeResponse**(self: *[RpcCoderState](#rpccoderstate)*, response: *[JsonRpcResponse](#jsonrpcresponse)*): `any`
|
||||
|
||||
*Defined in [coder/json/decodeResponse.ts:22](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/decodeResponse.ts#L22)*
|
||||
*Defined in [coder/json/decodeResponse.ts:22](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/decodeResponse.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -319,7 +319,7 @@ ___
|
||||
|
||||
▸ **encodeJson**(self: *[RpcCoderState](#rpccoderstate)*, method: *`string`*, params: *`Array`<`any`>*): `string`
|
||||
|
||||
*Defined in [coder/json/encodeJson.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/encodeJson.ts#L9)*
|
||||
*Defined in [coder/json/encodeJson.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/encodeJson.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -338,7 +338,7 @@ ___
|
||||
|
||||
▸ **encodeObject**(self: *[RpcCoderState](#rpccoderstate)*, method: *`string`*, params: *`Array`<`any`>*): [JsonRpcRequest](#jsonrpcrequest)
|
||||
|
||||
*Defined in [coder/json/encodeObject.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/encodeObject.ts#L8)*
|
||||
*Defined in [coder/json/encodeObject.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/encodeObject.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -357,7 +357,7 @@ ___
|
||||
|
||||
▸ **mockProvider**(): [ProviderInterface](interfaces/providerinterface.md)
|
||||
|
||||
*Defined in [mock/index.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/index.ts#L18)*
|
||||
*Defined in [mock/index.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/index.ts#L18)*
|
||||
|
||||
A moock provider mainly used for testing.
|
||||
|
||||
@@ -371,7 +371,7 @@ ___
|
||||
|
||||
▸ **mocks**(__namedParameters: *`object`*): `void`
|
||||
|
||||
*Defined in [mock/mocks.ts:68](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/mocks.ts#L68)*
|
||||
*Defined in [mock/mocks.ts:68](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/mocks.ts#L68)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -388,7 +388,7 @@ ___
|
||||
|
||||
▸ **on**(self: *[MockState](#mockstate)*, type: *[ProviderInterface$Emitted](#providerinterface_emitted)*, sub: *[ProviderInterface$EmitCb](#providerinterface_emitcb)*): `void`
|
||||
|
||||
*Defined in [mock/on.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/on.ts#L8)*
|
||||
*Defined in [mock/on.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/on.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -407,7 +407,7 @@ ___
|
||||
|
||||
▸ **rpcCoder**(): [RpcCoder](#rpccoder)
|
||||
|
||||
*Defined in [coder/json/index.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/coder/json/index.ts#L12)*
|
||||
*Defined in [coder/json/index.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/coder/json/index.ts#L12)*
|
||||
|
||||
**Returns:** [RpcCoder](#rpccoder)
|
||||
|
||||
@@ -418,7 +418,7 @@ ___
|
||||
|
||||
▸ **send**(__namedParameters: *`object`*, method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [mock/send.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/send.ts#L7)*
|
||||
*Defined in [mock/send.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/send.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -437,7 +437,7 @@ ___
|
||||
|
||||
▸ **state**(): [MockState](#mockstate)
|
||||
|
||||
*Defined in [mock/state.ts:38](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/state.ts#L38)*
|
||||
*Defined in [mock/state.ts:38](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/state.ts#L38)*
|
||||
|
||||
**Returns:** [MockState](#mockstate)
|
||||
|
||||
@@ -448,7 +448,7 @@ ___
|
||||
|
||||
▸ **subscribe**(self: *[MockState](#mockstate)*, type: *`string`*, method: *`string`*, params: *`Array`<`any`>*): `Promise`<`number`>
|
||||
|
||||
*Defined in [mock/subscribe.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/subscribe.ts#L7)*
|
||||
*Defined in [mock/subscribe.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/subscribe.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -468,7 +468,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(self: *[MockState](#mockstate)*, type: *`string`*, name: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [mock/unsubscribe.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/mock/unsubscribe.ts#L7)*
|
||||
*Defined in [mock/unsubscribe.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/mock/unsubscribe.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ const api = createApi(provider);
|
||||
|
||||
⊕ **new HttpProvider**(endpoint: *`string`*): [HttpProvider](httpprovider.md)
|
||||
|
||||
*Defined in [http/index.ts:35](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L35)*
|
||||
*Defined in [http/index.ts:35](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
*Implementation of [ProviderInterface](../interfaces/providerinterface.md).[isConnected](../interfaces/providerinterface.md#isconnected)*
|
||||
|
||||
*Defined in [http/index.ts:49](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L49)*
|
||||
*Defined in [http/index.ts:49](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L49)*
|
||||
|
||||
Whether the node is connected or not.
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
*Implementation of [ProviderInterface](../interfaces/providerinterface.md).[on](../interfaces/providerinterface.md#on)*
|
||||
|
||||
*Defined in [http/index.ts:56](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L56)*
|
||||
*Defined in [http/index.ts:56](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L56)*
|
||||
|
||||
Events are not supported with the HttpProvider, see [WsProvider](wsprovider.md).
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Implementation of [ProviderInterface](../interfaces/providerinterface.md).[send](../interfaces/providerinterface.md#send)*
|
||||
|
||||
*Defined in [http/index.ts:60](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L60)*
|
||||
*Defined in [http/index.ts:60](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Implementation of [ProviderInterface](../interfaces/providerinterface.md).[subscribe](../interfaces/providerinterface.md#subscribe)*
|
||||
|
||||
*Defined in [http/index.ts:82](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L82)*
|
||||
*Defined in [http/index.ts:82](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L82)*
|
||||
|
||||
Subscriptions are not supported with the HttpProvider, see [WsProvider](wsprovider.md).
|
||||
|
||||
@@ -148,7 +148,7 @@ ___
|
||||
|
||||
*Implementation of [ProviderInterface](../interfaces/providerinterface.md).[unsubscribe](../interfaces/providerinterface.md#unsubscribe)*
|
||||
|
||||
*Defined in [http/index.ts:91](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/http/index.ts#L91)*
|
||||
*Defined in [http/index.ts:91](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/http/index.ts#L91)*
|
||||
|
||||
Subscriptions are not supported with the HttpProvider, see [WsProvider](wsprovider.md).
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ const api = createApi(provider);
|
||||
|
||||
⊕ **new WsProvider**(endpoint: *`string`*, autoConnect?: *`boolean`*): [WsProvider](wsprovider.md)
|
||||
|
||||
*Defined in [ws/index.ts:69](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L69)*
|
||||
*Defined in [ws/index.ts:69](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L69)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.prefixed*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:6*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:6*
|
||||
|
||||
___
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.addListener*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:33*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:33*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
▸ **connect**(): `void`
|
||||
|
||||
*Defined in [ws/index.ts:99](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L99)*
|
||||
*Defined in [ws/index.ts:99](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L99)*
|
||||
|
||||
The [WsProvider](wsprovider.md) connects automatically by default. if you decided otherwise, you may connect manually using this method.
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.emit*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:27*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:27*
|
||||
|
||||
Calls each of the listeners registered for a given event.
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.eventNames*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:12*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:12*
|
||||
|
||||
Return an array listing the events for which the emitter has registered listeners.
|
||||
|
||||
@@ -181,7 +181,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [ws/index.ts:116](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L116)*
|
||||
*Defined in [ws/index.ts:116](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L116)*
|
||||
|
||||
Whether the node is connected or not.
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.listenerCount*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:22*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:22*
|
||||
|
||||
Return the number of listeners listening to a given event.
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.listeners*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:17*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:17*
|
||||
|
||||
Return the listeners registered for a given event.
|
||||
|
||||
@@ -239,7 +239,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.off*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:44*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:44*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -261,7 +261,7 @@ ___
|
||||
|
||||
*Overrides EventEmitter.on*
|
||||
|
||||
*Defined in [ws/index.ts:126](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L126)*
|
||||
*Defined in [ws/index.ts:126](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L126)*
|
||||
|
||||
Listens on events after having subscribed using the [subscribe](wsprovider.md#subscribe) function.
|
||||
|
||||
@@ -284,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.once*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:38*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:38*
|
||||
|
||||
Add a one-time listener for a given event.
|
||||
|
||||
@@ -307,7 +307,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.removeAllListeners*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:49*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:49*
|
||||
|
||||
Remove all listeners, or those of the specified event.
|
||||
|
||||
@@ -328,7 +328,7 @@ ___
|
||||
|
||||
*Inherited from EventEmitter.removeListener*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:43*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:43*
|
||||
|
||||
Remove the listeners of a given event.
|
||||
|
||||
@@ -350,7 +350,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*, subscription?: *`SubscriptionHandler`*): `Promise`<`any`>
|
||||
|
||||
*Defined in [ws/index.ts:130](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L130)*
|
||||
*Defined in [ws/index.ts:130](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L130)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -369,7 +369,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, callback: *[ProviderInterface$Callback](../#providerinterface_callback)*): `Promise`<`number`>
|
||||
|
||||
*Defined in [ws/index.ts:182](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L182)*
|
||||
*Defined in [ws/index.ts:182](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L182)*
|
||||
|
||||
Allows subscribing to a specific event.
|
||||
*__example__*: ```javascript
|
||||
@@ -401,7 +401,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [ws/index.ts:191](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/ws/index.ts#L191)*
|
||||
*Defined in [ws/index.ts:191](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/ws/index.ts#L191)*
|
||||
|
||||
Allows unsubscribing to subscriptions made with [subscribe](wsprovider.md#subscribe).
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
▸ **isConnected**(): `boolean`
|
||||
|
||||
*Defined in [types.d.ts:45](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L45)*
|
||||
*Defined in [types.d.ts:45](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L45)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
▸ **on**(type: *[ProviderInterface$Emitted](../#providerinterface_emitted)*, sub: *[ProviderInterface$EmitCb](../#providerinterface_emitcb)*): `void`
|
||||
|
||||
*Defined in [types.d.ts:46](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L46)*
|
||||
*Defined in [types.d.ts:46](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
▸ **send**(method: *`string`*, params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [types.d.ts:47](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L47)*
|
||||
*Defined in [types.d.ts:47](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -77,7 +77,7 @@ ___
|
||||
|
||||
▸ **subscribe**(type: *`string`*, method: *`string`*, params: *`Array`<`any`>*, cb: *[ProviderInterface$Callback](../#providerinterface_callback)*): `Promise`<`number`>
|
||||
|
||||
*Defined in [types.d.ts:48](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L48)*
|
||||
*Defined in [types.d.ts:48](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -97,7 +97,7 @@ ___
|
||||
|
||||
▸ **unsubscribe**(type: *`string`*, method: *`string`*, id: *`number`*): `Promise`<`boolean`>
|
||||
|
||||
*Defined in [types.d.ts:49](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-provider/src/types.d.ts#L49)*
|
||||
*Defined in [types.d.ts:49](https://github.com/polkadot-js/api/blob/0981a30/packages/api-provider/src/types.d.ts#L49)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
⊕ **new EventEmitterStatic**<`EventTypes`>(): `EventEmitter`<`EventTypes`>
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:57*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:57*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
## Callable
|
||||
▸ **__call**(...args: *`Array`<`any`>*): `void`
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:53*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:53*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
**● EventEmitter**: *`EventEmitterStatic`*
|
||||
|
||||
*Defined in /Users/will/projects/paritytech/polka/polkadot-js-api/node_modules/eventemitter3/index.d.ts:61*
|
||||
*Defined in /home/travis/build/polkadot-js/api/node_modules/eventemitter3/index.d.ts:61*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ An RxJs wrapper around the [@polkadot/api](../api).
|
||||
**Ƭ RxApiInterface**: * `RxApiInterface$Keys` & `object`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/types.d.ts#L19)*
|
||||
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/types.d.ts#L19)*
|
||||
|
||||
___
|
||||
<a id="rxapiinterface_method"></a>
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
**Ƭ RxApiInterface$Method**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/types.d.ts#L9)*
|
||||
*Defined in [types.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/types.d.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
▸(...params: *`Array`<`any`>*): `Observable`<`any`> | `BehaviorSubject`<`any`>
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
**Ƭ RxApiInterface$Section**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/types.d.ts#L11)*
|
||||
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/types.d.ts#L11)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
▸ **cached**(subName: *`string`*, name: *`string`*, section: *`ApiInterface$Section`*): `function`
|
||||
|
||||
*Defined in [observable/cached.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/observable/cached.ts#L19)*
|
||||
*Defined in [observable/cached.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/observable/cached.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
▸ **createInterface**(api: *`ApiInterface`*, sectionName: *`Interface$Sections`*): [RxApiInterface$Section](#rxapiinterface_section)
|
||||
|
||||
*Defined in [interface.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/interface.ts#L11)*
|
||||
*Defined in [interface.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/interface.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +118,7 @@ ___
|
||||
|
||||
▸ **observable**(subName: *`string`*, name: *`string`*, section: *`ApiInterface$Section`*): `function`
|
||||
|
||||
*Defined in [observable/index.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/observable/index.ts#L14)*
|
||||
*Defined in [observable/index.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/observable/index.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +137,7 @@ ___
|
||||
|
||||
▸ **subscription**(name: *`string`*, params: *`Array`<`any`>*, section: *`ApiInterface$Section`*, unsubCallback?: * `undefined` | `function`*): `BehaviorSubject`<`any`>
|
||||
|
||||
*Defined in [observable/subject.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/observable/subject.ts#L10)*
|
||||
*Defined in [observable/subject.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/observable/subject.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ const rxapi = new RxApi(provider);
|
||||
|
||||
⊕ **new RxApi**(provider?: *`ProviderInterface`*): [RxApi](rxapi.md)
|
||||
|
||||
*Defined in [index.ts:33](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L33)*
|
||||
*Defined in [index.ts:33](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
**● author**: *[RxApiInterface$Section](../#rxapiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:30](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L30)*
|
||||
*Defined in [index.ts:30](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -74,7 +74,7 @@ ___
|
||||
|
||||
**● chain**: *[RxApiInterface$Section](../#rxapiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:31](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L31)*
|
||||
*Defined in [index.ts:31](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="state"></a>
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
**● state**: *[RxApiInterface$Section](../#rxapiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:32](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L32)*
|
||||
*Defined in [index.ts:32](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L32)*
|
||||
|
||||
___
|
||||
<a id="system"></a>
|
||||
@@ -92,7 +92,7 @@ ___
|
||||
|
||||
**● system**: *[RxApiInterface$Section](../#rxapiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:33](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L33)*
|
||||
*Defined in [index.ts:33](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L33)*
|
||||
|
||||
___
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
▸ **isConnected**(): `BehaviorSubject`<`boolean`>
|
||||
|
||||
*Defined in [index.ts:51](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api-rx/src/index.ts#L51)*
|
||||
*Defined in [index.ts:51](https://github.com/polkadot-js/api/blob/0981a30/packages/api-rx/src/index.ts#L51)*
|
||||
|
||||
**Returns:** `BehaviorSubject`<`boolean`>
|
||||
|
||||
|
||||
+7
-7
@@ -105,7 +105,7 @@ api.chain
|
||||
|
||||
**Ƭ ApiInterface**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/types.d.ts#L18)*
|
||||
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/types.d.ts#L18)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
**Ƭ ApiInterface$Section**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/types.d.ts#L14)*
|
||||
*Defined in [types.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/types.d.ts#L14)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
▸ **createInterface**(provider: *`ProviderInterface`*, section: *`Interface$Sections`*): [ApiInterface$Section](#apiinterface_section)
|
||||
|
||||
*Defined in [create/interface.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/create/interface.ts#L16)*
|
||||
*Defined in [create/interface.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/create/interface.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -150,7 +150,7 @@ ___
|
||||
|
||||
▸ **createMethodSend**(provider: *`ProviderInterface`*, rpcName: *`string`*, method: *`SectionItem`<`Interfaces`>*): [ApiInterface$Section$Method](interfaces/apiinterface_section_method.md)
|
||||
|
||||
*Defined in [create/methodSend.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/create/methodSend.ts#L16)*
|
||||
*Defined in [create/methodSend.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/create/methodSend.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -169,7 +169,7 @@ ___
|
||||
|
||||
▸ **createParams**(params: *`Params`*, values: *`Array`<`any`>*): `Array`<`any`>
|
||||
|
||||
*Defined in [create/params.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/create/params.ts#L10)*
|
||||
*Defined in [create/params.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/create/params.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
▸ **formatResult**(method: *`SectionItem`<`Interfaces`>*, params: *`Array`<`any`>*, inputs: *`Array`<`any`>*, result?: *`any`*): `any`
|
||||
|
||||
*Defined in [create/formatResult.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/create/formatResult.ts#L16)*
|
||||
*Defined in [create/formatResult.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/create/formatResult.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -207,7 +207,7 @@ ___
|
||||
|
||||
▸ **methodSubscribe**(provider: *`ProviderInterface`*, rpcName: *`string`*, method: *`SectionItem`<`Interfaces`>*): [ApiInterface$Section$Method](interfaces/apiinterface_section_method.md)
|
||||
|
||||
*Defined in [create/methodSubscribe.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/create/methodSubscribe.ts#L18)*
|
||||
*Defined in [create/methodSubscribe.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/create/methodSubscribe.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ const api = new Api(provider);
|
||||
|
||||
⊕ **new Api**(provider: *`ProviderInterface`*): [Api](api.md)
|
||||
|
||||
*Defined in [index.ts:26](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/index.ts#L26)*
|
||||
*Defined in [index.ts:26](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/index.ts#L26)*
|
||||
|
||||
*__constructor__*: Default constructor for the Api Object
|
||||
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
**● author**: *[ApiInterface$Section](../#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/index.ts#L23)*
|
||||
*Defined in [index.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/index.ts#L23)*
|
||||
|
||||
___
|
||||
<a id="chain"></a>
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
**● chain**: *[ApiInterface$Section](../#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:24](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/index.ts#L24)*
|
||||
*Defined in [index.ts:24](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/index.ts#L24)*
|
||||
|
||||
___
|
||||
<a id="state"></a>
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
**● state**: *[ApiInterface$Section](../#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:25](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/index.ts#L25)*
|
||||
*Defined in [index.ts:25](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/index.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="system"></a>
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
**● system**: *[ApiInterface$Section](../#apiinterface_section)*
|
||||
|
||||
*Defined in [index.ts:26](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/index.ts#L26)*
|
||||
*Defined in [index.ts:26](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/index.ts#L26)*
|
||||
|
||||
___
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
## Callable
|
||||
▸ **__call**(...params: *`Array`<`any`>*): `Promise`<`any`>
|
||||
|
||||
*Defined in [types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/types.d.ts#L7)*
|
||||
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/types.d.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
**● subscription**: *`string`*
|
||||
|
||||
*Defined in [types.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/types.d.ts#L10)*
|
||||
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/types.d.ts#L10)*
|
||||
|
||||
___
|
||||
<a id="unsubscribe"></a>
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
**● unsubscribe**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/api/src/types.d.ts#L11)*
|
||||
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/api/src/types.d.ts#L11)*
|
||||
|
||||
#### Type declaration
|
||||
▸(id: *`number`*): `Promise`<`any`>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
**Ƭ Extrinsic$Sections**: *`keyof Extrinsics`*
|
||||
|
||||
*Defined in [types.d.ts:21](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/types.d.ts#L21)*
|
||||
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/types.d.ts#L21)*
|
||||
|
||||
___
|
||||
<a id="extrinsicunchecked"></a>
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
**Ƭ ExtrinsicUnchecked**: *`Uint8Array`*
|
||||
|
||||
*Defined in [codec/types.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/types.d.ts#L9)*
|
||||
*Defined in [codec/types.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/types.d.ts#L9)*
|
||||
|
||||
___
|
||||
<a id="extrinsicwithaccount"></a>
|
||||
@@ -50,7 +50,7 @@ ___
|
||||
|
||||
**Ƭ ExtrinsicWithAccount**: *`Uint8Array`*
|
||||
|
||||
*Defined in [codec/types.d.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/types.d.ts#L5)*
|
||||
*Defined in [codec/types.d.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/types.d.ts#L5)*
|
||||
|
||||
___
|
||||
<a id="extrinsicwithindex"></a>
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
**Ƭ ExtrinsicWithIndex**: *`Uint8Array`*
|
||||
|
||||
*Defined in [codec/types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/types.d.ts#L7)*
|
||||
*Defined in [codec/types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/types.d.ts#L7)*
|
||||
|
||||
___
|
||||
<a id="extrinsics"></a>
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
**Ƭ Extrinsics**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/types.d.ts#L7)*
|
||||
*Defined in [types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/types.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
▸ **decodeLength**(unchecked: *`Uint8Array`*): `UncheckedRaw`
|
||||
|
||||
*Defined in [codec/decode/length.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/decode/length.ts#L9)*
|
||||
*Defined in [codec/decode/length.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/decode/length.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
▸ **encode**(publicKey: *`Uint8Array`*, index: * `number` | `BN`*, extrinsic: *`SectionItem`<[Extrinsics](#extrinsics)>*, values: *`Array`<`any`>*, version: *`EncodingVersions`*): [ExtrinsicWithAccount](#extrinsicwithaccount)
|
||||
|
||||
*Defined in [codec/encode/index.ts:13](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/index.ts#L13)*
|
||||
*Defined in [codec/encode/index.ts:13](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/index.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
▸ **encodeCall**(publicKey: *`Uint8Array`*, nonce: * `number` | `BN`*, data: *[ExtrinsicWithIndex](#extrinsicwithindex)*, version: *`EncodingVersions`*): [ExtrinsicWithAccount](#extrinsicwithaccount)
|
||||
|
||||
*Defined in [codec/encode/call.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/call.ts#L14)*
|
||||
*Defined in [codec/encode/call.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/call.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -140,7 +140,7 @@ ___
|
||||
|
||||
▸ **encodeExtrinsic**(extrinsic: *`SectionItem`<[Extrinsics](#extrinsics)>*, values: *`Array`<`any`>*, version: *`EncodingVersions`*): [ExtrinsicWithIndex](#extrinsicwithindex)
|
||||
|
||||
*Defined in [codec/encode/extrinsic.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/extrinsic.ts#L12)*
|
||||
*Defined in [codec/encode/extrinsic.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/extrinsic.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
▸ **encodeLength**(...values: *`Array`<`Uint8Array`>*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/encode/length.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/length.ts#L8)*
|
||||
*Defined in [codec/encode/length.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/length.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -176,7 +176,7 @@ ___
|
||||
|
||||
▸ **unchecked**(pair: *`KeyringPair`*, index: * `number` | `BN`*, extrinsic: *`SectionItem`<[Extrinsics](#extrinsics)>*, values: *`Array`<`any`>*, version?: *`EncodingVersions`*): `UncheckedRaw`
|
||||
|
||||
*Defined in [codec/encode/unchecked.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/unchecked.ts#L16)*
|
||||
*Defined in [codec/encode/unchecked.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/unchecked.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -197,7 +197,7 @@ ___
|
||||
|
||||
▸ **uncheckedLength**(pair: *`KeyringPair`*, index: * `number` | `BN`*, extrinsic: *`SectionItem`<[Extrinsics](#extrinsics)>*, values: *`Array`<`any`>*, version?: *`EncodingVersions`*): `UncheckedRaw`
|
||||
|
||||
*Defined in [codec/encode/uncheckedLength.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-extrinsics/src/codec/encode/uncheckedLength.ts#L14)*
|
||||
*Defined in [codec/encode/uncheckedLength.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-extrinsics/src/codec/encode/uncheckedLength.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
+10
-10
@@ -44,7 +44,7 @@ As methods are added, simply adding the name, inputs & output will prepare it fo
|
||||
|
||||
**Ƭ Interface$Sections**: *`keyof Interfaces`*
|
||||
|
||||
*Defined in [types.d.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/types.d.ts#L18)*
|
||||
*Defined in [types.d.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/types.d.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="interfaces"></a>
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
**Ƭ Interfaces**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/types.d.ts#L11)*
|
||||
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/types.d.ts#L11)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -64,10 +64,10 @@ ___
|
||||
|
||||
**Ƭ PrivateMethods**: *`object`*
|
||||
|
||||
*Defined in [chain.ts:50](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/chain.ts#L50)*
|
||||
*Defined in [state.ts:99](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/state.ts#L99)*
|
||||
*Defined in [system.ts:34](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/system.ts#L34)*
|
||||
*Defined in [author.ts:32](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/author.ts#L32)*
|
||||
*Defined in [chain.ts:50](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/chain.ts#L50)*
|
||||
*Defined in [state.ts:99](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/state.ts#L99)*
|
||||
*Defined in [system.ts:34](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/system.ts#L34)*
|
||||
*Defined in [author.ts:32](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/author.ts#L32)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -80,10 +80,10 @@ ___
|
||||
|
||||
**Ƭ PublicMethods**: *`object`*
|
||||
|
||||
*Defined in [chain.ts:49](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/chain.ts#L49)*
|
||||
*Defined in [state.ts:100](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/state.ts#L100)*
|
||||
*Defined in [system.ts:35](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/system.ts#L35)*
|
||||
*Defined in [author.ts:33](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-jsonrpc/src/author.ts#L33)*
|
||||
*Defined in [chain.ts:49](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/chain.ts#L49)*
|
||||
*Defined in [state.ts:100](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/state.ts#L100)*
|
||||
*Defined in [system.ts:35](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/system.ts#L35)*
|
||||
*Defined in [author.ts:33](https://github.com/polkadot-js/api/blob/0981a30/packages/type-jsonrpc/src/author.ts#L33)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
|
||||
+55
-55
@@ -74,7 +74,7 @@
|
||||
|
||||
**Ƭ BlockDecoded**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:45](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L45)*
|
||||
*Defined in [types.d.ts:45](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L45)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
**Ƭ BlockExtrinsicDecoded**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:28](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L28)*
|
||||
*Defined in [types.d.ts:28](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L28)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -96,7 +96,7 @@ ___
|
||||
|
||||
**Ƭ BlockJustificationDecoded**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:36](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L36)*
|
||||
*Defined in [types.d.ts:36](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L36)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -107,7 +107,7 @@ ___
|
||||
|
||||
**Ƭ CreateItem**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:127](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L127)*
|
||||
*Defined in [types.d.ts:127](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L127)*
|
||||
|
||||
#### Type declaration
|
||||
▸(options: *[CreateItemOptions](#createitemoptions)*): [SectionItem](#sectionitem)<`T`>
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
**Ƭ CreateItemOptions**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:111](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L111)*
|
||||
*Defined in [types.d.ts:111](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L111)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
**Ƭ CreateItemOptionsMap**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:123](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L123)*
|
||||
*Defined in [types.d.ts:123](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L123)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
**Ƭ CreateItems**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:129](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L129)*
|
||||
*Defined in [types.d.ts:129](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L129)*
|
||||
|
||||
#### Type declaration
|
||||
▸(name: *`string`*, index?: * `undefined` | `number`*): [CreateItem](#createitem)<`T`>
|
||||
@@ -172,7 +172,7 @@ ___
|
||||
|
||||
**Ƭ CreateSection**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:143](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L143)*
|
||||
*Defined in [types.d.ts:143](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L143)*
|
||||
|
||||
#### Type declaration
|
||||
▸(options: *[CreateSectionOptions](#createsectionoptions)<`T`, `Priv`, `Pub`>*): [Section](#section)<`T`, `Priv`, `Pub`>
|
||||
@@ -193,7 +193,7 @@ ___
|
||||
**Ƭ CreateSectionOptions**: * [CreateSectionOptions$Only](#createsectionoptions_only)<`T`, `Priv`, `Pub`> | [CreateSectionOptions$Fn](#createsectionoptions_fn)<`T`, `Priv`, `Pub`>
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:141](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L141)*
|
||||
*Defined in [types.d.ts:141](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L141)*
|
||||
|
||||
___
|
||||
<a id="createsectionoptions_fn"></a>
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
**Ƭ CreateSectionOptions$Fn**: *`function`*
|
||||
|
||||
*Defined in [types.d.ts:139](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L139)*
|
||||
*Defined in [types.d.ts:139](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L139)*
|
||||
|
||||
#### Type declaration
|
||||
▸(method: *[CreateItems](#createitems)<`T`>*): [CreateSectionOptions$Only](#createsectionoptions_only)<`T`, `Priv`, `Pub`>
|
||||
@@ -222,7 +222,7 @@ ___
|
||||
|
||||
**Ƭ CreateSectionOptions$Only**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:131](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L131)*
|
||||
*Defined in [types.d.ts:131](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L131)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -233,7 +233,7 @@ ___
|
||||
|
||||
**Ƭ Decoder**: *`function`*
|
||||
|
||||
*Defined in [decode/types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/types.d.ts#L7)*
|
||||
*Defined in [decode/types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/types.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
▸(type: *[Param$Types](#param_types)*, input: *`Uint8Array`*, version: *[EncodingVersions](#encodingversions)*, isStorage: *`boolean`*): [Param$Decoded](#param_decoded)
|
||||
@@ -257,7 +257,7 @@ ___
|
||||
**Ƭ EncodingVersions**: * "poc-1" | "latest"
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L11)*
|
||||
*Defined in [types.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L11)*
|
||||
|
||||
___
|
||||
<a id="extrinsicdecoded"></a>
|
||||
@@ -266,7 +266,7 @@ ___
|
||||
|
||||
**Ƭ ExtrinsicDecoded**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L23)*
|
||||
*Defined in [types.d.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L23)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -277,7 +277,7 @@ ___
|
||||
|
||||
**Ƭ KeyValue**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:51](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L51)*
|
||||
*Defined in [types.d.ts:51](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L51)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -289,7 +289,7 @@ ___
|
||||
**Ƭ Param**: * [Param$Options](#param_options) & `object`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:71](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L71)*
|
||||
*Defined in [types.d.ts:71](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L71)*
|
||||
|
||||
___
|
||||
<a id="param_decoded"></a>
|
||||
@@ -298,7 +298,7 @@ ___
|
||||
|
||||
**Ƭ Param$Decoded**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:62](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L62)*
|
||||
*Defined in [types.d.ts:62](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L62)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -309,7 +309,7 @@ ___
|
||||
|
||||
**Ƭ Param$Options**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:67](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L67)*
|
||||
*Defined in [types.d.ts:67](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L67)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -321,7 +321,7 @@ ___
|
||||
**Ƭ Param$Type**: * "AccountId" | "AccountIndex" | "Balance" | "BlockNumber" | "bool" | "Bytes" | "Call" | "CandidateReceipt" | "Code" | "Digest" | "Gas" | "Hash" | "Header" | "KeyValue" | "MisbehaviorReport" | "ParachainId" | "PrendingExtrinsics" | "PropIndex" | "Proposal" | "ReferendumIndex" | "SessionKey" | "Signature" | "SignedBlock" | "StorageKey" | "StorageKeyValue" | "StorageResult" | "StorageResultSet" | "String" | "Timestamp" | "u32" | "u64" | "u128" | "VoteIndex" | "VoteThreshold"
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:17](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L17)*
|
||||
*Defined in [types.d.ts:17](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L17)*
|
||||
|
||||
___
|
||||
<a id="param_type_array"></a>
|
||||
@@ -330,7 +330,7 @@ ___
|
||||
|
||||
**Ƭ Param$Type$Array**: *`Array`< [Param$Type](#param_type) | `Array`< [Param$Type](#param_type) | `Array`<[Param$Type](#param_type)>>>*
|
||||
|
||||
*Defined in [types.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L19)*
|
||||
*Defined in [types.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L19)*
|
||||
|
||||
___
|
||||
<a id="param_types"></a>
|
||||
@@ -340,7 +340,7 @@ ___
|
||||
**Ƭ Param$Types**: * [Param$Type](#param_type) | [Param$Type$Array](#param_type_array)
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:21](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L21)*
|
||||
*Defined in [types.d.ts:21](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L21)*
|
||||
|
||||
___
|
||||
<a id="param_value"></a>
|
||||
@@ -350,7 +350,7 @@ ___
|
||||
**Ƭ Param$Value**: * `Digest` | `Header` | [KeyValue](#keyvalue) | `MisbehaviorReport` | [ExtrinsicDecoded](#extrinsicdecoded) | `BN` | `Date` | `Uint8Array` | `boolean` | `number` | `string` | `null`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:56](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L56)*
|
||||
*Defined in [types.d.ts:56](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L56)*
|
||||
|
||||
___
|
||||
<a id="param_value_array"></a>
|
||||
@@ -359,7 +359,7 @@ ___
|
||||
|
||||
**Ƭ Param$Value$Array**: *`Array`< [Param$Value](#param_value) | `Array`< [Param$Value](#param_value) | `Array`<[Param$Value](#param_value)>>>*
|
||||
|
||||
*Defined in [types.d.ts:58](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L58)*
|
||||
*Defined in [types.d.ts:58](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L58)*
|
||||
|
||||
___
|
||||
<a id="param_values"></a>
|
||||
@@ -369,7 +369,7 @@ ___
|
||||
**Ƭ Param$Values**: * [Param$Value](#param_value) | [Param$Value$Array](#param_value_array)
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:60](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L60)*
|
||||
*Defined in [types.d.ts:60](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L60)*
|
||||
|
||||
___
|
||||
<a id="params"></a>
|
||||
@@ -378,7 +378,7 @@ ___
|
||||
|
||||
**Ƭ Params**: *`Array`<[Param](#param)>*
|
||||
|
||||
*Defined in [types.d.ts:76](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L76)*
|
||||
*Defined in [types.d.ts:76](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L76)*
|
||||
|
||||
___
|
||||
<a id="section"></a>
|
||||
@@ -387,7 +387,7 @@ ___
|
||||
|
||||
**Ƭ Section**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:99](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L99)*
|
||||
*Defined in [types.d.ts:99](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L99)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -398,7 +398,7 @@ ___
|
||||
|
||||
**Ƭ SectionItem**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:79](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L79)*
|
||||
*Defined in [types.d.ts:79](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L79)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -409,7 +409,7 @@ ___
|
||||
|
||||
**Ƭ SectionItems**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:95](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L95)*
|
||||
*Defined in [types.d.ts:95](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L95)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -420,7 +420,7 @@ ___
|
||||
|
||||
**Ƭ Sections**: *`Map`<`T`, [Section](#section)<`T`, `Priv`, `Pub`>>*
|
||||
|
||||
*Defined in [types.d.ts:109](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/types.d.ts#L109)*
|
||||
*Defined in [types.d.ts:109](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/types.d.ts#L109)*
|
||||
|
||||
___
|
||||
|
||||
@@ -432,7 +432,7 @@ ___
|
||||
|
||||
▸ **accountId**(input: * `Uint8Array` | `null` | `undefined`*, version: *[EncodingVersions](#encodingversions)*, isStorage: *`boolean`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/accountId.ts:13](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/accountId.ts#L13)*
|
||||
*Defined in [decode/value/accountId.ts:13](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/accountId.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -451,7 +451,7 @@ ___
|
||||
|
||||
▸ **bn**(input: * `Uint8Array` | `null` | `undefined`*, bitLength: * `32` | `64` | `128`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/bn.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/bn.ts#L10)*
|
||||
*Defined in [decode/value/bn.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/bn.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -469,7 +469,7 @@ ___
|
||||
|
||||
▸ **bool**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/bool.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/bool.ts#L10)*
|
||||
*Defined in [decode/value/bool.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/bool.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -486,7 +486,7 @@ ___
|
||||
|
||||
▸ **byte**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/byte.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/byte.ts#L7)*
|
||||
*Defined in [decode/value/byte.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/byte.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -503,7 +503,7 @@ ___
|
||||
|
||||
▸ **bytes**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/bytes.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/bytes.ts#L9)*
|
||||
*Defined in [decode/value/bytes.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/bytes.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -520,7 +520,7 @@ ___
|
||||
|
||||
▸ **call**(decode: *[Decoder](#decoder)*, input: * `Uint8Array` | `null` | `undefined`*, isPublic: *`boolean`*, version: *[EncodingVersions](#encodingversions)*, isStorage: *`boolean`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/method.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/method.ts#L19)*
|
||||
*Defined in [decode/value/method.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/method.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -541,7 +541,7 @@ ___
|
||||
|
||||
▸ **code**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/code.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/code.ts#L9)*
|
||||
*Defined in [decode/value/code.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/code.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -558,7 +558,7 @@ ___
|
||||
|
||||
▸ **createMethod**<`T`>(section: *`keyof T`*, sectionIndex: *`Uint8Array`*): [CreateItems](#createitems)<`T`>
|
||||
|
||||
*Defined in [method.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/method.ts#L11)*
|
||||
*Defined in [method.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/method.ts#L11)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -579,7 +579,7 @@ ___
|
||||
|
||||
▸ **createParam**(name: *`string`*, type: *[Param$Types](#param_types)*, __namedParameters?: *`object`*): [Param](#param)
|
||||
|
||||
*Defined in [param.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/param.ts#L7)*
|
||||
*Defined in [param.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/param.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -598,7 +598,7 @@ ___
|
||||
|
||||
▸ **createSection**<`T`>(name: *`keyof T`*, _index?: *`number`*): [CreateSection](#createsection)<`T`, `any`, `any`>
|
||||
|
||||
*Defined in [section.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/section.ts#L11)*
|
||||
*Defined in [section.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/section.ts#L11)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -619,7 +619,7 @@ ___
|
||||
|
||||
▸ **decode**(type: *[Param$Types](#param_types)*, _input: * `Uint8Array` | `string` | `null` | `undefined`*, version: *[EncodingVersions](#encodingversions)*, isStorage?: *`boolean`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/index.ts:65](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/index.ts#L65)*
|
||||
*Defined in [decode/index.ts:65](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/index.ts#L65)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -639,7 +639,7 @@ ___
|
||||
|
||||
▸ **decodeValue**(decode: *[Decoder](#decoder)*, type: *[Param$Type](#param_type)*, _input: * `Uint8Array` | `string` | `null` | `undefined`*, version: *[EncodingVersions](#encodingversions)*, isStorage: *`boolean`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/index.ts:30](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/index.ts#L30)*
|
||||
*Defined in [decode/value/index.ts:30](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/index.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -660,7 +660,7 @@ ___
|
||||
|
||||
▸ **digest**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/digest.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/digest.ts#L12)*
|
||||
*Defined in [decode/value/digest.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/digest.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -677,7 +677,7 @@ ___
|
||||
|
||||
▸ **encodeParam**(param: *[Param](#param)*, value: *`any`*, version?: *[EncodingVersions](#encodingversions)*): `Uint8Array`
|
||||
|
||||
*Defined in [encode/param.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/encode/param.ts#L14)*
|
||||
*Defined in [encode/param.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/encode/param.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -696,7 +696,7 @@ ___
|
||||
|
||||
▸ **encodeParams**(params: *[Params](#params)*, values: *`Array`<`any`>*, version: *[EncodingVersions](#encodingversions)*): `Uint8Array`
|
||||
|
||||
*Defined in [encode/index.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/encode/index.ts#L12)*
|
||||
*Defined in [encode/index.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/encode/index.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -715,7 +715,7 @@ ___
|
||||
|
||||
▸ **encodeType**(type: *[Param$Type](#param_type)*, value: *`any`*, version: *[EncodingVersions](#encodingversions)*): `Uint8Array`
|
||||
|
||||
*Defined in [encode/type/index.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/encode/type/index.ts#L19)*
|
||||
*Defined in [encode/type/index.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/encode/type/index.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -734,7 +734,7 @@ ___
|
||||
|
||||
▸ **header**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/header.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/header.ts#L9)*
|
||||
*Defined in [decode/value/header.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/header.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -751,7 +751,7 @@ ___
|
||||
|
||||
▸ **keyValue**(__namedParameters: *`object`*): `Uint8Array`
|
||||
|
||||
*Defined in [encode/type/keyValue.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/encode/type/keyValue.ts#L12)*
|
||||
*Defined in [encode/type/keyValue.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/encode/type/keyValue.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -768,7 +768,7 @@ ___
|
||||
|
||||
▸ **misbehavior**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/misbehavior.ts:21](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/misbehavior.ts#L21)*
|
||||
*Defined in [decode/value/misbehavior.ts:21](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/misbehavior.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -785,7 +785,7 @@ ___
|
||||
|
||||
▸ **passThrough**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/passThrough.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/passThrough.ts#L7)*
|
||||
*Defined in [decode/value/passThrough.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/passThrough.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -802,7 +802,7 @@ ___
|
||||
|
||||
▸ **signature**<`T`>(__namedParameters: *`object`*): `string`
|
||||
|
||||
*Defined in [signature.ts:20](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/signature.ts#L20)*
|
||||
*Defined in [signature.ts:20](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/signature.ts#L20)*
|
||||
|
||||
*__name__*: signature
|
||||
|
||||
@@ -834,7 +834,7 @@ ___
|
||||
|
||||
▸ **storageKey**(__namedParameters: *[`object`, `Array`]*): `Uint8Array`
|
||||
|
||||
*Defined in [encode/type/storageKey.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/encode/type/storageKey.ts#L10)*
|
||||
*Defined in [encode/type/storageKey.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/encode/type/storageKey.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -851,7 +851,7 @@ ___
|
||||
|
||||
▸ **string**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/string.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/string.ts#L12)*
|
||||
*Defined in [decode/value/string.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/string.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -868,7 +868,7 @@ ___
|
||||
|
||||
▸ **time**(input: * `Uint8Array` | `null` | `undefined`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/time.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/time.ts#L9)*
|
||||
*Defined in [decode/value/time.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/time.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -885,7 +885,7 @@ ___
|
||||
|
||||
▸ **typeToString**(type: *[Param$Types](#param_types)*): `string`
|
||||
|
||||
*Defined in [typeToString.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/typeToString.ts#L7)*
|
||||
*Defined in [typeToString.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/typeToString.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -902,7 +902,7 @@ ___
|
||||
|
||||
▸ **u8a**(input: * `Uint8Array` | `null` | `undefined`*, bitLength: *`number`*, offset: *`number`*): [Param$Decoded](#param_decoded)
|
||||
|
||||
*Defined in [decode/value/u8a.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-params/src/decode/value/u8a.ts#L7)*
|
||||
*Defined in [decode/value/u8a.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-params/src/decode/value/u8a.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
+100
-100
@@ -143,7 +143,7 @@ function getBalance (accountId: AccountId): Balance {
|
||||
|
||||
**Ƭ AccountId**: *[H256](#h256)*
|
||||
|
||||
*Defined in [base.d.ts:17](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L17)*
|
||||
*Defined in [base.d.ts:17](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L17)*
|
||||
|
||||
___
|
||||
<a id="balance"></a>
|
||||
@@ -152,7 +152,7 @@ ___
|
||||
|
||||
**Ƭ Balance**: *[U128](#u128)*
|
||||
|
||||
*Defined in [base.d.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L18)*
|
||||
*Defined in [base.d.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="block"></a>
|
||||
@@ -161,7 +161,7 @@ ___
|
||||
|
||||
**Ƭ Block**: *`object`*
|
||||
|
||||
*Defined in [block.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/block.d.ts#L8)*
|
||||
*Defined in [block.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/block.d.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -172,7 +172,7 @@ ___
|
||||
|
||||
**Ƭ BlockIncomplete**: *`object`*
|
||||
|
||||
*Defined in [create/types.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/create/types.d.ts#L19)*
|
||||
*Defined in [create/types.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/create/types.d.ts#L19)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
**Ƭ BlockNumber**: *[U64](#u64)*
|
||||
|
||||
*Defined in [base.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L19)*
|
||||
*Defined in [base.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L19)*
|
||||
|
||||
___
|
||||
<a id="bytes"></a>
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
**Ƭ Bytes**: *`Uint8Array`*
|
||||
|
||||
*Defined in [base.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L7)*
|
||||
*Defined in [base.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L7)*
|
||||
|
||||
___
|
||||
<a id="candidate"></a>
|
||||
@@ -201,7 +201,7 @@ ___
|
||||
|
||||
**Ƭ Candidate**: *`object`*
|
||||
|
||||
*Defined in [candidate.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/candidate.d.ts#L7)*
|
||||
*Defined in [candidate.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/candidate.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
**Ƭ CandidateReceipt**: *`object`*
|
||||
|
||||
*Defined in [candidate.d.ts:17](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/candidate.d.ts#L17)*
|
||||
*Defined in [candidate.d.ts:17](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/candidate.d.ts#L17)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -223,7 +223,7 @@ ___
|
||||
|
||||
**Ƭ CandidateReceipt$BalanceUpload**: *[[AccountId](#accountid), [Balance](#balance)]*
|
||||
|
||||
*Defined in [candidate.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/candidate.d.ts#L14)*
|
||||
*Defined in [candidate.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/candidate.d.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="candidatereceipt_egressqueueroot"></a>
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
**Ƭ CandidateReceipt$EgressQueueRoot**: *[[ChainId](#chainid), [Hash](#hash)]*
|
||||
|
||||
*Defined in [candidate.d.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/candidate.d.ts#L15)*
|
||||
*Defined in [candidate.d.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/candidate.d.ts#L15)*
|
||||
|
||||
___
|
||||
<a id="chainid"></a>
|
||||
@@ -241,7 +241,7 @@ ___
|
||||
|
||||
**Ƭ ChainId**: *[U32](#u32)*
|
||||
|
||||
*Defined in [base.d.ts:20](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L20)*
|
||||
*Defined in [base.d.ts:20](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L20)*
|
||||
|
||||
___
|
||||
<a id="digest"></a>
|
||||
@@ -250,7 +250,7 @@ ___
|
||||
|
||||
**Ƭ Digest**: *`object`*
|
||||
|
||||
*Defined in [digest.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/digest.d.ts#L9)*
|
||||
*Defined in [digest.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/digest.d.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -261,7 +261,7 @@ ___
|
||||
|
||||
**Ƭ Digest$Log**: *[Bytes](#bytes)*
|
||||
|
||||
*Defined in [digest.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/digest.d.ts#L7)*
|
||||
*Defined in [digest.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/digest.d.ts#L7)*
|
||||
|
||||
___
|
||||
<a id="extrinsicfunction"></a>
|
||||
@@ -270,7 +270,7 @@ ___
|
||||
|
||||
**Ƭ ExtrinsicFunction**: *`Uint8Array`*
|
||||
|
||||
*Defined in [extrinsic.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/extrinsic.d.ts#L8)*
|
||||
*Defined in [extrinsic.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/extrinsic.d.ts#L8)*
|
||||
|
||||
___
|
||||
<a id="h160"></a>
|
||||
@@ -279,7 +279,7 @@ ___
|
||||
|
||||
**Ƭ H160**: *`Uint8Array`*
|
||||
|
||||
*Defined in [base.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L9)*
|
||||
*Defined in [base.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L9)*
|
||||
|
||||
___
|
||||
<a id="h256"></a>
|
||||
@@ -288,7 +288,7 @@ ___
|
||||
|
||||
**Ƭ H256**: *`Uint8Array`*
|
||||
|
||||
*Defined in [base.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L10)*
|
||||
*Defined in [base.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L10)*
|
||||
|
||||
___
|
||||
<a id="h512"></a>
|
||||
@@ -297,7 +297,7 @@ ___
|
||||
|
||||
**Ƭ H512**: *`Uint8Array`*
|
||||
|
||||
*Defined in [base.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L11)*
|
||||
*Defined in [base.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L11)*
|
||||
|
||||
___
|
||||
<a id="hash"></a>
|
||||
@@ -306,7 +306,7 @@ ___
|
||||
|
||||
**Ƭ Hash**: *`Uint8Array`*
|
||||
|
||||
*Defined in [base.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L8)*
|
||||
*Defined in [base.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L8)*
|
||||
|
||||
___
|
||||
<a id="header"></a>
|
||||
@@ -315,7 +315,7 @@ ___
|
||||
|
||||
**Ƭ Header**: *`object`*
|
||||
|
||||
*Defined in [header.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/header.d.ts#L8)*
|
||||
*Defined in [header.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/header.d.ts#L8)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -326,7 +326,7 @@ ___
|
||||
|
||||
**Ƭ HeaderHash**: *[H256](#h256)*
|
||||
|
||||
*Defined in [base.d.ts:21](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L21)*
|
||||
*Defined in [base.d.ts:21](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L21)*
|
||||
|
||||
___
|
||||
<a id="headerincomplete"></a>
|
||||
@@ -335,7 +335,7 @@ ___
|
||||
|
||||
**Ƭ HeaderIncomplete**: *`object`*
|
||||
|
||||
*Defined in [create/types.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/create/types.d.ts#L9)*
|
||||
*Defined in [create/types.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/create/types.d.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -346,7 +346,7 @@ ___
|
||||
|
||||
**Ƭ Index**: *[U32](#u32)*
|
||||
|
||||
*Defined in [base.d.ts:22](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L22)*
|
||||
*Defined in [base.d.ts:22](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L22)*
|
||||
|
||||
___
|
||||
<a id="jsonaccountid"></a>
|
||||
@@ -355,7 +355,7 @@ ___
|
||||
|
||||
**Ƭ JsonAccountId**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:18](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L18)*
|
||||
*Defined in [json/types.d.ts:18](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L18)*
|
||||
|
||||
___
|
||||
<a id="jsonauthorityid"></a>
|
||||
@@ -364,7 +364,7 @@ ___
|
||||
|
||||
**Ƭ JsonAuthorityId**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L19)*
|
||||
*Defined in [json/types.d.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L19)*
|
||||
|
||||
___
|
||||
<a id="jsonblock"></a>
|
||||
@@ -373,7 +373,7 @@ ___
|
||||
|
||||
**Ƭ JsonBlock**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:57](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L57)*
|
||||
*Defined in [json/types.d.ts:57](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L57)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -384,7 +384,7 @@ ___
|
||||
|
||||
**Ƭ JsonBlockNumber**: *[JsonU64](#jsonu64)*
|
||||
|
||||
*Defined in [json/types.d.ts:20](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L20)*
|
||||
*Defined in [json/types.d.ts:20](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L20)*
|
||||
|
||||
___
|
||||
<a id="jsonbntype"></a>
|
||||
@@ -393,7 +393,7 @@ ___
|
||||
|
||||
**Ƭ JsonBnType**: *`string`*
|
||||
|
||||
*Defined in [json/types.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L7)*
|
||||
*Defined in [json/types.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L7)*
|
||||
|
||||
___
|
||||
<a id="jsonbytes"></a>
|
||||
@@ -403,7 +403,7 @@ ___
|
||||
**Ƭ JsonBytes**: * `string` | `Array`<`number`>
|
||||
*
|
||||
|
||||
*Defined in [json/types.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L10)*
|
||||
*Defined in [json/types.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L10)*
|
||||
|
||||
___
|
||||
<a id="jsondigest"></a>
|
||||
@@ -412,7 +412,7 @@ ___
|
||||
|
||||
**Ƭ JsonDigest**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:37](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L37)*
|
||||
*Defined in [json/types.d.ts:37](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L37)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -423,7 +423,7 @@ ___
|
||||
|
||||
**Ƭ JsonH160**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L11)*
|
||||
*Defined in [json/types.d.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L11)*
|
||||
|
||||
___
|
||||
<a id="jsonh256"></a>
|
||||
@@ -432,7 +432,7 @@ ___
|
||||
|
||||
**Ƭ JsonH256**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L12)*
|
||||
*Defined in [json/types.d.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L12)*
|
||||
|
||||
___
|
||||
<a id="jsonh512"></a>
|
||||
@@ -441,7 +441,7 @@ ___
|
||||
|
||||
**Ƭ JsonH512**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:13](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L13)*
|
||||
*Defined in [json/types.d.ts:13](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L13)*
|
||||
|
||||
___
|
||||
<a id="jsonhash"></a>
|
||||
@@ -450,7 +450,7 @@ ___
|
||||
|
||||
**Ƭ JsonHash**: *`string`*
|
||||
|
||||
*Defined in [json/types.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L8)*
|
||||
*Defined in [json/types.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L8)*
|
||||
|
||||
___
|
||||
<a id="jsonheader"></a>
|
||||
@@ -459,7 +459,7 @@ ___
|
||||
|
||||
**Ƭ JsonHeader**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:41](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L41)*
|
||||
*Defined in [json/types.d.ts:41](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L41)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -470,7 +470,7 @@ ___
|
||||
|
||||
**Ƭ JsonHeaderHash**: *[JsonH256](#jsonh256)*
|
||||
|
||||
*Defined in [json/types.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L14)*
|
||||
*Defined in [json/types.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="jsonjustification"></a>
|
||||
@@ -479,7 +479,7 @@ ___
|
||||
|
||||
**Ƭ JsonJustification**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:51](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L51)*
|
||||
*Defined in [json/types.d.ts:51](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L51)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -490,7 +490,7 @@ ___
|
||||
|
||||
**Ƭ JsonJustification$Signature**: *[`string`, `string`]*
|
||||
|
||||
*Defined in [json/types.d.ts:49](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L49)*
|
||||
*Defined in [json/types.d.ts:49](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L49)*
|
||||
|
||||
___
|
||||
<a id="jsonobjectid"></a>
|
||||
@@ -499,7 +499,7 @@ ___
|
||||
|
||||
**Ƭ JsonObjectId**: *[JsonU64](#jsonu64)*
|
||||
|
||||
*Defined in [json/types.d.ts:21](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L21)*
|
||||
*Defined in [json/types.d.ts:21](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L21)*
|
||||
|
||||
___
|
||||
<a id="jsonparachainid"></a>
|
||||
@@ -508,7 +508,7 @@ ___
|
||||
|
||||
**Ƭ JsonParaChainId**: *[JsonU64](#jsonu64)*
|
||||
|
||||
*Defined in [json/types.d.ts:22](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L22)*
|
||||
*Defined in [json/types.d.ts:22](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L22)*
|
||||
|
||||
___
|
||||
<a id="jsonsignature"></a>
|
||||
@@ -517,7 +517,7 @@ ___
|
||||
|
||||
**Ƭ JsonSignature**: *[JsonHash](#jsonhash)*
|
||||
|
||||
*Defined in [json/types.d.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L23)*
|
||||
*Defined in [json/types.d.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L23)*
|
||||
|
||||
___
|
||||
<a id="jsontransaction"></a>
|
||||
@@ -526,7 +526,7 @@ ___
|
||||
|
||||
**Ƭ JsonTransaction**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:25](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L25)*
|
||||
*Defined in [json/types.d.ts:25](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L25)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -537,7 +537,7 @@ ___
|
||||
|
||||
**Ƭ JsonU256**: *[JsonBnType](#jsonbntype)*
|
||||
|
||||
*Defined in [json/types.d.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L16)*
|
||||
*Defined in [json/types.d.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L16)*
|
||||
|
||||
___
|
||||
<a id="jsonu64"></a>
|
||||
@@ -546,7 +546,7 @@ ___
|
||||
|
||||
**Ƭ JsonU64**: *[JsonBnType](#jsonbntype)*
|
||||
|
||||
*Defined in [json/types.d.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L15)*
|
||||
*Defined in [json/types.d.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L15)*
|
||||
|
||||
___
|
||||
<a id="jsonunchecked"></a>
|
||||
@@ -555,7 +555,7 @@ ___
|
||||
|
||||
**Ƭ JsonUnchecked**: *`object`*
|
||||
|
||||
*Defined in [json/types.d.ts:32](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/types.d.ts#L32)*
|
||||
*Defined in [json/types.d.ts:32](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/types.d.ts#L32)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -566,8 +566,8 @@ ___
|
||||
|
||||
**Ƭ Justification**: *`object`*
|
||||
|
||||
*Defined in [bft.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/bft.d.ts#L9)*
|
||||
*Defined in [justification.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/justification.d.ts#L14)*
|
||||
*Defined in [bft.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/bft.d.ts#L9)*
|
||||
*Defined in [justification.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/justification.d.ts#L14)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -578,8 +578,8 @@ ___
|
||||
|
||||
**Ƭ Justification$Signature**: *`object`*
|
||||
|
||||
*Defined in [bft.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/bft.d.ts#L7)*
|
||||
*Defined in [justification.d.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/justification.d.ts#L9)*
|
||||
*Defined in [bft.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/bft.d.ts#L7)*
|
||||
*Defined in [justification.d.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/justification.d.ts#L9)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -590,7 +590,7 @@ ___
|
||||
|
||||
**Ƭ MisbehaviorReport**: *`object`*
|
||||
|
||||
*Defined in [misbehavior.d.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/misbehavior.d.ts#L7)*
|
||||
*Defined in [misbehavior.d.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/misbehavior.d.ts#L7)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -601,7 +601,7 @@ ___
|
||||
|
||||
**Ƭ ObjectId**: *[U64](#u64)*
|
||||
|
||||
*Defined in [base.d.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L23)*
|
||||
*Defined in [base.d.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L23)*
|
||||
|
||||
___
|
||||
<a id="parachainid"></a>
|
||||
@@ -610,7 +610,7 @@ ___
|
||||
|
||||
**Ƭ ParaChainId**: *[U64](#u64)*
|
||||
|
||||
*Defined in [base.d.ts:24](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L24)*
|
||||
*Defined in [base.d.ts:24](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L24)*
|
||||
|
||||
___
|
||||
<a id="proportion"></a>
|
||||
@@ -619,7 +619,7 @@ ___
|
||||
|
||||
**Ƭ Proportion**: *[U64](#u64)*
|
||||
|
||||
*Defined in [base.d.ts:25](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L25)*
|
||||
*Defined in [base.d.ts:25](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L25)*
|
||||
|
||||
___
|
||||
<a id="role"></a>
|
||||
@@ -628,7 +628,7 @@ ___
|
||||
|
||||
**Ƭ Role**: *`keyof RoleMap`*
|
||||
|
||||
*Defined in [role/index.d.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/role/index.d.ts#L12)*
|
||||
*Defined in [role/index.d.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/role/index.d.ts#L12)*
|
||||
|
||||
___
|
||||
<a id="rolemap"></a>
|
||||
@@ -637,7 +637,7 @@ ___
|
||||
|
||||
**Ƭ RoleMap**: *`object`*
|
||||
|
||||
*Defined in [role/index.d.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/role/index.d.ts#L5)*
|
||||
*Defined in [role/index.d.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/role/index.d.ts#L5)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -648,7 +648,7 @@ ___
|
||||
|
||||
**Ƭ Signature**: *[H512](#h512)*
|
||||
|
||||
*Defined in [base.d.ts:26](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L26)*
|
||||
*Defined in [base.d.ts:26](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L26)*
|
||||
|
||||
___
|
||||
<a id="sizetype"></a>
|
||||
@@ -658,7 +658,7 @@ ___
|
||||
**Ƭ SizeType**: * `32` | `64` | `128`
|
||||
*
|
||||
|
||||
*Defined in [sizes.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/sizes.ts#L5)*
|
||||
*Defined in [sizes.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/sizes.ts#L5)*
|
||||
|
||||
___
|
||||
<a id="timestamp"></a>
|
||||
@@ -667,7 +667,7 @@ ___
|
||||
|
||||
**Ƭ Timestamp**: *[U64](#u64)*
|
||||
|
||||
*Defined in [base.d.ts:27](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L27)*
|
||||
*Defined in [base.d.ts:27](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L27)*
|
||||
|
||||
___
|
||||
<a id="u128"></a>
|
||||
@@ -676,7 +676,7 @@ ___
|
||||
|
||||
**Ƭ U128**: *`BN`*
|
||||
|
||||
*Defined in [base.d.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L14)*
|
||||
*Defined in [base.d.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="u256"></a>
|
||||
@@ -685,7 +685,7 @@ ___
|
||||
|
||||
**Ƭ U256**: *`BN`*
|
||||
|
||||
*Defined in [base.d.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L15)*
|
||||
*Defined in [base.d.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L15)*
|
||||
|
||||
___
|
||||
<a id="u32"></a>
|
||||
@@ -694,7 +694,7 @@ ___
|
||||
|
||||
**Ƭ U32**: *`BN`*
|
||||
|
||||
*Defined in [base.d.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L12)*
|
||||
*Defined in [base.d.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L12)*
|
||||
|
||||
___
|
||||
<a id="u64"></a>
|
||||
@@ -703,7 +703,7 @@ ___
|
||||
|
||||
**Ƭ U64**: *`BN`*
|
||||
|
||||
*Defined in [base.d.ts:13](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/base.d.ts#L13)*
|
||||
*Defined in [base.d.ts:13](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/base.d.ts#L13)*
|
||||
|
||||
___
|
||||
<a id="unchecked"></a>
|
||||
@@ -712,7 +712,7 @@ ___
|
||||
|
||||
**Ƭ Unchecked**: *`object`*
|
||||
|
||||
*Defined in [extrinsic.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/extrinsic.d.ts#L10)*
|
||||
*Defined in [extrinsic.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/extrinsic.d.ts#L10)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -723,7 +723,7 @@ ___
|
||||
|
||||
**Ƭ UncheckedRaw**: *`Uint8Array`*
|
||||
|
||||
*Defined in [extrinsic.d.ts:17](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/extrinsic.d.ts#L17)*
|
||||
*Defined in [extrinsic.d.ts:17](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/extrinsic.d.ts#L17)*
|
||||
|
||||
___
|
||||
|
||||
@@ -735,7 +735,7 @@ ___
|
||||
|
||||
▸ **accountIdDecode**(value: *[JsonAccountId](#jsonaccountid)*): [AccountId](#accountid)
|
||||
|
||||
*Defined in [json/accountId/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/accountId/decode.ts#L10)*
|
||||
*Defined in [json/accountId/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/accountId/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -752,7 +752,7 @@ ___
|
||||
|
||||
▸ **accountIdEncode**(value: *[AccountId](#accountid)*): [JsonAccountId](#jsonaccountid)
|
||||
|
||||
*Defined in [json/accountId/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/accountId/encode.ts#L10)*
|
||||
*Defined in [json/accountId/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/accountId/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -769,7 +769,7 @@ ___
|
||||
|
||||
▸ **block**(__namedParameters: *`object`*): [Block](#block)
|
||||
|
||||
*Defined in [create/block.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/create/block.ts#L10)*
|
||||
*Defined in [create/block.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/create/block.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -786,7 +786,7 @@ ___
|
||||
|
||||
▸ **blockDecode**(__namedParameters: *`object`*): `BlockDecoded`
|
||||
|
||||
*Defined in [json/block/decode.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/block/decode.ts#L14)*
|
||||
*Defined in [json/block/decode.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/block/decode.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -803,7 +803,7 @@ ___
|
||||
|
||||
▸ **bnDecode**(value: *[JsonBnType](#jsonbntype)*, bitLength?: *`number`*): `BN`
|
||||
|
||||
*Defined in [json/bn/decode.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/bn/decode.ts#L12)*
|
||||
*Defined in [json/bn/decode.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/bn/decode.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -821,7 +821,7 @@ ___
|
||||
|
||||
▸ **bnEncode**(value: * `BN` | `number`*, bitLength?: *`number`*): [JsonBnType](#jsonbntype)
|
||||
|
||||
*Defined in [json/bn/encode.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/bn/encode.ts#L11)*
|
||||
*Defined in [json/bn/encode.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/bn/encode.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -839,7 +839,7 @@ ___
|
||||
|
||||
▸ **bytesDecode**(value: *[JsonBytes](#jsonbytes)*): [Bytes](#bytes)
|
||||
|
||||
*Defined in [json/bytes/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/bytes/decode.ts#L10)*
|
||||
*Defined in [json/bytes/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/bytes/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -856,7 +856,7 @@ ___
|
||||
|
||||
▸ **bytesEncode**(value: *[Bytes](#bytes)*): [JsonBytes](#jsonbytes)
|
||||
|
||||
*Defined in [json/bytes/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/bytes/encode.ts#L10)*
|
||||
*Defined in [json/bytes/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/bytes/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -873,7 +873,7 @@ ___
|
||||
|
||||
▸ **decodeArray**(input: *`Uint8Array`*): `DecodedArray`
|
||||
|
||||
*Defined in [codec/decoder/array.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/decoder/array.ts#L12)*
|
||||
*Defined in [codec/decoder/array.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/decoder/array.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -890,7 +890,7 @@ ___
|
||||
|
||||
▸ **decodeBlock**(u8a: *`Uint8Array`*): [Block](#block)
|
||||
|
||||
*Defined in [codec/block/decode.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/block/decode.ts#L11)*
|
||||
*Defined in [codec/block/decode.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/block/decode.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -907,7 +907,7 @@ ___
|
||||
|
||||
▸ **decodeHeader**(u8a: *`Uint8Array`*): `DecodedRaw`
|
||||
|
||||
*Defined in [codec/header/decodeRaw.ts:20](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/header/decodeRaw.ts#L20)*
|
||||
*Defined in [codec/header/decodeRaw.ts:20](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/header/decodeRaw.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -924,7 +924,7 @@ ___
|
||||
|
||||
▸ **decodeJustification**(u8a: *`Uint8Array`*): [Justification](#justification)
|
||||
|
||||
*Defined in [codec/justification/decode.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/justification/decode.ts#L9)*
|
||||
*Defined in [codec/justification/decode.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/justification/decode.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -941,7 +941,7 @@ ___
|
||||
|
||||
▸ **decodeRaw**(u8a: *`Uint8Array`*): `RawData`
|
||||
|
||||
*Defined in [codec/block/decodeRaw.ts:19](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/block/decodeRaw.ts#L19)*
|
||||
*Defined in [codec/block/decodeRaw.ts:19](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/block/decodeRaw.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -958,7 +958,7 @@ ___
|
||||
|
||||
▸ **decodeU8a**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/decoder/u8a.ts:7](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/decoder/u8a.ts#L7)*
|
||||
*Defined in [codec/decoder/u8a.ts:7](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/decoder/u8a.ts#L7)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -975,7 +975,7 @@ ___
|
||||
|
||||
▸ **encodeArray**(input: *`Array`<`Uint8Array`>*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/encoder/array.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/encoder/array.ts#L5)*
|
||||
*Defined in [codec/encoder/array.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/encoder/array.ts#L5)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -992,7 +992,7 @@ ___
|
||||
|
||||
▸ **encodeBlock**(__namedParameters: *`object`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/block/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/block/encode.ts#L10)*
|
||||
*Defined in [codec/block/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/block/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1009,7 +1009,7 @@ ___
|
||||
|
||||
▸ **encodeBlockRaw**(header: *`Uint8Array`*, extrinsics?: *`Array`<[UncheckedRaw](#uncheckedraw)>*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/block/encodeRaw.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/block/encodeRaw.ts#L12)*
|
||||
*Defined in [codec/block/encodeRaw.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/block/encodeRaw.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1027,7 +1027,7 @@ ___
|
||||
|
||||
▸ **encodeHeader**(__namedParameters: *`object`*, extrinsics?: *`Array`<[UncheckedRaw](#uncheckedraw)>*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/header/encode.ts:17](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/header/encode.ts#L17)*
|
||||
*Defined in [codec/header/encode.ts:17](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/header/encode.ts#L17)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1045,7 +1045,7 @@ ___
|
||||
|
||||
▸ **encodeU8a**(input: *`Uint8Array`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/encoder/u8a.ts:5](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/encoder/u8a.ts#L5)*
|
||||
*Defined in [codec/encoder/u8a.ts:5](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/encoder/u8a.ts#L5)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1062,7 +1062,7 @@ ___
|
||||
|
||||
▸ **extrinsicDecode**(extrinsic: *`Uint8Array`*): `BlockExtrinsicDecoded`
|
||||
|
||||
*Defined in [json/extrinsic/decode.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/extrinsic/decode.ts#L14)*
|
||||
*Defined in [json/extrinsic/decode.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/extrinsic/decode.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1079,7 +1079,7 @@ ___
|
||||
|
||||
▸ **extrinsicsRootRaw**(extrinsics?: *`Array`<[UncheckedRaw](#uncheckedraw)>*): `Uint8Array`
|
||||
|
||||
*Defined in [create/extrinsic/rootRaw.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/create/extrinsic/rootRaw.ts#L10)*
|
||||
*Defined in [create/extrinsic/rootRaw.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/create/extrinsic/rootRaw.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1096,7 +1096,7 @@ ___
|
||||
|
||||
▸ **hashDecode**(value: *[JsonHash](#jsonhash)*, bitLength?: *`number`*): [Hash](#hash)
|
||||
|
||||
*Defined in [json/hash/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/hash/decode.ts#L10)*
|
||||
*Defined in [json/hash/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/hash/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1114,7 +1114,7 @@ ___
|
||||
|
||||
▸ **hashEncode**(value: * [Hash](#hash) | `string`*, bitLength?: *`number`*): [JsonHash](#jsonhash)
|
||||
|
||||
*Defined in [json/hash/encode.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/hash/encode.ts#L11)*
|
||||
*Defined in [json/hash/encode.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/hash/encode.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1132,7 +1132,7 @@ ___
|
||||
|
||||
▸ **header**(__namedParameters: *`object`*, extrinsics?: *`Array`<[UncheckedRaw](#uncheckedraw)>*): [Header](#header)
|
||||
|
||||
*Defined in [create/header.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/create/header.ts#L14)*
|
||||
*Defined in [create/header.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/create/header.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1150,7 +1150,7 @@ ___
|
||||
|
||||
▸ **headerDecode**(__namedParameters: *`object`*): [Header](#header)
|
||||
|
||||
*Defined in [json/header/decode.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/header/decode.ts#L15)*
|
||||
*Defined in [json/header/decode.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/header/decode.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1167,7 +1167,7 @@ ___
|
||||
|
||||
▸ **headerEncode**(__namedParameters: *`object`*): [JsonHeader](#jsonheader)
|
||||
|
||||
*Defined in [json/header/encode.ts:13](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/header/encode.ts#L13)*
|
||||
*Defined in [json/header/encode.ts:13](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/header/encode.ts#L13)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1184,7 +1184,7 @@ ___
|
||||
|
||||
▸ **headerHash**(header: *[Header](#header)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/header/hash.ts:11](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/codec/header/hash.ts#L11)*
|
||||
*Defined in [codec/header/hash.ts:11](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/codec/header/hash.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1201,7 +1201,7 @@ ___
|
||||
|
||||
▸ **justificationDecode**(__namedParameters: *`object`*): `BlockJustificationDecoded`
|
||||
|
||||
*Defined in [json/justification/decode.ts:12](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/justification/decode.ts#L12)*
|
||||
*Defined in [json/justification/decode.ts:12](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/justification/decode.ts#L12)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1218,7 +1218,7 @@ ___
|
||||
|
||||
▸ **justificationEncode**(__namedParameters: *`object`*): [JsonJustification](#jsonjustification)
|
||||
|
||||
*Defined in [json/justification/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/justification/encode.ts#L10)*
|
||||
*Defined in [json/justification/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/justification/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1235,7 +1235,7 @@ ___
|
||||
|
||||
▸ **objectIdDecode**(value: *[JsonObjectId](#jsonobjectid)*): [ObjectId](#objectid)
|
||||
|
||||
*Defined in [json/objectId/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/objectId/decode.ts#L10)*
|
||||
*Defined in [json/objectId/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/objectId/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1252,7 +1252,7 @@ ___
|
||||
|
||||
▸ **objectIdEncode**(value: *[ObjectId](#objectid)*): [JsonObjectId](#jsonobjectid)
|
||||
|
||||
*Defined in [json/objectId/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/objectId/encode.ts#L10)*
|
||||
*Defined in [json/objectId/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/objectId/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1269,7 +1269,7 @@ ___
|
||||
|
||||
▸ **parachainIdDecode**(value: *[JsonParaChainId](#jsonparachainid)*): [ParaChainId](#parachainid)
|
||||
|
||||
*Defined in [json/parachainId/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/parachainId/decode.ts#L10)*
|
||||
*Defined in [json/parachainId/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/parachainId/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1286,7 +1286,7 @@ ___
|
||||
|
||||
▸ **parachainIdEncode**(value: *[ParaChainId](#parachainid)*): [JsonParaChainId](#jsonparachainid)
|
||||
|
||||
*Defined in [json/parachainId/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/parachainId/encode.ts#L10)*
|
||||
*Defined in [json/parachainId/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/parachainId/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1303,7 +1303,7 @@ ___
|
||||
|
||||
▸ **rolesFromId**(roleId: *`number`*): `Array`<[Role](#role)>
|
||||
|
||||
*Defined in [role/fromId.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/role/fromId.ts#L9)*
|
||||
*Defined in [role/fromId.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/role/fromId.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1320,7 +1320,7 @@ ___
|
||||
|
||||
▸ **rolesToId**(roles: *`Array`<[Role](#role)>*): `number`
|
||||
|
||||
*Defined in [role/toId.ts:9](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/role/toId.ts#L9)*
|
||||
*Defined in [role/toId.ts:9](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/role/toId.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1337,7 +1337,7 @@ ___
|
||||
|
||||
▸ **signatureDecode**(value: *[JsonSignature](#jsonsignature)*): [Signature](#signature)
|
||||
|
||||
*Defined in [json/signature/decode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/signature/decode.ts#L10)*
|
||||
*Defined in [json/signature/decode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/signature/decode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -1354,7 +1354,7 @@ ___
|
||||
|
||||
▸ **signatureEncode**(value: *[Signature](#signature)*): [JsonSignature](#jsonsignature)
|
||||
|
||||
*Defined in [json/signature/encode.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-primitives/src/json/signature/encode.ts#L10)*
|
||||
*Defined in [json/signature/encode.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-primitives/src/json/signature/encode.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ An base interface to the storage layer
|
||||
|
||||
**Ƭ Keygen**: *`function`*
|
||||
|
||||
*Defined in [key/index.ts:14](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/key/index.ts#L14)*
|
||||
*Defined in [key/index.ts:14](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/key/index.ts#L14)*
|
||||
|
||||
#### Type declaration
|
||||
▸(...keyParams: *`Array`<[Storage$Key$Value](#storage_key_value)>*): `Uint8Array`
|
||||
@@ -51,7 +51,7 @@ ___
|
||||
**Ƭ Storage$Key$Value**: * `number` | `BN` | `Uint8Array` | `string`
|
||||
*
|
||||
|
||||
*Defined in [types.d.ts:8](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/types.d.ts#L8)*
|
||||
*Defined in [types.d.ts:8](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/types.d.ts#L8)*
|
||||
|
||||
___
|
||||
<a id="storage_sections"></a>
|
||||
@@ -60,7 +60,7 @@ ___
|
||||
|
||||
**Ƭ Storage$Sections**: *`keyof Storages`*
|
||||
|
||||
*Defined in [types.d.ts:23](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/types.d.ts#L23)*
|
||||
*Defined in [types.d.ts:23](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/types.d.ts#L23)*
|
||||
|
||||
___
|
||||
<a id="storages"></a>
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
**Ƭ Storages**: *`object`*
|
||||
|
||||
*Defined in [types.d.ts:10](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/types.d.ts#L10)*
|
||||
*Defined in [types.d.ts:10](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/types.d.ts#L10)*
|
||||
|
||||
#### Type declaration
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
▸ **bindKey**<`T`>(__namedParameters: *`object`*): [Keygen](#keygen)
|
||||
|
||||
*Defined in [key/index.ts:16](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/key/index.ts#L16)*
|
||||
*Defined in [key/index.ts:16](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/key/index.ts#L16)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
▸ **formatParams**(params: *`Params`*, values?: *[Storage$Key$Value](#storage_key_value)[]*): `Array`<`Uint8Array`>
|
||||
|
||||
*Defined in [key/params.ts:15](https://github.com/chevdor/polkadot-js-api/blob/461228c/packages/type-storage/src/key/params.ts#L15)*
|
||||
*Defined in [key/params.ts:15](https://github.com/polkadot-js/api/blob/0981a30/packages/type-storage/src/key/params.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user