[CI Skip] 0.31.11
This commit is contained in:
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new AccountId**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [AccountId](_accountid_.accountid.md)
|
||||
⊕ **new AccountId**(value?: *`AnyU8a`*): [AccountId](_accountid_.accountid.md)
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L20)*
|
||||
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
|
||||
| `Default value` value | `AnyU8a` | new Uint8Array() |
|
||||
|
||||
**Returns:** [AccountId](_accountid_.accountid.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -96,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
|
||||
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L44)*
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +104,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
|
||||
|
||||
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L50)*
|
||||
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L50)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -134,7 +123,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -147,7 +136,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L56)*
|
||||
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L56)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L60)*
|
||||
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L60)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -175,7 +164,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -190,15 +179,15 @@ ___
|
||||
|
||||
## `<Static>` decodeAccountId
|
||||
|
||||
▸ **decodeAccountId**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeAccountId**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountId.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L32)*
|
||||
*Defined in [AccountId.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -211,7 +200,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L28)*
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new AccountIndex**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [AccountIndex](_accountindex_.accountindex.md)
|
||||
⊕ **new AccountIndex**(value?: *`AnyU8a`*): [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [AccountIndex.ts:15](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L15)*
|
||||
*Defined in [AccountIndex.ts:15](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
|
||||
| `Default value` value | `AnyU8a` | new Uint8Array() |
|
||||
|
||||
**Returns:** [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L37)*
|
||||
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L37)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [AccountIndex.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L57)*
|
||||
*Defined in [AccountIndex.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [AccountIndex.ts:63](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L63)*
|
||||
*Defined in [AccountIndex.ts:63](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountIndex.ts:71](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L71)*
|
||||
*Defined in [AccountIndex.ts:71](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L71)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L75)*
|
||||
*Defined in [AccountIndex.ts:75](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L75)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,15 +177,15 @@ ___
|
||||
|
||||
## `<Static>` decodeAccountIndex
|
||||
|
||||
▸ **decodeAccountIndex**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeAccountIndex**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [AccountIndex.ts:28](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L28)*
|
||||
*Defined in [AccountIndex.ts:28](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -198,7 +198,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +215,7 @@ ___
|
||||
|
||||
▸ **encode**(value: *`Uint8Array`*): `string`
|
||||
|
||||
*Defined in [AccountIndex.ts:24](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L24)*
|
||||
*Defined in [AccountIndex.ts:24](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -232,7 +232,7 @@ ___
|
||||
|
||||
▸ **readLength**(input: *`Uint8Array`*): `number`
|
||||
|
||||
*Defined in [AccountIndex.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountIndex.ts#L41)*
|
||||
*Defined in [AccountIndex.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountIndex.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Address**(value?: * [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)*): [Address](_address_.address.md)
|
||||
⊕ **new Address**(value?: * [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | `AnyU8a`*): [Address](_address_.address.md)
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Address.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L22)*
|
||||
*Defined in [Address.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)| new Uint8Array() |
|
||||
| `Default value` value | [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | `AnyU8a`| new Uint8Array() |
|
||||
|
||||
**Returns:** [Address](_address_.address.md)
|
||||
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [Address.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L54)*
|
||||
*Defined in [Address.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L54)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [Address.ts:62](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L62)*
|
||||
*Defined in [Address.ts:62](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L62)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [Address.ts:68](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L68)*
|
||||
*Defined in [Address.ts:68](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L68)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Address.ts:76](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L76)*
|
||||
*Defined in [Address.ts:76](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L76)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Address.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L80)*
|
||||
*Defined in [Address.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L80)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -130,7 +130,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Address.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L84)*
|
||||
*Defined in [Address.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L84)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -145,15 +145,15 @@ ___
|
||||
|
||||
## `<Static>` decodeAddress
|
||||
|
||||
▸ **decodeAddress**(value: * [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)*): [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md)
|
||||
▸ **decodeAddress**(value: * [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | `AnyU8a`*): [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
*Defined in [Address.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Address.ts#L29)*
|
||||
*Defined in [Address.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Address.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| value | [Address](_address_.address.md) | [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md) | `AnyU8a`|
|
||||
|
||||
**Returns:** [AccountId](_accountid_.accountid.md) | [AccountIndex](_accountindex_.accountindex.md)
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new AuthorityId**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [AuthorityId](_authorityid_.authorityid.md)
|
||||
⊕ **new AuthorityId**(value?: *`AnyU8a`*): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[constructor](_accountid_.accountid.md#constructor)*
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L20)*
|
||||
*Defined in [AccountId.ts:20](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
|
||||
| `Default value` value | `AnyU8a` | new Uint8Array() |
|
||||
|
||||
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromJSON](_codec_u8afixed_.u8afixed.md#fromjson)*
|
||||
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L44)*
|
||||
*Defined in [AccountId.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
|
||||
|
||||
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L50)*
|
||||
*Defined in [AccountId.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L50)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toJSON](_codec_u8a_.u8a.md#tojson)*
|
||||
|
||||
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L56)*
|
||||
*Defined in [AccountId.ts:56](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L56)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toString](_codec_u8a_.u8a.md#tostring)*
|
||||
|
||||
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L60)*
|
||||
*Defined in [AccountId.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L60)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +172,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,17 +187,17 @@ ___
|
||||
|
||||
## `<Static>` decodeAccountId
|
||||
|
||||
▸ **decodeAccountId**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeAccountId**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[decodeAccountId](_accountid_.accountid.md#decodeaccountid)*
|
||||
|
||||
*Defined in [AccountId.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L32)*
|
||||
*Defined in [AccountId.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L32)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -221,7 +210,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -240,7 +229,7 @@ ___
|
||||
|
||||
*Inherited from [AccountId](_accountid_.accountid.md).[encode](_accountid_.accountid.md#encode)*
|
||||
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/AccountId.ts#L28)*
|
||||
*Defined in [AccountId.ts:28](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/AccountId.ts#L28)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Balance**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Balance](_balance_.balance.md)
|
||||
⊕ **new Balance**(value?: *`AnyNumber`*): [Balance](_balance_.balance.md)
|
||||
|
||||
*Inherited from [U128](_u128_.u128.md).[constructor](_u128_.u128.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U128.ts#L9)*
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U128.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Balance](_balance_.balance.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L22)*
|
||||
*Defined in [Bft.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getauthorityId(): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L30)*
|
||||
*Defined in [Bft.ts:30](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L30)*
|
||||
|
||||
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L34)*
|
||||
*Defined in [Bft.ts:34](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L34)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L60)*
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L72)*
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -291,11 +269,11 @@ ___
|
||||
|
||||
## `<Static>` decodeTuple
|
||||
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `V`
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | `AnyU8a`*): `V`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeTuple](_codec_tuple_.tuple.md#decodetuple)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L29)*
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| _value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| _value | `V` | `AnyU8a`|
|
||||
|
||||
**Returns:** `V`
|
||||
|
||||
@@ -321,7 +299,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L50)*
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L50)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L46)*
|
||||
*Defined in [Bft.ts:46](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L46)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L54)*
|
||||
*Defined in [Bft.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L54)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L58)*
|
||||
*Defined in [Bft.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L58)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L60)*
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L72)*
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -291,11 +269,11 @@ ___
|
||||
|
||||
## `<Static>` decodeTuple
|
||||
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `V`
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | `AnyU8a`*): `V`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeTuple](_codec_tuple_.tuple.md#decodetuple)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L29)*
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| _value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| _value | `V` | `AnyU8a`|
|
||||
|
||||
**Returns:** `V`
|
||||
|
||||
@@ -321,7 +299,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L50)*
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L50)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L69)*
|
||||
*Defined in [Bft.ts:69](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L69)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L80)*
|
||||
*Defined in [Bft.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L80)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getround(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L84)*
|
||||
*Defined in [Bft.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L84)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getsignatures(): [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
|
||||
|
||||
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bft.ts#L88)*
|
||||
*Defined in [Bft.ts:88](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bft.ts#L88)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[BftAuthoritySignature](_bft_.bftauthoritysignature.md)>
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +197,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +212,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +227,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -281,7 +259,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Block.ts#L20)*
|
||||
*Defined in [Block.ts:20](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Block.ts#L20)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getextrinsics(): [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Block.ts#L28)*
|
||||
*Defined in [Block.ts:28](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Block.ts#L28)*
|
||||
|
||||
**Returns:** [Extrinsics](_extrinsics_.extrinsics.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Block.ts#L33)*
|
||||
*Defined in [Block.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Block.ts#L33)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getheader(): [Header](_header_.header.md)
|
||||
|
||||
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Block.ts#L39)*
|
||||
*Defined in [Block.ts:39](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Block.ts#L39)*
|
||||
|
||||
**Returns:** [Header](_header_.header.md)
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +197,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +212,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +227,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -281,7 +259,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new BlockNumber**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
⊕ **new BlockNumber**(value?: *`AnyNumber`*): [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
*Inherited from [U64](_u64_.u64.md).[constructor](_u64_.u64.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Bool.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L9)*
|
||||
*Defined in [Bool.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [Bool.ts:25](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L25)*
|
||||
*Defined in [Bool.ts:25](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L25)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [Bool.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L29)*
|
||||
*Defined in [Bool.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [Bool.ts:35](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L35)*
|
||||
*Defined in [Bool.ts:35](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L35)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Bool.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L41)*
|
||||
*Defined in [Bool.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L41)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -116,7 +116,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Bool.ts:49](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L49)*
|
||||
*Defined in [Bool.ts:49](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L49)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Bool.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L45)*
|
||||
*Defined in [Bool.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
▸ **decodeBool**(value: *`any`*): `boolean`
|
||||
|
||||
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bool.ts#L16)*
|
||||
*Defined in [Bool.ts:16](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bool.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,17 +16,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Bytes**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Bytes](_bytes_.bytes.md)
|
||||
⊕ **new Bytes**(value: *`AnyU8a`*): [Bytes](_bytes_.bytes.md)
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** [Bytes](_bytes_.bytes.md)
|
||||
|
||||
@@ -42,7 +42,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L45)*
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L45)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L49)*
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L49)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -87,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L41)*
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L53)*
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -140,7 +140,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -155,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L61)*
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -183,15 +183,15 @@ ___
|
||||
|
||||
## `<Static>` decodeBytes
|
||||
|
||||
▸ **decodeBytes**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeBytes**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L23)*
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -204,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
⊕ **new Base**(value?: *`any`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
**● raw**: *`T`*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
▸ **byteLength**(): `number`
|
||||
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L25)*
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L25)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
▸ **fromJSON**(input: *`any`*): [Base](_codec_base_.base.md)<`T`>
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
▸ **fromU8a**(input: *`Uint8Array`*): [Base](_codec_base_.base.md)<`T`>
|
||||
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L33)*
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -115,7 +115,7 @@ ___
|
||||
|
||||
▸ **toJSON**(): `any`
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -126,7 +126,7 @@ ___
|
||||
|
||||
▸ **toString**(): `string`
|
||||
|
||||
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L41)*
|
||||
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L41)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -137,7 +137,7 @@ ___
|
||||
|
||||
▸ **toU8a**(isBare?: * `undefined` | `false` | `true`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L45)*
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,19 +22,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*, isHexJson?: *`boolean`*): [Compact](_codec_compact_.compact.md)
|
||||
⊕ **new Compact**(value?: *`AnyNumber`*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*, isHexJson?: *`boolean`*): [Compact](_codec_compact_.compact.md)
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L31)*
|
||||
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyNumber](../modules/_types_d_.md#anynumber) | 0 |
|
||||
| `Default value` value | `AnyNumber` | 0 |
|
||||
| `Default value` bitLength | [UIntBitLength](../modules/_codec_uint_.md#uintbitlength) | DEFAULT_UINT_BITS |
|
||||
| `Default value` isHexJson | `boolean` | true |
|
||||
|
||||
@@ -44,17 +44,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -77,7 +66,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -96,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -109,7 +98,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -128,7 +117,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +138,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -187,7 +176,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -206,7 +195,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -225,7 +214,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -238,7 +227,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -276,7 +265,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -295,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -314,7 +303,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -327,7 +316,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -342,7 +331,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -355,7 +344,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -370,7 +359,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -383,7 +372,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -400,7 +389,7 @@ ___
|
||||
|
||||
▸ **decodeU8a**(_input: * `Uint8Array` | `string`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): [`number`, `BN`]
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -416,17 +405,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -437,7 +426,7 @@ ___
|
||||
|
||||
▸ **encodeU8a**(_value: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*, bitLength: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Enum.ts:21](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L21)*
|
||||
*Defined in [codec/Enum.ts:21](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L21)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -59,7 +59,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L41)*
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L41)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L45)*
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -91,7 +91,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L52)*
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L59)*
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L59)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L67)*
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L63)*
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -164,7 +164,7 @@ ___
|
||||
|
||||
▸ **decodeEnum**(value?: * [Enum](_codec_enum_.enum.md) | `number`*): `number`
|
||||
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L31)*
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L22)*
|
||||
*Defined in [codec/EnumType.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -46,7 +46,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -58,7 +58,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L40)*
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L40)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -74,7 +74,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -87,7 +87,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -106,7 +106,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L48)*
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
|
||||
▸ **setValue**(index?: * [EnumType](_codec_enumtype_.enumtype.md)<`T`> | `number`*, value?: *`any`*): `void`
|
||||
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L55)*
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L55)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -143,7 +143,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L72)*
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L76)*
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -167,7 +167,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L80)*
|
||||
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L80)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -180,7 +180,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L45)*
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Option.ts:16](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L16)*
|
||||
*Defined in [codec/Option.ts:16](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -53,7 +53,7 @@ ___
|
||||
|
||||
getisEmpty(): `boolean`
|
||||
|
||||
*Defined in [codec/Option.ts:46](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L46)*
|
||||
*Defined in [codec/Option.ts:46](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L46)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getvalue(): `T` | `undefined`
|
||||
|
||||
*Defined in [codec/Option.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L50)*
|
||||
*Defined in [codec/Option.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L50)*
|
||||
|
||||
**Returns:** `T` | `undefined`
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Option.ts:56](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L56)*
|
||||
*Defined in [codec/Option.ts:56](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L56)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Option.ts:64](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L64)*
|
||||
*Defined in [codec/Option.ts:64](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L74)*
|
||||
*Defined in [codec/Option.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L74)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -131,7 +131,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Option.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L84)*
|
||||
*Defined in [codec/Option.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L84)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Option.ts:105](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L105)*
|
||||
*Defined in [codec/Option.ts:105](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L105)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Option.ts:90](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L90)*
|
||||
*Defined in [codec/Option.ts:90](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L90)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
▸ **decodeOption**<`O`>(Type: *`object`*, value?: *`any`*): [Base](_codec_base_.base.md)<`O`>
|
||||
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L26)*
|
||||
*Defined in [codec/Option.ts:26](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L26)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -195,7 +195,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *`object`*): `object`
|
||||
|
||||
*Defined in [codec/Option.ts:38](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Option.ts#L38)*
|
||||
*Defined in [codec/Option.ts:38](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Option.ts#L38)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -93,24 +93,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -119,7 +101,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -131,7 +113,7 @@ ___
|
||||
|
||||
getType(): `E`
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -147,7 +129,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -160,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +161,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +178,7 @@ ___
|
||||
|
||||
▸ **get**(index: *`number`*): [Base](_codec_base_.base.md)
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -213,7 +195,7 @@ ___
|
||||
|
||||
▸ **keys**(): `Array`<`string`>
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -226,7 +208,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -239,7 +221,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -252,7 +234,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -269,7 +251,7 @@ ___
|
||||
|
||||
▸ **values**(): `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -280,7 +262,7 @@ ___
|
||||
|
||||
▸ **decodeStruct**<`S`,`V`,`T`>(Types: *`S`*, value: *`any`*): `T`
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -303,7 +285,7 @@ ___
|
||||
|
||||
▸ **with**<`S`>(Types: *`S`*): `object`
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -25,18 +25,18 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Tuple**(Types: *`S`*, value?: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*, jsonMap?: *`Map`<`keyof S`, `string`>*): [Tuple](_codec_tuple_.tuple.md)
|
||||
⊕ **new Tuple**(Types: *`S`*, value?: * `V` | `AnyU8a`*, jsonMap?: *`Map`<`keyof S`, `string`>*): [Tuple](_codec_tuple_.tuple.md)
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L24)*
|
||||
*Defined in [codec/Tuple.ts:24](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| `Optional` value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| `Optional` value | `V` | `AnyU8a`|
|
||||
| `Optional` jsonMap | `Map`<`keyof S`, `string`> |
|
||||
|
||||
**Returns:** [Tuple](_codec_tuple_.tuple.md)
|
||||
@@ -45,28 +45,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -75,7 +53,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -89,7 +67,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -107,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -120,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L60)*
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +138,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +157,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -192,7 +170,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L72)*
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -207,7 +185,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -222,7 +200,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -241,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -254,7 +232,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -275,9 +253,9 @@ ___
|
||||
|
||||
## `<Static>` decodeTuple
|
||||
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `V`
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | `AnyU8a`*): `V`
|
||||
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L29)*
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -288,7 +266,7 @@ ___
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| _value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| _value | `V` | `AnyU8a`|
|
||||
|
||||
**Returns:** `V`
|
||||
|
||||
@@ -301,7 +279,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L50)*
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L50)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U8a**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [U8a](_codec_u8a_.u8a.md)
|
||||
⊕ **new U8a**(value?: *`AnyU8a`*): [U8a](_codec_u8a_.u8a.md)
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8a.ts:16](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L16)*
|
||||
*Defined in [codec/U8a.ts:16](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
|
||||
| `Default value` value | `AnyU8a` | new Uint8Array() |
|
||||
|
||||
**Returns:** [U8a](_codec_u8a_.u8a.md)
|
||||
|
||||
@@ -44,7 +44,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -72,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L37)*
|
||||
*Defined in [codec/U8a.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L37)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -85,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L41)*
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L47)*
|
||||
*Defined in [codec/U8a.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -121,7 +121,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -134,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -147,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +177,7 @@ ___
|
||||
|
||||
▸ **decodeU8a**(value: *`any`*): `Uint8Array`
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,17 +22,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U8aFixed**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*, bitLength?: *`BitLength`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
|
||||
⊕ **new U8aFixed**(value?: *`AnyU8a`*, bitLength?: *`BitLength`*): [U8aFixed](_codec_u8afixed_.u8afixed.md)
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyU8a](../modules/_types_d_.md#anyu8a) | new Uint8Array() |
|
||||
| `Default value` value | `AnyU8a` | new Uint8Array() |
|
||||
| `Default value` bitLength | `BitLength` | 256 |
|
||||
|
||||
**Returns:** [U8aFixed](_codec_u8afixed_.u8afixed.md)
|
||||
@@ -41,15 +41,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -58,7 +49,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -72,7 +63,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -88,7 +79,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -101,7 +92,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +130,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -154,7 +145,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -169,7 +160,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -184,7 +175,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -203,7 +194,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -26,17 +26,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new UInt**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*, isHexJson?: *`boolean`*): [UInt](_codec_uint_.uint.md)
|
||||
⊕ **new UInt**(value?: *`AnyNumber`*, bitLength?: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*, isHexJson?: *`boolean`*): [UInt](_codec_uint_.uint.md)
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L31)*
|
||||
*Defined in [codec/UInt.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [AnyNumber](../modules/_types_d_.md#anynumber) | 0 |
|
||||
| `Default value` value | `AnyNumber` | 0 |
|
||||
| `Default value` bitLength | [UIntBitLength](../modules/_codec_uint_.md#uintbitlength) | DEFAULT_UINT_BITS |
|
||||
| `Default value` isHexJson | `boolean` | true |
|
||||
|
||||
@@ -46,15 +46,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -63,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -75,7 +66,7 @@ ___
|
||||
|
||||
▸ **add**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -94,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -105,7 +96,7 @@ ___
|
||||
|
||||
▸ **cmp**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `number`
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -122,7 +113,7 @@ ___
|
||||
|
||||
▸ **div**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +132,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +151,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +168,7 @@ ___
|
||||
|
||||
▸ **gt**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -194,7 +185,7 @@ ___
|
||||
|
||||
▸ **gte**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -211,7 +202,7 @@ ___
|
||||
|
||||
▸ **isZero**(): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -222,7 +213,7 @@ ___
|
||||
|
||||
▸ **lt**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -239,7 +230,7 @@ ___
|
||||
|
||||
▸ **lte**(test: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `boolean`
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -256,7 +247,7 @@ ___
|
||||
|
||||
▸ **mul**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +264,7 @@ ___
|
||||
|
||||
▸ **sub**(other: * [UInt](_codec_uint_.uint.md) | `BN` | `number`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -290,7 +281,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -301,7 +292,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -314,7 +305,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -325,7 +316,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -338,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -351,7 +342,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -366,15 +357,15 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -55,7 +55,7 @@ ___
|
||||
|
||||
getType(): `string`
|
||||
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L66)*
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L66)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -66,7 +66,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L70)*
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L70)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -82,7 +82,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L74)*
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -93,7 +93,7 @@ ___
|
||||
|
||||
▸ **filter**(fn: *`function`*): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L80)*
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
▸ **find**(fn: *`function`*): `T` | `undefined`
|
||||
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L84)*
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L84)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -127,7 +127,7 @@ ___
|
||||
|
||||
▸ **forEach**(fn: *`function`*): `any`
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L92)*
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L92)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -165,7 +165,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -182,7 +182,7 @@ ___
|
||||
|
||||
▸ **get**(index: *`number`*): `T`
|
||||
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L107)*
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -199,7 +199,7 @@ ___
|
||||
|
||||
▸ **map**<`O`>(fn: *`function`*): `Array`<`O`>
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
▸ **push**(item: *`T`*): `void`
|
||||
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L115)*
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L115)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -236,7 +236,7 @@ ___
|
||||
|
||||
▸ **reduce**<`O`>(fn: *`function`*, initial: *`O`*): `O`
|
||||
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L119)*
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L119)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -259,7 +259,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L123)*
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L123)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -272,7 +272,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L142)*
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L142)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L129)*
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
▸ **decode**<`T`>(Type: *`object`*, value: * `Uint8Array` | `string` | `Array`<`any`>*): `Array`<`T`>
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -323,7 +323,7 @@ ___
|
||||
|
||||
▸ **with**<`O`>(Type: *`object`*): `object`
|
||||
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L58)*
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L58)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact128**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Compact128](_compact128_.compact128.md)
|
||||
⊕ **new Compact128**(value?: *`AnyNumber`*): [Compact128](_compact128_.compact128.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [Compact128.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Compact128.ts#L9)*
|
||||
*Defined in [Compact128.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Compact128.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Compact128](_compact128_.compact128.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -394,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,17 +399,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -433,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact16**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Compact16](_compact16_.compact16.md)
|
||||
⊕ **new Compact16**(value?: *`AnyNumber`*): [Compact16](_compact16_.compact16.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [Compact16.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Compact16.ts#L9)*
|
||||
*Defined in [Compact16.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Compact16.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Compact16](_compact16_.compact16.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -394,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,17 +399,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -433,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact256**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Compact256](_compact256_.compact256.md)
|
||||
⊕ **new Compact256**(value?: *`AnyNumber`*): [Compact256](_compact256_.compact256.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [Compact256.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Compact256.ts#L9)*
|
||||
*Defined in [Compact256.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Compact256.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Compact256](_compact256_.compact256.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -394,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,17 +399,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -433,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact32**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Compact32](_compact32_.compact32.md)
|
||||
⊕ **new Compact32**(value?: *`AnyNumber`*): [Compact32](_compact32_.compact32.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [Compact32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Compact32.ts#L9)*
|
||||
*Defined in [Compact32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Compact32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Compact32](_compact32_.compact32.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -394,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,17 +399,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -433,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Compact64**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Compact64](_compact64_.compact64.md)
|
||||
⊕ **new Compact64**(value?: *`AnyNumber`*): [Compact64](_compact64_.compact64.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [Compact64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Compact64.ts#L9)*
|
||||
*Defined in [Compact64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Compact64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Compact64](_compact64_.compact64.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[byteLength](_codec_uint_.uint.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L74)*
|
||||
*Defined in [codec/Compact.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[fromU8a](_codec_uint_.uint.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L78)*
|
||||
*Defined in [codec/Compact.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[toU8a](_codec_uint_.uint.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L86)*
|
||||
*Defined in [codec/Compact.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -394,7 +383,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[decodeU8a](_codec_compact_.compact.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L36)*
|
||||
*Defined in [codec/Compact.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -410,17 +399,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -433,7 +422,7 @@ ___
|
||||
|
||||
*Inherited from [Compact](_codec_compact_.compact.md).[encodeU8a](_codec_compact_.compact.md#encodeu8a)*
|
||||
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Compact.ts#L53)*
|
||||
*Defined in [codec/Compact.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Compact.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -26,17 +26,17 @@ Can be:
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Extrinsic**(value?: * `ExtrinsicValue` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
⊕ **new Extrinsic**(value?: * `ExtrinsicValue` | `AnyU8a`*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Extrinsic.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L37)*
|
||||
*Defined in [Extrinsic.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | `ExtrinsicValue` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| `Optional` value | `ExtrinsicValue` | `AnyU8a`|
|
||||
|
||||
**Returns:** [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
@@ -44,28 +44,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -74,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -88,7 +66,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -99,7 +77,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L70)*
|
||||
*Defined in [Extrinsic.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L70)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -110,7 +88,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L74)*
|
||||
*Defined in [Extrinsic.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L74)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -121,7 +99,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L79)*
|
||||
*Defined in [Extrinsic.ts:79](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L79)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -132,7 +110,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L85)*
|
||||
*Defined in [Extrinsic.ts:85](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L85)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -143,7 +121,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [Extrinsic.ts:89](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L89)*
|
||||
*Defined in [Extrinsic.ts:89](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L89)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -154,7 +132,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:93](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L93)*
|
||||
*Defined in [Extrinsic.ts:93](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L93)*
|
||||
|
||||
**Returns:** [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
@@ -165,7 +143,7 @@ ___
|
||||
|
||||
getmethod(): [Method](_method_.method.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:97](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L97)*
|
||||
*Defined in [Extrinsic.ts:97](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L97)*
|
||||
|
||||
**Returns:** [Method](_method_.method.md)
|
||||
|
||||
@@ -176,7 +154,7 @@ ___
|
||||
|
||||
getsignature(): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L101)*
|
||||
*Defined in [Extrinsic.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L101)*
|
||||
|
||||
**Returns:** [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
@@ -192,7 +170,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
|
||||
|
||||
*Defined in [Extrinsic.ts:105](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L105)*
|
||||
*Defined in [Extrinsic.ts:105](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L105)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -205,7 +183,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [Extrinsic.ts:111](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L111)*
|
||||
*Defined in [Extrinsic.ts:111](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L111)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -224,7 +202,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
|
||||
|
||||
*Defined in [Extrinsic.ts:117](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L117)*
|
||||
*Defined in [Extrinsic.ts:117](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L117)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -243,7 +221,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -262,7 +240,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -271,17 +249,17 @@ ___
|
||||
|
||||
## sign
|
||||
|
||||
▸ **sign**(signerPair: *`KeyringPair`*, nonce: *[AnyNumber](../modules/_types_d_.md#anynumber)*, blockHash: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
▸ **sign**(signerPair: *`KeyringPair`*, nonce: *`AnyNumber`*, blockHash: *`AnyU8a`*): [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
*Defined in [Extrinsic.ts:125](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L125)*
|
||||
*Defined in [Extrinsic.ts:125](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L125)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| signerPair | `KeyringPair` |
|
||||
| nonce | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| blockHash | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| nonce | `AnyNumber` |
|
||||
| blockHash | `AnyU8a` |
|
||||
|
||||
**Returns:** [Extrinsic](_extrinsic_.extrinsic.md)
|
||||
|
||||
@@ -292,7 +270,7 @@ ___
|
||||
|
||||
▸ **toHex**(): `string`
|
||||
|
||||
*Defined in [Extrinsic.ts:142](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L142)*
|
||||
*Defined in [Extrinsic.ts:142](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L142)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -305,7 +283,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [Extrinsic.ts:146](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L146)*
|
||||
*Defined in [Extrinsic.ts:146](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L146)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -320,7 +298,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -333,7 +311,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L131)*
|
||||
*Defined in [Extrinsic.ts:131](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L131)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -352,7 +330,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -361,15 +339,15 @@ ___
|
||||
|
||||
## `<Static>` decodeExtrinsic
|
||||
|
||||
▸ **decodeExtrinsic**(value?: * `ExtrinsicValue` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `any` | `Uint8Array`
|
||||
▸ **decodeExtrinsic**(value?: * `ExtrinsicValue` | `AnyU8a`*): `any` | `Uint8Array`
|
||||
|
||||
*Defined in [Extrinsic.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Extrinsic.ts#L45)*
|
||||
*Defined in [Extrinsic.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Extrinsic.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | `ExtrinsicValue` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| `Optional` value | `ExtrinsicValue` | `AnyU8a`|
|
||||
|
||||
**Returns:** `any` | `Uint8Array`
|
||||
|
||||
@@ -382,7 +360,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -407,7 +385,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new ExtrinsicEra**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
⊕ **new ExtrinsicEra**(value?: *`AnyU8a`*): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicEra.ts:11](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicEra.ts#L11)*
|
||||
*Defined in [ExtrinsicEra.ts:11](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicEra.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -81,7 +70,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -96,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -117,7 +106,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -136,7 +125,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -151,7 +140,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -166,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -181,7 +170,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -200,7 +189,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -45,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -59,7 +59,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L66)*
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L66)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -72,7 +72,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
|
||||
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L70)*
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L70)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L74)*
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -103,7 +103,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
|
||||
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L80)*
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -122,7 +122,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
|
||||
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L84)*
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L84)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -141,7 +141,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L92)*
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L92)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +202,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
|
||||
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L107)*
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -221,7 +221,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -243,7 +243,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
|
||||
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L115)*
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L115)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -262,7 +262,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
|
||||
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L119)*
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L119)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -287,7 +287,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L123)*
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L123)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -302,7 +302,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L142)*
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L142)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -317,7 +317,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L129)*
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -336,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decode](_codec_vector_.vector.md#decode)*
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -359,7 +359,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L58)*
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L58)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
*Defined in [ExtrinsicSignature.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L37)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getera(): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L77)*
|
||||
*Defined in [ExtrinsicSignature.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L77)*
|
||||
|
||||
**Returns:** [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L73)*
|
||||
*Defined in [ExtrinsicSignature.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L73)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getnonce(): `Nonce`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:81](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L81)*
|
||||
*Defined in [ExtrinsicSignature.ts:81](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L81)*
|
||||
|
||||
**Returns:** `Nonce`
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
getsignature(): [Signature](_signature_.signature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:85](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L85)*
|
||||
*Defined in [ExtrinsicSignature.ts:85](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L85)*
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
getsigner(): [Address](_address_.address.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:89](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L89)*
|
||||
*Defined in [ExtrinsicSignature.ts:89](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L89)*
|
||||
|
||||
**Returns:** [Address](_address_.address.md)
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
getversion(): `number`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:93](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L93)*
|
||||
*Defined in [ExtrinsicSignature.ts:93](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L93)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -157,9 +135,9 @@ ___
|
||||
|
||||
## addSignature
|
||||
|
||||
▸ **addSignature**(method: *[Method](_method_.method.md)*, signerPair: *`KeyringPair`*, nonce: *[AnyNumber](../modules/_types_d_.md#anynumber)*, blockHash: *[AnyU8a](../modules/_types_d_.md#anyu8a)*, era?: *`Uint8Array`*): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
▸ **addSignature**(method: *[Method](_method_.method.md)*, signerPair: *`KeyringPair`*, nonce: *`AnyNumber`*, blockHash: *`AnyU8a`*, era?: *`Uint8Array`*): [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:105](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L105)*
|
||||
*Defined in [ExtrinsicSignature.ts:105](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L105)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -167,8 +145,8 @@ ___
|
||||
| ------ | ------ | ------ |
|
||||
| method | [Method](_method_.method.md) | - |
|
||||
| signerPair | `KeyringPair` | - |
|
||||
| nonce | [AnyNumber](../modules/_types_d_.md#anynumber) | - |
|
||||
| blockHash | [AnyU8a](../modules/_types_d_.md#anyu8a) | - |
|
||||
| nonce | `AnyNumber` | - |
|
||||
| blockHash | `AnyU8a` | - |
|
||||
| `Default value` era | `Uint8Array` | IMMORTAL_ERA |
|
||||
|
||||
**Returns:** [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md)
|
||||
@@ -182,7 +160,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[byteLength](_codec_struct_.struct.md#bytelength)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:64](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L64)*
|
||||
*Defined in [ExtrinsicSignature.ts:64](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L64)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -197,7 +175,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -216,7 +194,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:124](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L124)*
|
||||
*Defined in [ExtrinsicSignature.ts:124](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L124)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +213,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -254,7 +232,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -269,7 +247,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -284,7 +262,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -297,7 +275,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toU8a](_codec_struct_.struct.md#tou8a)*
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:137](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L137)*
|
||||
*Defined in [ExtrinsicSignature.ts:137](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L137)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -316,7 +294,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -325,15 +303,15 @@ ___
|
||||
|
||||
## `<Static>` decodeExtrinsicSignature
|
||||
|
||||
▸ **decodeExtrinsicSignature**(value: * [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | [AnyU8a](../modules/_types_d_.md#anyu8a) | `undefined`*): `any` | `Uint8Array`
|
||||
▸ **decodeExtrinsicSignature**(value: * [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | `AnyU8a` | `undefined`*): `any` | `Uint8Array`
|
||||
|
||||
*Defined in [ExtrinsicSignature.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ExtrinsicSignature.ts#L47)*
|
||||
*Defined in [ExtrinsicSignature.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ExtrinsicSignature.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | [AnyU8a](../modules/_types_d_.md#anyu8a) | `undefined`|
|
||||
| value | [ExtrinsicSignature](_extrinsicsignature_.extrinsicsignature.md) | `ExtrinsicSignatureValue` | `AnyU8a` | `undefined`|
|
||||
|
||||
**Returns:** `any` | `Uint8Array`
|
||||
|
||||
@@ -346,7 +324,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -371,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Gas**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Gas](_gas_.gas.md)
|
||||
⊕ **new Gas**(value?: *`AnyNumber`*): [Gas](_gas_.gas.md)
|
||||
|
||||
*Inherited from [U64](_u64_.u64.md).[constructor](_u64_.u64.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Gas](_gas_.gas.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new H256**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [H256](_h256_.h256.md)
|
||||
⊕ **new H256**(value?: *`AnyU8a`*): [H256](_h256_.h256.md)
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/H256.ts#L11)*
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/H256.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [H256](_h256_.h256.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +172,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +191,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new H512**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [H512](_h512_.h512.md)
|
||||
⊕ **new H512**(value?: *`AnyU8a`*): [H512](_h512_.h512.md)
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H512.ts:10](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/H512.ts#L10)*
|
||||
*Defined in [H512.ts:10](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/H512.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [H512](_h512_.h512.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +172,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +191,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Hash**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Hash](_hash_.hash.md)
|
||||
⊕ **new Hash**(value?: *`AnyU8a`*): [Hash](_hash_.hash.md)
|
||||
|
||||
*Inherited from [H256](_h256_.h256.md).[constructor](_h256_.h256.md#constructor)*
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/H256.ts#L11)*
|
||||
*Defined in [H256.ts:11](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/H256.ts#L11)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +172,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +191,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Header.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L29)*
|
||||
*Defined in [Header.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getlogs(): [Vector](_codec_vector_.vector.md)<[Bytes](_bytes_.bytes.md)>
|
||||
|
||||
*Defined in [Header.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L36)*
|
||||
*Defined in [Header.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L36)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[Bytes](_bytes_.bytes.md)>
|
||||
|
||||
@@ -108,7 +86,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -144,7 +122,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -163,7 +141,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -182,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -197,7 +175,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -212,7 +190,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -227,7 +205,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -246,7 +224,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -259,7 +237,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -284,7 +262,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Header.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L42)*
|
||||
*Defined in [Header.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getblockNumber(): [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
*Defined in [Header.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L53)*
|
||||
*Defined in [Header.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L53)*
|
||||
|
||||
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getdigest(): [Digest](_header_.digest.md)
|
||||
|
||||
*Defined in [Header.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L57)*
|
||||
*Defined in [Header.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L57)*
|
||||
|
||||
**Returns:** [Digest](_header_.digest.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getextrinsicsRoot(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Header.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L61)*
|
||||
*Defined in [Header.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L61)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Header.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L66)*
|
||||
*Defined in [Header.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L66)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
getparentHash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Header.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L72)*
|
||||
*Defined in [Header.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L72)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
getstateRoot(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [Header.ts:76](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Header.ts#L76)*
|
||||
*Defined in [Header.ts:76](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Header.ts#L76)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -163,7 +141,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -178,7 +156,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -199,7 +177,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +196,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -252,7 +230,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -267,7 +245,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -282,7 +260,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -301,7 +279,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -314,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -339,7 +317,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [KeyValue.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L22)*
|
||||
*Defined in [KeyValue.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getkey(): [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
*Defined in [KeyValue.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L30)*
|
||||
*Defined in [KeyValue.ts:30](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L30)*
|
||||
|
||||
**Returns:** [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getvalue(): [StorageData](_storagedata_.storagedata.md)
|
||||
|
||||
*Defined in [KeyValue.ts:34](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L34)*
|
||||
*Defined in [KeyValue.ts:34](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L34)*
|
||||
|
||||
**Returns:** [StorageData](_storagedata_.storagedata.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [KeyValue.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L47)*
|
||||
*Defined in [KeyValue.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getkey(): [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
*Defined in [KeyValue.ts:55](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L55)*
|
||||
*Defined in [KeyValue.ts:55](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L55)*
|
||||
|
||||
**Returns:** [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getvalue(): [Option](_codec_option_.option.md)<[StorageData](_storagedata_.storagedata.md)>
|
||||
|
||||
*Defined in [KeyValue.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/KeyValue.ts#L59)*
|
||||
*Defined in [KeyValue.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/KeyValue.ts#L59)*
|
||||
|
||||
**Returns:** [Option](_codec_option_.option.md)<[StorageData](_storagedata_.storagedata.md)>
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L60)*
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L72)*
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -291,11 +269,11 @@ ___
|
||||
|
||||
## `<Static>` decodeTuple
|
||||
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `V`
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | `AnyU8a`*): `V`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeTuple](_codec_tuple_.tuple.md#decodetuple)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L29)*
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| _value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| _value | `V` | `AnyU8a`|
|
||||
|
||||
**Returns:** `V`
|
||||
|
||||
@@ -321,7 +299,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L50)*
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L50)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:164](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L164)*
|
||||
*Defined in [Metadata.ts:164](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L164)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getfunctions(): [Vector](_codec_vector_.vector.md)<[FunctionMetadata](_metadata_.functionmetadata.md)>
|
||||
|
||||
*Defined in [Metadata.ts:172](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L172)*
|
||||
*Defined in [Metadata.ts:172](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L172)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[FunctionMetadata](_metadata_.functionmetadata.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:176](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L176)*
|
||||
*Defined in [Metadata.ts:176](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L176)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:64](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L64)*
|
||||
*Defined in [Metadata.ts:64](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getarguments(): [Vector](_codec_vector_.vector.md)<[Type](_type_.type.md)>
|
||||
|
||||
*Defined in [Metadata.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L73)*
|
||||
*Defined in [Metadata.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L73)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[Type](_type_.type.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L77)*
|
||||
*Defined in [Metadata.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L77)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:81](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L81)*
|
||||
*Defined in [Metadata.ts:81](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L81)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +197,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +212,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +227,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -281,7 +259,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:120](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L120)*
|
||||
*Defined in [Metadata.ts:120](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L120)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:128](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L128)*
|
||||
*Defined in [Metadata.ts:128](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L128)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
gettype(): [Type](_type_.type.md)
|
||||
|
||||
*Defined in [Metadata.ts:132](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L132)*
|
||||
*Defined in [Metadata.ts:132](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L132)*
|
||||
|
||||
**Returns:** [Type](_type_.type.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:137](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L137)*
|
||||
*Defined in [Metadata.ts:137](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L137)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getarguments(): [Vector](_codec_vector_.vector.md)<[FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)>
|
||||
|
||||
*Defined in [Metadata.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L147)*
|
||||
*Defined in [Metadata.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L147)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata.ts:151](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L151)*
|
||||
*Defined in [Metadata.ts:151](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L151)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getid(): [U16](_u16_.u16.md)
|
||||
|
||||
*Defined in [Metadata.ts:155](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L155)*
|
||||
*Defined in [Metadata.ts:155](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L155)*
|
||||
|
||||
**Returns:** [U16](_u16_.u16.md)
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:159](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L159)*
|
||||
*Defined in [Metadata.ts:159](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L159)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -141,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -156,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +174,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -230,7 +208,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -245,7 +223,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -260,7 +238,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -279,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -292,7 +270,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -317,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:181](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L181)*
|
||||
*Defined in [Metadata.ts:181](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L181)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getcall(): [CallMetadata](_metadata_.callmetadata.md)
|
||||
|
||||
*Defined in [Metadata.ts:189](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L189)*
|
||||
*Defined in [Metadata.ts:189](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L189)*
|
||||
|
||||
**Returns:** [CallMetadata](_metadata_.callmetadata.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:193](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L193)*
|
||||
*Defined in [Metadata.ts:193](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L193)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:25](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L25)*
|
||||
*Defined in [Metadata.ts:25](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L25)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getindex(): [U16](_u16_.u16.md)
|
||||
|
||||
*Defined in [Metadata.ts:34](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L34)*
|
||||
*Defined in [Metadata.ts:34](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L34)*
|
||||
|
||||
**Returns:** [U16](_u16_.u16.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:38](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L38)*
|
||||
*Defined in [Metadata.ts:38](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L38)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L42)*
|
||||
*Defined in [Metadata.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L42)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +197,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +212,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +227,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -281,7 +259,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L47)*
|
||||
*Defined in [Metadata.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L47)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getcalls(): [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_.outerdispatchcall.md)>
|
||||
|
||||
*Defined in [Metadata.ts:55](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L55)*
|
||||
*Defined in [Metadata.ts:55](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L55)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_.outerdispatchcall.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L59)*
|
||||
*Defined in [Metadata.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L59)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:103](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L103)*
|
||||
*Defined in [Metadata.ts:103](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L103)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
|
||||
|
||||
*Defined in [Metadata.ts:111](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L111)*
|
||||
*Defined in [Metadata.ts:111](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L111)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:115](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L115)*
|
||||
*Defined in [Metadata.ts:115](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L115)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Tuple](_codec_tuple_.tuple.md).[constructor](_codec_tuple_.tuple.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L86)*
|
||||
*Defined in [Metadata.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L86)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[EventMetadata](_metadata_.eventmetadata.md)>
|
||||
|
||||
*Defined in [Metadata.ts:94](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L94)*
|
||||
*Defined in [Metadata.ts:94](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L94)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[EventMetadata](_metadata_.eventmetadata.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L98)*
|
||||
*Defined in [Metadata.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L98)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L60)*
|
||||
*Defined in [codec/Tuple.ts:60](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L60)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L72)*
|
||||
*Defined in [codec/Tuple.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -291,11 +269,11 @@ ___
|
||||
|
||||
## `<Static>` decodeTuple
|
||||
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): `V`
|
||||
▸ **decodeTuple**<`S`,`V`>(Types: *`S`*, _value: * `V` | `AnyU8a`*): `V`
|
||||
|
||||
*Inherited from [Tuple](_codec_tuple_.tuple.md).[decodeTuple](_codec_tuple_.tuple.md#decodetuple)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L29)*
|
||||
*Defined in [codec/Tuple.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| Types | `S` |
|
||||
| _value | `V` | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| _value | `V` | `AnyU8a`|
|
||||
|
||||
**Returns:** `V`
|
||||
|
||||
@@ -321,7 +299,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Tuple.ts#L50)*
|
||||
*Defined in [codec/Tuple.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Tuple.ts#L50)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:321](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L321)*
|
||||
*Defined in [Metadata.ts:321](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L321)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getcalls(): [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_.outerdispatchcall.md)>
|
||||
|
||||
*Defined in [Metadata.ts:354](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L354)*
|
||||
*Defined in [Metadata.ts:354](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L354)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterDispatchCall](_metadata_.outerdispatchcall.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getevents(): [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
|
||||
|
||||
*Defined in [Metadata.ts:358](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L358)*
|
||||
*Defined in [Metadata.ts:358](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L358)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[OuterEventMetadataEvent](_metadata_.outereventmetadataevent.md)>
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getmodules(): [Vector](_codec_vector_.vector.md)<[RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)>
|
||||
|
||||
*Defined in [Metadata.ts:362](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L362)*
|
||||
*Defined in [Metadata.ts:362](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L362)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[RuntimeModuleMetadata](_metadata_.runtimemodulemetadata.md)>
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -143,7 +121,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromJSON](_codec_struct_.struct.md#fromjson)*
|
||||
|
||||
*Defined in [Metadata.ts:332](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L332)*
|
||||
*Defined in [Metadata.ts:332](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L332)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -162,7 +140,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[fromU8a](_codec_struct_.struct.md#fromu8a)*
|
||||
|
||||
*Defined in [Metadata.ts:338](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L338)*
|
||||
*Defined in [Metadata.ts:338](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L338)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -181,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +176,7 @@ ___
|
||||
|
||||
▸ **getUniqTypes**(): `Array`<`string`>
|
||||
|
||||
*Defined in [Metadata.ts:367](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L367)*
|
||||
*Defined in [Metadata.ts:367](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L367)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -211,7 +189,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -224,7 +202,7 @@ ___
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[toJSON](_codec_struct_.struct.md#tojson)*
|
||||
|
||||
*Defined in [Metadata.ts:350](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L350)*
|
||||
*Defined in [Metadata.ts:350](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L350)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -239,7 +217,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -254,7 +232,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -273,7 +251,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -286,7 +264,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -311,7 +289,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:299](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L299)*
|
||||
*Defined in [Metadata.ts:299](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L299)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getmodule(): [ModuleMetadata](_metadata_.modulemetadata.md)
|
||||
|
||||
*Defined in [Metadata.ts:308](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L308)*
|
||||
*Defined in [Metadata.ts:308](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L308)*
|
||||
|
||||
**Returns:** [ModuleMetadata](_metadata_.modulemetadata.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:312](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L312)*
|
||||
*Defined in [Metadata.ts:312](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L312)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getstorage(): [StorageMetadata](_metadata_.storagemetadata.md) | `undefined`
|
||||
|
||||
*Defined in [Metadata.ts:316](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L316)*
|
||||
*Defined in [Metadata.ts:316](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L316)*
|
||||
|
||||
**Returns:** [StorageMetadata](_metadata_.storagemetadata.md) | `undefined`
|
||||
|
||||
@@ -130,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +163,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +182,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -219,7 +197,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -234,7 +212,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -249,7 +227,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +246,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -281,7 +259,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -306,7 +284,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:255](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L255)*
|
||||
*Defined in [Metadata.ts:255](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L255)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getdocumentation(): [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
*Defined in [Metadata.ts:265](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L265)*
|
||||
*Defined in [Metadata.ts:265](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L265)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[Text](_text_.text.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getmodifier(): [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
|
||||
|
||||
*Defined in [Metadata.ts:273](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L273)*
|
||||
*Defined in [Metadata.ts:273](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L273)*
|
||||
|
||||
**Returns:** [StorageFunctionModifier](_metadata_.storagefunctionmodifier.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getname(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:269](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L269)*
|
||||
*Defined in [Metadata.ts:269](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L269)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
gettype(): [StorageFunctionType](_metadata_.storagefunctiontype.md)
|
||||
|
||||
*Defined in [Metadata.ts:277](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L277)*
|
||||
*Defined in [Metadata.ts:277](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L277)*
|
||||
|
||||
**Returns:** [StorageFunctionType](_metadata_.storagefunctiontype.md)
|
||||
|
||||
@@ -141,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -156,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +174,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -230,7 +208,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -245,7 +223,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -260,7 +238,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -279,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -292,7 +270,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -317,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:198](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L198)*
|
||||
*Defined in [Metadata.ts:198](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L198)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L41)*
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L41)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L45)*
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L52)*
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L59)*
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L59)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
|
||||
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L67)*
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L63)*
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[decodeEnum](_codec_enum_.enum.md#decodeenum)*
|
||||
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L31)*
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:221](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L221)*
|
||||
*Defined in [Metadata.ts:221](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L221)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -53,7 +53,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[Type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L40)*
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L40)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -64,7 +64,7 @@ ___
|
||||
|
||||
getasMap(): [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
|
||||
|
||||
*Defined in [Metadata.ts:233](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L233)*
|
||||
*Defined in [Metadata.ts:233](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L233)*
|
||||
|
||||
**Returns:** [StorageFunctionType$Map](_metadata_.storagefunctiontype_map.md)
|
||||
|
||||
@@ -75,7 +75,7 @@ ___
|
||||
|
||||
getasType(): [Type](_type_.type.md)
|
||||
|
||||
*Defined in [Metadata.ts:237](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L237)*
|
||||
*Defined in [Metadata.ts:237](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L237)*
|
||||
|
||||
**Returns:** [Type](_type_.type.md)
|
||||
|
||||
@@ -86,7 +86,7 @@ ___
|
||||
|
||||
getisMap(): `boolean`
|
||||
|
||||
*Defined in [Metadata.ts:229](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L229)*
|
||||
*Defined in [Metadata.ts:229](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L229)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -104,7 +104,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -117,7 +117,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L48)*
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -157,7 +157,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[setValue](_codec_enumtype_.enumtype.md#setvalue)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L55)*
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L55)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +179,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L72)*
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -192,7 +192,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L76)*
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -205,7 +205,7 @@ ___
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[toString](_codec_enumtype_.enumtype.md#tostring)*
|
||||
|
||||
*Defined in [Metadata.ts:241](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L241)*
|
||||
*Defined in [Metadata.ts:241](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L241)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -218,7 +218,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L45)*
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:204](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L204)*
|
||||
*Defined in [Metadata.ts:204](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L204)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getkey(): [Type](_type_.type.md)
|
||||
|
||||
*Defined in [Metadata.ts:212](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L212)*
|
||||
*Defined in [Metadata.ts:212](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L212)*
|
||||
|
||||
**Returns:** [Type](_type_.type.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getvalue(): [Type](_type_.type.md)
|
||||
|
||||
*Defined in [Metadata.ts:216](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L216)*
|
||||
*Defined in [Metadata.ts:216](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L216)*
|
||||
|
||||
**Returns:** [Type](_type_.type.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [Metadata.ts:282](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L282)*
|
||||
*Defined in [Metadata.ts:282](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L282)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getfunctions(): [Vector](_codec_vector_.vector.md)<[StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)>
|
||||
|
||||
*Defined in [Metadata.ts:290](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L290)*
|
||||
*Defined in [Metadata.ts:290](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L290)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[StorageFunctionMetadata](_metadata_.storagefunctionmetadata.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getprefix(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [Metadata.ts:294](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Metadata.ts#L294)*
|
||||
*Defined in [Metadata.ts:294](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Metadata.ts#L294)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,17 +16,17 @@ Extrinsic function descriptor, as defined in [https://github.com/paritytech/wiki
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Method**(index: * [Method](_method_.method.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)*, meta?: *[FunctionMetadata](_metadata_.functionmetadata.md)*, args?: *`Array`<`any`>*): [Method](_method_.method.md)
|
||||
⊕ **new Method**(index: * [Method](_method_.method.md) | `AnyU8a`*, meta?: *[FunctionMetadata](_metadata_.functionmetadata.md)*, args?: *`Array`<`any`>*): [Method](_method_.method.md)
|
||||
|
||||
*Overrides [MethodIndex](_methodindex_.methodindex.md).[constructor](_methodindex_.methodindex.md#constructor)*
|
||||
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L31)*
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | [Method](_method_.method.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| index | [Method](_method_.method.md) | `AnyU8a`|
|
||||
| `Optional` meta | [FunctionMetadata](_metadata_.functionmetadata.md) |
|
||||
| `Optional` args | `Array`<`any`> |
|
||||
|
||||
@@ -36,44 +36,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_args"></a>
|
||||
|
||||
## `<Protected>` _args
|
||||
|
||||
**● _args**: *`Array`<[Base](_codec_base_.base.md)>*
|
||||
|
||||
*Defined in [Method.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="_data"></a>
|
||||
|
||||
## `<Protected>` _data
|
||||
|
||||
**● _data**: *`Uint8Array`*
|
||||
|
||||
*Defined in [Method.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_meta"></a>
|
||||
|
||||
## `<Protected>` _meta
|
||||
|
||||
**● _meta**: *[FunctionMetadata](_metadata_.functionmetadata.md)*
|
||||
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -82,7 +44,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -94,7 +56,7 @@ ___
|
||||
|
||||
getargs(): `Array`<`any`>
|
||||
|
||||
*Defined in [Method.ts:109](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L109)*
|
||||
*Defined in [Method.ts:109](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L109)*
|
||||
|
||||
**Returns:** `Array`<`any`>
|
||||
|
||||
@@ -107,7 +69,7 @@ getcallIndex(): `Uint8Array`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[callIndex](_methodindex_.methodindex.md#callindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L14)*
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L14)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -118,7 +80,7 @@ ___
|
||||
|
||||
getdata(): `Uint8Array`
|
||||
|
||||
*Defined in [Method.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L113)*
|
||||
*Defined in [Method.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L113)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -131,7 +93,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -142,7 +104,7 @@ ___
|
||||
|
||||
getmeta(): [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
*Defined in [Method.ts:117](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L117)*
|
||||
*Defined in [Method.ts:117](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L117)*
|
||||
|
||||
**Returns:** [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
@@ -155,7 +117,7 @@ getmethodIndex(): `number`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[methodIndex](_methodindex_.methodindex.md#methodindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L18)*
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L18)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -168,7 +130,7 @@ getsectionIndex(): `number`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[sectionIndex](_methodindex_.methodindex.md#sectionindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L22)*
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L22)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -184,7 +146,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
|
||||
|
||||
*Defined in [Method.ts:105](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L105)*
|
||||
*Defined in [Method.ts:105](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L105)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -199,7 +161,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +180,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
|
||||
|
||||
*Defined in [Method.ts:121](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L121)*
|
||||
*Defined in [Method.ts:121](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +199,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -252,7 +214,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -267,7 +229,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -280,7 +242,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Method.ts:136](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L136)*
|
||||
*Defined in [Method.ts:136](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L136)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -297,7 +259,7 @@ ___
|
||||
|
||||
▸ **decodeMethod**(meta: *[FunctionMetadata](_metadata_.functionmetadata.md)*, data: *`Uint8Array`*): `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
*Defined in [Method.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L54)*
|
||||
*Defined in [Method.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L54)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -317,7 +279,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -334,7 +296,7 @@ ___
|
||||
|
||||
▸ **encode**(meta: *[FunctionMetadata](_metadata_.functionmetadata.md)*, args: *`Array`<`any`>*): `Uint8Array`
|
||||
|
||||
*Defined in [Method.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L66)*
|
||||
*Defined in [Method.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -352,7 +314,7 @@ ___
|
||||
|
||||
▸ **filterOrigin**(meta?: *[FunctionMetadata](_metadata_.functionmetadata.md)*): `Array`<[FunctionArgumentMetadata](_metadata_.functionargumentmetadata.md)>
|
||||
|
||||
*Defined in [Method.ts:75](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L75)*
|
||||
*Defined in [Method.ts:75](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -369,7 +331,7 @@ ___
|
||||
|
||||
▸ **findFunction**(callIndex: *`Uint8Array`*): `ExtrinsicFunction`
|
||||
|
||||
*Defined in [Method.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L91)*
|
||||
*Defined in [Method.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L91)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -386,7 +348,7 @@ ___
|
||||
|
||||
▸ **injectExtrinsics**(extrinsics: *`Extrinsics`*): `void`
|
||||
|
||||
*Defined in [Method.ts:97](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L97)*
|
||||
*Defined in [Method.ts:97](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new MethodIndex**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [MethodIndex](_methodindex_.methodindex.md)
|
||||
⊕ **new MethodIndex**(value?: *`AnyU8a`*): [MethodIndex](_methodindex_.methodindex.md)
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [MethodIndex.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L9)*
|
||||
*Defined in [MethodIndex.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [MethodIndex](_methodindex_.methodindex.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
getcallIndex(): `Uint8Array`
|
||||
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L14)*
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L14)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -76,7 +65,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -87,7 +76,7 @@ ___
|
||||
|
||||
getmethodIndex(): `number`
|
||||
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L18)*
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L18)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
getsectionIndex(): `number`
|
||||
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L22)*
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L22)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -131,7 +120,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -152,7 +141,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -171,7 +160,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -186,7 +175,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -201,7 +190,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -216,7 +205,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -235,7 +224,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -39,28 +39,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -69,7 +47,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -83,7 +61,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +72,7 @@ ___
|
||||
|
||||
geta(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -105,7 +83,7 @@ ___
|
||||
|
||||
getb(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -116,7 +94,7 @@ ___
|
||||
|
||||
getround(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -149,7 +127,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -170,7 +148,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -189,7 +167,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -253,7 +231,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -272,7 +250,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -285,7 +263,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -310,7 +288,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -37,28 +37,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -67,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -81,7 +59,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +72,7 @@ geta(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[a](_misbehaviorreport_.bftatreport.md#a)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -107,7 +85,7 @@ getb(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[b](_misbehaviorreport_.bftatreport.md#b)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -120,7 +98,7 @@ getround(): [U32](_u32_.u32.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[round](_misbehaviorreport_.bftatreport.md#round)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -138,7 +116,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -153,7 +131,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -212,7 +190,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -227,7 +205,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -242,7 +220,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -276,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -289,7 +267,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -314,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
*Defined in [MisbehaviorReport.ts:27](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -37,28 +37,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -67,7 +45,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -81,7 +59,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -94,7 +72,7 @@ geta(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[a](_misbehaviorreport_.bftatreport.md#a)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
*Defined in [MisbehaviorReport.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L36)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -107,7 +85,7 @@ getb(): [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[b](_misbehaviorreport_.bftatreport.md#b)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
*Defined in [MisbehaviorReport.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L40)*
|
||||
|
||||
**Returns:** [BftHashSignature](_bft_.bfthashsignature.md)
|
||||
|
||||
@@ -120,7 +98,7 @@ getround(): [U32](_u32_.u32.md)
|
||||
|
||||
*Inherited from [BftAtReport](_misbehaviorreport_.bftatreport.md).[round](_misbehaviorreport_.bftatreport.md#round)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
*Defined in [MisbehaviorReport.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L44)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -138,7 +116,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -153,7 +131,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -212,7 +190,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -227,7 +205,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -242,7 +220,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -276,7 +254,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -289,7 +267,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -314,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [EnumType](_codec_enumtype_.enumtype.md).[constructor](_codec_enumtype_.enumtype.md#constructor)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L57)*
|
||||
*Defined in [MisbehaviorReport.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -39,7 +39,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -53,7 +53,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[Type](_codec_enumtype_.enumtype.md#type)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L40)*
|
||||
*Defined in [codec/EnumType.ts:40](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L40)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -71,7 +71,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L44)*
|
||||
*Defined in [codec/EnumType.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L44)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -105,7 +105,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L48)*
|
||||
*Defined in [codec/EnumType.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L48)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[setValue](_codec_enumtype_.enumtype.md#setvalue)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L55)*
|
||||
*Defined in [codec/EnumType.ts:55](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L55)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -146,7 +146,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L72)*
|
||||
*Defined in [codec/EnumType.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L72)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Inherited from [EnumType](_codec_enumtype_.enumtype.md).[toNumber](_codec_enumtype_.enumtype.md#tonumber)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L76)*
|
||||
*Defined in [codec/EnumType.ts:76](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L76)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/EnumType.ts#L80)*
|
||||
*Defined in [codec/EnumType.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/EnumType.ts#L80)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -187,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L45)*
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:72](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L72)*
|
||||
*Defined in [MisbehaviorReport.ts:72](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L72)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getmisbehavior(): [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:82](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L82)*
|
||||
*Defined in [MisbehaviorReport.ts:82](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L82)*
|
||||
|
||||
**Returns:** [MisbehaviorKind](_misbehaviorreport_.misbehaviorkind.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getparentHash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:86](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L86)*
|
||||
*Defined in [MisbehaviorReport.ts:86](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L86)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getparentNumber(): [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:90](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L90)*
|
||||
*Defined in [MisbehaviorReport.ts:90](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L90)*
|
||||
|
||||
**Returns:** [BlockNumber](_blocknumber_.blocknumber.md)
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
gettarget(): [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
*Defined in [MisbehaviorReport.ts:94](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MisbehaviorReport.ts#L94)*
|
||||
*Defined in [MisbehaviorReport.ts:94](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MisbehaviorReport.ts#L94)*
|
||||
|
||||
**Returns:** [AuthorityId](_authorityid_.authorityid.md)
|
||||
|
||||
@@ -141,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -156,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +174,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -230,7 +208,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -245,7 +223,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -260,7 +238,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -279,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -292,7 +270,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -317,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Moment.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L22)*
|
||||
*Defined in [Moment.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L22)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [Moment.ts:47](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L47)*
|
||||
*Defined in [Moment.ts:47](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L47)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [Moment.ts:51](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L51)*
|
||||
*Defined in [Moment.ts:51](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +84,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [Moment.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L57)*
|
||||
*Defined in [Moment.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L57)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
▸ **getTime**(): `number`
|
||||
|
||||
*Defined in [Moment.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L65)*
|
||||
*Defined in [Moment.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L65)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
▸ **toBn**(): `BN`
|
||||
|
||||
*Defined in [Moment.ts:81](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L81)*
|
||||
*Defined in [Moment.ts:81](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L81)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Moment.ts:69](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L69)*
|
||||
*Defined in [Moment.ts:69](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L69)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -136,7 +136,7 @@ ___
|
||||
|
||||
▸ **toNumber**(): `number`
|
||||
|
||||
*Defined in [Moment.ts:85](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L85)*
|
||||
*Defined in [Moment.ts:85](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L85)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -149,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Moment.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L77)*
|
||||
*Defined in [Moment.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L77)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Moment.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L73)*
|
||||
*Defined in [Moment.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L73)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,15 +177,15 @@ ___
|
||||
|
||||
## `<Static>` decodeMoment
|
||||
|
||||
▸ **decodeMoment**(value: * [Moment](_moment_.moment.md) | `Date` | [AnyNumber](../modules/_types_d_.md#anynumber)*): `Date`
|
||||
▸ **decodeMoment**(value: * [Moment](_moment_.moment.md) | `Date` | `AnyNumber`*): `Date`
|
||||
|
||||
*Defined in [Moment.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Moment.ts#L29)*
|
||||
*Defined in [Moment.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Moment.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [Moment](_moment_.moment.md) | `Date` | [AnyNumber](../modules/_types_d_.md#anynumber)|
|
||||
| value | [Moment](_moment_.moment.md) | `Date` | `AnyNumber`|
|
||||
|
||||
**Returns:** `Date`
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
|
||||
|
||||
*Defined in [NewAccountOutcome.ts:8](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/NewAccountOutcome.ts#L8)*
|
||||
*Defined in [NewAccountOutcome.ts:8](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/NewAccountOutcome.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L41)*
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L41)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L45)*
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L52)*
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L59)*
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L59)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
|
||||
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L67)*
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L63)*
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[decodeEnum](_codec_enum_.enum.md#decodeenum)*
|
||||
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L31)*
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Index**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Index](_nonce_.index.md)
|
||||
⊕ **new Index**(value?: *`AnyNumber`*): [Index](_nonce_.index.md)
|
||||
|
||||
*Inherited from [U64](_u64_.u64.md).[constructor](_u64_.u64.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Index](_nonce_.index.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Origin.ts:8](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Origin.ts#L8)*
|
||||
*Defined in [Origin.ts:8](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Origin.ts#L8)*
|
||||
|
||||
**Returns:** [Origin](_origin_.origin.md)
|
||||
|
||||
@@ -34,7 +34,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -48,7 +48,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L25)*
|
||||
*Defined in [codec/Base.ts:25](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L25)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -61,7 +61,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L29)*
|
||||
*Defined in [codec/Base.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L29)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -80,7 +80,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L33)*
|
||||
*Defined in [codec/Base.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L33)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -99,7 +99,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L37)*
|
||||
*Defined in [codec/Base.ts:37](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L37)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -112,7 +112,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L41)*
|
||||
*Defined in [codec/Base.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L41)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -125,7 +125,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L45)*
|
||||
*Defined in [codec/Base.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new ParachainId**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [ParachainId](_parachainid_.parachainid.md)
|
||||
⊕ **new ParachainId**(value?: *`AnyNumber`*): [ParachainId](_parachainid_.parachainid.md)
|
||||
|
||||
*Inherited from [U64](_u64_.u64.md).[constructor](_u64_.u64.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [ParachainId](_parachainid_.parachainid.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L19)*
|
||||
*Defined in [codec/Vector.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -43,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -57,7 +57,7 @@ getType(): `string`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[Type](_codec_vector_.vector.md#type)*
|
||||
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L66)*
|
||||
*Defined in [codec/Vector.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L66)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -70,7 +70,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[length](_codec_vector_.vector.md#length)*
|
||||
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L70)*
|
||||
*Defined in [codec/Vector.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L70)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -88,7 +88,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L74)*
|
||||
*Defined in [codec/Vector.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L74)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -101,7 +101,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[filter](_codec_vector_.vector.md#filter)*
|
||||
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L80)*
|
||||
*Defined in [codec/Vector.ts:80](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L80)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -120,7 +120,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[find](_codec_vector_.vector.md#find)*
|
||||
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L84)*
|
||||
*Defined in [codec/Vector.ts:84](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L84)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[forEach](_codec_vector_.vector.md#foreach)*
|
||||
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L88)*
|
||||
*Defined in [codec/Vector.ts:88](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L88)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +160,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L92)*
|
||||
*Defined in [codec/Vector.ts:92](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L92)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -181,7 +181,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L101)*
|
||||
*Defined in [codec/Vector.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -200,7 +200,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[get](_codec_vector_.vector.md#get)*
|
||||
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L107)*
|
||||
*Defined in [codec/Vector.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -219,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[map](_codec_vector_.vector.md#map)*
|
||||
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L111)*
|
||||
*Defined in [codec/Vector.ts:111](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L111)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -241,7 +241,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[push](_codec_vector_.vector.md#push)*
|
||||
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L115)*
|
||||
*Defined in [codec/Vector.ts:115](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L115)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -260,7 +260,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[reduce](_codec_vector_.vector.md#reduce)*
|
||||
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L119)*
|
||||
*Defined in [codec/Vector.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L119)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -285,7 +285,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L123)*
|
||||
*Defined in [codec/Vector.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L123)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -300,7 +300,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L142)*
|
||||
*Defined in [codec/Vector.ts:142](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L142)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -315,7 +315,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L129)*
|
||||
*Defined in [codec/Vector.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -334,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[decode](_codec_vector_.vector.md#decode)*
|
||||
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L29)*
|
||||
*Defined in [codec/Vector.ts:29](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L29)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -357,7 +357,7 @@ ___
|
||||
|
||||
*Inherited from [Vector](_codec_vector_.vector.md).[with](_codec_vector_.vector.md#with)*
|
||||
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Vector.ts#L58)*
|
||||
*Defined in [codec/Vector.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Vector.ts#L58)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Perbill**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Perbill](_perbill_.perbill.md)
|
||||
⊕ **new Perbill**(value?: *`AnyNumber`*): [Perbill](_perbill_.perbill.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Perbill](_perbill_.perbill.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Permill**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [Permill](_permill_.permill.md)
|
||||
⊕ **new Permill**(value?: *`AnyNumber`*): [Permill](_permill_.permill.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [Permill](_permill_.permill.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new PropIndex**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [PropIndex](_propindex_.propindex.md)
|
||||
⊕ **new PropIndex**(value?: *`AnyNumber`*): [PropIndex](_propindex_.propindex.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [PropIndex](_propindex_.propindex.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Proposal**(index: * [Method](_method_.method.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)*, meta?: *[FunctionMetadata](_metadata_.functionmetadata.md)*, args?: *`Array`<`any`>*): [Proposal](_proposal_.proposal.md)
|
||||
⊕ **new Proposal**(index: * [Method](_method_.method.md) | `AnyU8a`*, meta?: *[FunctionMetadata](_metadata_.functionmetadata.md)*, args?: *`Array`<`any`>*): [Proposal](_proposal_.proposal.md)
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[constructor](_method_.method.md#constructor)*
|
||||
|
||||
*Overrides [MethodIndex](_methodindex_.methodindex.md).[constructor](_methodindex_.methodindex.md#constructor)*
|
||||
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L31)*
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| index | [Method](_method_.method.md) | [AnyU8a](../modules/_types_d_.md#anyu8a)|
|
||||
| index | [Method](_method_.method.md) | `AnyU8a`|
|
||||
| `Optional` meta | [FunctionMetadata](_metadata_.functionmetadata.md) |
|
||||
| `Optional` args | `Array`<`any`> |
|
||||
|
||||
@@ -34,50 +34,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_args"></a>
|
||||
|
||||
## `<Protected>` _args
|
||||
|
||||
**● _args**: *`Array`<[Base](_codec_base_.base.md)>*
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[_args](_method_.method.md#_args)*
|
||||
|
||||
*Defined in [Method.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="_data"></a>
|
||||
|
||||
## `<Protected>` _data
|
||||
|
||||
**● _data**: *`Uint8Array`*
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[_data](_method_.method.md#_data)*
|
||||
|
||||
*Defined in [Method.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_meta"></a>
|
||||
|
||||
## `<Protected>` _meta
|
||||
|
||||
**● _meta**: *[FunctionMetadata](_metadata_.functionmetadata.md)*
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[_meta](_method_.method.md#_meta)*
|
||||
|
||||
*Defined in [Method.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L31)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -86,7 +42,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -100,7 +56,7 @@ getargs(): `Array`<`any`>
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[args](_method_.method.md#args)*
|
||||
|
||||
*Defined in [Method.ts:109](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L109)*
|
||||
*Defined in [Method.ts:109](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L109)*
|
||||
|
||||
**Returns:** `Array`<`any`>
|
||||
|
||||
@@ -113,7 +69,7 @@ getcallIndex(): `Uint8Array`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[callIndex](_methodindex_.methodindex.md#callindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L14)*
|
||||
*Defined in [MethodIndex.ts:14](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L14)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -126,7 +82,7 @@ getdata(): `Uint8Array`
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[data](_method_.method.md#data)*
|
||||
|
||||
*Defined in [Method.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L113)*
|
||||
*Defined in [Method.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L113)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -139,7 +95,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -152,7 +108,7 @@ getmeta(): [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[meta](_method_.method.md#meta)*
|
||||
|
||||
*Defined in [Method.ts:117](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L117)*
|
||||
*Defined in [Method.ts:117](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L117)*
|
||||
|
||||
**Returns:** [FunctionMetadata](_metadata_.functionmetadata.md)
|
||||
|
||||
@@ -165,7 +121,7 @@ getmethodIndex(): `number`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[methodIndex](_methodindex_.methodindex.md#methodindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L18)*
|
||||
*Defined in [MethodIndex.ts:18](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L18)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -178,7 +134,7 @@ getsectionIndex(): `number`
|
||||
|
||||
*Inherited from [MethodIndex](_methodindex_.methodindex.md).[sectionIndex](_methodindex_.methodindex.md#sectionindex)*
|
||||
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/MethodIndex.ts#L22)*
|
||||
*Defined in [MethodIndex.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/MethodIndex.ts#L22)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -196,7 +152,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[byteLength](_codec_u8afixed_.u8afixed.md#bytelength)*
|
||||
|
||||
*Defined in [Method.ts:105](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L105)*
|
||||
*Defined in [Method.ts:105](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L105)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -211,7 +167,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -232,7 +188,7 @@ ___
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[fromU8a](_codec_u8afixed_.u8afixed.md#fromu8a)*
|
||||
|
||||
*Defined in [Method.ts:121](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L121)*
|
||||
*Defined in [Method.ts:121](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L121)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -251,7 +207,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -266,7 +222,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -281,7 +237,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -296,7 +252,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Method.ts:136](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L136)*
|
||||
*Defined in [Method.ts:136](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L136)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -315,7 +271,7 @@ ___
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[decodeMethod](_method_.method.md#decodemethod)*
|
||||
|
||||
*Defined in [Method.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L54)*
|
||||
*Defined in [Method.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L54)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -335,7 +291,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -354,7 +310,7 @@ ___
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[encode](_method_.method.md#encode)*
|
||||
|
||||
*Defined in [Method.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L66)*
|
||||
*Defined in [Method.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -374,7 +330,7 @@ ___
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[filterOrigin](_method_.method.md#filterorigin)*
|
||||
|
||||
*Defined in [Method.ts:75](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L75)*
|
||||
*Defined in [Method.ts:75](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L75)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -393,7 +349,7 @@ ___
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[findFunction](_method_.method.md#findfunction)*
|
||||
|
||||
*Defined in [Method.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L91)*
|
||||
*Defined in [Method.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L91)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -412,7 +368,7 @@ ___
|
||||
|
||||
*Inherited from [Method](_method_.method.md).[injectExtrinsics](_method_.method.md#injectextrinsics)*
|
||||
|
||||
*Defined in [Method.ts:97](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Method.ts#L97)*
|
||||
*Defined in [Method.ts:97](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Method.ts#L97)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new ProposalIndex**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [ProposalIndex](_proposalindex_.proposalindex.md)
|
||||
⊕ **new ProposalIndex**(value?: *`AnyNumber`*): [ProposalIndex](_proposalindex_.proposalindex.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [ProposalIndex](_proposalindex_.proposalindex.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new ReferendumIndex**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [ReferendumIndex](_referendumindex_.referendumindex.md)
|
||||
⊕ **new ReferendumIndex**(value?: *`AnyNumber`*): [ReferendumIndex](_referendumindex_.referendumindex.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [ReferendumIndex](_referendumindex_.referendumindex.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [RuntimeVersion.ts:51](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L51)*
|
||||
*Defined in [RuntimeVersion.ts:51](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L51)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getapis(): [Vector](_codec_vector_.vector.md)<`RuntimeVersionApi`>
|
||||
|
||||
*Defined in [RuntimeVersion.ts:69](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L69)*
|
||||
*Defined in [RuntimeVersion.ts:69](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L69)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<`RuntimeVersionApi`>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getauthoringVersion(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [RuntimeVersion.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L73)*
|
||||
*Defined in [RuntimeVersion.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L73)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -112,7 +90,7 @@ ___
|
||||
|
||||
getimplName(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [RuntimeVersion.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L77)*
|
||||
*Defined in [RuntimeVersion.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L77)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -123,7 +101,7 @@ ___
|
||||
|
||||
getimplVersion(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [RuntimeVersion.ts:81](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L81)*
|
||||
*Defined in [RuntimeVersion.ts:81](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L81)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
getspecName(): [Text](_text_.text.md)
|
||||
|
||||
*Defined in [RuntimeVersion.ts:85](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L85)*
|
||||
*Defined in [RuntimeVersion.ts:85](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L85)*
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -145,7 +123,7 @@ ___
|
||||
|
||||
getspecVersion(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [RuntimeVersion.ts:89](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/RuntimeVersion.ts#L89)*
|
||||
*Defined in [RuntimeVersion.ts:89](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/RuntimeVersion.ts#L89)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -163,7 +141,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -178,7 +156,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -199,7 +177,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -218,7 +196,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -237,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -252,7 +230,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -267,7 +245,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -282,7 +260,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -301,7 +279,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -314,7 +292,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -339,7 +317,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Signature**(value?: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [Signature](_signature_.signature.md)
|
||||
⊕ **new Signature**(value?: *`AnyU8a`*): [Signature](_signature_.signature.md)
|
||||
|
||||
*Inherited from [H512](_h512_.h512.md).[constructor](_h512_.h512.md#constructor)*
|
||||
|
||||
*Overrides [U8aFixed](_codec_u8afixed_.u8afixed.md).[constructor](_codec_u8afixed_.u8afixed.md#constructor)*
|
||||
|
||||
*Defined in [H512.ts:10](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/H512.ts#L10)*
|
||||
*Defined in [H512.ts:10](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/H512.ts#L10)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| `Optional` value | `AnyU8a` |
|
||||
|
||||
**Returns:** [Signature](_signature_.signature.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *`number`*
|
||||
|
||||
*Inherited from [U8aFixed](_codec_u8afixed_.u8afixed.md).[_bitLength](_codec_u8afixed_.u8afixed.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L14)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L33)*
|
||||
*Defined in [codec/U8a.ts:33](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L33)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +72,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
*Defined in [codec/U8aFixed.ts:32](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L32)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +87,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromJSON](_codec_u8a_.u8a.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
*Defined in [codec/U8aFixed.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +108,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
*Defined in [codec/U8aFixed.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8aFixed.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +127,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +142,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +157,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +172,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L61)*
|
||||
*Defined in [codec/U8a.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -202,7 +191,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [SignaturePayload.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L27)*
|
||||
*Defined in [SignaturePayload.ts:27](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L27)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,37 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="_signature"></a>
|
||||
|
||||
## `<Protected>``<Optional>` _signature
|
||||
|
||||
**● _signature**: *`Uint8Array`*
|
||||
|
||||
*Defined in [SignaturePayload.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L27)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -74,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -88,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -99,7 +68,7 @@ ___
|
||||
|
||||
getblockHash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [SignaturePayload.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L42)*
|
||||
*Defined in [SignaturePayload.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L42)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -110,7 +79,7 @@ ___
|
||||
|
||||
getera(): [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
*Defined in [SignaturePayload.ts:50](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L50)*
|
||||
*Defined in [SignaturePayload.ts:50](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L50)*
|
||||
|
||||
**Returns:** [ExtrinsicEra](_extrinsicera_.extrinsicera.md)
|
||||
|
||||
@@ -121,7 +90,7 @@ ___
|
||||
|
||||
getisSigned(): `boolean`
|
||||
|
||||
*Defined in [SignaturePayload.ts:38](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L38)*
|
||||
*Defined in [SignaturePayload.ts:38](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L38)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -132,7 +101,7 @@ ___
|
||||
|
||||
getmethod(): [Method](_method_.method.md)
|
||||
|
||||
*Defined in [SignaturePayload.ts:46](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L46)*
|
||||
*Defined in [SignaturePayload.ts:46](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L46)*
|
||||
|
||||
**Returns:** [Method](_method_.method.md)
|
||||
|
||||
@@ -143,7 +112,7 @@ ___
|
||||
|
||||
getnonce(): `Nonce`
|
||||
|
||||
*Defined in [SignaturePayload.ts:54](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L54)*
|
||||
*Defined in [SignaturePayload.ts:54](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L54)*
|
||||
|
||||
**Returns:** `Nonce`
|
||||
|
||||
@@ -154,7 +123,7 @@ ___
|
||||
|
||||
getsignature(): `Uint8Array`
|
||||
|
||||
*Defined in [SignaturePayload.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L58)*
|
||||
*Defined in [SignaturePayload.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L58)*
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -172,7 +141,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -187,7 +156,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -208,7 +177,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -227,7 +196,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -246,7 +215,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -257,7 +226,7 @@ ___
|
||||
|
||||
▸ **sign**(signerPair: *`KeyringPair`*): `Uint8Array`
|
||||
|
||||
*Defined in [SignaturePayload.ts:66](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignaturePayload.ts#L66)*
|
||||
*Defined in [SignaturePayload.ts:66](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignaturePayload.ts#L66)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -278,7 +247,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -293,7 +262,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -308,7 +277,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -327,7 +296,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -340,7 +309,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -365,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [SignedBlock.ts:14](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignedBlock.ts#L14)*
|
||||
*Defined in [SignedBlock.ts:14](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignedBlock.ts#L14)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getblock(): [Block](_block_.block.md)
|
||||
|
||||
*Defined in [SignedBlock.ts:22](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignedBlock.ts#L22)*
|
||||
*Defined in [SignedBlock.ts:22](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignedBlock.ts#L22)*
|
||||
|
||||
**Returns:** [Block](_block_.block.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getjustification(): [Justification](_bft_.justification.md)
|
||||
|
||||
*Defined in [SignedBlock.ts:26](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/SignedBlock.ts#L26)*
|
||||
*Defined in [SignedBlock.ts:26](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/SignedBlock.ts#L26)*
|
||||
|
||||
**Returns:** [Justification](_bft_.justification.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [StorageChangeSet.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageChangeSet.ts#L19)*
|
||||
*Defined in [StorageChangeSet.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageChangeSet.ts#L19)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getchanges(): [Vector](_codec_vector_.vector.md)<[KeyValueOption](_keyvalue_.keyvalueoption.md)>
|
||||
|
||||
*Defined in [StorageChangeSet.ts:27](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageChangeSet.ts#L27)*
|
||||
*Defined in [StorageChangeSet.ts:27](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageChangeSet.ts#L27)*
|
||||
|
||||
**Returns:** [Vector](_codec_vector_.vector.md)<[KeyValueOption](_keyvalue_.keyvalueoption.md)>
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
gethash(): [Hash](_hash_.hash.md)
|
||||
|
||||
*Defined in [StorageChangeSet.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageChangeSet.ts#L31)*
|
||||
*Defined in [StorageChangeSet.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageChangeSet.ts#L31)*
|
||||
|
||||
**Returns:** [Hash](_hash_.hash.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new StorageData**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): [StorageData](_storagedata_.storagedata.md)
|
||||
⊕ **new StorageData**(value: *`AnyU8a`*): [StorageData](_storagedata_.storagedata.md)
|
||||
|
||||
*Inherited from [Bytes](_bytes_.bytes.md).[constructor](_bytes_.bytes.md#constructor)*
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[constructor](_codec_u8a_.u8a.md#constructor)*
|
||||
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L18)*
|
||||
*Defined in [Bytes.ts:18](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L18)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** [StorageData](_storagedata_.storagedata.md)
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -56,7 +56,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L45)*
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L45)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -74,7 +74,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L49)*
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L49)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -89,7 +89,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L41)*
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -110,7 +110,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L53)*
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -129,7 +129,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -144,7 +144,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -159,7 +159,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -174,7 +174,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L61)*
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -189,17 +189,17 @@ ___
|
||||
|
||||
## `<Static>` decodeBytes
|
||||
|
||||
▸ **decodeBytes**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeBytes**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Inherited from [Bytes](_bytes_.bytes.md).[decodeBytes](_bytes_.bytes.md#decodebytes)*
|
||||
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L23)*
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -212,7 +212,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new StorageKey**(value: * [AnyU8a](../modules/_types_d_.md#anyu8a) | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): [StorageKey](_storagekey_.storagekey.md)
|
||||
⊕ **new StorageKey**(value: * `AnyU8a` | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
*Overrides [Bytes](_bytes_.bytes.md).[constructor](_bytes_.bytes.md#constructor)*
|
||||
|
||||
*Defined in [StorageKey.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageKey.ts#L23)*
|
||||
*Defined in [StorageKey.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageKey.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
|
||||
| value | `AnyU8a` | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
|
||||
|
||||
**Returns:** [StorageKey](_storagekey_.storagekey.md)
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[length](_codec_u8a_.u8a.md#length)*
|
||||
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L45)*
|
||||
*Defined in [Bytes.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L45)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -65,7 +65,7 @@ ___
|
||||
|
||||
getoutputType(): `string` | `null`
|
||||
|
||||
*Defined in [StorageKey.ts:58](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageKey.ts#L58)*
|
||||
*Defined in [StorageKey.ts:58](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageKey.ts#L58)*
|
||||
|
||||
**Returns:** `string` | `null`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[byteLength](_codec_u8a_.u8a.md#bytelength)*
|
||||
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L49)*
|
||||
*Defined in [Bytes.ts:49](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L49)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -98,7 +98,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L41)*
|
||||
*Defined in [codec/U8a.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L41)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[fromU8a](_codec_u8a_.u8a.md#fromu8a)*
|
||||
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L53)*
|
||||
*Defined in [Bytes.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L53)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[toHex](_codec_u8a_.u8a.md#tohex)*
|
||||
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L53)*
|
||||
*Defined in [codec/U8a.ts:53](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L53)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -153,7 +153,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L57)*
|
||||
*Defined in [codec/U8a.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L57)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -168,7 +168,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L65)*
|
||||
*Defined in [codec/U8a.ts:65](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L65)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -183,7 +183,7 @@ ___
|
||||
|
||||
*Overrides [U8a](_codec_u8a_.u8a.md).[toU8a](_codec_u8a_.u8a.md#tou8a)*
|
||||
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L61)*
|
||||
*Defined in [Bytes.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,17 +198,17 @@ ___
|
||||
|
||||
## `<Static>` decodeBytes
|
||||
|
||||
▸ **decodeBytes**(value: *[AnyU8a](../modules/_types_d_.md#anyu8a)*): `Uint8Array`
|
||||
▸ **decodeBytes**(value: *`AnyU8a`*): `Uint8Array`
|
||||
|
||||
*Inherited from [Bytes](_bytes_.bytes.md).[decodeBytes](_bytes_.bytes.md#decodebytes)*
|
||||
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Bytes.ts#L23)*
|
||||
*Defined in [Bytes.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Bytes.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) |
|
||||
| value | `AnyU8a` |
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -217,15 +217,15 @@ ___
|
||||
|
||||
## `<Static>` decodeStorageKey
|
||||
|
||||
▸ **decodeStorageKey**(value: * [AnyU8a](../modules/_types_d_.md#anyu8a) | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): `Uint8Array`
|
||||
▸ **decodeStorageKey**(value: * `AnyU8a` | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): `Uint8Array`
|
||||
|
||||
*Defined in [StorageKey.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageKey.ts#L31)*
|
||||
*Defined in [StorageKey.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageKey.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyU8a](../modules/_types_d_.md#anyu8a) | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
|
||||
| value | `AnyU8a` | [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]|
|
||||
|
||||
**Returns:** `Uint8Array`
|
||||
|
||||
@@ -238,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [U8a](_codec_u8a_.u8a.md).[decodeU8a](_codec_u8a_.u8a.md#decodeu8a)*
|
||||
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/U8a.ts#L23)*
|
||||
*Defined in [codec/U8a.ts:23](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/U8a.ts#L23)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -255,7 +255,7 @@ ___
|
||||
|
||||
▸ **getType**(value: * [StorageKey](_storagekey_.storagekey.md) | [StorageFunction](../interfaces/_storagekey_.storagefunction.md) | [[StorageFunction](../interfaces/_storagekey_.storagefunction.md), `any`]*): `string` | `null`
|
||||
|
||||
*Defined in [StorageKey.ts:44](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/StorageKey.ts#L44)*
|
||||
*Defined in [StorageKey.ts:44](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/StorageKey.ts#L44)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new Text**(value?: * [Text](_text_.text.md) | `string` | [AnyU8a](../modules/_types_d_.md#anyu8a)*): [Text](_text_.text.md)
|
||||
⊕ **new Text**(value?: * [Text](_text_.text.md) | `string` | `AnyU8a`*): [Text](_text_.text.md)
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[constructor](_codec_base_.base.md#constructor)*
|
||||
|
||||
*Defined in [Text.ts:24](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L24)*
|
||||
*Defined in [Text.ts:24](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L24)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type | Default value |
|
||||
| ------ | ------ | ------ |
|
||||
| `Default value` value | [Text](_text_.text.md) | `string` | [AnyU8a](../modules/_types_d_.md#anyu8a)| "" |
|
||||
| `Default value` value | [Text](_text_.text.md) | `string` | `AnyU8a`| "" |
|
||||
|
||||
**Returns:** [Text](_text_.text.md)
|
||||
|
||||
@@ -40,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ ___
|
||||
|
||||
getlength(): `number`
|
||||
|
||||
*Defined in [Text.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L48)*
|
||||
*Defined in [Text.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L48)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -68,7 +68,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [Text.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L52)*
|
||||
*Defined in [Text.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L52)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -81,7 +81,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [Text.ts:64](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L64)*
|
||||
*Defined in [Text.ts:64](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L64)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -100,7 +100,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [Text.ts:56](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L56)*
|
||||
*Defined in [Text.ts:56](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L56)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -119,7 +119,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Text.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L70)*
|
||||
*Defined in [Text.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L70)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -132,7 +132,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Text.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L74)*
|
||||
*Defined in [Text.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L74)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -145,7 +145,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [Text.ts:78](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L78)*
|
||||
*Defined in [Text.ts:78](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L78)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -162,7 +162,7 @@ ___
|
||||
|
||||
▸ **decodeText**(input: *`any`*): `string`
|
||||
|
||||
*Defined in [Text.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L31)*
|
||||
*Defined in [Text.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Text](_text_.text.md).[constructor](_text_.text.md#constructor)*
|
||||
|
||||
*Defined in [Type.ts:15](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Type.ts#L15)*
|
||||
*Defined in [Type.ts:15](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Type.ts#L15)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -52,7 +52,7 @@ getlength(): `number`
|
||||
|
||||
*Overrides [Text](_text_.text.md).[length](_text_.text.md#length)*
|
||||
|
||||
*Defined in [Type.ts:26](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Type.ts#L26)*
|
||||
*Defined in [Type.ts:26](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Type.ts#L26)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -70,7 +70,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [Text.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L52)*
|
||||
*Defined in [Text.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L52)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -83,7 +83,7 @@ ___
|
||||
|
||||
*Overrides [Text](_text_.text.md).[fromJSON](_text_.text.md#fromjson)*
|
||||
|
||||
*Defined in [Type.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Type.ts#L30)*
|
||||
*Defined in [Type.ts:30](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Type.ts#L30)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -102,7 +102,7 @@ ___
|
||||
|
||||
*Overrides [Text](_text_.text.md).[fromU8a](_text_.text.md#fromu8a)*
|
||||
|
||||
*Defined in [Type.ts:36](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Type.ts#L36)*
|
||||
*Defined in [Type.ts:36](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Type.ts#L36)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -123,7 +123,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [Text.ts:70](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L70)*
|
||||
*Defined in [Text.ts:70](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L70)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -138,7 +138,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [Text.ts:74](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L74)*
|
||||
*Defined in [Text.ts:74](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L74)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -151,7 +151,7 @@ ___
|
||||
|
||||
*Overrides [Text](_text_.text.md).[toU8a](_text_.text.md#tou8a)*
|
||||
|
||||
*Defined in [Type.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Type.ts#L45)*
|
||||
*Defined in [Type.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Type.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -170,7 +170,7 @@ ___
|
||||
|
||||
*Inherited from [Text](_text_.text.md).[decodeText](_text_.text.md#decodetext)*
|
||||
|
||||
*Defined in [Text.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/Text.ts#L31)*
|
||||
*Defined in [Text.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/Text.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U128**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U128](_u128_.u128.md)
|
||||
⊕ **new U128**(value?: *`AnyNumber`*): [U128](_u128_.u128.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U128.ts#L9)*
|
||||
*Defined in [U128.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U128.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U128](_u128_.u128.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U16**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U16](_u16_.u16.md)
|
||||
⊕ **new U16**(value?: *`AnyNumber`*): [U16](_u16_.u16.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U16.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U16.ts#L9)*
|
||||
*Defined in [U16.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U16.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U16](_u16_.u16.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -390,17 +379,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U256**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U256](_u256_.u256.md)
|
||||
⊕ **new U256**(value?: *`AnyNumber`*): [U256](_u256_.u256.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U256.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U256.ts#L9)*
|
||||
*Defined in [U256.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U256.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U256](_u256_.u256.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -390,17 +379,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -24,17 +24,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U32**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U32](_u32_.u32.md)
|
||||
⊕ **new U32**(value?: *`AnyNumber`*): [U32](_u32_.u32.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -42,17 +42,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -61,7 +50,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -75,7 +64,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -96,7 +85,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -109,7 +98,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -128,7 +117,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -149,7 +138,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -170,7 +159,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -189,7 +178,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -208,7 +197,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -227,7 +216,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -240,7 +229,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -259,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -278,7 +267,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -297,7 +286,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -316,7 +305,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -329,7 +318,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -344,7 +333,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -357,7 +346,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -372,7 +361,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -387,7 +376,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -402,17 +391,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -20,17 +20,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U64**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U64](_u64_.u64.md)
|
||||
⊕ **new U64**(value?: *`AnyNumber`*): [U64](_u64_.u64.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U64.ts#L9)*
|
||||
*Defined in [U64.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U64.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U64](_u64_.u64.md)
|
||||
|
||||
@@ -38,17 +38,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -57,7 +46,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -71,7 +60,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -92,7 +81,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -105,7 +94,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -124,7 +113,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -145,7 +134,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -166,7 +155,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -185,7 +174,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -204,7 +193,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -223,7 +212,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -236,7 +225,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -255,7 +244,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -274,7 +263,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -293,7 +282,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -312,7 +301,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -325,7 +314,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -340,7 +329,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -353,7 +342,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -368,7 +357,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -383,7 +372,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -398,17 +387,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -12,17 +12,17 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new U8**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [U8](_u8_.u8.md)
|
||||
⊕ **new U8**(value?: *`AnyNumber`*): [U8](_u8_.u8.md)
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U8.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U8.ts#L9)*
|
||||
*Defined in [U8.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U8.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [U8](_u8_.u8.md)
|
||||
|
||||
@@ -30,17 +30,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -49,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -63,7 +52,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -84,7 +73,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -97,7 +86,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -116,7 +105,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -137,7 +126,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -158,7 +147,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -177,7 +166,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -196,7 +185,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -215,7 +204,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -228,7 +217,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -247,7 +236,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -266,7 +255,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -285,7 +274,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -304,7 +293,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -317,7 +306,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -332,7 +321,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -345,7 +334,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -360,7 +349,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -375,7 +364,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -390,17 +379,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
*Overrides [Struct](_codec_struct_.struct.md).[constructor](_codec_struct_.struct.md#constructor)*
|
||||
|
||||
*Defined in [ValidatorPrefs.ts:16](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ValidatorPrefs.ts#L16)*
|
||||
*Defined in [ValidatorPrefs.ts:16](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ValidatorPrefs.ts#L16)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -35,28 +35,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_types"></a>
|
||||
|
||||
## `<Protected>` _Types
|
||||
|
||||
**● _Types**: *`E`*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_Types](_codec_struct_.struct.md#_types)*
|
||||
|
||||
*Defined in [codec/Struct.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="_jsonmap"></a>
|
||||
|
||||
## `<Protected>` _jsonMap
|
||||
|
||||
**● _jsonMap**: *`Map`<`keyof S`, `string`>*
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[_jsonMap](_codec_struct_.struct.md#_jsonmap)*
|
||||
|
||||
*Defined in [codec/Struct.ts:29](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L29)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -65,7 +43,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -79,7 +57,7 @@ getType(): `E`
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[Type](_codec_struct_.struct.md#type)*
|
||||
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L108)*
|
||||
*Defined in [codec/Struct.ts:108](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L108)*
|
||||
|
||||
**Returns:** `E`
|
||||
|
||||
@@ -90,7 +68,7 @@ ___
|
||||
|
||||
getunstakeThreshold(): [U32](_u32_.u32.md)
|
||||
|
||||
*Defined in [ValidatorPrefs.ts:24](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ValidatorPrefs.ts#L24)*
|
||||
*Defined in [ValidatorPrefs.ts:24](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ValidatorPrefs.ts#L24)*
|
||||
|
||||
**Returns:** [U32](_u32_.u32.md)
|
||||
|
||||
@@ -101,7 +79,7 @@ ___
|
||||
|
||||
getvalidatorPayment(): [Balance](_balance_.balance.md)
|
||||
|
||||
*Defined in [ValidatorPrefs.ts:28](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/ValidatorPrefs.ts#L28)*
|
||||
*Defined in [ValidatorPrefs.ts:28](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/ValidatorPrefs.ts#L28)*
|
||||
|
||||
**Returns:** [Balance](_balance_.balance.md)
|
||||
|
||||
@@ -119,7 +97,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L112)*
|
||||
*Defined in [codec/Struct.ts:112](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L112)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -134,7 +112,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L118)*
|
||||
*Defined in [codec/Struct.ts:118](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L118)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -155,7 +133,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L138)*
|
||||
*Defined in [codec/Struct.ts:138](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L138)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -174,7 +152,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[get](_codec_struct_.struct.md#get)*
|
||||
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L148)*
|
||||
*Defined in [codec/Struct.ts:148](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L148)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -193,7 +171,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[keys](_codec_struct_.struct.md#keys)*
|
||||
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L163)*
|
||||
*Defined in [codec/Struct.ts:163](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L163)*
|
||||
|
||||
**Returns:** `Array`<`string`>
|
||||
|
||||
@@ -208,7 +186,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L152)*
|
||||
*Defined in [codec/Struct.ts:152](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L152)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -223,7 +201,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L175)*
|
||||
*Defined in [codec/Struct.ts:175](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L175)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -238,7 +216,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L167)*
|
||||
*Defined in [codec/Struct.ts:167](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L167)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -257,7 +235,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[values](_codec_struct_.struct.md#values)*
|
||||
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L184)*
|
||||
*Defined in [codec/Struct.ts:184](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L184)*
|
||||
|
||||
**Returns:** `Array`<[Base](_codec_base_.base.md)>
|
||||
|
||||
@@ -270,7 +248,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[decodeStruct](_codec_struct_.struct.md#decodestruct)*
|
||||
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L48)*
|
||||
*Defined in [codec/Struct.ts:48](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L48)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
@@ -295,7 +273,7 @@ ___
|
||||
|
||||
*Inherited from [Struct](_codec_struct_.struct.md).[with](_codec_struct_.struct.md#with)*
|
||||
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Struct.ts#L98)*
|
||||
*Defined in [codec/Struct.ts:98](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Struct.ts#L98)*
|
||||
|
||||
**Type parameters:**
|
||||
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
|
||||
## constructor
|
||||
|
||||
⊕ **new VoteIndex**(value?: *[AnyNumber](../modules/_types_d_.md#anynumber)*): [VoteIndex](_voteindex_.voteindex.md)
|
||||
⊕ **new VoteIndex**(value?: *`AnyNumber`*): [VoteIndex](_voteindex_.voteindex.md)
|
||||
|
||||
*Inherited from [U32](_u32_.u32.md).[constructor](_u32_.u32.md#constructor)*
|
||||
|
||||
*Overrides [UInt](_codec_uint_.uint.md).[constructor](_codec_uint_.uint.md#constructor)*
|
||||
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/U32.ts#L9)*
|
||||
*Defined in [U32.ts:9](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/U32.ts#L9)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| `Optional` value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| `Optional` value | `AnyNumber` |
|
||||
|
||||
**Returns:** [VoteIndex](_voteindex_.voteindex.md)
|
||||
|
||||
@@ -32,17 +32,6 @@ ___
|
||||
|
||||
# Properties
|
||||
|
||||
<a id="_bitlength"></a>
|
||||
|
||||
## `<Protected>` _bitLength
|
||||
|
||||
**● _bitLength**: *[UIntBitLength](../modules/_codec_uint_.md#uintbitlength)*
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[_bitLength](_codec_uint_.uint.md#_bitlength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:30](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L30)*
|
||||
|
||||
___
|
||||
<a id="raw"></a>
|
||||
|
||||
## raw
|
||||
@@ -51,7 +40,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -65,7 +54,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[add](_codec_uint_.uint.md#add)*
|
||||
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L101)*
|
||||
*Defined in [codec/UInt.ts:101](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L101)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -86,7 +75,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L57)*
|
||||
*Defined in [codec/UInt.ts:57](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L57)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -99,7 +88,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[cmp](_codec_uint_.uint.md#cmp)*
|
||||
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L107)*
|
||||
*Defined in [codec/UInt.ts:107](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L107)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -118,7 +107,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[div](_codec_uint_.uint.md#div)*
|
||||
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L113)*
|
||||
*Defined in [codec/UInt.ts:113](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L113)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -139,7 +128,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L61)*
|
||||
*Defined in [codec/UInt.ts:61](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L61)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -160,7 +149,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L67)*
|
||||
*Defined in [codec/UInt.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L67)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -179,7 +168,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gt](_codec_uint_.uint.md#gt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L135)*
|
||||
*Defined in [codec/UInt.ts:135](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L135)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -198,7 +187,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[gte](_codec_uint_.uint.md#gte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L141)*
|
||||
*Defined in [codec/UInt.ts:141](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L141)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -217,7 +206,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[isZero](_codec_uint_.uint.md#iszero)*
|
||||
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L119)*
|
||||
*Defined in [codec/UInt.ts:119](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L119)*
|
||||
|
||||
**Returns:** `boolean`
|
||||
|
||||
@@ -230,7 +219,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lt](_codec_uint_.uint.md#lt)*
|
||||
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L123)*
|
||||
*Defined in [codec/UInt.ts:123](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L123)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -249,7 +238,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[lte](_codec_uint_.uint.md#lte)*
|
||||
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L129)*
|
||||
*Defined in [codec/UInt.ts:129](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L129)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -268,7 +257,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[mul](_codec_uint_.uint.md#mul)*
|
||||
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L147)*
|
||||
*Defined in [codec/UInt.ts:147](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L147)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -287,7 +276,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[sub](_codec_uint_.uint.md#sub)*
|
||||
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L153)*
|
||||
*Defined in [codec/UInt.ts:153](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L153)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -306,7 +295,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toBn](_codec_uint_.uint.md#tobn)*
|
||||
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L91)*
|
||||
*Defined in [codec/UInt.ts:91](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L91)*
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
@@ -319,7 +308,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toHex](_codec_uint_.uint.md#tohex)*
|
||||
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L73)*
|
||||
*Defined in [codec/UInt.ts:73](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L73)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -334,7 +323,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L77)*
|
||||
*Defined in [codec/UInt.ts:77](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L77)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -347,7 +336,7 @@ ___
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[toNumber](_codec_uint_.uint.md#tonumber)*
|
||||
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L95)*
|
||||
*Defined in [codec/UInt.ts:95](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L95)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -362,7 +351,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L87)*
|
||||
*Defined in [codec/UInt.ts:87](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L87)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -377,7 +366,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L83)*
|
||||
*Defined in [codec/UInt.ts:83](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L83)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -392,17 +381,17 @@ ___
|
||||
|
||||
## `<Static>` decodeUInt
|
||||
|
||||
▸ **decodeUInt**(value: *[AnyNumber](../modules/_types_d_.md#anynumber)*): `BN`
|
||||
▸ **decodeUInt**(value: *`AnyNumber`*): `BN`
|
||||
|
||||
*Inherited from [UInt](_codec_uint_.uint.md).[decodeUInt](_codec_uint_.uint.md#decodeuint)*
|
||||
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/UInt.ts#L42)*
|
||||
*Defined in [codec/UInt.ts:42](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/UInt.ts#L42)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
| Param | Type |
|
||||
| ------ | ------ |
|
||||
| value | [AnyNumber](../modules/_types_d_.md#anynumber) |
|
||||
| value | `AnyNumber` |
|
||||
|
||||
**Returns:** `BN`
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
*Overrides [Enum](_codec_enum_.enum.md).[constructor](_codec_enum_.enum.md#constructor)*
|
||||
|
||||
*Defined in [VoteThreshold.ts:8](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/VoteThreshold.ts#L8)*
|
||||
*Defined in [VoteThreshold.ts:8](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/VoteThreshold.ts#L8)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -38,7 +38,7 @@ ___
|
||||
|
||||
*Inherited from [Base](_codec_base_.base.md).[raw](_codec_base_.base.md#raw)*
|
||||
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Base.ts#L19)*
|
||||
*Defined in [codec/Base.ts:19](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Base.ts#L19)*
|
||||
|
||||
___
|
||||
|
||||
@@ -54,7 +54,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[byteLength](_codec_base_.base.md#bytelength)*
|
||||
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L41)*
|
||||
*Defined in [codec/Enum.ts:41](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L41)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -69,7 +69,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromJSON](_codec_base_.base.md#fromjson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L45)*
|
||||
*Defined in [codec/Enum.ts:45](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L45)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -90,7 +90,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[fromU8a](_codec_base_.base.md#fromu8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L52)*
|
||||
*Defined in [codec/Enum.ts:52](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L52)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -111,7 +111,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toJSON](_codec_base_.base.md#tojson)*
|
||||
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L59)*
|
||||
*Defined in [codec/Enum.ts:59](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L59)*
|
||||
|
||||
**Returns:** `any`
|
||||
|
||||
@@ -124,7 +124,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[toNumber](_codec_enum_.enum.md#tonumber)*
|
||||
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L67)*
|
||||
*Defined in [codec/Enum.ts:67](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L67)*
|
||||
|
||||
**Returns:** `number`
|
||||
|
||||
@@ -139,7 +139,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toString](_codec_base_.base.md#tostring)*
|
||||
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L71)*
|
||||
*Defined in [codec/Enum.ts:71](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L71)*
|
||||
|
||||
**Returns:** `string`
|
||||
|
||||
@@ -154,7 +154,7 @@ ___
|
||||
|
||||
*Overrides [Base](_codec_base_.base.md).[toU8a](_codec_base_.base.md#tou8a)*
|
||||
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L63)*
|
||||
*Defined in [codec/Enum.ts:63](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L63)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
@@ -173,7 +173,7 @@ ___
|
||||
|
||||
*Inherited from [Enum](_codec_enum_.enum.md).[decodeEnum](_codec_enum_.enum.md#decodeenum)*
|
||||
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/f5948fe/packages/types/src/codec/Enum.ts#L31)*
|
||||
*Defined in [codec/Enum.ts:31](https://github.com/polkadot-js/api/blob/a4fc2c5/packages/types/src/codec/Enum.ts#L31)*
|
||||
|
||||
**Parameters:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user